Lines Matching refs:ac97_write

102 static int	ac97_write(struct ac97_softc *, uint8_t, uint16_t);
952 ac97_write(struct ac97_softc *as, uint8_t reg, uint16_t val) in ac97_write() function
987 ac97_write(as, si->reg, si->default_value); in ac97_setup_defaults()
992 ac97_write(as, si->reg, si->default_value); in ac97_setup_defaults()
1010 ac97_write(as, AC97_REG_POWER, as->power_reg); in ac97_restore_shadow()
1024 ac97_write(as, AC97_REG_MASTER_VOLUME, 0x1010); in ac97_restore_shadow()
1039 ac97_write(as, si->reg, as->shadow_reg[si->reg >> 1]); in ac97_restore_shadow()
1046 ac97_write(as, AC97_REG_EXT_AUDIO_CTRL, in ac97_restore_shadow()
1053 ac97_write(as, AC97_REG_EXT_MODEM_CTRL, in ac97_restore_shadow()
1124 ac97_write(as, si->reg, value2); in ac97_setup_source_info()
1134 ac97_write(as, si->reg, value1); in ac97_setup_source_info()
1411 ac97_write(as, AC97_REG_SPDIF_CTRL, val); in ac97_attach_type()
1415 ac97_write(as, AC97_REG_EXT_AUDIO_CTRL, extstat); in ac97_attach_type()
1419 ac97_write(as, AC97_REG_PCM_FRONT_DAC_RATE, in ac97_attach_type()
1430 ac97_write(as, AC97_REG_PCM_FRONT_DAC_RATE, in ac97_attach_type()
1477 ac97_write(as, AC97_REG_EXT_MODEM_ID, 1); in ac97_attach_type()
1482 ac97_write(as, AC97_REG_LINE1_RATE, xrate); in ac97_attach_type()
1487 ac97_write(as, AC97_REG_LINE2_RATE, xrate); in ac97_attach_type()
1492 ac97_write(as, AC97_REG_HANDSET_RATE, xrate); in ac97_attach_type()
1498 ac97_write(as, AC97_REG_EXT_MODEM_CTRL, 0); in ac97_attach_type()
1516 ac97_write(as, AC97_REG_GPIO_CFG, reg); in ac97_attach_type()
1519 ac97_write(as, AC97_REG_GPIO_POLARITY, reg); in ac97_attach_type()
1538 ac97_write(as, AC97_REG_GPIO_CFG, reg); in ac97_attach_type()
1541 ac97_write(as, AC97_REG_GPIO_POLARITY, reg); in ac97_attach_type()
1559 ac97_write(as, AC97_REG_GPIO_STICKY, 0xffff); in ac97_attach_type()
1560 ac97_write(as, AC97_REG_GPIO_WAKEUP, 0x0); in ac97_attach_type()
1561 ac97_write(as, AC97_REG_MISC_AFE, 0x0); in ac97_attach_type()
1624 ac97_write(as, AC97_REG_POWER, as->power_reg); in ac97_attach_type()
1639 ac97_write(as, AC97_REG_POWER, AC97_POWER_IN | AC97_POWER_OUT in ac97_detach()
1815 error = ac97_write(as, si->reg, (val & ~mask) | newval); in ac97_mixer_set_port()
1978 ac97_write(as, AC97_REG_EXT_AUDIO_CTRL, ext_stat); in ac97_set_rate()
1983 ac97_write(as, AC97_REG_EXT_AUDIO_CTRL, ext_stat); in ac97_set_rate()
2014 ac97_write(as, AC97_REG_POWER, power | power_bit); in ac97_set_rate()
2016 ac97_write(as, target, (uint16_t)value); in ac97_set_rate()
2020 ac97_write(as, AC97_REG_POWER, power); in ac97_set_rate()
2141 ac97_write(as, AD1980_REG_MISC, in ac97_ad198x_init()
2239 ac97_write(as, UCB1400_REG_FEATURE_CSR1, in ac97_ucb1400_init()
2241 ac97_write(as, UCB1400_REG_FEATURE_CSR2, UCB1400_AVE | UCB1400_SLP_ON); in ac97_ucb1400_init()
2292 ac97_write(as, AC97_REG_GPIO_STATUS, val); in ac97_modem_offhook_set()