Home
last modified time | relevance | path

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

/drivers/net/ethernet/cirrus/
Dep93xx_eth.c37 #define PKT_BUF_SIZE 2048 macro
476 dma_unmap_single(dev, d, PKT_BUF_SIZE, DMA_FROM_DEVICE); in ep93xx_free_buffers()
487 dma_unmap_single(dev, d, PKT_BUF_SIZE, DMA_TO_DEVICE); in ep93xx_free_buffers()
511 buf = kmalloc(PKT_BUF_SIZE, GFP_KERNEL); in ep93xx_alloc_buffers()
515 d = dma_map_single(dev, buf, PKT_BUF_SIZE, DMA_FROM_DEVICE); in ep93xx_alloc_buffers()
523 ep->descs->rdesc[i].rdesc1 = (i << 16) | PKT_BUF_SIZE; in ep93xx_alloc_buffers()
530 buf = kmalloc(PKT_BUF_SIZE, GFP_KERNEL); in ep93xx_alloc_buffers()
534 d = dma_map_single(dev, buf, PKT_BUF_SIZE, DMA_TO_DEVICE); in ep93xx_alloc_buffers()
/drivers/net/ethernet/amd/
Dariadne.c83 #define PKT_BUF_SIZE 1520 macro
102 u_short tx_buff[TX_RING_SIZE][PKT_BUF_SIZE / sizeof(u_short)];
103 u_short rx_buff[RX_RING_SIZE][PKT_BUF_SIZE / sizeof(u_short)];
136 t->TMD2 = swapw((u_short)-PKT_BUF_SIZE); in ariadne_init_ring()
152 r->RMD2 = swapw((u_short)-PKT_BUF_SIZE); in ariadne_init_ring()
Da2065.c78 #define PKT_BUF_SIZE (1544) macro
79 #define RX_BUFF_SIZE PKT_BUF_SIZE
80 #define TX_BUFF_SIZE PKT_BUF_SIZE
Dpcnet32.c179 #define PKT_BUF_SIZE (PKT_BUF_SKB - NET_IP_ALIGN) macro
585 PKT_BUF_SIZE, PCI_DMA_FROMDEVICE); in pcnet32_realloc_rx_ring()
604 PKT_BUF_SIZE, in pcnet32_realloc_rx_ring()
633 PKT_BUF_SIZE, in pcnet32_realloc_rx_ring()
662 PKT_BUF_SIZE, in pcnet32_purge_rx_ring()
1146 if (unlikely(pkt_len > PKT_BUF_SIZE)) { in pcnet32_rx_entry()
1171 PKT_BUF_SIZE, in pcnet32_rx_entry()
1182 PKT_BUF_SIZE, in pcnet32_rx_entry()
2327 PKT_BUF_SIZE, PCI_DMA_FROMDEVICE); in pcnet32_init_ring()