Home
last modified time | relevance | path

Searched refs:desc_tx (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/include/linux/dma/
H A Dk3-udma-glue.h31 struct cppi5_host_desc_t *desc_tx,
118 u32 flow_num, struct cppi5_host_desc_t *desc_tx,
/openbmc/linux/drivers/spi/
H A Dspi-fsl-lpspi.c577 struct dma_async_tx_descriptor *desc_tx, *desc_rx; in fsl_lpspi_dma_transfer() local
599 desc_tx = dmaengine_prep_slave_sg(controller->dma_tx, in fsl_lpspi_dma_transfer()
602 if (!desc_tx) { in fsl_lpspi_dma_transfer()
607 desc_tx->callback = fsl_lpspi_dma_tx_callback; in fsl_lpspi_dma_transfer()
608 desc_tx->callback_param = (void *)fsl_lpspi; in fsl_lpspi_dma_transfer()
609 dmaengine_submit(desc_tx); in fsl_lpspi_dma_transfer()
H A Dspi-topcliff-pch.c107 struct dma_async_tx_descriptor *desc_tx; member
776 async_tx_ack(dma->desc_tx); in pch_spi_start_transfer()
902 struct dma_async_tx_descriptor *desc_tx; in pch_spi_handle_dma() local
1077 desc_tx = dmaengine_prep_slave_sg(dma->chan_tx, in pch_spi_handle_dma()
1080 if (!desc_tx) { in pch_spi_handle_dma()
1086 desc_tx->callback = NULL; in pch_spi_handle_dma()
1087 desc_tx->callback_param = data; in pch_spi_handle_dma()
1089 dma->desc_tx = desc_tx; in pch_spi_handle_dma()
1096 desc_tx->tx_submit(desc_tx); in pch_spi_handle_dma()
H A Dspi-rspi.c542 struct dma_async_tx_descriptor *desc_tx = NULL, *desc_rx = NULL; in rspi_dma_transfer() local
570 desc_tx = dmaengine_prep_slave_sg(rspi->ctlr->dma_tx, tx->sgl, in rspi_dma_transfer()
573 if (!desc_tx) { in rspi_dma_transfer()
580 desc_tx->callback = NULL; in rspi_dma_transfer()
582 desc_tx->callback = rspi_dma_complete; in rspi_dma_transfer()
583 desc_tx->callback_param = rspi; in rspi_dma_transfer()
585 cookie = dmaengine_submit(desc_tx); in rspi_dma_transfer()
H A Dspi-pic32.c305 struct dma_async_tx_descriptor *desc_tx; in pic32_spi_dma_transfer() local
322 desc_tx = dmaengine_prep_slave_sg(host->dma_tx, in pic32_spi_dma_transfer()
327 if (!desc_tx) { in pic32_spi_dma_transfer()
341 cookie = dmaengine_submit(desc_tx); in pic32_spi_dma_transfer()
H A Dspi-sh-msiof.c750 struct dma_async_tx_descriptor *desc_tx = NULL, *desc_rx = NULL; in sh_msiof_dma_once() local
774 desc_tx = dmaengine_prep_slave_single(p->ctlr->dma_tx, in sh_msiof_dma_once()
777 if (!desc_tx) { in sh_msiof_dma_once()
782 desc_tx->callback = sh_msiof_dma_complete; in sh_msiof_dma_once()
783 desc_tx->callback_param = &p->done_txdma; in sh_msiof_dma_once()
784 cookie = dmaengine_submit(desc_tx); in sh_msiof_dma_once()
H A Dspi-imx.c1396 struct dma_async_tx_descriptor *desc_tx, *desc_rx; in spi_imx_dma_transfer() local
1446 desc_tx = dmaengine_prep_slave_sg(controller->dma_tx, in spi_imx_dma_transfer()
1449 if (!desc_tx) { in spi_imx_dma_transfer()
1455 desc_tx->callback = spi_imx_dma_tx_callback; in spi_imx_dma_transfer()
1456 desc_tx->callback_param = (void *)spi_imx; in spi_imx_dma_transfer()
1457 dmaengine_submit(desc_tx); in spi_imx_dma_transfer()
/openbmc/linux/drivers/net/ethernet/ti/icssg/
H A Dicssg_prueth.c145 struct cppi5_host_desc_t *desc_tx; in emac_tx_complete_packets() local
168 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, in emac_tx_complete_packets()
170 swdata = cppi5_hdesc_get_swdata(desc_tx); in emac_tx_complete_packets()
173 prueth_xmit_free(tx_chn, desc_tx); in emac_tx_complete_packets()
856 struct cppi5_host_desc_t *desc_tx; in prueth_tx_cleanup() local
860 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, desc_dma); in prueth_tx_cleanup()
861 swdata = cppi5_hdesc_get_swdata(desc_tx); in prueth_tx_cleanup()
863 prueth_xmit_free(tx_chn, desc_tx); in prueth_tx_cleanup()
/openbmc/linux/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c881 struct cppi5_host_desc_t *desc_tx; in am65_cpsw_nuss_tx_cleanup() local
885 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, desc_dma); in am65_cpsw_nuss_tx_cleanup()
886 swdata = cppi5_hdesc_get_swdata(desc_tx); in am65_cpsw_nuss_tx_cleanup()
888 am65_cpsw_nuss_xmit_free(tx_chn, desc_tx); in am65_cpsw_nuss_tx_cleanup()
899 struct cppi5_host_desc_t *desc_tx; in am65_cpsw_nuss_tx_compl_packet() local
904 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, in am65_cpsw_nuss_tx_compl_packet()
906 swdata = cppi5_hdesc_get_swdata(desc_tx); in am65_cpsw_nuss_tx_compl_packet()
908 am65_cpsw_nuss_xmit_free(tx_chn, desc_tx); in am65_cpsw_nuss_tx_compl_packet()
/openbmc/linux/drivers/tty/serial/
H A Datmel_serial.c131 struct dma_async_tx_descriptor *desc_tx; member
871 async_tx_ack(atmel_port->desc_tx); in atmel_complete_tx_dma()
873 atmel_port->desc_tx = NULL; in atmel_complete_tx_dma()
911 atmel_port->desc_tx = NULL; in atmel_release_tx_dma()
930 if (atmel_port->desc_tx != NULL) in atmel_tx_dma()
993 atmel_port->desc_tx = desc; in atmel_tx_dma()
H A Dpch_uart.c224 struct dma_async_tx_descriptor *desc_tx; member
751 async_tx_ack(priv->desc_tx); in pch_dma_tx_complete()
971 priv->desc_tx = desc; in dma_handle_tx()
/openbmc/linux/drivers/dma/ti/
H A Dk3-udma-glue.c402 struct cppi5_host_desc_t *desc_tx, in k3_udma_glue_push_tx_chn() argument
411 cppi5_desc_set_retpolicy(&desc_tx->hdr, 0, ringtxcq_id); in k3_udma_glue_push_tx_chn()