Lines Matching refs:PKT_BUF_SZ
40 #define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer.*/ macro
1681 iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); /* Room for a packet. */ in vortex_up()
1740 vp->rx_ring[i].length = cpu_to_le32(PKT_BUF_SZ | LAST_FRAG); in vortex_open()
1742 skb = __netdev_alloc_skb(dev, PKT_BUF_SZ + NET_IP_ALIGN, in vortex_open()
1750 PKT_BUF_SZ, DMA_FROM_DEVICE); in vortex_open()
1922 iowrite8(PKT_BUF_SZ>>8, ioaddr + TxFreeThreshold); in vortex_tx_timeout()
2631 dma_sync_single_for_cpu(vp->gendev, dma, PKT_BUF_SZ, DMA_FROM_DEVICE); in boomerang_rx()
2635 dma_sync_single_for_device(vp->gendev, dma, PKT_BUF_SZ, DMA_FROM_DEVICE); in boomerang_rx()
2642 newskb = netdev_alloc_skb_ip_align(dev, PKT_BUF_SZ); in boomerang_rx()
2648 PKT_BUF_SZ, DMA_FROM_DEVICE); in boomerang_rx()
2660 dma_unmap_single(vp->gendev, dma, PKT_BUF_SZ, DMA_FROM_DEVICE); in boomerang_rx()
2758 PKT_BUF_SZ, DMA_FROM_DEVICE); in vortex_close()