Lines Matching refs:desc_dma
312 dma_addr_t desc_dma;
321 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, desc_rx);
338 return k3_udma_glue_push_rx_chn(rx_chn->rx_chn, 0, desc_rx, desc_dma);
473 static void am65_cpsw_nuss_tx_cleanup(void *data, dma_addr_t desc_dma);
474 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma);
649 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma)
658 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma);
725 dma_addr_t desc_dma, buf_dma;
732 ret = k3_udma_glue_pop_rx_chn(rx_chn->rx_chn, flow_idx, &desc_dma);
739 if (cppi5_desc_is_tdcm(desc_dma)) {
746 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma);
748 __func__, flow_idx, &desc_dma);
878 static void am65_cpsw_nuss_tx_cleanup(void *data, dma_addr_t desc_dma)
885 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, desc_dma);
895 dma_addr_t desc_dma)
905 desc_dma);
950 dma_addr_t desc_dma;
957 res = k3_udma_glue_pop_tx_chn(tx_chn->tx_chn, &desc_dma);
962 if (cppi5_desc_is_tdcm(desc_dma)) {
968 skb = am65_cpsw_nuss_tx_compl_packet(tx_chn, desc_dma);
995 dma_addr_t desc_dma;
1001 res = k3_udma_glue_pop_tx_chn(tx_chn->tx_chn, &desc_dma);
1005 if (cppi5_desc_is_tdcm(desc_dma)) {
1011 skb = am65_cpsw_nuss_tx_compl_packet(tx_chn, desc_dma);
1082 dma_addr_t desc_dma, buf_dma;
1174 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool,
1176 k3_udma_glue_tx_dma_to_cppi5_addr(tx_chn->tx_chn, &desc_dma);
1177 cppi5_hdesc_link_hbdesc(cur_desc, desc_dma);
1191 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, first_desc);
1193 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma);
1196 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma);