Lines Matching defs:io_port
497 unsigned long io_port;
570 outw(reg, chip->io_port + ESM_INDEX);
571 outw(data, chip->io_port + ESM_DATA);
585 outw(reg, chip->io_port + ESM_INDEX);
586 chip->maestro_map[reg] = inw(chip->io_port + ESM_DATA);
603 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1))
616 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1))
630 outw(val, chip->io_port + ESM_AC97_DATA);
632 outb(reg, chip->io_port + ESM_AC97_INDEX);
643 outb(reg | 0x80, chip->io_port + ESM_AC97_INDEX);
647 data = inw(chip->io_port + ESM_AC97_DATA);
714 outl(reg, chip->io_port + ASSP_INDEX);
715 outl(value, chip->io_port + ASSP_DATA);
721 outl(reg, chip->io_port + ASSP_INDEX);
722 return inl(chip->io_port + ASSP_DATA);
730 outw(reg, chip->io_port + WC_INDEX);
731 outw(value, chip->io_port + WC_DATA);
737 outw(reg, chip->io_port + WC_INDEX);
738 return inw(chip->io_port + WC_DATA);
1023 outw(1, chip->io_port + 0x04);
1025 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ);
1150 outw(1, chip->io_port + 0x04);
1152 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ);
1684 outw(1, chip->io_port + 0x04); /* clear WP interrupts */
1685 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); /* enable WP ints */
1834 x = inb(chip->io_port + 0x1c) & 0xee;
1836 outb(0x88, chip->io_port + 0x1c);
1837 outb(0x88, chip->io_port + 0x1d);
1838 outb(0x88, chip->io_port + 0x1e);
1839 outb(0x88, chip->io_port + 0x1f);
1911 event = inb(chip->io_port + 0x1A);
1915 outw(inw(chip->io_port + 4) & 1, chip->io_port + 4);
1921 outb(0xFF, chip->io_port + 0x1A);
1992 unsigned long ioaddr = chip->io_port;
2099 chip->io_port + ESM_PORT_HOST_IRQ);
2101 outw(0x0000, chip->io_port + ESM_PORT_HOST_IRQ);
2112 unsigned long iobase = chip->io_port;
2305 outb(w, chip->io_port + 0x1A);
2306 outw(w, chip->io_port + ESM_PORT_HOST_IRQ);
2486 outw(val, chip->io_port + GPIO_DATA);
2493 u16 val = inw(chip->io_port + GPIO_DATA);
2507 unsigned long io = chip->io_port + GPIO_DATA;
2537 if (chip->io_port) {
2538 outw(1, chip->io_port + 0x04); /* clear WP interrupts */
2539 outw(0, chip->io_port + ESM_PORT_HOST_IRQ); /* disable IRQ */
2611 chip->io_port = pci_resource_start(pci, 0);
2755 chip->io_port + ESM_MPU401_PORT,
2779 card->shortname, chip->io_port, chip->irq);