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