Changeset 944f8fdd in mainline for uspace/lib/usbhost/include
- Timestamp:
- 2018-01-19T17:38:22Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2833bb4
- Parents:
- 861b5d6
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-19 17:06:40)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-19 17:38:22)
- Location:
- uspace/lib/usbhost/include/usb/host
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/include/usb/host/ddf_helpers.h
r861b5d6 r944f8fdd 48 48 void hcd_ddf_clean_hc(hc_device_t *); 49 49 50 int hcd_setup_virtual_root_hub(hc_device_t *);51 50 52 51 device_t *hcd_ddf_fun_create(hc_device_t *, usb_speed_t); 53 52 void hcd_ddf_fun_destroy(device_t *); 54 53 55 int hcd_get_device_desc(device_t *, usb_standard_device_descriptor_t *); 56 int hcd_setup_match_ids(device_t *, usb_standard_device_descriptor_t *); 57 int hcd_device_explore(device_t *); 54 int hcd_ddf_setup_match_ids(device_t *, usb_standard_device_descriptor_t *); 58 55 59 56 int hcd_ddf_enable_interrupt(hc_device_t *hcd, int); -
uspace/lib/usbhost/include/usb/host/hcd.h
r861b5d6 r944f8fdd 110 110 int hc_driver_main(const hc_driver_t *); 111 111 112 /* TODO: These are a kind of utility functions, they should probably go113 * somewhere else.114 */115 extern int hcd_get_ep0_max_packet_size(uint16_t *, bus_t *, device_t *);116 117 /** How many toggles need to be reset */118 typedef enum {119 RESET_NONE,120 RESET_EP,121 RESET_ALL122 } toggle_reset_mode_t;123 124 extern toggle_reset_mode_t hcd_get_request_toggle_reset_mode(125 const usb_device_request_setup_packet_t *request);126 127 112 #endif 128 113 -
uspace/lib/usbhost/include/usb/host/usb_transfer_batch.h
r861b5d6 r944f8fdd 51 51 typedef struct endpoint endpoint_t; 52 52 typedef struct bus bus_t; 53 54 /** How many toggles need to be reset */ 55 typedef enum { 56 RESET_NONE, 57 RESET_EP, 58 RESET_ALL 59 } toggle_reset_mode_t; 53 60 54 61 /** Structure stores additional data needed for communication with EP */
Note:
See TracChangeset
for help on using the changeset viewer.