Changeset f401312 in mainline for uspace/lib/usb/include
- Timestamp:
- 2011-01-14T12:34:42Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45019865
- Parents:
- b2a6fcfe (diff), 6610565b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/lib/usb/include/usb
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/include/usb/devreq.h
rb2a6fcfe rf401312 85 85 } __attribute__ ((packed)) usb_device_request_setup_packet_t; 86 86 87 88 int usb_drv_req_get_status(int, usb_address_t, usb_request_recipient_t, 89 uint16_t, uint16_t *); 90 int usb_drv_req_clear_feature(int, usb_address_t, usb_request_recipient_t, 91 uint16_t, uint16_t); 92 int usb_drv_req_set_feature(int, usb_address_t, usb_request_recipient_t, 93 uint16_t, uint16_t); 87 94 int usb_drv_req_set_address(int, usb_address_t, usb_address_t); 95 int usb_drv_req_get_descriptor(int, usb_address_t, usb_request_type_t, 96 uint8_t, uint8_t, uint16_t, void *, size_t, size_t *); 88 97 int usb_drv_req_get_device_descriptor(int, usb_address_t, 89 98 usb_standard_device_descriptor_t *); … … 92 101 int usb_drv_req_get_full_configuration_descriptor(int, usb_address_t, int, 93 102 void *, size_t, size_t *); 94 103 int usb_drv_req_set_descriptor(int, usb_address_t, uint8_t, uint8_t, uint16_t, 104 void *, size_t); 105 int usb_drv_req_get_configuration(int, usb_address_t, uint8_t *); 106 int usb_drv_req_set_configuration(int, usb_address_t, uint8_t); 107 int usb_drv_req_get_interface(int, usb_address_t, uint16_t, uint8_t *); 108 int usb_drv_req_set_interface(int, usb_address_t, uint16_t, uint8_t); 95 109 96 110 #endif -
uspace/lib/usb/include/usb/usb.h
rb2a6fcfe rf401312 54 54 USB_DIRECTION_OUT 55 55 } usb_direction_t; 56 57 /** USB request type target. */ 58 typedef enum { 59 USB_REQUEST_TYPE_STANDARD = 0, 60 USB_REQUEST_TYPE_CLASS = 1, 61 USB_REQUEST_TYPE_VENDOR = 2 62 } usb_request_type_t; 63 64 /** USB request recipient. */ 65 typedef enum { 66 USB_REQUEST_RECIPIENT_DEVICE = 0, 67 USB_REQUEST_RECIPIENT_INTERFACE = 1, 68 USB_REQUEST_RECIPIENT_ENDPOINT = 2 69 } usb_request_recipient_t; 56 70 57 71 /** USB transaction outcome. */ -
uspace/lib/usb/include/usb/usbdrv.h
rb2a6fcfe rf401312 96 96 int usb_drv_async_wait_for(usb_handle_t); 97 97 98 int usb_drv_create_match_ids_from_device_descriptor(match_id_list_t *, 99 const usb_standard_device_descriptor_t *); 100 int usb_drv_create_match_ids_from_configuration_descriptor(match_id_list_t *, 101 const void *, size_t); 102 98 103 int usb_drv_create_device_match_ids(int, match_id_list_t *, usb_address_t); 99 104 int usb_drv_register_child_in_devman(int, device_t *, usb_address_t,
Note:
See TracChangeset
for help on using the changeset viewer.