Changes in uspace/lib/drv/include/usbhc_iface.h [357a302:b36e5de2] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/include/usbhc_iface.h
r357a302 rb36e5de2 85 85 */ 86 86 typedef enum { 87 /** Tell USB address assigned to device. 88 * Parameters: 89 * - devman handle id 90 * Answer: 91 * - EINVAL - unknown handle or handle not managed by this driver 92 * - ENOTSUP - operation not supported by HC (shall not happen) 93 * - arbitrary error code if returned by remote implementation 94 * - EOK - handle found, first parameter contains the USB address 95 */ 96 IPC_M_USBHC_GET_ADDRESS, 97 98 87 99 /** Reserve usage of default address. 88 100 * This call informs the host controller that the caller will be … … 141 153 IPC_M_USBHC_INTERRUPT_IN, 142 154 143 /** Send bulk data to device.144 * See explanation at usb_iface_funcs_t (OUT transaction).145 */146 IPC_M_USBHC_BULK_OUT,147 148 /** Get bulk data from device.149 * See explanation at usb_iface_funcs_t (IN transaction).150 */151 IPC_M_USBHC_BULK_IN,152 153 155 /** Issue control WRITE transfer. 154 156 * See explanation at usb_iface_funcs_t (OUT transaction) for … … 194 196 /** USB host controller communication interface. */ 195 197 typedef struct { 198 int (*tell_address)(device_t *, devman_handle_t, usb_address_t *); 199 196 200 int (*reserve_default_address)(device_t *, usb_speed_t); 197 201 int (*release_default_address)(device_t *); … … 203 207 usbhc_iface_transfer_in_t interrupt_in; 204 208 205 usbhc_iface_transfer_out_t bulk_out;206 usbhc_iface_transfer_in_t bulk_in;207 208 209 int (*control_write)(device_t *, usb_target_t, 209 210 size_t,
Note:
See TracChangeset
for help on using the changeset viewer.