Home
last modified time | relevance | path

Searched refs:RX_OFFSET (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/sun/
Dsungem.h880 ((((RX_BUF_ALLOC_SIZE(gp) - RX_OFFSET) << 16) & RXDCTRL_BUFSZ) | \
938 #define RX_OFFSET 2 macro
939 #define RX_BUF_ALLOC_SIZE(gp) ((gp)->rx_buf_sz + 28 + RX_OFFSET + 64)
Dsunhme.h370 #define RX_OFFSET 2 macro
371 #define RX_BUF_ALLOC_SIZE (1546 + RX_OFFSET + 64)
Dsunhme.c1232 skb_put(skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_init_rings()
1241 (RXFLAG_OWN | ((RX_BUF_ALLOC_SIZE - RX_OFFSET) << 16)), in happy_meal_init_rings()
1243 skb_reserve(skb, RX_OFFSET); in happy_meal_init_rings()
1595 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1597 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1598 if (hme_read32(hp, erxregs + ERX_CFG) != ERX_CFG_DEFAULT(RX_OFFSET)) { in happy_meal_init()
1601 ERX_CFG_DEFAULT(RX_OFFSET), regtmp); in happy_meal_init()
1979 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
1994 skb_put(new_skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_rx()
2007 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
[all …]
Dsungem.c435 val = (RXDMA_CFG_BASE | (RX_OFFSET << 10) | in gem_rxmac_reset()
815 skb_put(new_skb, (gp->rx_buf_sz + RX_OFFSET)); in gem_rx()
821 skb_reserve(new_skb, RX_OFFSET); in gem_rx()
1641 skb_put(skb, (gp->rx_buf_sz + RX_OFFSET)); in gem_init_rings()
1650 skb_reserve(skb, RX_OFFSET); in gem_init_rings()
1755 val = (RXDMA_CFG_BASE | (RX_OFFSET << 10) | in gem_init_dma()
/linux-5.19.10/drivers/net/ethernet/sgi/
Dioc3-eth.c73 #define RX_OFFSET (sizeof(struct ioc3_erxbuf) + NET_IP_ALIGN) macro
148 skb_reserve(new_skb, RX_OFFSET); in ioc3_alloc_skb()
380 rxb = (struct ioc3_erxbuf *)(skb->data - RX_OFFSET); in ioc3_rx()
437 rxb = (struct ioc3_erxbuf *)(skb->data - RX_OFFSET); in ioc3_rx()
763 ip->emcr |= ((RX_OFFSET / 2) << EMCR_RXOFF_SHIFT) | EMCR_TXDMAEN | in ioc3_start()
/linux-5.19.10/drivers/net/ethernet/dec/tulip/
Dde2104x.c101 #define RX_OFFSET 2 macro
436 buflen = copying_skb ? (len + RX_OFFSET) : de->rx_buf_sz; in de_rx()
458 skb_reserve(copy_skb, RX_OFFSET); in de_rx()
/linux-5.19.10/drivers/net/ethernet/natsemi/
Dnatsemi.c60 #define RX_OFFSET 2 macro
2354 (skb = netdev_alloc_skb(dev, pkt_len + RX_OFFSET)) != NULL) { in netdev_rx()
2356 skb_reserve(skb, RX_OFFSET); in netdev_rx()