Home
last modified time | relevance | path

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

/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Depic100.c20 #define PKT_BUF_SZ 1536 /* Size of each temporary Tx/Rx buffer.*/ macro
89 static unsigned char rx_packet[PKT_BUF_SZ * RX_RING_SIZE];
90 static unsigned char tx_packet[PKT_BUF_SZ * TX_RING_SIZE];
270 rx_ring[i].buflength = cpu_to_le32(PKT_BUF_SZ); in epic100_init_ring()
271 rx_ring[i].bufaddr = virt_to_bus(&rx_packet[i * PKT_BUF_SZ]); in epic100_init_ring()
285 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]); in epic100_init_ring()
319 txp = tx_packet + (entry * PKT_BUF_SZ); in epic100_transmit()
398 memcpy(nic->packet, &rx_packet[entry * PKT_BUF_SZ], nic->packetlen); in epic100_poll()
H A Dsundance.c125 #define PKT_BUF_SZ 1536 macro
258 static unsigned char txb[PKT_BUF_SZ * TX_RING_SIZE];
265 static unsigned char rxb[RX_RING_SIZE * PKT_BUF_SZ];
364 rx_ring[i].addr = virt_to_le32desc(&rxb[i * PKT_BUF_SZ]); in init_ring()
365 rx_ring[i].length = cpu_to_le32(PKT_BUF_SZ | LastFrag); in init_ring()
382 tx_ring[1].length = cpu_to_le32(LastFrag | PKT_BUF_SZ); in init_ring()
499 (sdc->cur_rx * PKT_BUF_SZ), nic->packetlen); in sundance_poll()
503 rx_ring[entry].length = cpu_to_le32(PKT_BUF_SZ | LastFrag); in sundance_poll()
H A Dw89c840.c124 #define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer.*/ macro
261 static char rx_packet[PKT_BUF_SZ * RX_RING_SIZE];
262 static char tx_packet[PKT_BUF_SZ * TX_RING_SIZE];
914 w840private.rx_buf_sz = PKT_BUF_SZ; in init_ring()
926 w840private.rx_ring[i].buffer1 = virt_to_le32desc(p + (PKT_BUF_SZ * i)); in init_ring()
H A Dpcnet32.c168 #define PKT_BUF_SZ 1544 macro
188 static unsigned char txb[PKT_BUF_SZ * TX_RING_SIZE];
194 static unsigned char rxb[RX_RING_SIZE * PKT_BUF_SZ];
413 rx_ring[i].buf_length = le16_to_cpu(-PKT_BUF_SZ); in pcnet32_init_ring()
566 rx_ring[entry].buf_length = le16_to_cpu(-PKT_BUF_SZ); in pcnet32_poll()
595 ptxb = txb + (lp->cur_tx * PKT_BUF_SZ); in pcnet32_transmit()
H A Dvia-rhine.c418 #define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer. */ macro
1103 static char buf1[RX_RING_SIZE * PKT_BUF_SZ + 32]; in rhine_reset()
1104 static char buf2[RX_RING_SIZE * PKT_BUF_SZ + 32]; in rhine_reset()