Lines Matching refs:outb
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()
74 outb(cnt >> 8, eth_nic_base + D8390_P0_RBCR1); in eth_pio_write()
75 outb(dst, eth_nic_base + D8390_P0_RSAR0); in eth_pio_write()
76 outb(dst >> 8, eth_nic_base + D8390_P0_RSAR1); in eth_pio_write()
77 outb(D8390_COMMAND_RD1 | D8390_COMMAND_STA, eth_nic_base + D8390_P0_COMMAND); in eth_pio_write()
87 outb(*(src++), eth_asic_base + ASIC_PIO); in eth_pio_write()
99 outb(4, eth_nic_base + D8390_P0_RCR); in enable_multicast()
100 outb(D8390_COMMAND_RD2 + D8390_COMMAND_PS1, eth_nic_base + D8390_P0_COMMAND); in enable_multicast()
102 outb(mcfilter[i], eth_nic_base + 8 + i); in enable_multicast()
107 outb(D8390_COMMAND_RD2 + D8390_COMMAND_PS0, eth_nic_base + D8390_P0_COMMAND); in enable_multicast()
108 outb(4 | 0x08, eth_nic_base + D8390_P0_RCR); in enable_multicast()
120 outb(ioaddr, D8390_COMMAND_RD2 | D8390_COMMAND_PS1 | D8390_COMMAND_STP); in ne_probe1()
124 outb(ioaddr, state); in ne_probe1()
125 outb(ioaddr + 0x0d, regd); in ne_probe1()
163 outb(c, eth_asic_base + NE_RESET); in ne_probe()
165 outb(D8390_COMMAND_STP | D8390_COMMAND_RD2, eth_nic_base in ne_probe()
167 outb(D8390_RCR_MON, eth_nic_base + D8390_P0_RCR); in ne_probe()
168 outb(D8390_DCR_FT1 | D8390_DCR_LS, eth_nic_base + D8390_P0_DCR); in ne_probe()
169 outb(MEM_8192, eth_nic_base + D8390_P0_PSTART); in ne_probe()
170 outb(MEM_16384, eth_nic_base + D8390_P0_PSTOP); in ne_probe()
179 outb(D8390_DCR_WTS | D8390_DCR_FT1 | D8390_DCR_LS, eth_nic_base in ne_probe()
181 outb(MEM_16384, eth_nic_base + D8390_P0_PSTART); in ne_probe()
182 outb(MEM_32768, eth_nic_base + D8390_P0_PSTOP); in ne_probe()
233 outb(D8390_COMMAND_PS0 | D8390_COMMAND_RD2 | in ne_reset()
236 outb(0x49, eth_nic_base+D8390_P0_DCR); in ne_reset()
238 outb(0x48, eth_nic_base+D8390_P0_DCR); in ne_reset()
239 outb(0, eth_nic_base+D8390_P0_RBCR0); in ne_reset()
240 outb(0, eth_nic_base+D8390_P0_RBCR1); in ne_reset()
241 outb(0x20, eth_nic_base+D8390_P0_RCR); /* monitor mode */ in ne_reset()
242 outb(2, eth_nic_base+D8390_P0_TCR); in ne_reset()
243 outb(eth_tx_start, eth_nic_base+D8390_P0_TPSR); in ne_reset()
244 outb(eth_rx_start, eth_nic_base+D8390_P0_PSTART); in ne_reset()
246 outb(eth_memsize, eth_nic_base+D8390_P0_PSTOP); in ne_reset()
247 outb(eth_memsize - 1, eth_nic_base+D8390_P0_BOUND); in ne_reset()
248 outb(0xFF, eth_nic_base+D8390_P0_ISR); in ne_reset()
249 outb(0, eth_nic_base+D8390_P0_IMR); in ne_reset()
250 outb(D8390_COMMAND_PS1 | in ne_reset()
254 outb(nic->node_addr[i], eth_nic_base+D8390_P1_PAR0+i); in ne_reset()
256 outb(0xFF, eth_nic_base+D8390_P1_MAR0+i); in ne_reset()
257 outb(eth_rx_start, eth_nic_base+D8390_P1_CURR); in ne_reset()
258 outb(D8390_COMMAND_PS0 | in ne_reset()
260 outb(0xFF, eth_nic_base+D8390_P0_ISR); in ne_reset()
261 outb(0, eth_nic_base+D8390_P0_TCR); /* transmitter on */ in ne_reset()
262 outb(4, eth_nic_base+D8390_P0_RCR); /* allow rx broadcast frames */ in ne_reset()
284 outb(D8390_COMMAND_PS1, eth_nic_base+D8390_P0_COMMAND); in ne_poll()
286 outb(D8390_COMMAND_PS0, eth_nic_base+D8390_P0_COMMAND); in ne_poll()
329 outb(next-1, eth_nic_base+D8390_P0_BOUND); in ne_poll()
355 outb(D8390_COMMAND_PS0 | D8390_COMMAND_RD2 | D8390_COMMAND_STA, in ne_transmit()
357 outb(eth_tx_start, eth_nic_base + D8390_P0_TPSR); in ne_transmit()
358 outb(s, eth_nic_base + D8390_P0_TBCR0); in ne_transmit()
359 outb(s >> 8, eth_nic_base + D8390_P0_TBCR1); in ne_transmit()
361 outb(D8390_COMMAND_PS0 | D8390_COMMAND_TXP | D8390_COMMAND_RD2 in ne_transmit()