Lines Matching refs:io_port

499 	unsigned long io_port;  member
574 outw(reg, chip->io_port + ESM_INDEX); in __maestro_write()
575 outw(data, chip->io_port + ESM_DATA); in __maestro_write()
591 outw(reg, chip->io_port + ESM_INDEX); in __maestro_read()
592 chip->maestro_map[reg] = inw(chip->io_port + ESM_DATA); in __maestro_read()
613 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1)) in snd_es1968_ac97_wait()
626 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1)) in snd_es1968_ac97_wait_poll()
640 outw(val, chip->io_port + ESM_AC97_DATA); in snd_es1968_ac97_write()
642 outb(reg, chip->io_port + ESM_AC97_INDEX); in snd_es1968_ac97_write()
653 outb(reg | 0x80, chip->io_port + ESM_AC97_INDEX); in snd_es1968_ac97_read()
657 data = inw(chip->io_port + ESM_AC97_DATA); in snd_es1968_ac97_read()
734 outl(reg, chip->io_port + ASSP_INDEX);
735 outl(value, chip->io_port + ASSP_DATA);
745 outl(reg, chip->io_port + ASSP_INDEX);
746 value = inl(chip->io_port + ASSP_DATA);
759 outw(reg, chip->io_port + WC_INDEX); in wave_set_register()
760 outw(value, chip->io_port + WC_DATA); in wave_set_register()
770 outw(reg, chip->io_port + WC_INDEX); in wave_get_register()
771 value = inw(chip->io_port + WC_DATA); in wave_get_register()
1064 outw(1, chip->io_port + 0x04); in snd_es1968_playback_setup()
1066 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_playback_setup()
1192 outw(1, chip->io_port + 0x04); in snd_es1968_capture_setup()
1194 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_capture_setup()
1734 outw(1, chip->io_port + 0x04); /* clear WP interrupts */ in es1968_measure_clock()
1735 …outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); /… in es1968_measure_clock()
1884 x = inb(chip->io_port + 0x1c) & 0xee; in es1968_update_hw_volume()
1886 outb(0x88, chip->io_port + 0x1c); in es1968_update_hw_volume()
1887 outb(0x88, chip->io_port + 0x1d); in es1968_update_hw_volume()
1888 outb(0x88, chip->io_port + 0x1e); in es1968_update_hw_volume()
1889 outb(0x88, chip->io_port + 0x1f); in es1968_update_hw_volume()
1961 event = inb(chip->io_port + 0x1A); in snd_es1968_interrupt()
1965 outw(inw(chip->io_port + 4) & 1, chip->io_port + 4); in snd_es1968_interrupt()
1971 outb(0xFF, chip->io_port + 0x1A); in snd_es1968_interrupt()
2049 unsigned long ioaddr = chip->io_port; in snd_es1968_ac97_reset()
2156 chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_reset()
2158 outw(0x0000, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_reset()
2169 unsigned long iobase = chip->io_port; in snd_es1968_chip_init()
2362 outb(w, chip->io_port + 0x1A); in snd_es1968_start_irq()
2363 outw(w, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_start_irq()
2548 outw(val, chip->io_port + GPIO_DATA); in snd_es1968_tea575x_set_pins()
2555 u16 val = inw(chip->io_port + GPIO_DATA); in snd_es1968_tea575x_get_pins()
2569 unsigned long io = chip->io_port + GPIO_DATA; in snd_es1968_tea575x_set_direction()
2599 if (chip->io_port) { in snd_es1968_free()
2600 outw(1, chip->io_port + 0x04); /* clear WP interrupts */ in snd_es1968_free()
2601 outw(0, chip->io_port + ESM_PORT_HOST_IRQ); /* disable IRQ */ in snd_es1968_free()
2673 chip->io_port = pci_resource_start(pci, 0); in snd_es1968_create()
2817 chip->io_port + ESM_MPU401_PORT, in __snd_es1968_probe()
2841 card->shortname, chip->io_port, chip->irq); in __snd_es1968_probe()