Searched refs:SONIC_RBSIZE (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/natsemi/ |
D | sonic.c | 106 struct sk_buff *skb = netdev_alloc_skb(dev, SONIC_RBSIZE + 2); in sonic_open() 124 dma_addr_t laddr = dma_map_single(lp->device, skb_put(lp->rx_skb[i], SONIC_RBSIZE), in sonic_open() 125 SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_open() 129 dma_unmap_single(lp->device, lp->rx_laddr[i], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_open() 211 dma_unmap_single(lp->device, lp->rx_laddr[i], SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_close() 503 *new_skb = netdev_alloc_skb(dev, SONIC_RBSIZE + 2); in sonic_alloc_rb() 510 *new_addr = dma_map_single(lp->device, skb_put(*new_skb, SONIC_RBSIZE), in sonic_alloc_rb() 511 SONIC_RBSIZE, DMA_FROM_DEVICE); in sonic_alloc_rb() 584 dma_unmap_single(lp->device, addr, SONIC_RBSIZE, in sonic_rx() 746 sonic_rra_put(dev, i, SONIC_RR_BUFSIZE_L, SONIC_RBSIZE >> 1); in sonic_init() [all …]
|
D | xtsonic.c | 59 #undef SONIC_RBSIZE 60 #define SONIC_RBSIZE 1524 macro
|
D | sonic.h | 285 #define SONIC_RBSIZE 1520 /* size of one resource buffer */ macro
|