Lines Matching refs:inb
122 return (inb(ICEMT1724(ice, RATE)) & VT1724_SPDIF_MASTER) ? 1 : 0; in stdclock_is_spdif_master()
142 old_cmd = inb(ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_ready()
157 if ((inb(ICEMT1724(ice, AC97_CMD)) & bit) == 0) in snd_vt1724_ac97_wait_bit()
225 mask = (unsigned int)inb(ICEREG1724(ice, GPIO_WRITE_MASK_22)); in snd_vt1724_get_gpio_mask()
244 data = (unsigned int)inb(ICEREG1724(ice, GPIO_DATA_22)); 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()
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()
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()
476 unsigned char mtstat = inb(ICEMT1724(ice, IRQ)); in snd_vt1724_interrupt()
509 unsigned char fstat = inb(ICEMT1724(ice, DMA_FIFO_ERR)); in snd_vt1724_interrupt()
511 outb(VT1724_MULTI_FIFO_ERR | inb(ICEMT1724(ice, DMA_INT_MASK)), ICEMT1724(ice, DMA_INT_MASK)); in snd_vt1724_interrupt()
576 old = inb(ICEMT1724(ice, DMA_PAUSE)); in snd_vt1724_pcm_trigger()
589 old = inb(ICEMT1724(ice, DMA_CONTROL)); in snd_vt1724_pcm_trigger()
624 rate = stdclock_rate_list[inb(ICEMT1724(ice, RATE)) & 15]; in stdclock_get_rate()
645 val = old = inb(ICEMT1724(ice, I2S_FORMAT)); in stdclock_set_mclk()
671 if ((inb(ICEMT1724(ice, DMA_CONTROL)) & DMA_STARTS) || in snd_vt1724_set_pro_rate()
672 (inb(ICEMT1724(ice, DMA_PAUSE)) & DMA_PAUSES)) { in snd_vt1724_set_pro_rate()
1180 cbit = inb(ICEREG1724(ice, SPDIF_CFG)); in update_spdif_bits()
1401 if (inb(ICEMT1724(ice, BURST)) < val) in snd_vt1724_playback_indep_prepare()
1500 outb(inb(ICEMT1724(ice, AC97_CMD)) | 0x80, ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_mixer()
1502 outb(inb(ICEMT1724(ice, AC97_CMD)) & ~0x80, ICEMT1724(ice, AC97_CMD)); in snd_vt1724_ac97_mixer()
1567 idx, inb(ice->port+idx)); in snd_vt1724_proc_read()
1570 idx, inb(ice->profi_port+idx)); in snd_vt1724_proc_read()
1771 ucontrol->value.integer.value[0] = inb(ICEREG1724(ice, SPDIF_CFG)) & in snd_vt1724_spdif_sw_get()
1783 old = val = inb(ICEREG1724(ice, SPDIF_CFG)); in snd_vt1724_spdif_sw_put()
1914 oval = inb(ICEMT1724(ice, RATE)); in stdclock_set_spdif_clock()
1917 i2s_oval = inb(ICEMT1724(ice, I2S_FORMAT)); in stdclock_set_spdif_clock()
2191 inb(ICEMT1724(ice, MONITOR_PEAKDATA)); in snd_vt1724_pro_peak_get()
2271 while ((inb(ICEREG1724(ice, I2C_CTRL)) & VT1724_I2C_BUSY) && t--) in wait_i2c_busy()
2287 val = inb(ICEREG1724(ice, I2C_DATA)); in snd_vt1724_read_i2c()
2319 if ((inb(ICEREG1724(ice, I2C_CTRL)) & VT1724_I2C_EEPROM) != 0) in snd_vt1724_read_eeprom()
2400 inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */ in snd_vt1724_chip_reset()
2403 inb(ICEREG1724(ice, CONTROL)); /* pci posting flush */ in snd_vt1724_chip_reset()
2826 ice->pm_saved_spdif_cfg = inb(ICEREG1724(ice, SPDIF_CFG)); in snd_vt1724_suspend()