Searched refs:SONIC_NUM_RRS (Results 1 – 2 of 2) sorted by relevance
277 #define SONIC_NUM_RRS 16 /* number of receive resources */ macro278 #define SONIC_NUM_RDS SONIC_NUM_RRS /* number of receive descriptors */281 #define SONIC_RRS_MASK (SONIC_NUM_RRS - 1)291 + (SIZEOF_SONIC_RR * SONIC_NUM_RRS))308 struct sk_buff* volatile rx_skb[SONIC_NUM_RRS]; /* packets to be received */318 dma_addr_t rx_laddr[SONIC_NUM_RRS]; /* logical DMA addresses of rx skbuffs */
105 for (i = 0; i < SONIC_NUM_RRS; i++) { in sonic_open()123 for (i = 0; i < SONIC_NUM_RRS; i++) { in sonic_open()132 for (i = 0; i < SONIC_NUM_RRS; i++) { in sonic_open()209 for (i = 0; i < SONIC_NUM_RRS; i++) { in sonic_close()741 for (i = 0; i < SONIC_NUM_RRS; i++) { in sonic_init()752 SONIC_WRITE(SONIC_REA, sonic_rr_addr(dev, SONIC_NUM_RRS)); in sonic_init()754 SONIC_WRITE(SONIC_RWP, sonic_rr_addr(dev, SONIC_NUM_RRS - 1)); in sonic_init()