Lines Matching refs:outb

227 	outb(reg4, ioaddr + 4);  in ultra_probe1()
249 outb(0x80 | reg4, ioaddr + 4); in ultra_probe1()
252 outb(0x80 | inb(ioaddr + 0x0c), ioaddr + 0x0c); in ultra_probe1()
259 outb(reg4, ioaddr + 4); in ultra_probe1()
397 outb(0x00, ioaddr); /* Disable shared memory for safety. */ in ultra_open()
398 outb(0x80, ioaddr + 5); in ultra_open()
400 outb(inb(ioaddr + 4) | 0x80, ioaddr + 4); in ultra_open()
401 outb((inb(ioaddr + 13) & ~0x4C) | irq2reg[dev->irq], ioaddr + 13); in ultra_open()
402 outb(inb(ioaddr + 4) & 0x7f, ioaddr + 4); in ultra_open()
405 outb(0x11, ioaddr + 6); /* Enable interrupts and PIO. */ in ultra_open()
406 outb(0x01, ioaddr + 0x19); /* Enable ring read auto-wrap. */ in ultra_open()
408 outb(0x01, ioaddr + 6); /* Enable interrupts and memory. */ in ultra_open()
412 outb(0xff, dev->base_addr + EN0_ERWCNT); in ultra_open()
423 outb(ULTRA_RESET, cmd_port); in ultra_reset_8390()
427 outb(0x00, cmd_port); /* Disable shared memory for safety. */ in ultra_reset_8390()
428 outb(0x80, cmd_port + 5); in ultra_reset_8390()
430 outb(0x11, cmd_port + 6); /* Enable interrupts and PIO. */ in ultra_reset_8390()
432 outb(0x01, cmd_port + 6); /* Enable interrupts and memory. */ in ultra_reset_8390()
446 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); /* shmem on */ in ultra_get_8390_hdr()
455 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* shmem off */ in ultra_get_8390_hdr()
467 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); in ultra_block_input()
479 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* Disable memory. */ in ultra_block_input()
489 outb(ULTRA_MEMENB, dev->base_addr - ULTRA_NIC_OFFSET); in ultra_block_output()
493 outb(0x00, dev->base_addr - ULTRA_NIC_OFFSET); /* Disable memory. */ in ultra_block_output()
508 outb(0x00, ioaddr + IOPA); /* Set the address, LSB first. */ in ultra_pio_get_hdr()
509 outb(ring_page, ioaddr + IOPA); in ultra_pio_get_hdr()
520 outb(ring_offset, ioaddr + IOPA); /* Set the address, LSB first. */ in ultra_pio_input()
521 outb(ring_offset >> 8, ioaddr + IOPA); in ultra_pio_input()
529 outb(0x00, ioaddr + IOPA); /* Set the address, LSB first. */ in ultra_pio_output()
530 outb(start_page, ioaddr + IOPA); in ultra_pio_output()
545 outb(0x00, ioaddr + 6); /* Disable interrupts. */ in ultra_close_card()