Home
last modified time | relevance | path

Searched refs:ad18xx (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/sound/pci/ac97/
H A Dac97_proc.c336 if (ac97->spec.ad18xx.id[idx]) { in snd_ac97_proc_read()
339 ac97->spec.ad18xx.unchained[idx] | ac97->spec.ad18xx.chained[idx]); in snd_ac97_proc_read()
348 ac97->spec.ad18xx.unchained[0], in snd_ac97_proc_read()
349 ac97->spec.ad18xx.unchained[1], in snd_ac97_proc_read()
350 ac97->spec.ad18xx.unchained[2]); in snd_ac97_proc_read()
352 ac97->spec.ad18xx.chained[0], in snd_ac97_proc_read()
353 ac97->spec.ad18xx.chained[1], in snd_ac97_proc_read()
354 ac97->spec.ad18xx.chained[2]); in snd_ac97_proc_read()
400 if (ac97->spec.ad18xx.id[idx]) { in snd_ac97_proc_regs_read()
403 ac97->spec.ad18xx.unchained[idx] | ac97->spec.ad18xx.chained[idx]); in snd_ac97_proc_regs_read()
H A Dac97_patch.c1410 if (! ac97->spec.ad18xx.id[codec]) in ad18xx_resume()
1414 ac97->spec.ad18xx.unchained[codec] | ac97->spec.ad18xx.chained[codec]); in ad18xx_resume()
1415 ac97->bus->ops->write(ac97, AC97_AD_CODEC_CFG, ac97->spec.ad18xx.codec_cfg[codec]); in ad18xx_resume()
1428 if (! ac97->spec.ad18xx.id[codec]) in ad18xx_resume()
1432 ac97->spec.ad18xx.unchained[codec] | ac97->spec.ad18xx.chained[codec]); in ad18xx_resume()
1434 ac97->bus->ops->write(ac97, AC97_PCM, ac97->spec.ad18xx.pcmreg[codec]); in ad18xx_resume()
1492 ac97->spec.ad18xx.unchained[idx] = mask; in patch_ad1881_unchained()
1493 ac97->spec.ad18xx.id[idx] = val; in patch_ad1881_unchained()
1494 ac97->spec.ad18xx.codec_cfg[idx] = 0x0000; in patch_ad1881_unchained()
1510 ac97->spec.ad18xx.chained[idx] = cfg_bits[idx]; in patch_ad1881_chained1()
[all …]
H A Dac97_codec.c420 old = ac97->spec.ad18xx.pcmreg[codec]; in snd_ac97_ad18xx_update_pcm_bits()
426 ac97->spec.ad18xx.pcmreg[codec] = new; in snd_ac97_ad18xx_update_pcm_bits()
430 ac97->spec.ad18xx.unchained[codec] | ac97->spec.ad18xx.chained[codec]); in snd_ac97_ad18xx_update_pcm_bits()
896 ucontrol->value.integer.value[0] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> lshift) & mask); in snd_ac97_ad18xx_pcm_get_bits()
898 ucontrol->value.integer.value[1] = mask - ((ac97->spec.ad18xx.pcmreg[codec] >> rshift) & mask); in snd_ac97_ad18xx_pcm_get_bits()
940 ucontrol->value.integer.value[0] = 31 - ((ac97->spec.ad18xx.pcmreg[codec] >> 8) & 31); in snd_ac97_ad18xx_pcm_get_volume()
941 ucontrol->value.integer.value[1] = 31 - ((ac97->spec.ad18xx.pcmreg[codec] >> 0) & 31); in snd_ac97_ad18xx_pcm_get_volume()
1505 ac97->spec.ad18xx.pcmreg[0] = init_val; in snd_ac97_mixer_build()
1514 ac97->spec.ad18xx.pcmreg[1] = init_val; in snd_ac97_mixer_build()
1531 ac97->spec.ad18xx.pcmreg[2] = init_val; in snd_ac97_mixer_build()
/openbmc/linux/include/sound/
H A Dac97_codec.h270 } ad18xx; member