Searched refs:SONIC_RBSIZE (Results 1 – 4 of 4) sorted by relevance
222 lp->rba = kmalloc(SONIC_NUM_RRS * SONIC_RBSIZE, GFP_KERNEL); in sonic_probe1()231 SONIC_NUM_RRS * SONIC_RBSIZE); in sonic_probe1()
483 (lp->rba_laddr + i * SONIC_RBSIZE) & 0xffff; in sonic_init()485 (lp->rba_laddr + i * SONIC_RBSIZE) >> 16; in sonic_init()486 lp->rra[i].rx_bufsize_l = SONIC_RBSIZE >> 1; in sonic_init()496 SONIC_WRITE(SONIC_EOBC, (SONIC_RBSIZE - 2) >> 1); in sonic_init()
200 kmalloc(SONIC_NUM_RRS * SONIC_RBSIZE, GFP_KERNEL | GFP_DMA)) == NULL) { in macsonic_init()212 rs = ((SONIC_NUM_RRS * SONIC_RBSIZE + 4095) / 4096) * 4096; in macsonic_init()
438 #define SONIC_RBSIZE 1520 /* size of one resource buffer */ macro