Changes in uspace/lib/usb/include/usb/host/device_keeper.h [c4e3b1f7:ba038f4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/host/device_keeper.h
rc4e3b1f7 rba038f4 54 54 usb_speed_t speed; 55 55 bool occupied; 56 link_t endpoints; 57 uint16_t control_used; 56 58 devman_handle_t handle; 57 59 }; … … 63 65 struct usb_device_info devices[USB_ADDRESS_COUNT]; 64 66 fibril_mutex_t guard; 67 fibril_condvar_t change; 65 68 usb_address_t last_address; 66 69 } usb_device_keeper_t; 67 70 68 71 void usb_device_keeper_init(usb_device_keeper_t *instance); 72 73 void usb_device_keeper_reserve_default_address( 74 usb_device_keeper_t *instance, usb_speed_t speed); 75 76 void usb_device_keeper_release_default_address(usb_device_keeper_t *instance); 77 78 void usb_device_keeper_reset_if_need(usb_device_keeper_t *instance, 79 usb_target_t target, const uint8_t *setup_data); 69 80 70 81 usb_address_t device_keeper_get_free_address(usb_device_keeper_t *instance,
Note:
See TracChangeset
for help on using the changeset viewer.