Lines Matching refs:OPTi9XX_MC_REG

99 #define OPTi9XX_MC_REG(n)	n  macro
338 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(4), 0xf0, 0xfc); in snd_opti9xx_configure()
340 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(6), 0x02, 0x02); in snd_opti9xx_configure()
345 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(1), 0x80, 0x80); in snd_opti9xx_configure()
347 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(2), 0x00, 0x20); in snd_opti9xx_configure()
349 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(3), 0xf0, 0xff); in snd_opti9xx_configure()
352 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x02, 0x02); in snd_opti9xx_configure()
355 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x00, 0x02); in snd_opti9xx_configure()
361 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(1), 0x80, 0x80); in snd_opti9xx_configure()
362 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(2), 0x00, 0x20); in snd_opti9xx_configure()
366 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(4), 0x00, 0x0c); in snd_opti9xx_configure()
368 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x02, 0x02); in snd_opti9xx_configure()
370 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x00, 0x02); in snd_opti9xx_configure()
377 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(20), 0x04, 0x0c); in snd_opti9xx_configure()
385 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(21), 0x82, 0xff); in snd_opti9xx_configure()
390 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(26), 0x01, 0x01); in snd_opti9xx_configure()
394 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(6), 0x02, 0x03); in snd_opti9xx_configure()
395 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(3), 0x00, 0xff); in snd_opti9xx_configure()
396 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(4), 0x10 | in snd_opti9xx_configure()
399 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x20, 0xbf); in snd_opti9xx_configure()
430 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(1), wss_base_bits << 4, 0x30); in snd_opti9xx_configure()
491 snd_opti9xx_write(chip, OPTi9XX_MC_REG(3), (irq_bits << 3 | dma_bits)); in snd_opti9xx_configure()
537 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(6), in snd_opti9xx_configure()
645 status = snd_opti9xx_read(chip, OPTi9XX_MC_REG(11)); in snd_opti93x_interrupt()
672 value = snd_opti9xx_read(chip, OPTi9XX_MC_REG(1)); in snd_opti9xx_read_check()
673 if (value != 0xff && value != inb(chip->mc_base + OPTi9XX_MC_REG(1))) in snd_opti9xx_read_check()
674 if (value == snd_opti9xx_read(chip, OPTi9XX_MC_REG(1))) in snd_opti9xx_read_check()
688 value = snd_opti9xx_read(chip, OPTi9XX_MC_REG(7)); in snd_opti9xx_read_check()
689 snd_opti9xx_write(chip, OPTi9XX_MC_REG(7), 0xff - value); in snd_opti9xx_read_check()
690 if (snd_opti9xx_read(chip, OPTi9XX_MC_REG(7)) == 0xff - value) in snd_opti9xx_read_check()
892 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(2),
897 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(2),