Home
last modified time | relevance | path

Searched refs:setup_pkt_ptr (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/usb/include/usb/
Dusb_types_ch9.h151 #define USB_SETUP_PACKET_INIT_SET_ADDR(setup_pkt_ptr, addr) ({ \ argument
152 …(setup_pkt_ptr)->bmRequestType = USB_BM_REQUEST_TYPE_DIR_OUT | USB_BM_REQUEST_TYPE_TYPE_STANDARD |…
153 (setup_pkt_ptr)->bRequest = USB_B_REQUEST_SET_ADDRESS; \
154 (setup_pkt_ptr)->wValue = (addr); \
155 (setup_pkt_ptr)->wIndex = 0; \
156 (setup_pkt_ptr)->wLength = 0; \
162 #define USB_SETUP_PACKET_INIT_GET_DEVICE_DESC(setup_pkt_ptr) ({ \ argument
163 …(setup_pkt_ptr)->bmRequestType = USB_BM_REQUEST_TYPE_DIR_IN | USB_BM_REQUEST_TYPE_TYPE_STANDARD | …
164 (setup_pkt_ptr)->bRequest = USB_B_REQUEST_GET_DESCRIPTOR; \
165 (setup_pkt_ptr)->wValue = (USB_W_VALUE_DT_DEVICE << 8); \
[all …]
/hal_espressif-3.6.0/components/usb/test/common/
Dtest_usb_mock_classes.h111 #define MOCK_MSC_SCSI_REQ_INIT_RESET(setup_pkt_ptr, intf_num) ({ \ argument
112 …(setup_pkt_ptr)->bmRequestType = USB_BM_REQUEST_TYPE_DIR_OUT | USB_BM_REQUEST_TYPE_TYPE_CLASS | US…
113 (setup_pkt_ptr)->bRequest = 0xFF; \
114 (setup_pkt_ptr)->wValue = 0; \
115 (setup_pkt_ptr)->wIndex = (intf_num); \
116 (setup_pkt_ptr)->wLength = 0; \