Lines Matching defs:rx_curr_desc
643 int tx_curr_desc, rx_curr_desc;
660 rx_curr_desc = pep->rx_curr_desc_q;
662 (u32) (pep->rx_desc_dma + rx_curr_desc * sizeof(struct rx_desc)));
665 (u32) (pep->rx_desc_dma + rx_curr_desc * sizeof(struct rx_desc)));
790 int rx_next_curr_desc, rx_curr_desc, rx_used_desc;
797 rx_curr_desc = pep->rx_curr_desc_q;
799 rx_desc = &pep->p_rx_desc_area[rx_curr_desc];
804 skb = pep->rx_skb[rx_curr_desc];
805 pep->rx_skb[rx_curr_desc] = NULL;
807 rx_next_curr_desc = (rx_curr_desc + 1) % pep->rx_ring_size;