Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c305 struct cppi5_host_desc_t *desc_rx; in am65_cpsw_nuss_rx_push() local
312 desc_rx = k3_cppi_desc_pool_alloc(rx_chn->desc_pool); in am65_cpsw_nuss_rx_push()
313 if (!desc_rx) { in am65_cpsw_nuss_rx_push()
317 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
322 k3_cppi_desc_pool_free(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
327 cppi5_hdesc_init(desc_rx, CPPI5_INFO0_HDESC_EPIB_PRESENT, in am65_cpsw_nuss_rx_push()
330 cppi5_hdesc_attach_buf(desc_rx, buf_dma, skb_tailroom(skb), buf_dma, skb_tailroom(skb)); in am65_cpsw_nuss_rx_push()
331 swdata = cppi5_hdesc_get_swdata(desc_rx); in am65_cpsw_nuss_rx_push()
334 return k3_udma_glue_push_rx_chn(rx_chn->rx_chn, 0, desc_rx, desc_dma); in am65_cpsw_nuss_rx_push()
618 struct cppi5_host_desc_t *desc_rx; in am65_cpsw_nuss_rx_cleanup() local
[all …]
/linux-6.1.9/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.c108 struct dma_async_tx_descriptor *desc_rx; member
775 async_tx_ack(dma->desc_rx); in pch_spi_start_transfer()
903 struct dma_async_tx_descriptor *desc_rx; in pch_spi_handle_dma() local
1015 desc_rx = dmaengine_prep_slave_sg(dma->chan_rx, sg, in pch_spi_handle_dma()
1018 if (!desc_rx) { in pch_spi_handle_dma()
1024 desc_rx->callback = pch_dma_rx_complete; in pch_spi_handle_dma()
1025 desc_rx->callback_param = data; in pch_spi_handle_dma()
1027 dma->desc_rx = desc_rx; in pch_spi_handle_dma()
1095 desc_rx->tx_submit(desc_rx); in pch_spi_handle_dma()
Dspi-rspi.c542 struct dma_async_tx_descriptor *desc_tx = NULL, *desc_rx = NULL; in rspi_dma_transfer() local
550 desc_rx = dmaengine_prep_slave_sg(rspi->ctlr->dma_rx, rx->sgl, in rspi_dma_transfer()
553 if (!desc_rx) { in rspi_dma_transfer()
558 desc_rx->callback = rspi_dma_complete; in rspi_dma_transfer()
559 desc_rx->callback_param = rspi; in rspi_dma_transfer()
560 cookie = dmaengine_submit(desc_rx); in rspi_dma_transfer()
Dspi-sh-msiof.c748 struct dma_async_tx_descriptor *desc_tx = NULL, *desc_rx = NULL; in sh_msiof_dma_once() local
755 desc_rx = dmaengine_prep_slave_single(p->ctlr->dma_rx, in sh_msiof_dma_once()
758 if (!desc_rx) in sh_msiof_dma_once()
761 desc_rx->callback = sh_msiof_dma_complete; in sh_msiof_dma_once()
762 desc_rx->callback_param = &p->done; in sh_msiof_dma_once()
763 cookie = dmaengine_submit(desc_rx); in sh_msiof_dma_once()
Dspi-imx.c1375 struct dma_async_tx_descriptor *desc_tx, *desc_rx; in spi_imx_dma_transfer() local
1411 desc_rx = dmaengine_prep_slave_sg(controller->dma_rx, in spi_imx_dma_transfer()
1414 if (!desc_rx) { in spi_imx_dma_transfer()
1419 desc_rx->callback = spi_imx_dma_rx_callback; in spi_imx_dma_transfer()
1420 desc_rx->callback_param = (void *)spi_imx; in spi_imx_dma_transfer()
1421 dmaengine_submit(desc_rx); in spi_imx_dma_transfer()
/linux-6.1.9/drivers/tty/serial/
Dpch_uart.c225 struct dma_async_tx_descriptor *desc_rx; member
736 async_tx_ack(priv->desc_rx); in pch_dma_rx_complete()
814 priv->desc_rx = desc; in dma_handle_rx()
Datmel_serial.c133 struct dma_async_tx_descriptor *desc_rx; member
1109 atmel_port->desc_rx = NULL; in atmel_release_rx_dma()
1269 atmel_port->desc_rx = desc; in atmel_prepare_rx_dma()
/linux-6.1.9/drivers/dma/ti/
Dk3-udma-glue.c1366 u32 flow_num, struct cppi5_host_desc_t *desc_rx, in k3_udma_glue_push_rx_chn() argument