Lines Matching refs:ICEREG1724

202 	outl(data, ICEREG1724(ice, GPIO_DIRECTION));  in snd_vt1724_set_gpio_dir()
203 inw(ICEREG1724(ice, GPIO_DIRECTION)); /* dummy read for pci-posting */ in snd_vt1724_set_gpio_dir()
209 return inl(ICEREG1724(ice, GPIO_DIRECTION)); in snd_vt1724_get_gpio_dir()
215 outw(data, ICEREG1724(ice, GPIO_WRITE_MASK)); in snd_vt1724_set_gpio_mask()
217 outb((data >> 16) & 0xff, ICEREG1724(ice, GPIO_WRITE_MASK_22)); in snd_vt1724_set_gpio_mask()
218 inw(ICEREG1724(ice, GPIO_WRITE_MASK)); /* dummy read for pci-posting */ in snd_vt1724_set_gpio_mask()
225 mask = (unsigned int)inb(ICEREG1724(ice, GPIO_WRITE_MASK_22)); in snd_vt1724_get_gpio_mask()
228 mask = (mask << 16) | inw(ICEREG1724(ice, GPIO_WRITE_MASK)); in snd_vt1724_get_gpio_mask()
234 outw(data, ICEREG1724(ice, GPIO_DATA)); in snd_vt1724_set_gpio_data()
236 outb(data >> 16, ICEREG1724(ice, GPIO_DATA_22)); in snd_vt1724_set_gpio_data()
237 inw(ICEREG1724(ice, GPIO_DATA)); /* dummy read for pci-posting */ in snd_vt1724_set_gpio_data()
244 data = (unsigned int)inb(ICEREG1724(ice, GPIO_DATA_22)); in snd_vt1724_get_gpio_data()
247 data = (data << 16) | inw(ICEREG1724(ice, GPIO_DATA)); in snd_vt1724_get_gpio_data()
259 for (count = inb(ICEREG1724(ice, MPU_RXFIFO)); count > 0; --count) in vt1724_midi_clear_rx()
260 inb(ICEREG1724(ice, MPU_DATA)); in vt1724_midi_clear_rx()
279 count = 31 - inb(ICEREG1724(ice, MPU_TXFIFO)); in vt1724_midi_write()
283 outb(buffer[i], ICEREG1724(ice, MPU_DATA)); in vt1724_midi_write()
299 count = inb(ICEREG1724(ice, MPU_RXFIFO)); in vt1724_midi_read()
303 buffer[i] = inb(ICEREG1724(ice, MPU_DATA)); in vt1724_midi_read()
311 u8 mask = inb(ICEREG1724(ice, IRQMASK)); in enable_midi_irq()
316 outb(mask, ICEREG1724(ice, IRQMASK)); in enable_midi_irq()
364 if (inb(ICEREG1724(ice, MPU_CTRL)) & VT1724_MPU_TX_EMPTY) in vt1724_midi_output_drain()
426 status = inb(ICEREG1724(ice, IRQSTAT)); in snd_vt1724_interrupt()
432 status = inb(ICEREG1724(ice, IRQSTAT)); in snd_vt1724_interrupt()
462 outb(status, ICEREG1724(ice, IRQSTAT)); in snd_vt1724_interrupt()
1152 cbit = inb(ICEREG1724(ice, SPDIF_CFG)); in update_spdif_bits()
1155 outb(disabled, ICEREG1724(ice, SPDIF_CFG)); in update_spdif_bits()
1158 outb(cbit, ICEREG1724(ice, SPDIF_CFG)); in update_spdif_bits()
1741 ucontrol->value.integer.value[0] = inb(ICEREG1724(ice, SPDIF_CFG)) & in snd_vt1724_spdif_sw_get()
1753 old = val = inb(ICEREG1724(ice, SPDIF_CFG)); in snd_vt1724_spdif_sw_put()
1758 outb(val, ICEREG1724(ice, SPDIF_CFG)); in snd_vt1724_spdif_sw_put()
2200 while ((inb(ICEREG1724(ice, I2C_CTRL)) & VT1724_I2C_BUSY) && t--) in wait_i2c_busy()
2213 outb(addr, ICEREG1724(ice, I2C_BYTE_ADDR)); in snd_vt1724_read_i2c()
2214 outb(dev & ~VT1724_I2C_WRITE, ICEREG1724(ice, I2C_DEV_ADDR)); in snd_vt1724_read_i2c()
2216 val = inb(ICEREG1724(ice, I2C_DATA)); in snd_vt1724_read_i2c()
2232 outb(addr, ICEREG1724(ice, I2C_BYTE_ADDR)); in snd_vt1724_write_i2c()
2233 outb(data, ICEREG1724(ice, I2C_DATA)); in snd_vt1724_write_i2c()
2234 outb(dev | VT1724_I2C_WRITE, ICEREG1724(ice, I2C_DEV_ADDR)); in snd_vt1724_write_i2c()
2248 if ((inb(ICEREG1724(ice, I2C_CTRL)) & VT1724_I2C_EEPROM) != 0) in snd_vt1724_read_eeprom()
2323 outb(VT1724_RESET , ICEREG1724(ice, CONTROL)); in snd_vt1724_chip_reset()
2324 inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */ in snd_vt1724_chip_reset()
2326 outb(0, ICEREG1724(ice, CONTROL)); in snd_vt1724_chip_reset()
2327 inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */ in snd_vt1724_chip_reset()
2333 outb(ice->eeprom.data[ICE_EEP2_SYSCONF], ICEREG1724(ice, SYS_CFG)); in snd_vt1724_chip_init()
2334 outb(ice->eeprom.data[ICE_EEP2_ACLINK], ICEREG1724(ice, AC97_CFG)); in snd_vt1724_chip_init()
2335 outb(ice->eeprom.data[ICE_EEP2_I2S], ICEREG1724(ice, I2S_FEATURES)); in snd_vt1724_chip_init()
2336 outb(ice->eeprom.data[ICE_EEP2_SPDIF], ICEREG1724(ice, SPDIF_CFG)); in snd_vt1724_chip_init()
2344 outb(0, ICEREG1724(ice, POWERDOWN)); in snd_vt1724_chip_init()
2347 outb(VT1724_IRQ_MPU_RX | VT1724_IRQ_MPU_TX , ICEREG1724(ice, IRQMASK)); in snd_vt1724_chip_init()
2440 outb(0xff, ICEREG1724(ice, IRQMASK)); in snd_vt1724_free()
2697 ICEREG1724(ice, MPU_FIFO_WM)); in snd_vt1724_probe()
2698 outb(0x1, ICEREG1724(ice, MPU_FIFO_WM)); in snd_vt1724_probe()
2700 outb(VT1724_MPU_UART, ICEREG1724(ice, MPU_CTRL)); in snd_vt1724_probe()
2742 ice->pm_saved_spdif_cfg = inb(ICEREG1724(ice, SPDIF_CFG)); in snd_vt1724_suspend()
2793 outb(ice->pm_saved_spdif_cfg, ICEREG1724(ice, SPDIF_CFG)); in snd_vt1724_resume()