Home
last modified time | relevance | path

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

/Linux-v4.19/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.c1276 skb_put(skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_init_rings()
1285 (RXFLAG_OWN | ((RX_BUF_ALLOC_SIZE - RX_OFFSET) << 16)), in happy_meal_init_rings()
1287 skb_reserve(skb, RX_OFFSET); in happy_meal_init_rings()
1639 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1641 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1642 if (hme_read32(hp, erxregs + ERX_CFG) != ERX_CFG_DEFAULT(RX_OFFSET)) { in happy_meal_init()
1645 ERX_CFG_DEFAULT(RX_OFFSET), regtmp); in happy_meal_init()
2023 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
2038 skb_put(new_skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_rx()
2051 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
[all …]
Dsungem.c436 val = (RXDMA_CFG_BASE | (RX_OFFSET << 10) | in gem_rxmac_reset()
828 skb_put(new_skb, (gp->rx_buf_sz + RX_OFFSET)); in gem_rx()
834 skb_reserve(new_skb, RX_OFFSET); in gem_rx()
1651 skb_put(skb, (gp->rx_buf_sz + RX_OFFSET)); in gem_init_rings()
1660 skb_reserve(skb, RX_OFFSET); in gem_init_rings()
1765 val = (RXDMA_CFG_BASE | (RX_OFFSET << 10) | in gem_init_dma()
/Linux-v4.19/drivers/net/ethernet/sgi/
Dioc3-eth.c149 #define RX_OFFSET 10 macro
150 #define RX_BUF_ALLOC_SIZE (1664 + RX_OFFSET + IOC3_CACHELINE)
586 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_rx()
614 skb_put(new_skb, (1664 + RX_OFFSET)); in ioc3_rx()
616 skb_reserve(new_skb, RX_OFFSET); in ioc3_rx()
640 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_rx()
839 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_clean_rx_ring()
917 skb_put(skb, (1664 + RX_OFFSET)); in ioc3_alloc_rings()
920 skb_reserve(skb, RX_OFFSET); in ioc3_alloc_rings()
1018 ip->emcr |= ((RX_OFFSET / 2) << EMCR_RXOFF_SHIFT) | EMCR_TXDMAEN | in ioc3_init()
/Linux-v4.19/drivers/net/ethernet/dec/tulip/
Dde2104x.c107 #define RX_OFFSET 2 macro
439 buflen = copying_skb ? (len + RX_OFFSET) : de->rx_buf_sz; in de_rx()
460 skb_reserve(copy_skb, RX_OFFSET); in de_rx()
/Linux-v4.19/drivers/net/ethernet/natsemi/
Dnatsemi.c60 #define RX_OFFSET 2 macro
2359 (skb = netdev_alloc_skb(dev, pkt_len + RX_OFFSET)) != NULL) { in netdev_rx()
2361 skb_reserve(skb, RX_OFFSET); in netdev_rx()