Lines Matching refs:desc_rx
338 struct cppi5_host_desc_t *desc_rx; in am65_cpsw_nuss_rx_push() local
344 desc_rx = k3_cppi_desc_pool_alloc(rx_chn->desc_pool); in am65_cpsw_nuss_rx_push()
345 if (!desc_rx) { in am65_cpsw_nuss_rx_push()
349 desc_dma = k3_cppi_desc_pool_virt2dma(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
355 k3_cppi_desc_pool_free(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_push()
360 cppi5_hdesc_init(desc_rx, CPPI5_INFO0_HDESC_EPIB_PRESENT, in am65_cpsw_nuss_rx_push()
363 cppi5_hdesc_attach_buf(desc_rx, buf_dma, AM65_CPSW_MAX_PACKET_SIZE, in am65_cpsw_nuss_rx_push()
365 swdata = cppi5_hdesc_get_swdata(desc_rx); in am65_cpsw_nuss_rx_push()
370 desc_rx, desc_dma); in am65_cpsw_nuss_rx_push()
531 struct cppi5_host_desc_t *desc_rx; in am65_cpsw_nuss_rx_cleanup() local
538 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma); in am65_cpsw_nuss_rx_cleanup()
539 swdata = cppi5_hdesc_get_swdata(desc_rx); in am65_cpsw_nuss_rx_cleanup()
542 cppi5_hdesc_get_obuf(desc_rx, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_rx_cleanup()
545 k3_cppi_desc_pool_free(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_cleanup()
1146 struct cppi5_host_desc_t *desc_rx; in am65_cpsw_nuss_rx_packets() local
1175 desc_rx = k3_cppi_desc_pool_dma2virt(rx_chn->desc_pool, desc_dma); in am65_cpsw_nuss_rx_packets()
1179 swdata = cppi5_hdesc_get_swdata(desc_rx); in am65_cpsw_nuss_rx_packets()
1182 cppi5_hdesc_get_obuf(desc_rx, &buf_dma, &buf_dma_len); in am65_cpsw_nuss_rx_packets()
1184 pkt_len = cppi5_hdesc_get_pktlen(desc_rx); in am65_cpsw_nuss_rx_packets()
1185 cppi5_desc_get_tags_ids(&desc_rx->hdr, &port_id, NULL); in am65_cpsw_nuss_rx_packets()
1189 psdata = cppi5_hdesc_get_psdata(desc_rx); in am65_cpsw_nuss_rx_packets()
1195 k3_cppi_desc_pool_free(rx_chn->desc_pool, desc_rx); in am65_cpsw_nuss_rx_packets()