Lines Matching refs:next_desc
108 struct cppi5_host_desc_t *first_desc, *next_desc; in prueth_xmit_free() local
113 next_desc = first_desc; in prueth_xmit_free()
124 next_desc = k3_cppi_desc_pool_dma2virt(tx_chn->desc_pool, in prueth_xmit_free()
126 cppi5_hdesc_get_obuf(next_desc, &buf_dma, &buf_dma_len); in prueth_xmit_free()
132 next_desc_dma = cppi5_hdesc_get_next_hbdesc(next_desc); in prueth_xmit_free()
135 k3_cppi_desc_pool_free(tx_chn->desc_pool, next_desc); in prueth_xmit_free()
693 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc; in emac_ndo_start_xmit() local
761 next_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool); in emac_ndo_start_xmit()
762 if (!next_desc) { in emac_ndo_start_xmit()
772 k3_cppi_desc_pool_free(tx_chn->desc_pool, next_desc); in emac_ndo_start_xmit()
777 cppi5_hdesc_reset_hbdesc(next_desc); in emac_ndo_start_xmit()
779 cppi5_hdesc_attach_buf(next_desc, in emac_ndo_start_xmit()
783 next_desc); in emac_ndo_start_xmit()
788 cur_desc = next_desc; in emac_ndo_start_xmit()