Home
last modified time | relevance | path

Searched refs:setup_pkt (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/usb/test/hcd/
Dtest_hcd_common.c281 usb_setup_packet_t *setup_pkt = (usb_setup_packet_t *)urb->transfer.data_buffer; in test_hcd_enum_device() local
284 USB_SETUP_PACKET_INIT_GET_DEVICE_DESC(setup_pkt); in test_hcd_enum_device()
296 …USB_SETUP_PACKET_INIT_SET_ADDR(setup_pkt, ENUM_ADDR); //We only support one device for now so u… in test_hcd_enum_device()
307 USB_SETUP_PACKET_INIT_SET_CONFIG(setup_pkt, ENUM_CONFIG); in test_hcd_enum_device()
Dtest_hcd_bulk.c22 usb_setup_packet_t *setup_pkt = (usb_setup_packet_t *)urb->transfer.data_buffer; in mock_msc_reset_req() local
23 MOCK_MSC_SCSI_REQ_INIT_RESET(setup_pkt, MOCK_MSC_SCSI_INTF_NUMBER); in mock_msc_reset_req()
/hal_espressif-3.6.0/components/usb/
Dusb_host.c1221 usb_setup_packet_t *setup_pkt = (usb_setup_packet_t *)transfer->data_buffer; in transfer_check() local
1222 if (transfer->num_bytes != sizeof(usb_setup_packet_t) + setup_pkt->wLength) { in transfer_check()
Dhcd.c2060 usb_setup_packet_t *setup_pkt = (usb_setup_packet_t *)transfer->data_buffer; in _buffer_fill_ctrl() local
2061 bool data_stg_in = (setup_pkt->bmRequestType & USB_BM_REQUEST_TYPE_DIR_IN); in _buffer_fill_ctrl()
2062 bool data_stg_skip = (setup_pkt->wLength == 0); in _buffer_fill_ctrl()