Lines Matching refs:desc_dma

308 	dma_addr_t desc_dma;  in am65_cpsw_nuss_rx_push()  local
317 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, 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()
467 static void am65_cpsw_nuss_tx_cleanup(void *data, dma_addr_t desc_dma);
468 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma);
615 static void am65_cpsw_nuss_rx_cleanup(void *data, dma_addr_t desc_dma) in am65_cpsw_nuss_rx_cleanup() argument
624 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma); in am65_cpsw_nuss_rx_cleanup()
691 dma_addr_t desc_dma, buf_dma; in am65_cpsw_nuss_rx_packets() local
698 ret = k3_udma_glue_pop_rx_chn(rx_chn->rx_chn, flow_idx, &desc_dma); in am65_cpsw_nuss_rx_packets()
705 if (cppi5_desc_is_tdcm(desc_dma)) { in am65_cpsw_nuss_rx_packets()
710 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma); in am65_cpsw_nuss_rx_packets()
712 __func__, flow_idx, &desc_dma); in am65_cpsw_nuss_rx_packets()
842 static void am65_cpsw_nuss_tx_cleanup(void *data, dma_addr_t desc_dma) in am65_cpsw_nuss_tx_cleanup() argument
849 desc_tx = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, desc_dma); in am65_cpsw_nuss_tx_cleanup()
859 dma_addr_t desc_dma) in am65_cpsw_nuss_tx_compl_packet() argument
869 desc_dma); in am65_cpsw_nuss_tx_compl_packet()
914 dma_addr_t desc_dma; in am65_cpsw_nuss_tx_compl_packets() local
921 res = k3_udma_glue_pop_tx_chn(tx_chn->tx_chn, &desc_dma); in am65_cpsw_nuss_tx_compl_packets()
926 if (cppi5_desc_is_tdcm(desc_dma)) { in am65_cpsw_nuss_tx_compl_packets()
932 skb = am65_cpsw_nuss_tx_compl_packet(tx_chn, desc_dma); in am65_cpsw_nuss_tx_compl_packets()
959 dma_addr_t desc_dma; in am65_cpsw_nuss_tx_compl_packets_2g() local
965 res = k3_udma_glue_pop_tx_chn(tx_chn->tx_chn, &desc_dma); in am65_cpsw_nuss_tx_compl_packets_2g()
969 if (cppi5_desc_is_tdcm(desc_dma)) { in am65_cpsw_nuss_tx_compl_packets_2g()
975 skb = am65_cpsw_nuss_tx_compl_packet(tx_chn, desc_dma); in am65_cpsw_nuss_tx_compl_packets_2g()
1046 dma_addr_t desc_dma, buf_dma; in am65_cpsw_nuss_ndo_slave_xmit() local
1138 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, in am65_cpsw_nuss_ndo_slave_xmit()
1140 k3_udma_glue_tx_dma_to_cppi5_addr(tx_chn->tx_chn, &desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1141 cppi5_hdesc_link_hbdesc(cur_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1155 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1157 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1160 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()