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

/illumos-gate/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);
271 rx_ring[i].bufaddr = virt_to_bus(&rx_packet[i * PKT_BUF_SZ]);
285 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]);
319 txp = tx_packet + (entry * PKT_BUF_SZ);
398 memcpy(nic->packet, &rx_packet[entry * PKT_BUF_SZ], nic->packetlen);
H A Dsundance.c125 #define PKT_BUF_SZ 1536 macro
256 /* Create a static buffer of size PKT_BUF_SZ for each TX Descriptor.
258 static unsigned char txb[PKT_BUF_SZ * TX_RING_SIZE];
263 /* Create a static buffer of size PKT_BUF_SZ for each RX Descriptor.
265 static unsigned char rxb[RX_RING_SIZE * PKT_BUF_SZ];
364 rx_ring[i].addr = virt_to_le32desc(&rxb[i * PKT_BUF_SZ]);
365 rx_ring[i].length = cpu_to_le32(PKT_BUF_SZ | LastFrag);
382 tx_ring[1].length = cpu_to_le32(LastFrag | PKT_BUF_SZ);
499 (sdc->cur_rx * PKT_BUF_SZ), nic->packetlen);
503 rx_ring[entry].length = cpu_to_le32(PKT_BUF_SZ | LastFra
[all...]
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;
926 w840private.rx_ring[i].buffer1 = virt_to_le32desc(p + (PKT_BUF_SZ * i));
H A Dpcnet32.c168 #define PKT_BUF_SZ 1544 macro
185 /* Create a static buffer of size PKT_BUF_SZ for each
188 static unsigned char txb[PKT_BUF_SZ * TX_RING_SIZE];
191 /* Create a static buffer of size PKT_BUF_SZ for each
194 static unsigned char rxb[RX_RING_SIZE * PKT_BUF_SZ];
413 rx_ring[i].buf_length = le16_to_cpu(-PKT_BUF_SZ);
566 rx_ring[entry].buf_length = le16_to_cpu(-PKT_BUF_SZ);
595 ptxb = txb + (lp->cur_tx * PKT_BUF_SZ);
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];
1104 static char buf2[RX_RING_SIZE * PKT_BUF_SZ + 32];

Completed in 58 milliseconds