Home
last modified time | relevance | path

Searched refs:USB_CONTROL_EP_IN (Results 1 – 16 of 16) sorted by relevance

/Zephyr-Core-3.4.0/subsys/usb/device/
Dusb_device.c247 usb_write(USB_CONTROL_EP_IN, usb_dev.data_buf, in usb_data_to_host()
271 usb_dc_ep_write(USB_CONTROL_EP_IN, NULL, 0, NULL); in usb_data_to_host()
298 usb_dc_ep_set_stall(USB_CONTROL_EP_IN); in usb_handle_control_transfer()
322 usb_dc_ep_set_stall(USB_CONTROL_EP_IN); in usb_handle_control_transfer()
340 usb_dc_ep_set_stall(USB_CONTROL_EP_IN); in usb_handle_control_transfer()
356 usb_dc_ep_set_stall(USB_CONTROL_EP_IN); in usb_handle_control_transfer()
365 usb_dc_ep_set_stall(USB_CONTROL_EP_IN); in usb_handle_control_transfer()
379 usb_dc_ep_set_stall(USB_CONTROL_EP_IN); in usb_handle_control_transfer()
387 } else if (ep == USB_CONTROL_EP_IN) { in usb_handle_control_transfer()
1650 ep0_cfg.ep_addr = USB_CONTROL_EP_IN; in usb_enable()
[all …]
/Zephyr-Core-3.4.0/drivers/usb/udc/
Dudc_nrf.c151 buf = udc_buf_get(dev, USB_CONTROL_EP_IN); in udc_event_fake_status_in()
153 LOG_DBG("ep 0x%02x queue is empty", USB_CONTROL_EP_IN); in udc_event_fake_status_in()
177 if (ep == USB_CONTROL_EP_IN) { in udc_event_xfer_in()
484 .ep = USB_CONTROL_EP_IN, in udc_nrf_fake_status_in()
504 if (cfg->addr == USB_CONTROL_EP_IN && buf->len == 0) { in udc_nrf_ep_enqueue()
579 cfg->addr == USB_CONTROL_EP_IN) { in udc_nrf_ep_set_halt()
691 if (udc_ep_enable_internal(dev, USB_CONTROL_EP_IN, in udc_nrf_init()
711 if (udc_ep_disable_internal(dev, USB_CONTROL_EP_IN)) { in udc_nrf_shutdown()
Dudc_skeleton.c230 if (udc_ep_enable_internal(dev, USB_CONTROL_EP_IN, in udc_skeleton_init()
247 if (udc_ep_disable_internal(dev, USB_CONTROL_EP_IN)) { in udc_skeleton_shutdown()
Dudc_kinetis.c416 if (ep == USB_CONTROL_EP_IN) { in work_handler_in()
527 struct udc_ep_config *ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_IN); in set_control_in_pid_data1()
673 ep_cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_IN); in usbfsotg_isr_handler()
675 usbfsotg_event_submit(dev, USB_CONTROL_EP_IN, in usbfsotg_isr_handler()
777 if (cfg->addr == USB_CONTROL_EP_IN) { in usbfsotg_ep_set_halt()
1018 if (udc_ep_enable_internal(dev, USB_CONTROL_EP_IN, in usbfsotg_init()
1044 if (udc_ep_disable_internal(dev, USB_CONTROL_EP_IN)) { in usbfsotg_shutdown()
Dudc_virtual.c72 cfg = udc_get_ep_cfg(dev, USB_CONTROL_EP_IN); in ctrl_ep_clear_halt()
264 if (ep == USB_CONTROL_EP_IN) { in vrt_handle_in()
523 if (udc_ep_enable_internal(dev, USB_CONTROL_EP_IN, in udc_vrt_init()
541 if (udc_ep_disable_internal(dev, USB_CONTROL_EP_IN)) { in udc_vrt_shutdown()
Dudc_common.c373 if (ep == USB_CONTROL_EP_OUT || ep == USB_CONTROL_EP_IN) { in udc_ep_enable()
419 if (ep == USB_CONTROL_EP_OUT || ep == USB_CONTROL_EP_IN) { in udc_ep_disable()
867 buf = udc_ctrl_alloc_status(dev, dout, USB_CONTROL_EP_IN); in udc_ctrl_submit_s_out_status()
886 buf = udc_ctrl_alloc_data(dev, data->setup, USB_CONTROL_EP_IN); in udc_ctrl_submit_s_in_status()
901 buf = udc_ctrl_alloc_status(dev, data->setup, USB_CONTROL_EP_IN); in udc_ctrl_submit_s_status()
/Zephyr-Core-3.4.0/drivers/usb/device/
Dusb_dc_rpi_pico.c180 udc_rpi_cancel_endpoint(USB_CONTROL_EP_IN); in udc_rpi_handle_setup()
198 udc_rpi_get_ep_state(USB_CONTROL_EP_IN)->next_pid = 1; in udc_rpi_handle_setup()
574 if (ep == USB_CONTROL_EP_IN) { in usb_dc_ep_set_stall()
697 if (ep == USB_CONTROL_EP_IN && state.abort_control_writes) { in usb_dc_ep_write()
711 if (ep == USB_CONTROL_EP_IN && len > USB_MAX_CTRL_MPS) { in usb_dc_ep_write()
Dusb_dc_kinetis.c860 ep_cfg.ep_addr = USB_CONTROL_EP_IN; in reenable_control_endpoints()
865 usb_dc_ep_enable(USB_CONTROL_EP_IN); in reenable_control_endpoints()
Dusb_dc_mcux.c780 ep_init.endpointAddress = USB_CONTROL_EP_IN; in handle_bus_reset()
Dusb_dc_smartbond.c56 #define EP0_IN USB_CONTROL_EP_IN
/Zephyr-Core-3.4.0/subsys/usb/device_next/
Dusbd_ch9.c822 if (bi->status && bi->ep == USB_CONTROL_EP_IN) { in usbd_handle_ctrl_xfer()
846 ret = udc_ep_set_halt(uds_ctx->dev, USB_CONTROL_EP_IN); in usbd_handle_ctrl_xfer()
848 uint8_t ep = (err == -ENOMEM) ? USB_CONTROL_EP_OUT : USB_CONTROL_EP_IN; in usbd_handle_ctrl_xfer()
852 ret = udc_ep_set_halt(uds_ctx->dev, USB_CONTROL_EP_IN); in usbd_handle_ctrl_xfer()
Dusbd_core.c112 if (usbd_ep_dequeue(uds_ctx, USB_CONTROL_EP_IN)) { in event_handler_bus_reset()
/Zephyr-Core-3.4.0/tests/drivers/udc/src/
Dmain.c119 USB_CONTROL_EP_IN : USB_CONTROL_EP_OUT; in test_udc_ep_enable()
154 USB_CONTROL_EP_IN : USB_CONTROL_EP_OUT; in test_udc_ep_disable()
447 .bEndpointAddress = USB_CONTROL_EP_IN,
/Zephyr-Core-3.4.0/include/zephyr/usb/
Dusb_ch9.h307 #define USB_CONTROL_EP_IN (USB_EP_DIR_IN | 0U) macro
/Zephyr-Core-3.4.0/drivers/usb/uhc/
Duhc_virtual.c142 ep = USB_CONTROL_EP_IN; in vrt_xfer_control()
/Zephyr-Core-3.4.0/subsys/usb/host/
Dusbh_shell.c123 if (xfer->ep == USB_CONTROL_EP_IN) { in bazfoo_request()