Home
last modified time | relevance | path

Searched refs:udc_submit_event (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.5.0/drivers/usb/udc/
Dudc_nrf.c200 udc_submit_event(dev, UDC_EVT_ERROR, -EIO); in udc_event_xfer_in()
292 udc_submit_event(dev, UDC_EVT_ERROR, -EIO); in udc_event_xfer_out()
424 udc_submit_event(udc_nrf_dev, UDC_EVT_SUSPEND, 0); in usbd_event_handler()
429 udc_submit_event(udc_nrf_dev, UDC_EVT_RESUME, 0); in usbd_event_handler()
436 udc_submit_event(udc_nrf_dev, UDC_EVT_RESET, 0); in usbd_event_handler()
439 udc_submit_event(udc_nrf_dev, UDC_EVT_SOF, 0); in usbd_event_handler()
468 udc_submit_event(udc_nrf_dev, UDC_EVT_VBUS_READY, 0); in udc_nrf_power_handler()
473 udc_submit_event(udc_nrf_dev, UDC_EVT_VBUS_REMOVED, 0); in udc_nrf_power_handler()
Dudc_virtual.c310 err = udc_submit_event(dev, UDC_EVT_VBUS_REMOVED, 0); in udc_vrt_thread_handler()
313 err = udc_submit_event(dev, UDC_EVT_VBUS_READY, 0); in udc_vrt_thread_handler()
316 err = udc_submit_event(dev, UDC_EVT_SUSPEND, 0); in udc_vrt_thread_handler()
319 err = udc_submit_event(dev, UDC_EVT_RESUME, 0); in udc_vrt_thread_handler()
322 err = udc_submit_event(dev, UDC_EVT_RESET, 0); in udc_vrt_thread_handler()
332 udc_submit_event(dev, UDC_EVT_ERROR, err); in udc_vrt_thread_handler()
Dudc_kinetis.c450 udc_submit_event(dev, UDC_EVT_ERROR, ret); in usbfsotg_event_submit()
474 udc_submit_event(ev->dev, UDC_EVT_ERROR, -ENODATA); in xfer_work_handler()
498 udc_submit_event(ev->dev, UDC_EVT_ERROR, err); in xfer_work_handler()
572 udc_submit_event(dev, UDC_EVT_ERROR, -ENOBUFS); in isr_handle_xfer_done()
590 udc_submit_event(dev, UDC_EVT_ERROR, -ENOBUFS); in isr_handle_xfer_done()
617 udc_submit_event(dev, UDC_EVT_ERROR, -ENOBUFS); in isr_handle_xfer_done()
649 udc_submit_event(dev, UDC_EVT_RESET, 0); in usbfsotg_isr_handler()
654 udc_submit_event(dev, UDC_EVT_ERROR, base->ERRSTAT); in usbfsotg_isr_handler()
690 udc_submit_event(dev, UDC_EVT_SUSPEND, 0); in usbfsotg_isr_handler()
699 udc_submit_event(dev, UDC_EVT_RESUME, 0); in usbfsotg_isr_handler()
Dudc_common.h147 int udc_submit_event(const struct device *dev,
Dudc_stm32.c90 udc_submit_event(priv->dev, UDC_EVT_RESET, 0); in HAL_PCD_ResetCallback()
97 udc_submit_event(priv->dev, UDC_EVT_VBUS_READY, 0); in HAL_PCD_ConnectCallback()
104 udc_submit_event(priv->dev, UDC_EVT_VBUS_REMOVED, 0); in HAL_PCD_DisconnectCallback()
112 udc_submit_event(priv->dev, UDC_EVT_SUSPEND, 0); in HAL_PCD_SuspendCallback()
120 udc_submit_event(priv->dev, UDC_EVT_RESUME, 0); in HAL_PCD_ResumeCallback()
188 udc_submit_event(priv->dev, UDC_EVT_SOF, 0); in HAL_PCD_SOFCallback()
Dudc_common.c167 int udc_submit_event(const struct device *dev, in udc_submit_event() function