Home
last modified time | relevance | path

Searched refs:OPTi9XX_MC_REG (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/sound/isa/opti9xx/
H A Dopti92x-ad1848.c99 #define OPTi9XX_MC_REG(n) n macro
337 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(4), 0xf0, 0xfc); in snd_opti9xx_configure()
395 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(4), 0x10 | in snd_opti9xx_configure()
536 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(6), in snd_opti9xx_configure()
644 status = snd_opti9xx_read(chip, OPTi9XX_MC_REG(11)); in snd_opti93x_interrupt()
671 value = snd_opti9xx_read(chip, OPTi9XX_MC_REG(1)); in snd_opti9xx_read_check()
673 if (value == snd_opti9xx_read(chip, OPTi9XX_MC_REG(1))) in snd_opti9xx_read_check()
687 value = snd_opti9xx_read(chip, OPTi9XX_MC_REG(7)); in snd_opti9xx_read_check()
688 snd_opti9xx_write(chip, OPTi9XX_MC_REG(7), 0xff - value); in snd_opti9xx_read_check()
891 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(2),
[all …]
H A Dmiro.c89 #define OPTi9XX_MC_REG(n) n macro
1011 snd_miro_write_mask(chip, OPTi9XX_MC_REG(1), 0x80, 0x80); in snd_miro_configure()
1012 snd_miro_write_mask(chip, OPTi9XX_MC_REG(2), 0x20, 0x20); /* OPL4 */ in snd_miro_configure()
1013 snd_miro_write_mask(chip, OPTi9XX_MC_REG(5), 0x02, 0x02); in snd_miro_configure()
1017 snd_miro_write_mask(chip, OPTi9XX_MC_REG(6), 0x02, 0x02); in snd_miro_configure()
1018 snd_miro_write_mask(chip, OPTi9XX_MC_REG(3), 0xf0, 0xff); in snd_miro_configure()
1022 snd_miro_write_mask(chip, OPTi9XX_MC_REG(4), 0x00, 0x0c); in snd_miro_configure()
1152 snd_miro_write_mask(chip, OPTi9XX_MC_REG(6), in snd_miro_configure()
1172 value = snd_miro_read(chip, OPTi9XX_MC_REG(1)); in snd_miro_opti_check()
1173 if (value != 0xff && value != inb(chip->mc_base + OPTi9XX_MC_REG(1))) in snd_miro_opti_check()
[all …]