Lines Matching refs:rx_desc
526 int rx_desc = rxq->next_desc_to_proc; in mvneta_rxq_next_desc_get() local
528 rxq->next_desc_to_proc = MVNETA_QUEUE_NEXT_DESC(rxq, rx_desc); in mvneta_rxq_next_desc_get()
529 return rxq->descs + rx_desc; in mvneta_rxq_next_desc_get()
902 static void mvneta_rx_desc_fill(struct mvneta_rx_desc *rx_desc, in mvneta_rx_desc_fill() argument
905 rx_desc->buf_cookie = cookie; in mvneta_rx_desc_fill()
906 rx_desc->buf_phys_addr = phys_addr; in mvneta_rx_desc_fill()
943 struct mvneta_rx_desc *rx_desc) in mvneta_rx_error() argument
945 u32 status = rx_desc->status; in mvneta_rx_error()
950 status, rx_desc->data_size); in mvneta_rx_error()
957 status, rx_desc->data_size); in mvneta_rx_error()
961 status, rx_desc->data_size); in mvneta_rx_error()
965 status, rx_desc->data_size); in mvneta_rx_error()
969 status, rx_desc->data_size); in mvneta_rx_error()
1644 struct mvneta_rx_desc *rx_desc; in mvneta_recv() local
1652 rx_desc = mvneta_rxq_next_desc_get(rxq); in mvneta_recv()
1654 rx_status = rx_desc->status; in mvneta_recv()
1657 mvneta_rx_error(pp, rx_desc); in mvneta_recv()
1663 rx_bytes = rx_desc->data_size - 6; in mvneta_recv()
1666 data = (u8 *)(uintptr_t)rx_desc->buf_cookie + 2; in mvneta_recv()