Home
last modified time | relevance | path

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

/drivers/net/ethernet/sgi/
Dioc3-eth.c154 #define RX_OFFSET 10 macro
155 #define RX_BUF_ALLOC_SIZE (1664 + RX_OFFSET + IOC3_CACHELINE)
591 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_rx()
619 skb_put(new_skb, (1664 + RX_OFFSET)); in ioc3_rx()
621 skb_reserve(new_skb, RX_OFFSET); in ioc3_rx()
645 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_rx()
847 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_clean_rx_ring()
925 skb_put(skb, (1664 + RX_OFFSET)); in ioc3_alloc_rings()
928 skb_reserve(skb, RX_OFFSET); in ioc3_alloc_rings()
1026 ip->emcr |= ((RX_OFFSET / 2) << EMCR_RXOFF_SHIFT) | EMCR_TXDMAEN | in ioc3_init()
/drivers/net/ethernet/sun/
Dsungem.h879 ((((RX_BUF_ALLOC_SIZE(gp) - RX_OFFSET) << 16) & RXDCTRL_BUFSZ) | \
937 #define RX_OFFSET 2 macro
938 #define RX_BUF_ALLOC_SIZE(gp) ((gp)->rx_buf_sz + 28 + RX_OFFSET + 64)
Dsunhme.h369 #define RX_OFFSET 2 macro
370 #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()
1278 (RXFLAG_OWN | ((RX_BUF_ALLOC_SIZE - RX_OFFSET) << 16)), in happy_meal_init_rings()
1281 skb_reserve(skb, RX_OFFSET); in happy_meal_init_rings()
1634 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1636 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1637 if (hme_read32(hp, erxregs + ERX_CFG) != ERX_CFG_DEFAULT(RX_OFFSET)) { in happy_meal_init()
1640 ERX_CFG_DEFAULT(RX_OFFSET), regtmp); in happy_meal_init()
2018 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
2035 skb_put(new_skb, (ETH_FRAME_LEN + RX_OFFSET + 4)); in happy_meal_rx()
2037 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
[all …]
Dsungem.c438 val = (RXDMA_CFG_BASE | (RX_OFFSET << 10) | in gem_rxmac_reset()
832 skb_put(new_skb, (gp->rx_buf_sz + RX_OFFSET)); in gem_rx()
838 skb_reserve(new_skb, RX_OFFSET); in gem_rx()
1645 skb_put(skb, (gp->rx_buf_sz + RX_OFFSET)); in gem_init_rings()
1654 skb_reserve(skb, RX_OFFSET); in gem_init_rings()
1759 val = (RXDMA_CFG_BASE | (RX_OFFSET << 10) | in gem_init_dma()
/drivers/net/ethernet/cadence/
Dmacb.c37 #define RX_OFFSET 2 macro
400 skb = netdev_alloc_skb(bp->dev, len + RX_OFFSET); in macb_rx_frame()
412 skb_reserve(skb, RX_OFFSET); in macb_rx_frame()
/drivers/net/ethernet/dec/tulip/
Dde2104x.c107 #define RX_OFFSET 2 macro
441 buflen = copying_skb ? (len + RX_OFFSET) : de->rx_buf_sz; in de_rx()
462 skb_reserve(copy_skb, RX_OFFSET); in de_rx()
/drivers/net/ethernet/natsemi/
Dnatsemi.c60 #define RX_OFFSET 2 macro
2346 (skb = netdev_alloc_skb(dev, pkt_len + RX_OFFSET)) != NULL) { in netdev_rx()
2348 skb_reserve(skb, RX_OFFSET); in netdev_rx()