Home
last modified time | relevance | path

Searched refs:desc_rx (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c353 struct cppi5_host_desc_t *desc_rx; in am65_cpsw_nuss_rx_push() local
360 desc_rx = k3_cppi_desc_pool_alloc(rx_chn->desc_pool); in am65_cpsw_nuss_rx_push()
361 if (!desc_rx) { in am65_cpsw_nuss_rx_push()
365 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
369 k3_cppi_desc_pool_free(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
374 cppi5_hdesc_init(desc_rx, CPPI5_INFO0_HDESC_EPIB_PRESENT, in am65_cpsw_nuss_rx_push()
376 cppi5_hdesc_attach_buf(desc_rx, 0, 0, buf_dma, skb_tailroom(skb)); in am65_cpsw_nuss_rx_push()
377 swdata = cppi5_hdesc_get_swdata(desc_rx); in am65_cpsw_nuss_rx_push()
380 return k3_udma_glue_push_rx_chn(rx_chn->rx_chn, 0, desc_rx, desc_dma); in am65_cpsw_nuss_rx_push()
684 struct cppi5_host_desc_t *desc_rx; in am65_cpsw_nuss_rx_cleanup() local
[all …]
/kernel/linux/linux-5.10/drivers/spi/
Dspi-pic32.c304 struct dma_async_tx_descriptor *desc_rx; in pic32_spi_dma_transfer() local
312 desc_rx = dmaengine_prep_slave_sg(master->dma_rx, in pic32_spi_dma_transfer()
317 if (!desc_rx) { in pic32_spi_dma_transfer()
333 desc_rx->callback = pic32_spi_dma_rx_notify; in pic32_spi_dma_transfer()
334 desc_rx->callback_param = pic32s; in pic32_spi_dma_transfer()
336 cookie = dmaengine_submit(desc_rx); in pic32_spi_dma_transfer()
Dspi-fsl-lpspi.c549 struct dma_async_tx_descriptor *desc_tx, *desc_rx; in fsl_lpspi_dma_transfer() local
559 desc_rx = dmaengine_prep_slave_sg(controller->dma_rx, in fsl_lpspi_dma_transfer()
562 if (!desc_rx) in fsl_lpspi_dma_transfer()
565 desc_rx->callback = fsl_lpspi_dma_rx_callback; in fsl_lpspi_dma_transfer()
566 desc_rx->callback_param = (void *)fsl_lpspi; in fsl_lpspi_dma_transfer()
567 dmaengine_submit(desc_rx); in fsl_lpspi_dma_transfer()
Dspi-topcliff-pch.c107 struct dma_async_tx_descriptor *desc_rx; member
803 async_tx_ack(dma->desc_rx); in pch_spi_start_transfer()
925 struct dma_async_tx_descriptor *desc_rx; in pch_spi_handle_dma() local
1037 desc_rx = dmaengine_prep_slave_sg(dma->chan_rx, sg, in pch_spi_handle_dma()
1040 if (!desc_rx) { in pch_spi_handle_dma()
1046 desc_rx->callback = pch_dma_rx_complete; in pch_spi_handle_dma()
1047 desc_rx->callback_param = data; in pch_spi_handle_dma()
1049 dma->desc_rx = desc_rx; in pch_spi_handle_dma()
1117 desc_rx->tx_submit(desc_rx); in pch_spi_handle_dma()
Dspi-rspi.c541 struct dma_async_tx_descriptor *desc_tx = NULL, *desc_rx = NULL; in rspi_dma_transfer() local
549 desc_rx = dmaengine_prep_slave_sg(rspi->ctlr->dma_rx, rx->sgl, in rspi_dma_transfer()
552 if (!desc_rx) { in rspi_dma_transfer()
557 desc_rx->callback = rspi_dma_complete; in rspi_dma_transfer()
558 desc_rx->callback_param = rspi; in rspi_dma_transfer()
559 cookie = dmaengine_submit(desc_rx); in rspi_dma_transfer()
Dspi-sh-msiof.c744 struct dma_async_tx_descriptor *desc_tx = NULL, *desc_rx = NULL; in sh_msiof_dma_once() local
751 desc_rx = dmaengine_prep_slave_single(p->ctlr->dma_rx, in sh_msiof_dma_once()
754 if (!desc_rx) in sh_msiof_dma_once()
757 desc_rx->callback = sh_msiof_dma_complete; in sh_msiof_dma_once()
758 desc_rx->callback_param = &p->done; in sh_msiof_dma_once()
759 cookie = dmaengine_submit(desc_rx); in sh_msiof_dma_once()
Dspi-imx.c1351 struct dma_async_tx_descriptor *desc_tx, *desc_rx; in spi_imx_dma_transfer() local
1387 desc_rx = dmaengine_prep_slave_sg(master->dma_rx, in spi_imx_dma_transfer()
1390 if (!desc_rx) { in spi_imx_dma_transfer()
1395 desc_rx->callback = spi_imx_dma_rx_callback; in spi_imx_dma_transfer()
1396 desc_rx->callback_param = (void *)spi_imx; in spi_imx_dma_transfer()
1397 dmaengine_submit(desc_rx); in spi_imx_dma_transfer()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dpch_uart.c226 struct dma_async_tx_descriptor *desc_rx; member
765 async_tx_ack(priv->desc_rx); in pch_dma_rx_complete()
868 priv->desc_rx = desc; in dma_handle_rx()
Datmel_serial.c130 struct dma_async_tx_descriptor *desc_rx; member
1106 atmel_port->desc_rx = NULL; in atmel_release_rx_dma()
1272 atmel_port->desc_rx = desc; in atmel_prepare_rx_dma()
/kernel/linux/linux-5.10/drivers/dma/ti/
Dk3-udma-glue.c1162 u32 flow_num, struct cppi5_host_desc_t *desc_rx, in k3_udma_glue_push_rx_chn() argument