Lines Matching refs:outb_p
219 outb_p(program_seq[i].value, ioaddr + program_seq[i].offset); in get_prom()
421 outb_p(MDIO_DATA_WRITE1, addr); in mdio_sync()
422 outb_p(MDIO_DATA_WRITE1 | MDIO_SHIFT_CLK, addr); in mdio_sync()
434 outb_p(dat, addr); in mdio_read()
435 outb_p(dat | MDIO_SHIFT_CLK, addr); in mdio_read()
438 outb_p(MDIO_ENB_IN, addr); in mdio_read()
440 outb_p(MDIO_ENB_IN | MDIO_SHIFT_CLK, addr); in mdio_read()
453 outb_p(dat, addr); in mdio_write()
454 outb_p(dat | MDIO_SHIFT_CLK, addr); in mdio_write()
457 outb_p(MDIO_ENB_IN, addr); in mdio_write()
458 outb_p(MDIO_ENB_IN | MDIO_SHIFT_CLK, addr); in mdio_write()
476 outb_p(0xFF, nic_base + EN0_ISR); /* Clear bogus intr. */ in axnet_open()
523 outb_p(E8390_NODMA+E8390_PAGE0+E8390_STOP, nic_base + E8390_CMD); in axnet_reset_8390()
532 outb_p(ENISR_RESET, nic_base + EN0_ISR); /* Ack intr. */ in axnet_reset_8390()
632 outb_p(0, nic_base + EN0_RSARLO); /* On page boundary */ in get_8390_hdr()
633 outb_p(ring_page, nic_base + EN0_RSARHI); in get_8390_hdr()
634 outb_p(E8390_RREAD+E8390_START, nic_base + AXNET_CMD); in get_8390_hdr()
655 outb_p(ring_offset & 0xff, nic_base + EN0_RSARLO); in block_input()
656 outb_p(ring_offset >> 8, nic_base + EN0_RSARHI); in block_input()
657 outb_p(E8390_RREAD+E8390_START, nic_base + AXNET_CMD); in block_input()
682 outb_p(0x00, nic_base + EN0_RSARLO); in block_output()
683 outb_p(start_page, nic_base + EN0_RSARHI); in block_output()
684 outb_p(E8390_RWRITE+E8390_START, nic_base + AXNET_CMD); in block_output()
973 outb_p(0x00, e8390_base + EN0_IMR); in axnet_start_xmit()
1021 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in axnet_start_xmit()
1066 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in axnet_start_xmit()
1126 outb_p(0x00, e8390_base + EN0_ISR); in ax_interrupt()
1136 outb_p(interrupts, e8390_base + EN0_ISR); in ax_interrupt()
1143 outb_p(interrupts, e8390_base + EN0_ISR); in ax_interrupt()
1147 outb_p(0, e8390_base + EN0_ISR); in ax_interrupt()
1148 outb_p(interrupts, e8390_base + EN0_ISR); in ax_interrupt()
1181 outb_p(ENISR_ALL, e8390_base + EN0_ISR); /* Ack. most intrs. */ in ax_interrupt()
1185 outb_p(0xff, e8390_base + EN0_ISR); /* Ack. all intrs. */ in ax_interrupt()
1191 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in ax_interrupt()
1437 outb_p(next_frame-1, e8390_base+EN0_BOUNDARY); in ei_receive()
1466 outb_p(E8390_NODMA+E8390_PAGE0+E8390_STOP, e8390_base+E8390_CMD); in ei_rx_overrun()
1481 outb_p(0x00, e8390_base+EN0_RCNTLO); in ei_rx_overrun()
1482 outb_p(0x00, e8390_base+EN0_RCNTHI); in ei_rx_overrun()
1500 outb_p(E8390_TXOFF, e8390_base + EN0_TXCR); in ei_rx_overrun()
1501 outb_p(E8390_NODMA + E8390_PAGE0 + E8390_START, e8390_base + E8390_CMD); in ei_rx_overrun()
1511 outb_p(E8390_TXCONFIG | info->duplex_flag, e8390_base + EN0_TXCR); in ei_rx_overrun()
1513 outb_p(E8390_NODMA + E8390_PAGE0 + E8390_START + E8390_TRANS, e8390_base + E8390_CMD); in ei_rx_overrun()
1583 outb_p(E8390_NODMA + E8390_PAGE1, e8390_base + E8390_CMD); in do_set_multicast_list()
1586 outb_p(ei_local->mcfilter[i], e8390_base + EN1_MULT_SHIFT(i)); in do_set_multicast_list()
1588 outb_p(E8390_NODMA + E8390_PAGE0, e8390_base + E8390_CMD); in do_set_multicast_list()
1591 outb_p(E8390_RXCONFIG | 0x58, e8390_base + EN0_RXCR); in do_set_multicast_list()
1593 outb_p(E8390_RXCONFIG | 0x48, e8390_base + EN0_RXCR); in do_set_multicast_list()
1595 outb_p(E8390_RXCONFIG | 0x40, e8390_base + EN0_RXCR); in do_set_multicast_list()
1597 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, e8390_base+E8390_CMD); in do_set_multicast_list()
1637 outb_p(E8390_NODMA+E8390_PAGE0+E8390_STOP, e8390_base+E8390_CMD); /* 0x21 */ in AX88190_init()
1638 outb_p(endcfg, e8390_base + EN0_DCFG); /* 0x48 or 0x49 */ in AX88190_init()
1640 outb_p(0x00, e8390_base + EN0_RCNTLO); in AX88190_init()
1641 outb_p(0x00, e8390_base + EN0_RCNTHI); in AX88190_init()
1643 outb_p(E8390_RXOFF|0x40, e8390_base + EN0_RXCR); /* 0x60 */ in AX88190_init()
1644 outb_p(E8390_TXOFF, e8390_base + EN0_TXCR); /* 0x02 */ in AX88190_init()
1646 outb_p(ei_local->tx_start_page, e8390_base + EN0_TPSR); in AX88190_init()
1648 outb_p(ei_local->rx_start_page, e8390_base + EN0_STARTPG); in AX88190_init()
1649 outb_p(ei_local->stop_page-1, e8390_base + EN0_BOUNDARY); /* 3c503 says 0x3f,NS0x26*/ in AX88190_init()
1651 outb_p(ei_local->stop_page, e8390_base + EN0_STOPPG); in AX88190_init()
1653 outb_p(0xFF, e8390_base + EN0_ISR); in AX88190_init()
1654 outb_p(0x00, e8390_base + EN0_IMR); in AX88190_init()
1658 outb_p(E8390_NODMA + E8390_PAGE1 + E8390_STOP, e8390_base+E8390_CMD); /* 0x61 */ in AX88190_init()
1661 outb_p(dev->dev_addr[i], e8390_base + EN1_PHYS_SHIFT(i)); in AX88190_init()
1666 outb_p(ei_local->rx_start_page, e8390_base + EN1_CURPAG); in AX88190_init()
1667 outb_p(E8390_NODMA+E8390_PAGE0+E8390_STOP, e8390_base+E8390_CMD); in AX88190_init()
1678 outb_p(0xff, e8390_base + EN0_ISR); in AX88190_init()
1679 outb_p(ENISR_ALL, e8390_base + EN0_IMR); in AX88190_init()
1680 outb_p(E8390_NODMA+E8390_PAGE0+E8390_START, e8390_base+E8390_CMD); in AX88190_init()
1681 outb_p(E8390_TXCONFIG | info->duplex_flag, in AX88190_init()
1684 outb_p(E8390_RXCONFIG | 0x40, e8390_base + EN0_RXCR); /* rx on, */ in AX88190_init()
1703 outb_p(length & 0xff, e8390_base + EN0_TCNTLO); in NS8390_trigger_send()
1704 outb_p(length >> 8, e8390_base + EN0_TCNTHI); in NS8390_trigger_send()
1705 outb_p(start_page, e8390_base + EN0_TPSR); in NS8390_trigger_send()
1706 outb_p(E8390_NODMA+E8390_TRANS+E8390_START, e8390_base+E8390_CMD); in NS8390_trigger_send()