/Zephyr-latest/drivers/usb/udc/ |
D | Kconfig | 19 Number of UDC request buffers in the pool. 26 Total amount of memory available for UDC requests. 36 bool "Use a dedicate work queue for UDC drivers" 38 This option provides a dedicated work queue for UDC drivers. 41 int "UDC workqueue stack size" 46 int "UDC workqueue priority" 50 By default, UDC work queue priority is the same as 57 source "drivers/usb/udc/Kconfig.dwc2" 58 source "drivers/usb/udc/Kconfig.nrf" 59 source "drivers/usb/udc/Kconfig.kinetis" [all …]
|
D | Kconfig.renesas_ra | 5 bool "Renesas RA family UDC driver" 11 Enable Renesas RA family UDC driver. 16 int "UDC controller driver internal thread stack size" 22 int "Renesas RA family UDC driver thread priority" 28 int "Renesas RA family UDC driver maximum number of ISR event messages"
|
D | Kconfig.dwc2 | 29 int "UDC DWC2 driver internal thread stack size" 36 int "UDC DWC2 driver thread priority" 43 int "UDC DWC2 USBHS VBUS ready event timeout in ms" 48 UDC DWC2 USBHS VBUS ready event timeout. If the VBUS is not ready
|
D | Kconfig.ambiq | 15 int "UDC AMBIQ driver internal thread stack size" 22 int "UDC AMBIQ driver thread priority" 30 int "UDC AMBIQ maximum number of ISR event messages"
|
D | Kconfig.numaker | 15 int "UDC NuMaker message queue size" 21 int "UDC NuMaker driver internal thread stack size" 27 int "UDC NuMaker driver internal thread priority"
|
D | Kconfig.it82xx2 | 15 int "UDC IT82xx2 event count" 22 int "IT82xx2 UDC driver internal thread stack size"
|
D | Kconfig.rpi_pico | 15 int "UDC controller driver internal thread stack size" 21 int "UDC controller driver thread priority"
|
D | udc_common.h | 9 * @brief Private API for USB device controller (UDC) drivers 15 #include <zephyr/drivers/usb/udc.h> 82 * @brief Get UDC request from endpoint FIFO. 91 * @return pointer to UDC request or NULL on error. 97 * @brief Get all UDC request from endpoint FIFO. 99 * Get all UDC request from endpoint FIFO as single-linked list. 106 * @return pointer to UDC request or NULL on error. 129 * @param[in] buf Pointer to UDC request buffer 136 * @brief Helper function to send UDC event to a higher level. 138 * The callback would typically sends UDC even to a message queue (k_msgq). [all …]
|
D | Kconfig.nrf | 16 int "nRF UDC driver internal thread stack size" 22 int "nRF UDC driver maximum number of ISR event messages"
|
D | udc_renesas_ra.c | 12 #include <zephyr/drivers/usb/udc.h> 29 struct st_usbd_instance_ctrl udc; member 111 err = R_USBD_XferStart(&data->udc, ep, buf->data, buf->len); in udc_event_xfer_next() 113 err = R_USBD_XferStart(&data->udc, ep, buf->data, buf->size); in udc_event_xfer_next() 138 if (FSP_SUCCESS != R_USBD_XferStart(&data->udc, cfg->addr, buf->data, buf->size)) { in usbd_ctrl_feed_dout() 210 R_USBD_XferStart(&data->udc, USB_CONTROL_EP_IN, NULL, 0); in udc_event_status_in() 256 if (FSP_SUCCESS != R_USBD_XferStart(&data->udc, ep, NULL, 0)) { in udc_event_xfer_complete() 359 if (FSP_SUCCESS != R_USBD_XferAbort(&data->udc, cfg->addr)) { in udc_renesas_ra_ep_dequeue() 386 if (FSP_SUCCESS != R_USBD_EdptOpen(&data->udc, &ep_desc)) { in udc_renesas_ra_ep_enable() 403 if (FSP_SUCCESS != R_USBD_EdptClose(&data->udc, cfg->addr)) { in udc_renesas_ra_ep_disable() [all …]
|
D | udc_skeleton.c | 8 * USB device controller (UDC) driver skeleton 10 * This is a skeleton for a device controller driver using the UDC API. 14 * Copy UDC driver skeleton, remove all unrelated comments and replace the 32 #include <zephyr/drivers/usb/udc.h> 60 * You can use one thread per driver instance model or UDC driver workqueue, 61 * whichever model suits your needs best. If you decide to use the UDC workqueue, 337 * UDC API structure. 339 * the UDC common layer udc_common.c 362 * A UDC driver should always be implemented as a multi-instance
|
/Zephyr-latest/doc/connectivity/usb/device_next/api/ |
D | udc.rst | 3 USB device controller (UDC) driver API 7 :zephyr_file:`include/zephyr/drivers/usb/udc.h` and referred to 8 as the ``UDC driver`` API. 10 UDC driver API is experimental and is subject to change without notice. 12 driver to UDC driver API, or add a new driver, please use 13 :zephyr_file:`drivers/usb/udc/udc_skeleton.c` as a starting point.
|
D | index.rst | 9 udc.rst
|
/Zephyr-latest/tests/drivers/udc/ |
D | testcase.yaml | 6 drivers.usb.udc: 12 drivers.usb.udc.build_only: 19 drivers.usb.udc.skeleton:
|
D | udc_skeleton.overlay | 11 compatible = "zephyr,udc-skeleton";
|
/Zephyr-latest/tests/drivers/udc/src/ |
D | main.c | 8 #include <zephyr/drivers/usb/udc.h> 379 zassert_true(device_is_ready(dev), "UDC device not ready"); in test_udc_ep_mps() 382 zassert_ok(err, "Failed to initialize UDC driver"); in test_udc_ep_mps() 385 zassert_ok(err, "Failed to enable UDC driver"); in test_udc_ep_mps() 416 zassert_ok(err, "Failed to disable UDC driver"); in test_udc_ep_mps() 419 zassert_ok(err, "Failed to shoot-down UDC driver"); in test_udc_ep_mps() 428 zassert_true(device_is_ready(dev), "UDC device not ready"); in test_udc_device_get() 431 LOG_INF("UDC device HS: %u", caps.hs); in test_udc_device_get() 439 k_thread_name_set(&test_udc_thread_data, "test-udc"); in test_udc_device_get() 487 zassert_true(device_is_ready(dev), "UDC device not ready"); in ZTEST() [all …]
|
/Zephyr-latest/include/zephyr/drivers/usb/ |
D | udc_buf.h | 46 /** Buffer alignment required by the UDC driver */ 49 /** Buffer granularity required by the UDC driver */ 53 * @brief Define a UDC driver-compliant static buffer 65 * @brief Verify that the buffer is aligned as required by the UDC driver 95 * @brief Define a new pool for UDC buffers with variable-size payloads 98 * with alignment and granularity suitable for use by UDC driver. 122 * @brief Define a new pool for UDC buffers based on fixed-size data 125 * with alignment and granularity suitable for use by UDC driver.
|
D | udc.h | 9 * @brief New USB device controller (UDC) driver API 108 * of UDC API and driver. 157 * the UDC driver and are passed to higher layer using 177 * UDC endpoint buffer info 179 * This structure is mandatory for all UDC request. 206 * @brief Callback to submit UDC event to higher layer. 221 * @brief UDC driver API 270 * Common UDC driver data structure 272 * Mandatory structure for each UDC controller driver. 282 /** Callback to submit an UDC event to higher layer */ [all …]
|
/Zephyr-latest/samples/subsys/usb/shell/boards/ |
D | qemu_cortex_m3.overlay | 12 compatible = "zephyr,udc-virtual"; 18 compatible = "zephyr,udc-virtual";
|
/Zephyr-latest/samples/subsys/usb/shell/ |
D | virtual.overlay | 14 compatible = "zephyr,udc-virtual"; 20 compatible = "zephyr,udc-virtual";
|
/Zephyr-latest/dts/bindings/usb/renesas/ |
D | renesas,ra-udc.yaml | 6 compatible: "renesas,ra-udc"
|
/Zephyr-latest/drivers/usb/ |
D | CMakeLists.txt | 3 add_subdirectory_ifdef(CONFIG_UDC_DRIVER udc)
|
/Zephyr-latest/dts/bindings/usb/ |
D | zephyr,udc-virtual.yaml | 6 compatible: "zephyr,udc-virtual"
|
D | zephyr,udc-skeleton.yaml | 6 compatible: "zephyr,udc-skeleton"
|
D | zephyr,native-posix-udc.yaml | 6 compatible: "zephyr,native-posix-udc"
|