Lines Matching refs:first_desc

837 	struct cppi5_host_desc_t *first_desc, *next_desc;  in am65_cpsw_nuss_xmit_free()  local
841 first_desc = desc; in am65_cpsw_nuss_xmit_free()
842 next_desc = first_desc; in am65_cpsw_nuss_xmit_free()
844 cppi5_hdesc_get_obuf(first_desc, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_xmit_free()
849 next_desc_dma = cppi5_hdesc_get_next_hbdesc(first_desc); in am65_cpsw_nuss_xmit_free()
866 k3_cppi_desc_pool_free(tx_chn->desc_pool, first_desc); in am65_cpsw_nuss_xmit_free()
1068 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc; in am65_cpsw_nuss_ndo_slave_xmit() local
1101 first_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool); in am65_cpsw_nuss_ndo_slave_xmit()
1102 if (!first_desc) { in am65_cpsw_nuss_ndo_slave_xmit()
1109 cppi5_hdesc_init(first_desc, CPPI5_INFO0_HDESC_EPIB_PRESENT, in am65_cpsw_nuss_ndo_slave_xmit()
1111 cppi5_desc_set_pktids(&first_desc->hdr, 0, 0x3FFF); in am65_cpsw_nuss_ndo_slave_xmit()
1112 cppi5_hdesc_set_pkttype(first_desc, 0x7); in am65_cpsw_nuss_ndo_slave_xmit()
1113 cppi5_desc_set_tags_ids(&first_desc->hdr, 0, port->port_id); in am65_cpsw_nuss_ndo_slave_xmit()
1116 cppi5_hdesc_attach_buf(first_desc, buf_dma, pkt_len, buf_dma, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1117 swdata = cppi5_hdesc_get_swdata(first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1119 psdata = cppi5_hdesc_get_psdata(first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1140 cur_desc = first_desc; in am65_cpsw_nuss_ndo_slave_xmit()
1181 cppi5_hdesc_set_pktlen(first_desc, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1182 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1184 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1187 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1215 am65_cpsw_nuss_xmit_free(tx_chn, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1222 am65_cpsw_nuss_xmit_free(tx_chn, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()