Lines Matching refs:next_desc
902 struct cppi5_host_desc_t *first_desc, *next_desc; in am65_cpsw_nuss_xmit_free() local
907 next_desc = first_desc; in am65_cpsw_nuss_xmit_free()
917 next_desc = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, in am65_cpsw_nuss_xmit_free()
919 cppi5_hdesc_get_obuf(next_desc, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_xmit_free()
925 next_desc_dma = cppi5_hdesc_get_next_hbdesc(next_desc); in am65_cpsw_nuss_xmit_free()
928 k3_cppi_desc_pool_free(tx_chn->desc_pool, next_desc); in am65_cpsw_nuss_xmit_free()
1133 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc; in am65_cpsw_nuss_ndo_slave_xmit() local
1210 next_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool); in am65_cpsw_nuss_ndo_slave_xmit()
1211 if (!next_desc) { in am65_cpsw_nuss_ndo_slave_xmit()
1220 k3_cppi_desc_pool_free(tx_chn->desc_pool, next_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1225 cppi5_hdesc_reset_hbdesc(next_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1227 cppi5_hdesc_attach_buf(next_desc, in am65_cpsw_nuss_ndo_slave_xmit()
1231 next_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1236 cur_desc = next_desc; in am65_cpsw_nuss_ndo_slave_xmit()