Searched refs:eth_nic_base (Results 1 – 5 of 5) sorted by relevance
/external/syslinux/gpxe/src/drivers/net/ |
D | ne2k_isa.c | 34 static unsigned short eth_nic_base, eth_asic_base; variable 48 outb(D8390_COMMAND_RD2 | D8390_COMMAND_STA, eth_nic_base + D8390_P0_COMMAND); in eth_pio_read() 49 outb(cnt, eth_nic_base + D8390_P0_RBCR0); in eth_pio_read() 50 outb(cnt >> 8, eth_nic_base + D8390_P0_RBCR1); in eth_pio_read() 51 outb(src, eth_nic_base + D8390_P0_RSAR0); in eth_pio_read() 52 outb(src >> 8, eth_nic_base + D8390_P0_RSAR1); in eth_pio_read() 53 outb(D8390_COMMAND_RD0 | D8390_COMMAND_STA, eth_nic_base + D8390_P0_COMMAND); in eth_pio_read() 71 outb(D8390_COMMAND_RD2 | D8390_COMMAND_STA, eth_nic_base + D8390_P0_COMMAND); in eth_pio_write() 72 outb(D8390_ISR_RDC, eth_nic_base + D8390_P0_ISR); in eth_pio_write() 73 outb(cnt, eth_nic_base + D8390_P0_RBCR0); in eth_pio_write() [all …]
|
D | ns8390.c | 55 static unsigned short eth_nic_base, eth_asic_base; variable 138 D8390_COMMAND_STA, eth_nic_base + D8390_P0_COMMAND); 139 outb(cnt, eth_nic_base + D8390_P0_RBCR0); 140 outb(cnt>>8, eth_nic_base + D8390_P0_RBCR1); 141 outb(src, eth_nic_base + D8390_P0_RSAR0); 142 outb(src>>8, eth_nic_base + D8390_P0_RSAR1); 144 D8390_COMMAND_STA, eth_nic_base + D8390_P0_COMMAND); 188 D8390_COMMAND_STA, eth_nic_base + D8390_P0_COMMAND); in eth_pio_write() 189 outb(D8390_ISR_RDC, eth_nic_base + D8390_P0_ISR); in eth_pio_write() 190 outb(cnt, eth_nic_base + D8390_P0_RBCR0); in eth_pio_write() [all …]
|
D | cs89x0.c | 98 static unsigned short eth_nic_base; variable 112 outw(portno, eth_nic_base + ADD_PORT); in readreg() 113 return inw(eth_nic_base + DATA_PORT); in readreg() 118 outw(portno, eth_nic_base + ADD_PORT); in writereg() 119 outw(value, eth_nic_base + DATA_PORT); in writereg() 275 outw(TX_AFTER_ALL, eth_nic_base + TX_CMD_PORT); in send_test_pkt() 276 outw(ETH_ZLEN, eth_nic_base + TX_LEN_PORT); in send_test_pkt() 285 outsw(eth_nic_base + TX_FRAME_PORT, testpacket, in send_test_pkt() 345 outw(PP_CS8920_ISAINT, eth_nic_base + ADD_PORT); in cs89x0_reset() 346 outb(eth_irqno, eth_nic_base + DATA_PORT); in cs89x0_reset() [all …]
|
D | 3c595.c | 38 static unsigned short eth_nic_base; variable 480 eth_nic_base = pci->ioaddr; in t595_probe()
|
D | 3c595.h | 69 #define BASE (eth_nic_base)
|