Lines Matching refs:outw

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()
658 outw(val, chip->io_port + ESM_AC97_DATA); in snd_es1968_ac97_write()
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()
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()
1754outw(inw(chip->io_port + ESM_PORT_HOST_IRQ) | ESM_HIRQ_DSIE, chip->io_port + ESM_PORT_HOST_IRQ); /… in es1968_measure_clock()
1981 outw(inw(chip->io_port + 4) & 1, chip->io_port + 4); in snd_es1968_interrupt()
2075 outw(inw(ioaddr + 0x3a) & 0xfffc, ioaddr + 0x3a); in snd_es1968_ac97_reset()
2076 outw(inw(ioaddr + 0x3c) & 0xfffc, ioaddr + 0x3c); in snd_es1968_ac97_reset()
2079 outw(0x0000, ioaddr + 0x36); in snd_es1968_ac97_reset()
2085 outw(0xfffe, ioaddr + 0x64); /* unmask gpio 0 */ in snd_es1968_ac97_reset()
2086 outw(0x0001, ioaddr + 0x68); /* gpio write */ in snd_es1968_ac97_reset()
2087 outw(0x0000, ioaddr + 0x60); /* write 0 to gpio 0 */ in snd_es1968_ac97_reset()
2089 outw(0x0001, ioaddr + 0x60); /* write 1 to gpio 1 */ in snd_es1968_ac97_reset()
2092 outw(save_68 | 0x1, ioaddr + 0x68); /* now restore .. */ in snd_es1968_ac97_reset()
2093 outw((inw(ioaddr + 0x38) & 0xfffc) | 0x1, ioaddr + 0x38); in snd_es1968_ac97_reset()
2094 outw((inw(ioaddr + 0x3a) & 0xfffc) | 0x1, ioaddr + 0x3a); in snd_es1968_ac97_reset()
2095 outw((inw(ioaddr + 0x3c) & 0xfffc) | 0x1, ioaddr + 0x3c); in snd_es1968_ac97_reset()
2099 outw(0x0000, ioaddr + 0x36); in snd_es1968_ac97_reset()
2100 outw(0xfff7, ioaddr + 0x64); /* unmask gpio 3 */ in snd_es1968_ac97_reset()
2102 outw(0x0009, ioaddr + 0x68); /* gpio write 0 & 3 ?? */ in snd_es1968_ac97_reset()
2103 outw(0x0001, ioaddr + 0x60); /* write 1 to gpio */ in snd_es1968_ac97_reset()
2105 outw(0x0009, ioaddr + 0x60); /* write 9 to gpio */ in snd_es1968_ac97_reset()
2108 outw(inw(ioaddr + 0x3a) & 0xfffc, ioaddr + 0x3a); in snd_es1968_ac97_reset()
2109 outw(inw(ioaddr + 0x3c) & 0xfffc, ioaddr + 0x3c); in snd_es1968_ac97_reset()
2136 outw(0x80, ioaddr + 0x30); in snd_es1968_ac97_reset()
2146 outw(0xf9ff, ioaddr + 0x64); in snd_es1968_ac97_reset()
2147 outw(inw(ioaddr + 0x68) | 0x600, ioaddr + 0x68); in snd_es1968_ac97_reset()
2148 outw(0x0209, ioaddr + 0x60); in snd_es1968_ac97_reset()
2152 outw(save_ringbus_a, ioaddr + 0x36); in snd_es1968_ac97_reset()
2169 outw(ESM_RESET_MAESTRO | ESM_RESET_DIRECTSOUND, in snd_es1968_reset()
2172 outw(0x0000, chip->io_port + ESM_PORT_HOST_IRQ); in snd_es1968_reset()
2268 outw(0xC090, iobase + ESM_RING_BUS_DEST); /* direct sound, stereo */ in snd_es1968_chip_init()
2270 outw(0x3000, iobase + ESM_RING_BUS_CONTR_A); /* enable ringbus/serial */ in snd_es1968_chip_init()
2305 outw(0x01E0 + i, iobase + WC_INDEX); in snd_es1968_chip_init()
2306 outw(0x0000, iobase + WC_DATA); in snd_es1968_chip_init()
2310 outw(0x01D0 + i, iobase + WC_INDEX); in snd_es1968_chip_init()
2311 outw(0x0000, iobase + WC_DATA); in snd_es1968_chip_init()
2359 outw(w, iobase + WC_CONTROL); in snd_es1968_chip_init()
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()
2596 outw(~((1 << gpio.data) | (1 << gpio.clk) | (1 << gpio.wren)), in snd_es1968_tea575x_set_direction()
2598 outw(odir | (1 << gpio.data) | (1 << gpio.clk) | (1 << gpio.wren), in snd_es1968_tea575x_set_direction()
2601 outw(~((1 << gpio.clk) | (1 << gpio.wren) | (1 << gpio.data) | (1 << gpio.most)), in snd_es1968_tea575x_set_direction()
2603 outw((odir & ~((1 << gpio.data) | (1 << gpio.most))) in snd_es1968_tea575x_set_direction()
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()