Home
last modified time | relevance | path

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

/external/grub/netboot/
Dw89c840.c266 #define tx_packet ((char *)0x10000 - PKT_BUF_SZ * RX_RING_SIZE - PKT_BUF_SZ * TX_RING_SIZE) macro
269 static char tx_packet[PKT_BUF_SZ * TX_RING_SIZE]; variable
510 memcpy (tx_packet, d, ETH_ALEN); /* dst */ in w89c840_transmit()
511 memcpy (tx_packet + ETH_ALEN, nic->node_addr, ETH_ALEN);/* src */ in w89c840_transmit()
513 *((char *) tx_packet + 12) = t >> 8; /* type */ in w89c840_transmit()
514 *((char *) tx_packet + 13) = t; in w89c840_transmit()
516 memcpy (tx_packet + ETH_HLEN, p, s); in w89c840_transmit()
520 *((char *) tx_packet + ETH_HLEN + (s++)) = 0; in w89c840_transmit()
522 w840private.tx_ring[entry].buffer1 = virt_to_le32desc(tx_packet); in w89c840_transmit()
Depic100.c87 #define tx_packet ((char *)0x10000 - PKT_BUF_SZ * RX_RING_SIZE - PKT_BUF_SZ * TX_RING_SIZE) macro
90 static char tx_packet[PKT_BUF_SZ * TX_RING_SIZE]; variable
274 p = &tx_packet[0]; in epic100_init_ring()
Dfa311.c120 static char tx_packet[PKT_BUF_SZ * TX_RING_SIZE] __attribute__ ((aligned (4))); variable
418 dev->tx_ring[i].addr = (u32)(&tx_packet[PKT_BUF_SZ * i]); in init_ring()