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

/external/grub/netboot/
H A Ddavicom.c143 #define txb ((char *)0x10000 - BUFLEN)
145 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4)));
455 txd[i].buf1addr = &txb[0]; /* Used same TX buffer */
465 for (i=0; i<192; i++) txb[i] = 0xFF;
466 txb[0] = nic->node_addr[0];
467 txb[1] = nic->node_addr[1];
468 txb[4] = nic->node_addr[2];
469 txb[5] = nic->node_addr[3];
470 txb[8] = nic->node_addr[4];
471 txb[
142 #define txb macro
144 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4))); variable
[all...]
H A Dotulip.c48 #define txb ((char *)0x10000 - NRXD * BUFLEN - BUFLEN) macro
51 static unsigned char txb[BUFLEN]; variable
212 txd.buf1addr = &txb[0];
213 txd.buf2addr = &txb[0]; /* just in case */
223 for(x=0;x<192;x++) txb[x] = 0xff;
224 txb[0] = nic->node_addr[0];
225 txb[1] = nic->node_addr[1];
226 txb[4] = nic->node_addr[2];
227 txb[5] = nic->node_addr[3];
228 txb[
[all...]
H A Dnatsemi.c212 #define txb ((char *)0x10000 - TX_BUF_SIZE)
215 static unsigned char txb[TX_BUF_SIZE] __attribute__ ((aligned(4)));
512 txd.bufptr = (u32) &txb[0];
623 memcpy(txb, d, ETH_ALEN);
624 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN);
626 memcpy(txb + 2 * ETH_ALEN, (char*)&nstype, 2);
627 memcpy(txb + ETH_HLEN, p, s);
637 txb[s++] = '\0';
640 txd.bufptr = (u32) &txb[0];
211 #define txb macro
214 static unsigned char txb[TX_BUF_SIZE] __attribute__ ((aligned(4))); variable
H A Dsis900.c64 #define txb ((char *)0x10000 - TX_BUF_SIZE)
67 static unsigned char txb[TX_BUF_SIZE];
600 txd.bufptr = (u32) &txb[0];
931 memcpy(txb, d, ETH_ALEN);
932 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN);
934 memcpy(txb + 2 * ETH_ALEN, (char*)&nstype, 2);
935 memcpy(txb + ETH_HLEN, p, s);
945 txb[s++] = '\0';
948 txd.bufptr = (u32) &txb[0];
63 #define txb macro
66 static unsigned char txb[TX_BUF_SIZE]; variable
H A Dtulip.c390 #define txb ((char *)0x10000 - BUFLEN)
392 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4)));
933 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]);
939 tx_ring[1].buffer1 = virt_to_le32desc(&txb[0]);
1019 txb[i] = 0xFF;
1020 txb[0] = nic->node_addr[0];
1021 txb[1] = nic->node_addr[1];
1022 txb[4] = nic->node_addr[2];
1023 txb[5] = nic->node_addr[3];
1024 txb[
389 #define txb macro
391 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4))); variable
[all...]

Completed in 106 milliseconds