Lines Matching defs:desc_dma

338 	dma_addr_t desc_dma;
347 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, desc_rx);
366 return k3_udma_glue_push_rx_chn(rx_chn->rx_chn, 0, desc_rx, desc_dma);
486 dma_addr_t desc_dma)
491 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, desc_dma);
508 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma)
518 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma);
566 static void am65_cpsw_nuss_tx_cleanup(void *data, dma_addr_t desc_dma)
573 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, desc_dma);
1107 dma_addr_t desc_dma, buf_dma;
1117 ret = k3_udma_glue_pop_rx_chn(rx_chn->rx_chn, flow_idx, &desc_dma);
1124 if (cppi5_desc_is_tdcm(desc_dma)) {
1131 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma);
1133 __func__, flow_idx, &desc_dma);
1277 dma_addr_t desc_dma)
1287 desc_dma);
1309 dma_addr_t desc_dma,
1320 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, desc_dma);
1367 dma_addr_t desc_dma;
1374 res = k3_udma_glue_pop_tx_chn(tx_chn->tx_chn, &desc_dma);
1379 if (cppi5_desc_is_tdcm(desc_dma)) {
1386 buf_type = am65_cpsw_nuss_buf_type(tx_chn, desc_dma);
1388 skb = am65_cpsw_nuss_tx_compl_packet_skb(tx_chn, desc_dma);
1394 desc_dma, &ndev);
1426 dma_addr_t desc_dma;
1432 res = k3_udma_glue_pop_tx_chn(tx_chn->tx_chn, &desc_dma);
1436 if (cppi5_desc_is_tdcm(desc_dma)) {
1443 buf_type = am65_cpsw_nuss_buf_type(tx_chn, desc_dma);
1445 skb = am65_cpsw_nuss_tx_compl_packet_skb(tx_chn, desc_dma);
1451 desc_dma, &ndev);
1543 dma_addr_t desc_dma, buf_dma;
1641 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool,
1643 k3_udma_glue_tx_dma_to_cppi5_addr(tx_chn->tx_chn, &desc_dma);
1644 cppi5_hdesc_link_hbdesc(cur_desc, desc_dma);
1658 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, first_desc);
1660 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma);
1663 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma);