Home
last modified time | relevance | path

Searched refs:RX_BUF_ALLOC_SIZE (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/sun/
Dsunbmac.c230 skb = big_mac_alloc_skb(RX_BUF_ALLOC_SIZE, gfp_flags); in bigmac_init_rings()
243 RX_BUF_ALLOC_SIZE - 34, in bigmac_init_rings()
246 (RXD_OWN | ((RX_BUF_ALLOC_SIZE - 34) & RXD_LENGTH)); in bigmac_init_rings()
820 (RXD_OWN | ((RX_BUF_ALLOC_SIZE - 34) & RXD_LENGTH)); in bigmac_rx()
828 new_skb = big_mac_alloc_skb(RX_BUF_ALLOC_SIZE, GFP_ATOMIC); in bigmac_rx()
835 RX_BUF_ALLOC_SIZE - 34, in bigmac_rx()
843 RX_BUF_ALLOC_SIZE - 34, in bigmac_rx()
846 (RXD_OWN | ((RX_BUF_ALLOC_SIZE - 34) & RXD_LENGTH)); in bigmac_rx()
869 (RXD_OWN | ((RX_BUF_ALLOC_SIZE - 34) & RXD_LENGTH)); in bigmac_rx()
Dsungem.h880 ((((RX_BUF_ALLOC_SIZE(gp) - RX_OFFSET) << 16) & RXDCTRL_BUFSZ) | \
939 #define RX_BUF_ALLOC_SIZE(gp) ((gp)->rx_buf_sz + 28 + RX_OFFSET + 64) macro
Dsunhme.c1170 RX_BUF_ALLOC_SIZE, DMA_FROM_DEVICE); in happy_meal_clean_rings()
1226 skb = happy_meal_alloc_skb(RX_BUF_ALLOC_SIZE, GFP_ATOMIC); in happy_meal_init_rings()
1235 mapping = dma_map_single(hp->dma_dev, skb->data, RX_BUF_ALLOC_SIZE, in happy_meal_init_rings()
1243 (RXFLAG_OWN | ((RX_BUF_ALLOC_SIZE - RX_OFFSET) << 16)), in happy_meal_init_rings()
1789 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
1799 new_skb = happy_meal_alloc_skb(RX_BUF_ALLOC_SIZE, GFP_ATOMIC); in happy_meal_rx()
1806 RX_BUF_ALLOC_SIZE, in happy_meal_rx()
1814 dma_unmap_single(hp->dma_dev, dma_addr, RX_BUF_ALLOC_SIZE, DMA_FROM_DEVICE); in happy_meal_rx()
1817 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
1838 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
Dsunbmac.h266 #define RX_BUF_ALLOC_SIZE (ETH_FRAME_LEN + (64 * 3)) macro
Dsunhme.h371 #define RX_BUF_ALLOC_SIZE (1546 + RX_OFFSET + 64) macro
Dsungem.c808 new_skb = gem_alloc_skb(dev, RX_BUF_ALLOC_SIZE(gp), GFP_ATOMIC); in gem_rx()
814 RX_BUF_ALLOC_SIZE(gp), DMA_FROM_DEVICE); in gem_rx()
820 RX_BUF_ALLOC_SIZE(gp), in gem_rx()
1581 RX_BUF_ALLOC_SIZE(gp), in gem_clean_rings()
1634 skb = gem_alloc_skb(dev, RX_BUF_ALLOC_SIZE(gp), GFP_KERNEL); in gem_init_rings()
1646 RX_BUF_ALLOC_SIZE(gp), in gem_init_rings()