Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/
H A Dkorina.c316 #define KORINA_RBSIZE 1536 /* size of one resource buffer = Ether MTU */ macro
611 if ((KORINA_RBSIZE - (u32)DMA_COUNT(rd->control)) == 0) in korina_rx()
639 skb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE); in korina_rx()
643 ca = dma_map_single(lp->dmadev, skb_new->data, KORINA_RBSIZE, in korina_rx()
676 rd->control = DMA_COUNT(KORINA_RBSIZE) | in korina_rx()
1007 skb = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE); in korina_alloc_ring()
1012 DMA_COUNT(KORINA_RBSIZE); in korina_alloc_ring()
1014 ca = dma_map_single(lp->dmadev, skb->data, KORINA_RBSIZE, in korina_alloc_ring()
1045 KORINA_RBSIZE, DMA_FROM_DEVICE); in korina_free_ring()