Lines Matching refs:io_port

503 	unsigned long io_port;  member
578 outw(reg, chip->io_port + ESM_INDEX); in __maestro_write()
579 outw(data, chip->io_port + ESM_DATA); in __maestro_write()
595 outw(reg, chip->io_port + ESM_INDEX); in __maestro_read()
596 chip->maestro_map[reg] = inw(chip->io_port + ESM_DATA); in __maestro_read()
617 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1)) in snd_es1968_ac97_wait()
630 if (!(inb(chip->io_port + ESM_AC97_INDEX) & 1)) in snd_es1968_ac97_wait_poll()
644 outw(val, chip->io_port + ESM_AC97_DATA); in snd_es1968_ac97_write()
646 outb(reg, chip->io_port + ESM_AC97_INDEX); in snd_es1968_ac97_write()
657 outb(reg | 0x80, chip->io_port + ESM_AC97_INDEX); in snd_es1968_ac97_read()
661 data = inw(chip->io_port + ESM_AC97_DATA); in snd_es1968_ac97_read()
738 outl(reg, chip->io_port + ASSP_INDEX);
739 outl(value, chip->io_port + ASSP_DATA);
749 outl(reg, chip->io_port + ASSP_INDEX);
750 value = inl(chip->io_port + ASSP_DATA);
763 outw(reg, chip->io_port + WC_INDEX); in wave_set_register()
764 outw(value, chip->io_port + WC_DATA); in wave_set_register()
774 outw(reg, chip->io_port + WC_INDEX); in wave_get_register()
775 value = inw(chip->io_port + WC_DATA); in wave_get_register()
1068 outw(1, chip->io_port + 0x04); in snd_es1968_playback_setup()
1070 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_playback_setup()
1196 outw(1, chip->io_port + 0x04); in snd_es1968_capture_setup()
1198 outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_capture_setup()
1739 outw(1, chip->io_port + 0x04); /* clear WP interrupts */ in es1968_measure_clock()
1740 …outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); /… in es1968_measure_clock()
1887 x = inb(chip->io_port + 0x1c) & 0xee; in es1968_update_hw_volume()
1889 outb(0x88, chip->io_port + 0x1c); in es1968_update_hw_volume()
1890 outb(0x88, chip->io_port + 0x1d); in es1968_update_hw_volume()
1891 outb(0x88, chip->io_port + 0x1e); in es1968_update_hw_volume()
1892 outb(0x88, chip->io_port + 0x1f); in es1968_update_hw_volume()
1964 if (!(event = inb(chip->io_port + 0x1A))) in snd_es1968_interrupt()
1967 outw(inw(chip->io_port + 4) & 1, chip->io_port + 4); in snd_es1968_interrupt()
1973 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()
2555 outw(val, chip->io_port + GPIO_DATA); in snd_es1968_tea575x_set_pins()
2562 u16 val = inw(chip->io_port + GPIO_DATA); in snd_es1968_tea575x_get_pins()
2576 unsigned long io = chip->io_port + GPIO_DATA; in snd_es1968_tea575x_set_direction()
2608 if (chip->io_port) { in snd_es1968_free()
2611 outw(1, chip->io_port + 0x04); /* clear WP interrupts */ in snd_es1968_free()
2612 outw(0, chip->io_port + ESM_PORT_HOST_IRQ); /* disable IRQ */ in snd_es1968_free()
2711 chip->io_port = pci_resource_start(pci, 0); in snd_es1968_create()
2869 chip->io_port + ESM_MPU401_PORT, in snd_es1968_probe()
2893 card->shortname, chip->io_port, chip->irq); in snd_es1968_probe()