Lines Matching refs:usb_setup_packet

36 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()
400 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_status()
462 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_desc_cfg()
612 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_desc_dev()
638 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_desc_str()
670 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_dev_qualifier()
725 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_desc_bos()
780 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_descriptor()
824 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_configuration()
851 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in sreq_get_interface()
902 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in std_request_to_host()
930 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in vendor_device_request()
958 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in nonstd_request()
992 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in handle_setup_request()
1032 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in ctrl_xfer_get_setup()
1036 if (buf->len < sizeof(struct usb_setup_packet)) { in ctrl_xfer_get_setup()
1040 memcpy(setup, buf->data, sizeof(struct usb_setup_packet)); in ctrl_xfer_get_setup()
1106 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in usbd_handle_ctrl_xfer()