Home
last modified time | relevance | path

Searched refs:usb_setup_packet (Results 1 – 25 of 55) sorted by relevance

123

/Zephyr-latest/subsys/usb/device_next/
Dusbd_ch9.c36 static bool reqtype_is_to_host(const struct usb_setup_packet *const setup) in reqtype_is_to_host()
41 static bool reqtype_is_to_device(const struct usb_setup_packet *const setup) in reqtype_is_to_device()
59 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in post_status_stage()
86 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_set_address()
129 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_set_configuration()
184 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_set_interface()
230 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_clear_feature()
285 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in set_feature_test_mode()
306 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_set_feature()
369 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in std_request_to_device()
[all …]
Dusbd_class_api.h63 struct usb_setup_packet *const setup, in usbd_class_control_to_host()
96 struct usb_setup_packet *const setup, in usbd_class_control_to_dev()
Dusbd_ch9.h123 static inline struct usb_setup_packet *
/Zephyr-latest/subsys/usb/device/
Dos_desc.h26 int usb_handle_os_desc(struct usb_setup_packet *setup,
28 int usb_handle_os_desc_feature(struct usb_setup_packet *setup,
Dos_desc.c17 int usb_handle_os_desc(struct usb_setup_packet *setup, in usb_handle_os_desc()
36 int usb_handle_os_desc_feature(struct usb_setup_packet *setup, in usb_handle_os_desc_feature()
Dusb_device.c106 struct usb_setup_packet setup;
161 static void usb_print_setup(struct usb_setup_packet *setup) in usb_print_setup()
213 static bool usb_handle_request(struct usb_setup_packet *setup, in usb_handle_request()
286 struct usb_setup_packet *setup = &usb_dev.setup; in usb_handle_control_transfer()
423 static bool usb_get_status(struct usb_setup_packet *setup, in usb_get_status()
458 static bool usb_get_descriptor(struct usb_setup_packet *setup, in usb_get_descriptor()
680 static bool usb_set_configuration(struct usb_setup_packet *setup) in usb_set_configuration()
756 static bool usb_set_interface(struct usb_setup_packet *setup) in usb_set_interface()
806 static bool usb_get_interface(struct usb_setup_packet *setup, in usb_get_interface()
851 static bool usb_handle_std_device_req(struct usb_setup_packet *setup, in usb_handle_std_device_req()
[all …]
Dbos_desc.h20 int usb_handle_bos(struct usb_setup_packet *setup, int32_t *len, uint8_t **data);
Dbos.c54 int usb_handle_bos(struct usb_setup_packet *setup, in usb_handle_bos()
/Zephyr-latest/tests/subsys/usb/os_desc/src/
Dusb_osdesc.c91 struct usb_setup_packet setup; in test_handle_os_desc()
111 struct usb_setup_packet setup; in test_handle_os_desc_feature()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_hid.c135 const struct usb_setup_packet *const setup) in handle_set_idle()
159 const struct usb_setup_packet *const setup, in handle_get_idle()
195 const struct usb_setup_packet *const setup, in handle_set_report()
231 const struct usb_setup_packet *const setup, in handle_get_report()
271 const struct usb_setup_packet *const setup) in handle_set_protocol()
308 const struct usb_setup_packet *const setup, in handle_get_protocol()
333 const struct usb_setup_packet *const setup, in handle_get_descriptor()
364 const struct usb_setup_packet *const setup, in usbd_hid_ctd()
389 const struct usb_setup_packet *const setup, in usbd_hid_cth()
Dusbd_hid_api.c75 struct usb_setup_packet setup = { in wrapper_get_report()
97 struct usb_setup_packet setup = { in wrapper_set_report()
Dloopback.c66 const struct usb_setup_packet *const setup, in lb_control_to_host()
91 const struct usb_setup_packet *const setup, in lb_control_to_dev()
/Zephyr-latest/subsys/usb/device/class/hid/
Dcore.c154 struct usb_setup_packet *setup, int32_t *len, in hid_on_get_idle()
187 struct usb_setup_packet *setup, int32_t *len, in hid_on_get_report()
198 struct usb_setup_packet *setup, int32_t *len, in hid_on_get_protocol()
220 struct usb_setup_packet *setup, int32_t *len, in hid_on_set_idle()
253 struct usb_setup_packet *setup, int32_t *len, in hid_on_set_report()
265 struct usb_setup_packet *setup) in hid_on_set_protocol()
437 static int hid_class_handle_req(struct usb_setup_packet *setup, in hid_class_handle_req()
502 static int hid_custom_handle_req(struct usb_setup_packet *setup, in hid_custom_handle_req()
/Zephyr-latest/include/zephyr/usb/
Dusbd.h138 const struct usb_setup_packet *const setup,
142 const struct usb_setup_packet *const setup,
218 struct usb_setup_packet setup;
337 const struct usb_setup_packet *const setup,
342 const struct usb_setup_packet *const setup,
Dusb_ch9.h40 struct usb_setup_packet { struct
80 static inline bool usb_reqtype_is_to_host(const struct usb_setup_packet *setup) in usb_reqtype_is_to_host()
91 static inline bool usb_reqtype_is_to_device(const struct usb_setup_packet *setup) in usb_reqtype_is_to_device()
Dusb_device.h117 typedef int (*usb_request_handler)(struct usb_setup_packet *setup,
/Zephyr-latest/samples/subsys/usb/webusb/src/
Dwebusb.c90 int webusb_custom_handle_req(struct usb_setup_packet *pSetup, in webusb_custom_handle_req()
112 int webusb_vendor_handle_req(struct usb_setup_packet *pSetup, in webusb_vendor_handle_req()
Dmain.c255 int custom_handle_req(struct usb_setup_packet *pSetup, in custom_handle_req()
285 int vendor_handle_req(struct usb_setup_packet *pSetup, in vendor_handle_req()
/Zephyr-latest/samples/subsys/usb/webusb-next/src/
Dwebusb.h65 const struct usb_setup_packet *const setup, in webusb_to_host_cb()
Dmsosv2.h117 const struct usb_setup_packet *const setup, in msosv2_to_host_cb()
/Zephyr-latest/include/zephyr/usb/class/
Dusb_hid.h38 struct usb_setup_packet *setup, int32_t *len,
/Zephyr-latest/subsys/usb/device/class/audio/
Daudio.c528 struct usb_setup_packet *setup, in handle_fu_mute_req()
563 struct usb_setup_packet *setup, int32_t *len, uint8_t **data, in handle_fu_volume_req()
638 struct usb_setup_packet *pSetup, in handle_feature_unit_req()
712 static int handle_interface_req(struct usb_setup_packet *pSetup, in handle_interface_req()
768 static int audio_custom_handler(struct usb_setup_packet *pSetup, int32_t *len, in audio_custom_handler()
838 static int audio_class_handle_req(struct usb_setup_packet *pSetup, in audio_class_handle_req()
/Zephyr-latest/drivers/usb/udc/
Dudc_common.h291 struct usb_setup_packet *setup = (void *)buf->data; in udc_data_stage_length()
/Zephyr-latest/subsys/usb/device/class/dfu/
Dusb_dfu.c465 static int dfu_class_handle_to_host(struct usb_setup_packet *setup, in dfu_class_handle_to_host()
608 static int dfu_class_handle_to_device(struct usb_setup_packet *setup, in dfu_class_handle_to_device()
722 static int dfu_class_handle_req(struct usb_setup_packet *setup, in dfu_class_handle_req()
798 static int dfu_custom_handle_req(struct usb_setup_packet *setup, in dfu_custom_handle_req()
/Zephyr-latest/subsys/usb/device/class/
Dloopback.c125 static int loopback_vendor_handler(struct usb_setup_packet *setup, in loopback_vendor_handler()

123