Home
last modified time | relevance | path

Searched refs:tx_dev (Results 1 – 3 of 3) sorted by relevance

/Zephyr-latest/samples/drivers/uart/passthrough/src/
Dmain.c23 const struct device *tx_dev; member
40 .tx_dev = DEV_OTHER,
52 .tx_dev = DEV_CONSOLE,
117 ret = uart_fifo_fill(patch->tx_dev, buf, len); in passthrough()
/Zephyr-latest/drivers/usb/device/
Dusb_dc_smartbond.c139 const struct device *tx_dev; member
150 .tx_dev =
205 if (!device_is_ready(usbd_dma_cfg.tx_dev) || in usb_smartbond_dma_validate()
227 if (dma_request_channel(usbd_dma_cfg.tx_dev, in usb_smartbond_dma_config()
302 if (dma_config(usbd_dma_cfg.tx_dev, usbd_dma_cfg.tx_chan, tx) < 0) { in usb_smartbond_dma_config()
312 dma_stop(usbd_dma_cfg.tx_dev, usbd_dma_cfg.tx_chan); in usb_smartbond_dma_deconfig()
315 dma_release_channel(usbd_dma_cfg.tx_dev, usbd_dma_cfg.tx_chan); in usb_smartbond_dma_deconfig()
482 if (dma_reload(usbd_dma_cfg.tx_dev, usbd_dma_cfg.tx_chan, in start_tx_dma()
486 dma_start(usbd_dma_cfg.tx_dev, usbd_dma_cfg.tx_chan); in start_tx_dma()
734 dma_get_status(usbd_dma_cfg.tx_dev, usbd_dma_cfg.tx_chan, &tx_dma_status); in handle_epx_tx_ev()
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_smartbond.c50 const struct device *tx_dev; member
140 if (dma_request_channel(dma_cfg->tx_dev, (void *)&dma_cfg->tx_chan) < 0) { in usb_smartbond_dma_config()
214 if (dma_config(dma_cfg->tx_dev, dma_cfg->tx_chan, tx) < 0) { in usb_smartbond_dma_config()
227 dma_stop(dma_cfg->tx_dev, dma_cfg->tx_chan); in usb_smartbond_dma_deconfig()
230 dma_release_channel(dma_cfg->tx_dev, dma_cfg->tx_chan); in usb_smartbond_dma_deconfig()
403 if (dma_reload(dma_cfg->tx_dev, dma_cfg->tx_chan, src, dst, size) < 0) { in start_tx_dma()
406 dma_start(dma_cfg->tx_dev, dma_cfg->tx_chan); in start_tx_dma()
541 dma_stop(config->dma_cfg.tx_dev, config->dma_cfg.tx_chan); in udc_smartbond_ep_abort()
1040 dma_get_status(config->dma_cfg.tx_dev, config->dma_cfg.tx_chan, in handle_epx_tx_ev()
1046 dma_stop(config->dma_cfg.tx_dev, config->dma_cfg.tx_chan); in handle_epx_tx_ev()
[all …]