Lines Matching refs:io_port

517 	unsigned long io_port;  member
592 outw(reg, chip->io_port + ESM_INDEX); in __maestro_write()
593 outw(data, chip->io_port + ESM_DATA); in __maestro_write()
609 outw(reg, chip->io_port + ESM_INDEX); in __maestro_read()
610 chip->maestro_map[reg] = inw(chip->io_port + ESM_DATA); in __maestro_read()
631 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1)) in snd_es1968_ac97_wait()
644 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1)) in snd_es1968_ac97_wait_poll()
658 outw(val, chip->io_port + ESM_AC97_DATA); in snd_es1968_ac97_write()
660 outb(reg, chip->io_port + ESM_AC97_INDEX); in snd_es1968_ac97_write()
671 outb(reg | 0x80, chip->io_port + ESM_AC97_INDEX); in snd_es1968_ac97_read()
675 data = inw(chip->io_port + ESM_AC97_DATA); in snd_es1968_ac97_read()
752 outl(reg, chip->io_port + ASSP_INDEX);
753 outl(value, chip->io_port + ASSP_DATA);
763 outl(reg, chip->io_port + ASSP_INDEX);
764 value = inl(chip->io_port + ASSP_DATA);
777 outw(reg, chip->io_port + WC_INDEX); in wave_set_register()
778 outw(value, chip->io_port + WC_DATA); in wave_set_register()
788 outw(reg, chip->io_port + WC_INDEX); in wave_get_register()
789 value = inw(chip->io_port + WC_DATA); in wave_get_register()
1082 outw(1, chip->io_port + 0x04); in snd_es1968_playback_setup()
1084 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_playback_setup()
1210 outw(1, chip->io_port + 0x04); in snd_es1968_capture_setup()
1212 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_capture_setup()
1753 outw(1, chip->io_port + 0x04); /* clear WP interrupts */ in es1968_measure_clock()
1754 …outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); /… in es1968_measure_clock()
1901 x = inb(chip->io_port + 0x1c) & 0xee; in es1968_update_hw_volume()
1903 outb(0x88, chip->io_port + 0x1c); in es1968_update_hw_volume()
1904 outb(0x88, chip->io_port + 0x1d); in es1968_update_hw_volume()
1905 outb(0x88, chip->io_port + 0x1e); in es1968_update_hw_volume()
1906 outb(0x88, chip->io_port + 0x1f); in es1968_update_hw_volume()
1978 if (!(event = inb(chip->io_port + 0x1A))) in snd_es1968_interrupt()
1981 outw(inw(chip->io_port + 4) & 1, chip->io_port + 4); in snd_es1968_interrupt()
1987 outb(0xFF, chip->io_port + 0x1A); in snd_es1968_interrupt()
2063 unsigned long ioaddr = chip->io_port; in snd_es1968_ac97_reset()
2170 chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_reset()
2172 outw(0x0000, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_reset()
2183 unsigned long iobase = chip->io_port; in snd_es1968_chip_init()
2376 outb(w, chip->io_port + 0x1A); in snd_es1968_start_irq()
2377 outw(w, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_start_irq()
2570 outw(val, chip->io_port + GPIO_DATA); in snd_es1968_tea575x_set_pins()
2577 u16 val = inw(chip->io_port + GPIO_DATA); in snd_es1968_tea575x_get_pins()
2591 unsigned long io = chip->io_port + GPIO_DATA; in snd_es1968_tea575x_set_direction()
2623 if (chip->io_port) { in snd_es1968_free()
2626 outw(1, chip->io_port + 0x04); /* clear WP interrupts */ in snd_es1968_free()
2627 outw(0, chip->io_port + ESM_PORT_HOST_IRQ); /* disable IRQ */ in snd_es1968_free()
2726 chip->io_port = pci_resource_start(pci, 0); in snd_es1968_create()
2884 chip->io_port + ESM_MPU401_PORT, in snd_es1968_probe()
2908 card->shortname, chip->io_port, chip->irq); in snd_es1968_probe()