Searched refs:RT2860_RX_RING_COUNT (Results 1 – 2 of 2) sorted by relevance
46 #define RT2860_RX_RING_COUNT 128 macro100 struct rt2860_rx_data data[RT2860_RX_RING_COUNT];
834 size = RT2860_RX_RING_COUNT * sizeof (struct rt2860_rxd); in rt2860_alloc_rx_ring()853 datalen = RT2860_RX_RING_COUNT * sizeof (struct rt2860_rx_data); in rt2860_alloc_rx_ring()855 for (i = 0; i < RT2860_RX_RING_COUNT; i++) { in rt2860_alloc_rx_ring()885 for (i = 0; i < RT2860_RX_RING_COUNT; i++) in rt2860_reset_rx_ring()903 count = RT2860_RX_RING_COUNT; in rt2860_free_rx_ring()1794 sc->rxq.cur = (sc->rxq.cur + 1) % RT2860_RX_RING_COUNT; in rt2860_rx_intr()1800 (sc->rxq.cur - 1) % RT2860_RX_RING_COUNT); in rt2860_rx_intr()2377 RT2860_WRITE(sc, RT2860_RX_MAX_CNT, RT2860_RX_RING_COUNT); in rt2860_init()2378 RT2860_WRITE(sc, RT2860_RX_CALC_IDX, RT2860_RX_RING_COUNT - 1); in rt2860_init()