Lines Matching refs:RX_RING_SIZE
55 #define RX_RING_SIZE 256 macro
57 #define RX_TOTAL_SIZE RX_RING_SIZE*sizeof(struct epic_rx_desc)
258 struct sk_buff* rx_skbuff[RX_RING_SIZE];
777 epic_rx(dev, RX_RING_SIZE); in epic_pause()
813 (ep->cur_rx % RX_RING_SIZE) * sizeof(struct epic_rx_desc)); in epic_restart()
910 for (i = 0; i < RX_RING_SIZE; i++) { in epic_init_ring()
921 for (i = 0; i < RX_RING_SIZE; i++) { in epic_init_ring()
931 ep->dirty_rx = (unsigned int)(i - RX_RING_SIZE); in epic_init_ring()
1141 int entry = ep->cur_rx % RX_RING_SIZE; in epic_rx()
1142 int rx_work_limit = ep->dirty_rx + RX_RING_SIZE - ep->cur_rx; in epic_rx()
1211 entry = (++ep->cur_rx) % RX_RING_SIZE; in epic_rx()
1216 entry = ep->dirty_rx % RX_RING_SIZE; in epic_rx()
1312 for (i = 0; i < RX_RING_SIZE; i++) { in epic_close()