Lines Matching refs:ICEREG
138 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write()
145 outb(reg, ICEREG(ice, AC97_INDEX)); in snd_ice1712_ac97_write()
146 outw(val, ICEREG(ice, AC97_DATA)); in snd_ice1712_ac97_write()
148 outb(old_cmd | ICE1712_AC97_WRITE, ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_write()
150 if ((inb(ICEREG(ice, AC97_CMD)) & ICE1712_AC97_WRITE) == 0) in snd_ice1712_ac97_write()
162 old_cmd = inb(ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_read()
169 outb(reg, ICEREG(ice, AC97_INDEX)); in snd_ice1712_ac97_read()
170 outb(old_cmd | ICE1712_AC97_READ, ICEREG(ice, AC97_CMD)); in snd_ice1712_ac97_read()
172 if ((inb(ICEREG(ice, AC97_CMD)) & ICE1712_AC97_READ) == 0) in snd_ice1712_ac97_read()
176 return inw(ICEREG(ice, AC97_DATA)); in snd_ice1712_ac97_read()
277 inb(ICEREG(ice, DATA)); /* dummy read for pci-posting */ in snd_ice1712_set_gpio_dir()
293 inb(ICEREG(ice, DATA)); /* dummy read for pci-posting */ in snd_ice1712_set_gpio_mask()
304 inb(ICEREG(ice, DATA)); /* dummy read for pci-posting */ in snd_ice1712_set_gpio_data()
412 status = inb(ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt()
419 outb(ICE1712_IRQ_MPU1, ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt()
423 outb(ICE1712_IRQ_TIMER, ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt()
427 outb(ICE1712_IRQ_MPU2, ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt()
444 outb(ICE1712_IRQ_FM, ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt()
459 outb(ICE1712_IRQ_PBKDS, ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt()
464 outb(ICE1712_IRQ_CONCAP, ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt()
469 outb(ICE1712_IRQ_CONPBK, ICEREG(ice, IRQSTAT)); in snd_ice1712_interrupt()
633 outl(ice->capture_con_virt_addr = runtime->dma_addr, ICEREG(ice, CONCAP_ADDR)); in snd_ice1712_capture_prepare()
634 outw(buf_size, ICEREG(ice, CONCAP_COUNT)); in snd_ice1712_capture_prepare()
685 ptr = inl(ICEREG(ice, CONCAP_ADDR)) - ice->capture_con_virt_addr; in snd_ice1712_capture_pointer()
2228 outb(addr, ICEREG(ice, I2C_BYTE_ADDR)); in snd_ice1712_read_i2c()
2229 outb(dev & ~ICE1712_I2C_WRITE, ICEREG(ice, I2C_DEV_ADDR)); in snd_ice1712_read_i2c()
2230 while (t-- > 0 && (inb(ICEREG(ice, I2C_CTRL)) & ICE1712_I2C_BUSY)) ; in snd_ice1712_read_i2c()
2231 return inb(ICEREG(ice, I2C_DATA)); in snd_ice1712_read_i2c()
2243 if ((inb(ICEREG(ice, I2C_CTRL)) & ICE1712_I2C_EEPROM) != 0) in snd_ice1712_read_eeprom()
2314 outb(ICE1712_RESET | ICE1712_NATIVE, ICEREG(ice, CONTROL)); in snd_ice1712_chip_init()
2316 outb(ICE1712_NATIVE, ICEREG(ice, CONTROL)); in snd_ice1712_chip_init()
2349 outb(ICE1712_AC97_WARM, ICEREG(ice, AC97_CMD)); in snd_ice1712_chip_init()
2351 outb(0, ICEREG(ice, AC97_CMD)); in snd_ice1712_chip_init()
2361 ICEREG(ice, IRQMASK)); in snd_ice1712_chip_init()
2444 outb(0xff, ICEREG(ice, IRQMASK)); in snd_ice1712_free()
2617 ICEREG(ice, MPU1_CTRL), in snd_ice1712_probe()
2632 ICEREG(ice, MPU2_CTRL), in snd_ice1712_probe()