Searched refs:rx_curr_desc (Results 1 – 4 of 4) sorted by relevance
631 int tx_curr_desc, rx_curr_desc; in eth_port_start() local641 rx_curr_desc = pep->rx_curr_desc_q; in eth_port_start()643 (u32) (pep->rx_desc_dma + rx_curr_desc * sizeof(struct rx_desc))); in eth_port_start()646 (u32) (pep->rx_desc_dma + rx_curr_desc * sizeof(struct rx_desc))); in eth_port_start()772 int rx_next_curr_desc, rx_curr_desc, rx_used_desc; in rxq_process() local779 rx_curr_desc = pep->rx_curr_desc_q; in rxq_process()781 rx_desc = &pep->p_rx_desc_area[rx_curr_desc]; in rxq_process()786 skb = pep->rx_skb[rx_curr_desc]; in rxq_process()787 pep->rx_skb[rx_curr_desc] = NULL; in rxq_process()789 rx_next_curr_desc = (rx_curr_desc + 1) % pep->rx_ring_size; in rxq_process()
330 int rx_curr_desc; member518 rx_desc = &rxq->rx_desc_area[rxq->rx_curr_desc]; in rxq_process()525 skb = rxq->rx_skb[rxq->rx_curr_desc]; in rxq_process()526 rxq->rx_skb[rxq->rx_curr_desc] = NULL; in rxq_process()528 rxq->rx_curr_desc++; in rxq_process()529 if (rxq->rx_curr_desc == rxq->rx_ring_size) in rxq_process()530 rxq->rx_curr_desc = 0; in rxq_process()1949 rxq->rx_curr_desc = 0; in rxq_init()2386 addr += rxq->rx_curr_desc * sizeof(struct rx_desc); in port_start()
228 int rx_curr_desc; member
325 desc_idx = priv->rx_curr_desc; in bcm_enet_receive_queue()339 priv->rx_curr_desc++; in bcm_enet_receive_queue()340 if (priv->rx_curr_desc == priv->rx_ring_size) in bcm_enet_receive_queue()341 priv->rx_curr_desc = 0; in bcm_enet_receive_queue()1006 priv->rx_curr_desc = 0; in bcm_enet_open()2178 priv->rx_curr_desc = 0; in bcm_enetsw_open()