Lines Matching refs:next_desc
870 struct cppi5_host_desc_t *first_desc, *next_desc; in am65_cpsw_nuss_xmit_free() local
875 next_desc = first_desc; in am65_cpsw_nuss_xmit_free()
884 next_desc = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, in am65_cpsw_nuss_xmit_free()
886 cppi5_hdesc_get_obuf(next_desc, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_xmit_free()
891 next_desc_dma = cppi5_hdesc_get_next_hbdesc(next_desc); in am65_cpsw_nuss_xmit_free()
893 k3_cppi_desc_pool_free(tx_chn->desc_pool, next_desc); in am65_cpsw_nuss_xmit_free()
1031 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc; in am65_cpsw_nuss_ndo_slave_xmit() local
1106 next_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool); in am65_cpsw_nuss_ndo_slave_xmit()
1107 if (!next_desc) { in am65_cpsw_nuss_ndo_slave_xmit()
1116 k3_cppi_desc_pool_free(tx_chn->desc_pool, next_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1121 cppi5_hdesc_reset_hbdesc(next_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1122 cppi5_hdesc_attach_buf(next_desc, in am65_cpsw_nuss_ndo_slave_xmit()
1126 next_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1130 cur_desc = next_desc; in am65_cpsw_nuss_ndo_slave_xmit()