Searched refs:tx_chan (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/drivers/usb/device/ |
D | usb_dc_smartbond.c | 135 int tx_chan; member 146 .tx_chan = 193 if (!(usbd_dma_cfg.tx_chan & 0x1) || in usb_smartbond_dma_validate() 195 (usbd_dma_cfg.tx_chan != (usbd_dma_cfg.rx_chan + 1))) { in usb_smartbond_dma_validate() 228 (void *)&usbd_dma_cfg.tx_chan) < 0) { 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() [all …]
|
/Zephyr-latest/drivers/usb/udc/ |
D | udc_smartbond.c | 46 int tx_chan; 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 …]
|