Searched refs:txb (Results 1 – 5 of 5) sorted by relevance
/external/grub/netboot/ |
D | otulip.c | 48 #define txb ((char *)0x10000 - NRXD * BUFLEN - BUFLEN) macro 51 static unsigned char txb[BUFLEN]; variable 212 txd.buf1addr = &txb[0]; in tulip_reset() 213 txd.buf2addr = &txb[0]; /* just in case */ in tulip_reset() 223 for(x=0;x<192;x++) txb[x] = 0xff; in tulip_reset() 224 txb[0] = nic->node_addr[0]; in tulip_reset() 225 txb[1] = nic->node_addr[1]; in tulip_reset() 226 txb[4] = nic->node_addr[2]; in tulip_reset() 227 txb[5] = nic->node_addr[3]; in tulip_reset() 228 txb[8] = nic->node_addr[4]; in tulip_reset() [all …]
|
D | davicom.c | 142 #define txb ((char *)0x10000 - BUFLEN) macro 144 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4))); variable 449 txd[i].buf1addr = &txb[0]; /* Used same TX buffer */ in davicom_init_chain() 459 for (i=0; i<192; i++) txb[i] = 0xFF; in davicom_init_chain() 460 txb[0] = nic->node_addr[0]; in davicom_init_chain() 461 txb[1] = nic->node_addr[1]; in davicom_init_chain() 462 txb[4] = nic->node_addr[2]; in davicom_init_chain() 463 txb[5] = nic->node_addr[3]; in davicom_init_chain() 464 txb[8] = nic->node_addr[4]; in davicom_init_chain() 465 txb[9] = nic->node_addr[5]; in davicom_init_chain() [all …]
|
D | natsemi.c | 211 #define txb ((char *)0x10000 - TX_BUF_SIZE) macro 214 static unsigned char txb[TX_BUF_SIZE] __attribute__ ((aligned(4))); variable 511 txd.bufptr = (u32) &txb[0]; in natsemi_init_txd() 622 memcpy(txb, d, ETH_ALEN); in natsemi_transmit() 623 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); in natsemi_transmit() 625 memcpy(txb + 2 * ETH_ALEN, (char*)&nstype, 2); in natsemi_transmit() 626 memcpy(txb + ETH_HLEN, p, s); in natsemi_transmit() 636 txb[s++] = '\0'; in natsemi_transmit() 639 txd.bufptr = (u32) &txb[0]; in natsemi_transmit()
|
D | sis900.c | 63 #define txb ((char *)0x10000 - TX_BUF_SIZE) macro 66 static unsigned char txb[TX_BUF_SIZE]; variable 590 txd.bufptr = (u32) &txb[0]; in sis900_init_txd() 915 memcpy(txb, d, ETH_ALEN); in sis900_transmit() 916 memcpy(txb + ETH_ALEN, nic->node_addr, ETH_ALEN); in sis900_transmit() 918 memcpy(txb + 2 * ETH_ALEN, (char*)&nstype, 2); in sis900_transmit() 919 memcpy(txb + ETH_HLEN, p, s); in sis900_transmit() 929 txb[s++] = '\0'; in sis900_transmit() 932 txd.bufptr = (u32) &txb[0]; in sis900_transmit()
|
D | tulip.c | 389 #define txb ((char *)0x10000 - BUFLEN) macro 391 static unsigned char txb[BUFLEN] __attribute__ ((aligned(4))); variable 926 tx_ring[0].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 932 tx_ring[1].buffer1 = virt_to_le32desc(&txb[0]); in tulip_init_ring() 1011 txb[i] = 0xFF; in tulip_reset() 1012 txb[0] = nic->node_addr[0]; in tulip_reset() 1013 txb[1] = nic->node_addr[1]; in tulip_reset() 1014 txb[4] = nic->node_addr[2]; in tulip_reset() 1015 txb[5] = nic->node_addr[3]; in tulip_reset() 1016 txb[8] = nic->node_addr[4]; in tulip_reset() [all …]
|