Home
last modified time | relevance | path

Searched refs:dma_chan_tx (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c87 struct dma_chan *dma_chan_tx; member
165 epf_test->dma_chan_tx : epf_test->dma_chan_rx; in pci_epf_test_data_transfer()
281 epf_test->dma_chan_tx = dma_chan; in pci_epf_test_init_dma_chan()
305 epf_test->dma_chan_tx = epf_test->dma_chan_rx = dma_chan; in pci_epf_test_init_dma_chan()
321 if (epf_test->dma_chan_tx) { in pci_epf_test_clean_dma_chan()
322 dma_release_channel(epf_test->dma_chan_tx); in pci_epf_test_clean_dma_chan()
323 if (epf_test->dma_chan_tx == epf_test->dma_chan_rx) { in pci_epf_test_clean_dma_chan()
324 epf_test->dma_chan_tx = NULL; in pci_epf_test_clean_dma_chan()
328 epf_test->dma_chan_tx = NULL; in pci_epf_test_clean_dma_chan()
375 if (!dma_has_cap(DMA_MEMCPY, epf_test->dma_chan_tx->device->cap_mask)) { in pci_epf_test_copy()
/linux/drivers/tty/serial/
H A Dimx.c221 struct dma_chan *dma_chan_rx, *dma_chan_tx; member
628 struct dma_chan *chan = sport->dma_chan_tx; in imx_uart_dma_tx()
1370 if (sport->dma_chan_tx) { in imx_uart_dma_exit()
1371 dmaengine_terminate_sync(sport->dma_chan_tx); in imx_uart_dma_exit()
1372 dma_release_channel(sport->dma_chan_tx); in imx_uart_dma_exit()
1373 sport->dma_chan_tx = NULL; in imx_uart_dma_exit()
1417 sport->dma_chan_tx = NULL; in imx_uart_dma_init()
1421 sport->dma_chan_tx = chan; in imx_uart_dma_init()
1427 ret = dmaengine_slave_config(sport->dma_chan_tx, &slave_config); in imx_uart_dma_init()
1599 dmaengine_terminate_sync(sport->dma_chan_tx); in imx_uart_shutdown()
[all …]