Searched refs:SONIC_RBSIZE (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/net/ |
D | sonic.c | 54 struct sk_buff *skb = dev_alloc_skb(SONIC_RBSIZE + 2); in sonic_open() 72 dma_addr_t laddr = dma_map_single(lp->device, skb_put(lp->rx_skb[i], SONIC_RBSIZE), in sonic_open() 73 SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_open() 77 dma_unmap_single(lp->device, lp->rx_laddr[i], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_open() 140 dma_unmap_single(lp->device, lp->rx_laddr[i], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_close() 425 new_skb = dev_alloc_skb(SONIC_RBSIZE + 2); in sonic_rx() 435 new_laddr = dma_map_single(lp->device, skb_put(new_skb, SONIC_RBSIZE), in sonic_rx() 436 SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_rx() 445 dma_unmap_single(lp->device, lp->rx_laddr[entry], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_rx() 608 sonic_rra_put(dev, i, SONIC_RR_BUFSIZE_L, SONIC_RBSIZE >> 1); in sonic_init() [all …]
|
D | xtsonic.c | 58 #undef SONIC_RBSIZE 59 #define SONIC_RBSIZE 1524 macro
|
D | sonic.h | 279 #define SONIC_RBSIZE 1520 /* size of one resource buffer */ macro
|