Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/net/
Dgmac.c59 #define DUMMY_BUF_LEN RX_BUF_ALLOC_SIZE + RX_OFFSET + GMAC_BUFFER_ALIGN
837 (RX_OFFSET << GM_RX_CONF_FBYTE_OFF_SHIFT) | in gmac_mac_init()
931 skb_put(skb, ETH_FRAME_LEN + RX_OFFSET); in gmac_init_rings()
932 skb_reserve(skb, RX_OFFSET); in gmac_init_rings()
933 data = skb->data - RX_OFFSET; in gmac_init_rings()
936 st_le32(&ring->size, RX_SZ_OWN | ((RX_BUF_ALLOC_SIZE-RX_OFFSET) << RX_SZ_SHIFT)); in gmac_init_rings()
1391 skb_put(skb, ETH_FRAME_LEN + RX_OFFSET); in gmac_receive()
1392 skb_reserve(skb, RX_OFFSET); in gmac_receive()
1410 skb_put(new_skb, ETH_FRAME_LEN + RX_OFFSET); in gmac_receive()
1411 skb_reserve(new_skb, RX_OFFSET); in gmac_receive()
[all …]
Dsungem.h852 ((((RX_BUF_ALLOC_SIZE(gp) - RX_OFFSET) << 16) & RXDCTRL_BUFSZ) | \
910 #define RX_OFFSET 2 macro
911 #define RX_BUF_ALLOC_SIZE(gp) ((gp)->dev->mtu + 46 + RX_OFFSET + 64)
Dioc3-eth.c137 #define RX_OFFSET 10 macro
138 #define RX_BUF_ALLOC_SIZE (1664 + RX_OFFSET + 128)
455 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_rx()
480 skb_put(new_skb, (1664 + RX_OFFSET)); in ioc3_rx()
482 skb_reserve(new_skb, RX_OFFSET); in ioc3_rx()
508 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_rx()
1127 rxb = (struct ioc3_erxbuf *) (skb->data - RX_OFFSET); in ioc3_clean_rx_ring()
1209 skb_put(skb, (1664 + RX_OFFSET)); in ioc3_alloc_rings()
1213 skb_reserve(skb, RX_OFFSET); in ioc3_alloc_rings()
1312 ip->emcr |= ((RX_OFFSET / 2) << EMCR_RXOFF_SHIFT) | EMCR_TXDMAEN | in ioc3_init()
Dsunhme.h368 #define RX_OFFSET 2 macro
369 #define RX_BUF_ALLOC_SIZE (1546 + RX_OFFSET + 64)
Dsunhme.c1298 skb_put(skb, (ETH_FRAME_LEN + RX_OFFSET)); in happy_meal_init_rings()
1300 (RXFLAG_OWN | ((RX_BUF_ALLOC_SIZE - RX_OFFSET) << 16)), in happy_meal_init_rings()
1302 skb_reserve(skb, RX_OFFSET); in happy_meal_init_rings()
1663 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1665 hme_write32(hp, erxregs + ERX_CFG, ERX_CFG_DEFAULT(RX_OFFSET)); in happy_meal_init()
1666 if (hme_read32(hp, erxregs + ERX_CFG) != ERX_CFG_DEFAULT(RX_OFFSET)) { in happy_meal_init()
1669 ERX_CFG_DEFAULT(RX_OFFSET), regtmp); in happy_meal_init()
2039 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
2056 skb_put(new_skb, (ETH_FRAME_LEN + RX_OFFSET)); in happy_meal_rx()
2058 (RXFLAG_OWN|((RX_BUF_ALLOC_SIZE-RX_OFFSET)<<16)), in happy_meal_rx()
[all …]
D8139cp.c133 #define RX_OFFSET 2 macro
567 buflen = cp->rx_buf_sz + RX_OFFSET; in cp_rx_poll()
574 skb_reserve(new_skb, RX_OFFSET); in cp_rx_poll()
1067 skb = dev_alloc_skb(cp->rx_buf_sz + RX_OFFSET); in cp_refill_rx()
1072 skb_reserve(skb, RX_OFFSET); in cp_refill_rx()
Dnatsemi.c178 #define RX_OFFSET 2 macro
1471 unsigned int buflen = np->rx_buf_sz + RX_OFFSET; in refill_rx()
1548 unsigned int buflen = np->rx_buf_sz + RX_OFFSET; in drain_ring()
1753 unsigned int buflen = np->rx_buf_sz + RX_OFFSET; in netdev_rx()
1792 && (skb = dev_alloc_skb(pkt_len + RX_OFFSET)) != NULL) { in netdev_rx()
1795 skb_reserve(skb, RX_OFFSET); in netdev_rx()
Dsungem.c372 val = (RXDMA_CFG_BASE | (RX_OFFSET << 10) | in gem_rxmac_reset()
744 skb_put(new_skb, (ETH_FRAME_LEN + RX_OFFSET)); in gem_rx()
751 skb_reserve(new_skb, RX_OFFSET); in gem_rx()
1511 skb_put(skb, (ETH_FRAME_LEN + RX_OFFSET)); in gem_init_rings()
1521 skb_reserve(skb, RX_OFFSET); in gem_init_rings()
1874 val = (RXDMA_CFG_BASE | (RX_OFFSET << 10) | in gem_init_dma()
Dgmac.h834 #define RX_OFFSET 2 macro