Home
last modified time | relevance | path

Searched refs:usb_setup_packet (Results 26 – 50 of 55) sorted by relevance

123

/Zephyr-latest/drivers/usb/udc/
Dudc_renesas_ra.c150 struct usb_setup_packet *setup_packet = in udc_event_xfer_setup()
151 (struct usb_setup_packet *)&evt->hal_evt.setup_received; in udc_event_xfer_setup()
153 buf = udc_ctrl_alloc(dev, USB_CONTROL_EP_OUT, sizeof(struct usb_setup_packet)); in udc_event_xfer_setup()
160 net_buf_add_mem(buf, setup_packet, sizeof(struct usb_setup_packet)); in udc_event_xfer_setup()
Dudc_mcux_ehci.c187 static int udc_mcux_handler_setup(const struct device *dev, struct usb_setup_packet *setup) in udc_mcux_handler_setup()
194 sizeof(struct usb_setup_packet)); in udc_mcux_handler_setup()
470 struct usb_setup_packet *setup = in udc_mcux_work_handler()
471 (struct usb_setup_packet *)mcux_msg->buffer; in udc_mcux_work_handler()
Dudc_mcux_ip3511.c187 static int udc_mcux_handler_setup(const struct device *dev, struct usb_setup_packet *setup) in udc_mcux_handler_setup()
194 sizeof(struct usb_setup_packet)); in udc_mcux_handler_setup()
470 struct usb_setup_packet *setup = in udc_mcux_work_handler()
471 (struct usb_setup_packet *)mcux_msg->buffer; in udc_mcux_work_handler()
Dudc_ambiq.c210 memcpy(priv->setup, usb_setup, sizeof(struct usb_setup_packet)); in udc_ambiq_ep0_setup_callback()
614 buf = udc_ctrl_alloc(dev, USB_CONTROL_EP_OUT, sizeof(struct usb_setup_packet)); in ambiq_handle_evt_setup()
Dudc_stm32.c149 struct usb_setup_packet *setup = (void *)priv->pcd.Setup; in HAL_PCD_SetupStageCallback()
155 sizeof(struct usb_setup_packet)); in HAL_PCD_SetupStageCallback()
Dudc_nrf.c328 sizeof(struct usb_setup_packet)); in udc_event_xfer_setup()
Dudc_it82xx2.c1058 buf = udc_ctrl_alloc(dev, USB_CONTROL_EP_OUT, sizeof(struct usb_setup_packet)); in work_handler_setup()
1066 if (buf->len != sizeof(struct usb_setup_packet)) { in work_handler_setup()
/Zephyr-latest/tests/subsys/usb/bos/src/
Dtest_bos.c200 struct usb_setup_packet setup; in test_usb_bos()
/Zephyr-latest/subsys/usb/device_next/
Dusbd_endpoint.c61 struct usb_setup_packet *setup = usbd_get_setup_pkt(uds_ctx); in usbd_ep_ctrl_set_zlp()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_nrfx.c240 struct usb_setup_packet setup;
743 struct usb_setup_packet *usbd_setup; in usbd_work_process_setup()
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()
756 ep_ctx->buf.len = sizeof(struct usb_setup_packet); in usbd_work_process_setup()
759 memcpy(&usbd_ctx.setup, usbd_setup, sizeof(struct usb_setup_packet)); in usbd_work_process_setup()
Dusb_dc_mcux.c591 struct usb_setup_packet *usbd_setup; in update_control_stage()
593 usbd_setup = (struct usb_setup_packet *)cb_msg->buffer; in update_control_stage()
Dusb_dc_rpi_pico.c844 read_count = sizeof(struct usb_setup_packet); in usb_dc_ep_read_wait()
880 const struct usb_setup_packet *const setup = (const void *)&usb_dpram->setup_packet; in usb_dc_control_ep_read_continue()
Dusb_dc_sam_usbc.c1342 struct usb_setup_packet *setup; in usb_dc_ep_read_ex()
1400 setup = (struct usb_setup_packet *) data; in usb_dc_ep_read_ex()
/Zephyr-latest/subsys/usb/device_next/class/
Dusbd_uac2.c582 const struct usb_setup_packet *const setup, in get_clock_source_request()
632 const struct usb_setup_packet *const setup, in set_clock_source_request()
692 const struct usb_setup_packet *const setup, in uac2_control_to_dev()
714 const struct usb_setup_packet *const setup, in uac2_control_to_host()
Dusbd_cdc_ncm.c146 struct usb_setup_packet header;
150 struct usb_setup_packet header;
886 const struct usb_setup_packet *const setup, in usbd_cdc_ncm_ctd()
917 const struct usb_setup_packet *const setup, in usbd_cdc_ncm_cth()
Dusbd_msc.c682 const struct usb_setup_packet *const setup, in msc_bot_control_to_dev()
697 const struct usb_setup_packet *const setup, in msc_bot_control_to_host()
Dusbd_cdc_acm.c419 const struct usb_setup_packet *const setup, in usbd_cdc_acm_cth()
446 const struct usb_setup_packet *const setup, in usbd_cdc_acm_ctd()
Dbt_hci.c420 const struct usb_setup_packet *const setup, in bt_hci_ctd()
Dusbd_cdc_ecm.c422 const struct usb_setup_packet *const setup, in usbd_cdc_ecm_ctd()
/Zephyr-latest/samples/subsys/dap/src/
Dmain.c180 static int msosv2_vendor_handle_req(struct usb_setup_packet *setup, in msosv2_vendor_handle_req()
/Zephyr-latest/subsys/usb/host/
Dusbh_ch9.c45 struct usb_setup_packet req = { in usbh_req_setup()
/Zephyr-latest/subsys/usb/device/class/netusb/
Dfunction_ecm.c189 static int ecm_class_handler(struct usb_setup_packet *setup, int32_t *len, in ecm_class_handler()
/Zephyr-latest/subsys/usb/device/class/
Dbluetooth.c415 static int bluetooth_class_handler(struct usb_setup_packet *setup, in bluetooth_class_handler()
Dmsc.c340 static int mass_storage_class_handle_req(struct usb_setup_packet *setup, in mass_storage_class_handle_req()
Dcdc_acm.c152 int cdc_acm_class_handle_req(struct usb_setup_packet *setup, in cdc_acm_class_handle_req()

123