Lines Matching refs:e8390_base

1163 	long e8390_base = dev->base_addr;  in ei_tx_timeout()  local
1171 txsr = inb(e8390_base+EN0_TSR); in ei_tx_timeout()
1172 isr = inb(e8390_base+EN0_ISR); in ei_tx_timeout()
1209 long e8390_base = dev->base_addr; in ei_start_xmit() local
1225 outb_p(0x00, e8390_base + EN0_IMR); in ei_start_xmit()
1271 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in ei_start_xmit()
1318 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in ei_start_xmit()
1345 long e8390_base; in ax_interrupt() local
1355 e8390_base = dev->base_addr; in ax_interrupt()
1371 dev->name, inb_p(e8390_base + EN0_ISR), in ax_interrupt()
1372 inb_p(e8390_base + EN0_IMR)); in ax_interrupt()
1380 inb_p(e8390_base + EN0_ISR)); in ax_interrupt()
1382 outb_p(0x00, e8390_base + EN0_ISR); in ax_interrupt()
1386 while ((interrupts = inb_p(e8390_base + EN0_ISR)) != 0 in ax_interrupt()
1392 outb_p(interrupts, e8390_base + EN0_ISR); in ax_interrupt()
1397 outb_p(interrupts, e8390_base + EN0_ISR); in ax_interrupt()
1399 if (!(inb(e8390_base + EN0_ISR) & interrupts)) in ax_interrupt()
1401 outb_p(0, e8390_base + EN0_ISR); in ax_interrupt()
1402 outb_p(interrupts, e8390_base + EN0_ISR); in ax_interrupt()
1419 ei_local->stat.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0); in ax_interrupt()
1420 ei_local->stat.rx_crc_errors += inb_p(e8390_base + EN0_COUNTER1); in ax_interrupt()
1421 ei_local->stat.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2); in ax_interrupt()
1433 outb_p(ENISR_ALL, e8390_base + EN0_ISR); /* Ack. most intrs. */ in ax_interrupt()
1436 outb_p(0xff, e8390_base + EN0_ISR); /* Ack. all intrs. */ in ax_interrupt()
1442 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in ax_interrupt()
1464 long e8390_base = dev->base_addr; in ei_tx_err() local
1466 unsigned char txsr = inb_p(e8390_base+EN0_TSR); in ei_tx_err()
1505 long e8390_base = dev->base_addr; in ei_tx_intr() local
1507 int status = inb(e8390_base + EN0_TSR); in ei_tx_intr()
1586 long e8390_base = dev->base_addr; in ei_receive() local
1598 rxing_page = inb_p(e8390_base + EN1_CURPAG -1); in ei_receive()
1601 this_frame = inb_p(e8390_base + EN0_BOUNDARY) + 1; in ei_receive()
1683 outb_p(next_frame-1, e8390_base+EN0_BOUNDARY); in ei_receive()
1705 long e8390_base = dev->base_addr; in ei_rx_overrun() local
1713 was_txing = inb_p(e8390_base+E8390_CMD) & E8390_TRANS; in ei_rx_overrun()
1714 outb_p(E8390_NODMA+E8390_PAGE0+E8390_STOP, e8390_base+E8390_CMD); in ei_rx_overrun()
1732 outb_p(0x00, e8390_base+EN0_RCNTLO); in ei_rx_overrun()
1733 outb_p(0x00, e8390_base+EN0_RCNTHI); in ei_rx_overrun()
1742 unsigned char tx_completed = inb_p(e8390_base+EN0_ISR) & (ENISR_TX+ENISR_TX_ERR); in ei_rx_overrun()
1751 outb_p(E8390_TXOFF, e8390_base + EN0_TXCR); in ei_rx_overrun()
1752 outb_p(E8390_NODMA + E8390_PAGE0 + E8390_START, e8390_base + E8390_CMD); in ei_rx_overrun()
1762 outb_p(E8390_TXCONFIG | info->duplex_flag, e8390_base + EN0_TXCR); in ei_rx_overrun()
1764 outb_p(E8390_NODMA + E8390_PAGE0 + E8390_START + E8390_TRANS, e8390_base + E8390_CMD); in ei_rx_overrun()
1801 long e8390_base = dev->base_addr; in do_set_multicast_list() local
1804 outb_p(E8390_RXCONFIG | 0x58, e8390_base + EN0_RXCR); in do_set_multicast_list()
1806 outb_p(E8390_RXCONFIG | 0x48, e8390_base + EN0_RXCR); in do_set_multicast_list()
1808 outb_p(E8390_RXCONFIG | 0x40, e8390_base + EN0_RXCR); in do_set_multicast_list()
1874 long e8390_base = dev->base_addr; in AX88190_init() local
1882 outb_p(E8390_NODMA+E8390_PAGE0+E8390_STOP, e8390_base+E8390_CMD); /* 0x21 */ in AX88190_init()
1883 outb_p(endcfg, e8390_base + EN0_DCFG); /* 0x48 or 0x49 */ in AX88190_init()
1885 outb_p(0x00, e8390_base + EN0_RCNTLO); in AX88190_init()
1886 outb_p(0x00, e8390_base + EN0_RCNTHI); in AX88190_init()
1888 outb_p(E8390_RXOFF|0x40, e8390_base + EN0_RXCR); /* 0x60 */ in AX88190_init()
1889 outb_p(E8390_TXOFF, e8390_base + EN0_TXCR); /* 0x02 */ in AX88190_init()
1891 outb_p(ei_local->tx_start_page, e8390_base + EN0_TPSR); in AX88190_init()
1893 outb_p(ei_local->rx_start_page, e8390_base + EN0_STARTPG); in AX88190_init()
1894 outb_p(ei_local->stop_page-1, e8390_base + EN0_BOUNDARY); /* 3c503 says 0x3f,NS0x26*/ in AX88190_init()
1896 outb_p(ei_local->stop_page, e8390_base + EN0_STOPPG); in AX88190_init()
1898 outb_p(0xFF, e8390_base + EN0_ISR); in AX88190_init()
1899 outb_p(0x00, e8390_base + EN0_IMR); in AX88190_init()
1903 outb_p(E8390_NODMA + E8390_PAGE1 + E8390_STOP, e8390_base+E8390_CMD); /* 0x61 */ in AX88190_init()
1906 outb_p(dev->dev_addr[i], e8390_base + EN1_PHYS_SHIFT(i)); in AX88190_init()
1907 if(inb_p(e8390_base + EN1_PHYS_SHIFT(i))!=dev->dev_addr[i]) in AX88190_init()
1915 outb_p(0xff, e8390_base + EN1_MULT + i); in AX88190_init()
1917 outb_p(ei_local->rx_start_page, e8390_base + EN1_CURPAG); in AX88190_init()
1918 outb_p(E8390_NODMA+E8390_PAGE0+E8390_STOP, e8390_base+E8390_CMD); in AX88190_init()
1926 outb_p(0xff, e8390_base + EN0_ISR); in AX88190_init()
1927 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in AX88190_init()
1928 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, e8390_base+E8390_CMD); in AX88190_init()
1930 e8390_base + EN0_TXCR); /* xmit on. */ in AX88190_init()
1932 outb_p(E8390_RXCONFIG | 0x40, e8390_base + EN0_RXCR); /* rx on, */ in AX88190_init()
1943 long e8390_base = dev->base_addr; in NS8390_trigger_send() local
1946 if (inb_p(e8390_base) & E8390_TRANS) in NS8390_trigger_send()
1952 outb_p(length & 0xff, e8390_base + EN0_TCNTLO); in NS8390_trigger_send()
1953 outb_p(length >> 8, e8390_base + EN0_TCNTHI); in NS8390_trigger_send()
1954 outb_p(start_page, e8390_base + EN0_TPSR); in NS8390_trigger_send()
1955 outb_p(E8390_NODMA+E8390_TRANS+E8390_START, e8390_base+E8390_CMD); in NS8390_trigger_send()