Lines Matching refs:first_desc
809 struct cppi5_host_desc_t *first_desc, *next_desc; in am65_cpsw_nuss_xmit_free() local
813 first_desc = desc; in am65_cpsw_nuss_xmit_free()
814 next_desc = first_desc; in am65_cpsw_nuss_xmit_free()
816 cppi5_hdesc_get_obuf(first_desc, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_xmit_free()
821 next_desc_dma = cppi5_hdesc_get_next_hbdesc(first_desc); in am65_cpsw_nuss_xmit_free()
838 k3_cppi_desc_pool_free(tx_chn->desc_pool, first_desc); in am65_cpsw_nuss_xmit_free()
1040 struct cppi5_host_desc_t *first_desc, *next_desc, *cur_desc; in am65_cpsw_nuss_ndo_slave_xmit() local
1073 first_desc = k3_cppi_desc_pool_alloc(tx_chn->desc_pool); in am65_cpsw_nuss_ndo_slave_xmit()
1074 if (!first_desc) { in am65_cpsw_nuss_ndo_slave_xmit()
1081 cppi5_hdesc_init(first_desc, CPPI5_INFO0_HDESC_EPIB_PRESENT, in am65_cpsw_nuss_ndo_slave_xmit()
1083 cppi5_desc_set_pktids(&first_desc->hdr, 0, 0x3FFF); in am65_cpsw_nuss_ndo_slave_xmit()
1084 cppi5_hdesc_set_pkttype(first_desc, 0x7); in am65_cpsw_nuss_ndo_slave_xmit()
1085 cppi5_desc_set_tags_ids(&first_desc->hdr, 0, port->port_id); in am65_cpsw_nuss_ndo_slave_xmit()
1088 cppi5_hdesc_attach_buf(first_desc, buf_dma, pkt_len, buf_dma, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1089 swdata = cppi5_hdesc_get_swdata(first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1091 psdata = cppi5_hdesc_get_psdata(first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1112 cur_desc = first_desc; in am65_cpsw_nuss_ndo_slave_xmit()
1153 cppi5_hdesc_set_pktlen(first_desc, pkt_len); in am65_cpsw_nuss_ndo_slave_xmit()
1154 desc_dma = k3_cppi_desc_pool_virt2dma(tx_chn->desc_pool, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1156 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1159 ret = k3_udma_glue_push_tx_chn(tx_chn->tx_chn, first_desc, desc_dma); in am65_cpsw_nuss_ndo_slave_xmit()
1187 am65_cpsw_nuss_xmit_free(tx_chn, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()
1194 am65_cpsw_nuss_xmit_free(tx_chn, first_desc); in am65_cpsw_nuss_ndo_slave_xmit()