Searched refs:pSetup (Results 1 – 2 of 2) sorted by relevance
255 int custom_handle_req(struct usb_setup_packet *pSetup, in custom_handle_req() argument258 if (usb_reqtype_is_to_device(pSetup)) { in custom_handle_req()262 if (USB_GET_DESCRIPTOR_TYPE(pSetup->wValue) == USB_DESC_STRING && in custom_handle_req()263 USB_GET_DESCRIPTOR_INDEX(pSetup->wValue) == 0xEE) { in custom_handle_req()285 int vendor_handle_req(struct usb_setup_packet *pSetup, in vendor_handle_req() argument288 if (usb_reqtype_is_to_device(pSetup)) { in vendor_handle_req()293 if (pSetup->bRequest == 0x01 && pSetup->wIndex == 0x01) { in vendor_handle_req()300 } else if (pSetup->bRequest == 0x01 && pSetup->wIndex == 0x02) { in vendor_handle_req()302 uint8_t index = USB_GET_DESCRIPTOR_INDEX(pSetup->wValue); in vendor_handle_req()315 pSetup->wIndex == MS_OS_20_DESCRIPTOR_INDEX) { in vendor_handle_req()[all …]
90 int webusb_custom_handle_req(struct usb_setup_packet *pSetup, in webusb_custom_handle_req() argument97 return req_handlers->custom_handler(pSetup, len, data); in webusb_custom_handle_req()112 int webusb_vendor_handle_req(struct usb_setup_packet *pSetup, in webusb_vendor_handle_req() argument117 return req_handlers->vendor_handler(pSetup, len, data); in webusb_vendor_handle_req()
Completed in 7 milliseconds