Lines Matching refs:rx_desc
1362 struct mvpp2_rx_desc *rx_desc) in mvpp2_rxdesc_dma_addr_get() argument
1365 return rx_desc->pp21.buf_dma_addr; in mvpp2_rxdesc_dma_addr_get()
1367 return rx_desc->pp22.buf_dma_addr_key_hash & GENMASK_ULL(40, 0); in mvpp2_rxdesc_dma_addr_get()
1371 struct mvpp2_rx_desc *rx_desc) in mvpp2_rxdesc_cookie_get() argument
1374 return rx_desc->pp21.buf_cookie; in mvpp2_rxdesc_cookie_get()
1376 return rx_desc->pp22.buf_cookie_misc & GENMASK_ULL(40, 0); in mvpp2_rxdesc_cookie_get()
1380 struct mvpp2_rx_desc *rx_desc) in mvpp2_rxdesc_size_get() argument
1383 return rx_desc->pp21.data_size; in mvpp2_rxdesc_size_get()
1385 return rx_desc->pp22.data_size; in mvpp2_rxdesc_size_get()
1389 struct mvpp2_rx_desc *rx_desc) in mvpp2_rxdesc_status_get() argument
1392 return rx_desc->pp21.status; in mvpp2_rxdesc_status_get()
1394 return rx_desc->pp22.status; in mvpp2_rxdesc_status_get()
3880 int rx_desc = rxq->next_desc_to_proc; in mvpp2_rxq_next_desc_get() local
3882 rxq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(rxq, rx_desc); in mvpp2_rxq_next_desc_get()
3884 return rxq->descs + rx_desc; in mvpp2_rxq_next_desc_get()
3908 struct mvpp2_rx_desc *rx_desc) in mvpp2_bm_cookie_build() argument
3913 pool = (mvpp2_rxdesc_status_get(port, rx_desc) & in mvpp2_bm_cookie_build()
4150 struct mvpp2_rx_desc *rx_desc = mvpp2_rxq_next_desc_get(rxq); in mvpp2_rxq_drop_pkts() local
4151 u32 bm = mvpp2_bm_cookie_build(port, rx_desc); in mvpp2_rxq_drop_pkts()
4154 mvpp2_rxdesc_dma_addr_get(port, rx_desc), in mvpp2_rxq_drop_pkts()
4155 mvpp2_rxdesc_cookie_get(port, rx_desc)); in mvpp2_rxq_drop_pkts()
4447 struct mvpp2_rx_desc *rx_desc) in mvpp2_rx_error() argument
4449 u32 status = mvpp2_rxdesc_status_get(port, rx_desc); in mvpp2_rx_error()
4450 size_t sz = mvpp2_rxdesc_size_get(port, rx_desc); in mvpp2_rx_error()
5188 struct mvpp2_rx_desc *rx_desc; in mvpp2_recv() local
5207 rx_desc = mvpp2_rxq_next_desc_get(rxq); in mvpp2_recv()
5208 rx_status = mvpp2_rxdesc_status_get(port, rx_desc); in mvpp2_recv()
5209 rx_bytes = mvpp2_rxdesc_size_get(port, rx_desc); in mvpp2_recv()
5211 dma_addr = mvpp2_rxdesc_dma_addr_get(port, rx_desc); in mvpp2_recv()
5213 bm = mvpp2_bm_cookie_build(port, rx_desc); in mvpp2_recv()
5223 mvpp2_rx_error(port, rx_desc); in mvpp2_recv()