Searched refs:setup_pkt (Results 1 – 4 of 4) sorted by relevance
281 usb_setup_packet_t *setup_pkt = (usb_setup_packet_t *)urb->transfer.data_buffer; in test_hcd_enum_device() local284 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()
22 usb_setup_packet_t *setup_pkt = (usb_setup_packet_t *)urb->transfer.data_buffer; in mock_msc_reset_req() local23 MOCK_MSC_SCSI_REQ_INIT_RESET(setup_pkt, MOCK_MSC_SCSI_INTF_NUMBER); in mock_msc_reset_req()
1221 usb_setup_packet_t *setup_pkt = (usb_setup_packet_t *)transfer->data_buffer; in transfer_check() local1222 if (transfer->num_bytes != sizeof(usb_setup_packet_t) + setup_pkt->wLength) { in transfer_check()
2060 usb_setup_packet_t *setup_pkt = (usb_setup_packet_t *)transfer->data_buffer; in _buffer_fill_ctrl() local2061 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()