Lines Matching refs:ac97
24 void olpc_analog_input(struct snd_ac97 *ac97, int on) in olpc_analog_input() argument
32 err = snd_ac97_update_bits(ac97, AC97_AD_TEST2, in olpc_analog_input()
35 dev_err(ac97->bus->card->dev, in olpc_analog_input()
47 void olpc_mic_bias(struct snd_ac97 *ac97, int on) in olpc_mic_bias() argument
55 err = snd_ac97_update_bits(ac97, AC97_AD_MISC, in olpc_mic_bias()
58 dev_err(ac97->bus->card->dev, "setting MIC Bias - %d\n", err); in olpc_mic_bias()
81 olpc_analog_input(cs5535au->ac97, v->value.integer.value[0]); in olpc_dc_put()
98 struct snd_ac97 *ac97 = cs5535au->ac97; in olpc_mic_get() local
101 i = (snd_ac97_read(ac97, AC97_AD_MISC) >> AC97_AD_VREFD_SHIFT) & 0x1; in olpc_mic_get()
110 olpc_mic_bias(cs5535au->ac97, v->value.integer.value[0]); in olpc_mic_put()
134 struct snd_ac97_template *ac97) in olpc_prequirks() argument
141 ac97->scaps |= AC97_SCAP_INV_EAPD; in olpc_prequirks()
144 int olpc_quirks(struct snd_card *card, struct snd_ac97 *ac97) in olpc_quirks() argument
173 ac97->private_data)); in olpc_quirks()
179 olpc_mic_bias(ac97, 0); in olpc_quirks()