Searched refs:rx_dev (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/samples/drivers/uart/passthrough/src/ |
D | main.c | 18 const struct device *rx_dev; member 35 .rx_dev = DEV_CONSOLE, 47 .rx_dev = DEV_OTHER, 62 while (uart_irq_update(patch->rx_dev) > 0) { in uart_cb() 63 ret = uart_irq_rx_ready(patch->rx_dev); in uart_cb() 74 uart_irq_rx_disable(patch->rx_dev); in uart_cb() 79 ret = uart_fifo_read(patch->rx_dev, buf, len); in uart_cb() 129 uart_irq_rx_enable(patch->rx_dev); in passthrough() 138 printk("Console Device: %p\n", patch_c2o.rx_dev); in main() 139 printk("Other Device: %p\n", patch_o2c.rx_dev); in main() [all …]
|
/Zephyr-latest/tests/drivers/video/api/src/ |
D | video_emul.c | 11 const struct device *rx_dev = DEVICE_DT_GET(DT_NODELABEL(test_video_emul_rx)); variable 16 zexpect_true(device_is_ready(rx_dev)); in ZTEST() 22 zexpect_ok(video_stream_start(rx_dev)); in ZTEST() 23 zexpect_ok(video_stream_stop(rx_dev)); in ZTEST() 150 zexpect_ok(video_get_caps(rx_dev, VIDEO_EP_OUT, &caps)); in ZTEST() 157 zexpect_ok(video_set_format(rx_dev, VIDEO_EP_OUT, &fmt)); in ZTEST() 164 zexpect_ok(video_stream_start(rx_dev)); in ZTEST() 167 zexpect_ok(video_enqueue(rx_dev, VIDEO_EP_OUT, vbuf)); in ZTEST() 170 zexpect_ok(video_dequeue(rx_dev, VIDEO_EP_OUT, &vbuf, K_FOREVER)); in ZTEST() 175 zexpect_ok(video_enqueue(rx_dev, VIDEO_EP_OUT, vbuf)); in ZTEST() [all …]
|
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_smartbond.c | 140 const struct device *rx_dev; member 156 .rx_dev = 206 !device_is_ready(usbd_dma_cfg.rx_dev)) { in usb_smartbond_dma_validate() 221 if (dma_request_channel(usbd_dma_cfg.rx_dev, in usb_smartbond_dma_config() 297 if (dma_config(usbd_dma_cfg.rx_dev, usbd_dma_cfg.rx_chan, rx) < 0) { in usb_smartbond_dma_config() 313 dma_stop(usbd_dma_cfg.rx_dev, usbd_dma_cfg.rx_chan); in usb_smartbond_dma_deconfig() 316 dma_release_channel(usbd_dma_cfg.rx_dev, usbd_dma_cfg.rx_chan); in usb_smartbond_dma_deconfig() 433 if (dma_reload(usbd_dma_cfg.rx_dev, usbd_dma_cfg.rx_chan, in start_rx_dma() 437 dma_start(usbd_dma_cfg.rx_dev, usbd_dma_cfg.rx_chan); in start_rx_dma() 647 dma_stop(usbd_dma_cfg.rx_dev, usbd_dma_cfg.rx_chan); in handle_epx_rx_ev() [all …]
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_smartbond.c | 51 const struct device *rx_dev; member 135 if (dma_request_channel(dma_cfg->rx_dev, (void *)&dma_cfg->rx_chan) < 0) { in usb_smartbond_dma_config() 209 if (dma_config(dma_cfg->rx_dev, dma_cfg->rx_chan, rx) < 0) { in usb_smartbond_dma_config() 228 dma_stop(dma_cfg->rx_dev, dma_cfg->rx_chan); in usb_smartbond_dma_deconfig() 231 dma_release_channel(dma_cfg->rx_dev, dma_cfg->rx_chan); in usb_smartbond_dma_deconfig() 351 if (dma_reload(dma_cfg->rx_dev, dma_cfg->rx_chan, src, dst, size) < 0) { in start_rx_dma() 354 dma_start(dma_cfg->rx_dev, dma_cfg->rx_chan); in start_rx_dma() 538 dma_stop(config->dma_cfg.rx_dev, config->dma_cfg.rx_chan); in udc_smartbond_ep_abort() 932 dma_stop(config->dma_cfg.rx_dev, config->dma_cfg.rx_chan); in handle_epx_rx_ev() 936 dma_start(config->dma_cfg.rx_dev, config->dma_cfg.rx_chan); in handle_epx_rx_ev() [all …]
|