Searched defs:PKT_BUF_SZ (Results 1 - 6 of 6) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/
H A Depic100.c22 #define PKT_BUF_SZ 1536 /* Size of each temporary Tx/Rx buffer.*/ macro
94 unsigned char rx_packet[PKT_BUF_SZ * RX_RING_SIZE];
95 unsigned char tx_packet[PKT_BUF_SZ * TX_RING_SIZE];
274 rx_ring[i].buflength = cpu_to_le32(PKT_BUF_SZ);
275 rx_ring[i].bufaddr = virt_to_bus(&rx_packet[i * PKT_BUF_SZ]);
289 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]);
324 txp = tx_packet + (entry * PKT_BUF_SZ);
405 memcpy(nic->packet, &rx_packet[entry * PKT_BUF_SZ], nic->packetlen);
H A Dw89c840.c128 #define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer.*/ macro
266 char rx_packet[PKT_BUF_SZ * RX_RING_SIZE];
267 char tx_packet[PKT_BUF_SZ * TX_RING_SIZE];
935 w840private.rx_buf_sz = PKT_BUF_SZ;
947 w840private.rx_ring[i].buffer1 = virt_to_le32desc(p + (PKT_BUF_SZ * i));
H A D3c515.c96 #define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer. */ macro
397 outb(PKT_BUF_SZ >> 8, nic->ioaddr + TxFreeThreshold); /* Room for a packet. */
H A Dsundance.c108 #define PKT_BUF_SZ 1536 macro
242 /* Create a static buffer of size PKT_BUF_SZ for each RX and TX descriptor.
245 unsigned char txb[PKT_BUF_SZ * TX_RING_SIZE];
246 unsigned char rxb[RX_RING_SIZE * PKT_BUF_SZ];
348 rx_ring[i].addr = virt_to_le32desc(&rxb[i * PKT_BUF_SZ]);
349 rx_ring[i].length = cpu_to_le32(PKT_BUF_SZ | LastFrag);
366 tx_ring[1].length = cpu_to_le32(LastFrag | PKT_BUF_SZ);
483 (sdc->cur_rx * PKT_BUF_SZ), nic->packetlen);
487 rx_ring[entry].length = cpu_to_le32(PKT_BUF_SZ | LastFrag);
H A Dvia-rhine.c423 #define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer. */ macro
550 char txbuf[TX_RING_SIZE * PKT_BUF_SZ + 32];
551 char rxbuf[RX_RING_SIZE * PKT_BUF_SZ + 32];
H A Dvia-velocity.h38 #define PKT_BUF_SZ 1564 macro

Completed in 457 milliseconds