Changeset a35b458 in mainline for uspace/lib/drv/include
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- Location:
- uspace/lib/drv/include
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/ddf/driver.h
r3061bc1 ra35b458 57 57 */ 58 58 errno_t (*open)(ddf_fun_t *); 59 59 60 60 /** 61 61 * Optional callback function called when a client is disconnecting from … … 63 63 */ 64 64 void (*close)(ddf_fun_t *); 65 65 66 66 /** The table of standard interfaces implemented by the device. */ 67 67 void *interfaces[DEV_IFACE_COUNT]; 68 68 69 69 /** 70 70 * The default handler of remote client requests. If the client's remote … … 89 89 /** Callback method for passing a new device to the device driver */ 90 90 errno_t (*dev_add)(ddf_dev_t *); 91 91 92 92 /** Ask driver to remove a device */ 93 93 errno_t (*dev_remove)(ddf_dev_t *); 94 94 95 95 /** Inform driver a device disappeared */ 96 96 errno_t (*dev_gone)(ddf_dev_t *); 97 97 98 98 /** Ask driver to online a specific function */ 99 99 errno_t (*fun_online)(ddf_fun_t *); 100 100 101 101 /** Ask driver to offline a specific function */ 102 102 errno_t (*fun_offline)(ddf_fun_t *); -
uspace/lib/drv/include/ops/ieee80211.h
r3061bc1 ra35b458 52 52 */ 53 53 errno_t (*get_scan_results)(ddf_fun_t *, ieee80211_scan_results_t *, bool); 54 54 55 55 /** Connect IEEE 802.11 device to specified network. 56 56 * … … 63 63 */ 64 64 errno_t (*connect)(ddf_fun_t *, char *, char *); 65 65 66 66 /** Disconnect IEEE 802.11 device from network. 67 67 * -
uspace/lib/drv/include/ops/nic.h
r3061bc1 ra35b458 49 49 errno_t (*set_state)(ddf_fun_t *, nic_device_state_t); 50 50 errno_t (*get_address)(ddf_fun_t *, nic_address_t *); 51 51 52 52 /** Optional methods */ 53 53 errno_t (*set_address)(ddf_fun_t *, const nic_address_t *); … … 55 55 errno_t (*get_device_info)(ddf_fun_t *, nic_device_info_t *); 56 56 errno_t (*get_cable_state)(ddf_fun_t *, nic_cable_state_t *); 57 57 58 58 errno_t (*get_operation_mode)(ddf_fun_t *, int *, nic_channel_mode_t *, 59 59 nic_role_t *); … … 68 68 uint16_t *); 69 69 errno_t (*set_pause)(ddf_fun_t *, int, int, uint16_t); 70 70 71 71 errno_t (*unicast_get_mode)(ddf_fun_t *, nic_unicast_mode_t *, size_t, 72 72 nic_address_t *, size_t *); … … 84 84 size_t *); 85 85 errno_t (*blocked_sources_set)(ddf_fun_t *, const nic_address_t *, size_t); 86 86 87 87 errno_t (*vlan_get_mask)(ddf_fun_t *, nic_vlan_mask_t *); 88 88 errno_t (*vlan_set_mask)(ddf_fun_t *, const nic_vlan_mask_t *); 89 89 errno_t (*vlan_set_tag)(ddf_fun_t *, uint16_t, bool, bool); 90 90 91 91 errno_t (*wol_virtue_add)(ddf_fun_t *, nic_wv_type_t, const void *, 92 92 size_t, nic_wv_id_t *); … … 99 99 errno_t (*wol_load_info)(ddf_fun_t *, nic_wv_type_t *, size_t, 100 100 uint8_t *, size_t *); 101 101 102 102 errno_t (*offload_probe)(ddf_fun_t *, uint32_t *, uint32_t *); 103 103 errno_t (*offload_set)(ddf_fun_t *, uint32_t, uint32_t); 104 104 105 105 errno_t (*poll_get_mode)(ddf_fun_t *, nic_poll_mode_t *, 106 106 struct timeval *); -
uspace/lib/drv/include/usbhid_iface.h
r3061bc1 ra35b458 65 65 errno_t (*get_event)(ddf_fun_t *fun, uint8_t *buffer, size_t size, 66 66 size_t *act_size, int *event_nr, unsigned int flags); 67 67 68 68 /** Get size of the report descriptor in bytes. 69 69 * … … 72 72 */ 73 73 size_t (*get_report_descriptor_length)(ddf_fun_t *fun); 74 74 75 75 /** Get the report descriptor from the HID device. 76 76 *
Note:
See TracChangeset
for help on using the changeset viewer.