Changes in uspace/lib/usbdev/include/usb/dev/request.h [8d2dd7f2:33b8d024] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/request.h
r8d2dd7f2 r33b8d024 44 44 #include <usb/request.h> 45 45 46 int usb_control_request_set(usb_pipe_t *,46 errno_t usb_control_request_set(usb_pipe_t *, 47 47 usb_request_type_t, usb_request_recipient_t, uint8_t, 48 48 uint16_t, uint16_t, const void *, size_t); 49 49 50 int usb_control_request_get(usb_pipe_t *,50 errno_t usb_control_request_get(usb_pipe_t *, 51 51 usb_request_type_t, usb_request_recipient_t, uint8_t, 52 52 uint16_t, uint16_t, void *, size_t, size_t *); 53 53 54 int usb_request_get_status(usb_pipe_t *, usb_request_recipient_t,54 errno_t usb_request_get_status(usb_pipe_t *, usb_request_recipient_t, 55 55 uint16_t, uint16_t *); 56 int usb_request_clear_feature(usb_pipe_t *, usb_request_type_t,56 errno_t usb_request_clear_feature(usb_pipe_t *, usb_request_type_t, 57 57 usb_request_recipient_t, uint16_t, uint16_t); 58 int usb_request_set_feature(usb_pipe_t *, usb_request_type_t,58 errno_t usb_request_set_feature(usb_pipe_t *, usb_request_type_t, 59 59 usb_request_recipient_t, uint16_t, uint16_t); 60 int usb_request_get_descriptor(usb_pipe_t *, usb_request_type_t,60 errno_t usb_request_get_descriptor(usb_pipe_t *, usb_request_type_t, 61 61 usb_request_recipient_t, uint8_t, uint8_t, uint16_t, void *, size_t, 62 62 size_t *); 63 int usb_request_get_descriptor_alloc(usb_pipe_t *, usb_request_type_t,63 errno_t usb_request_get_descriptor_alloc(usb_pipe_t *, usb_request_type_t, 64 64 usb_request_recipient_t, uint8_t, uint8_t, uint16_t, void **, size_t *); 65 int usb_request_get_device_descriptor(usb_pipe_t *,65 errno_t usb_request_get_device_descriptor(usb_pipe_t *, 66 66 usb_standard_device_descriptor_t *); 67 int usb_request_get_bare_configuration_descriptor(usb_pipe_t *, int,67 errno_t usb_request_get_bare_configuration_descriptor(usb_pipe_t *, int, 68 68 usb_standard_configuration_descriptor_t *); 69 int usb_request_get_full_configuration_descriptor(usb_pipe_t *, int,69 errno_t usb_request_get_full_configuration_descriptor(usb_pipe_t *, int, 70 70 void *, size_t, size_t *); 71 int usb_request_get_full_configuration_descriptor_alloc(usb_pipe_t *,72 int, constvoid **, size_t *);73 int usb_request_set_descriptor(usb_pipe_t *, usb_request_type_t,71 errno_t usb_request_get_full_configuration_descriptor_alloc(usb_pipe_t *, 72 int, void **, size_t *); 73 errno_t usb_request_set_descriptor(usb_pipe_t *, usb_request_type_t, 74 74 usb_request_recipient_t, uint8_t, uint8_t, uint16_t, const void *, size_t); 75 75 76 int usb_request_get_configuration(usb_pipe_t *, uint8_t *);77 int usb_request_set_configuration(usb_pipe_t *, uint8_t);76 errno_t usb_request_get_configuration(usb_pipe_t *, uint8_t *); 77 errno_t usb_request_set_configuration(usb_pipe_t *, uint8_t); 78 78 79 int usb_request_get_interface(usb_pipe_t *, uint8_t, uint8_t *);80 int usb_request_set_interface(usb_pipe_t *, uint8_t, uint8_t);79 errno_t usb_request_get_interface(usb_pipe_t *, uint8_t, uint8_t *); 80 errno_t usb_request_set_interface(usb_pipe_t *, uint8_t, uint8_t); 81 81 82 int usb_request_get_supported_languages(usb_pipe_t *,82 errno_t usb_request_get_supported_languages(usb_pipe_t *, 83 83 l18_win_locales_t **, size_t *); 84 int usb_request_get_string(usb_pipe_t *, size_t, l18_win_locales_t,84 errno_t usb_request_get_string(usb_pipe_t *, size_t, l18_win_locales_t, 85 85 char **); 86 86 87 int usb_request_clear_endpoint_halt(usb_pipe_t *, uint16_t);88 int usb_pipe_clear_halt(usb_pipe_t *, usb_pipe_t *);89 int usb_request_get_endpoint_status(usb_pipe_t *, usb_pipe_t *, uint16_t *);87 errno_t usb_request_clear_endpoint_halt(usb_pipe_t *, uint16_t); 88 errno_t usb_pipe_clear_halt(usb_pipe_t *, usb_pipe_t *); 89 errno_t usb_request_get_endpoint_status(usb_pipe_t *, usb_pipe_t *, uint16_t *); 90 90 91 91 #endif
Note:
See TracChangeset
for help on using the changeset viewer.