Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/usb/device/
Dusb_dc_nrfx.c743 struct usb_setup_packet *usbd_setup; in usbd_work_process_setup() local
749 usbd_setup = (struct usb_setup_packet *)ep_ctx->buf.data; in usbd_work_process_setup()
750 memset(usbd_setup, 0, sizeof(struct usb_setup_packet)); in usbd_work_process_setup()
751 usbd_setup->bmRequestType = nrf_usbd_setup_bmrequesttype_get(NRF_USBD); in usbd_work_process_setup()
752 usbd_setup->bRequest = nrf_usbd_setup_brequest_get(NRF_USBD); in usbd_work_process_setup()
753 usbd_setup->wValue = nrf_usbd_setup_wvalue_get(NRF_USBD); in usbd_work_process_setup()
754 usbd_setup->wIndex = nrf_usbd_setup_windex_get(NRF_USBD); in usbd_work_process_setup()
755 usbd_setup->wLength = nrf_usbd_setup_wlength_get(NRF_USBD); in usbd_work_process_setup()
759 memcpy(&usbd_ctx.setup, usbd_setup, sizeof(struct usb_setup_packet)); in usbd_work_process_setup()
762 (uint32_t)usbd_setup->bRequest, in usbd_work_process_setup()
[all …]
Dusb_dc_mcux.c591 struct usb_setup_packet *usbd_setup; in update_control_stage() local
593 usbd_setup = (struct usb_setup_packet *)cb_msg->buffer; in update_control_stage()
596 if (usbd_setup->wLength == 0) { in update_control_stage()
598 } else if (usb_reqtype_is_to_host(usbd_setup)) { in update_control_stage()