Home
last modified time | relevance | path

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

/Linux-v5.4/sound/pci/hda/
Dhda_generic.c2770 static int get_vref_idx(unsigned int vref_caps, unsigned int item_idx) in get_vref_idx() argument
2775 if (vref_caps & (1 << i)) { in get_vref_idx()
2785 static int cvt_from_vref_idx(unsigned int vref_caps, unsigned int idx) in cvt_from_vref_idx() argument
2792 if (vref_caps & (1 << i)) in cvt_from_vref_idx()
2803 unsigned int vref_caps = get_vref_caps(codec, nid); in in_jack_mode_info() local
2805 snd_hda_enum_helper_info(kcontrol, uinfo, hweight32(vref_caps), in in_jack_mode_info()
2809 vref_texts[get_vref_idx(vref_caps, uinfo->value.enumerated.item)]); in in_jack_mode_info()
2818 unsigned int vref_caps = get_vref_caps(codec, nid); in in_jack_mode_get() local
2822 ucontrol->value.enumerated.item[0] = cvt_from_vref_idx(vref_caps, idx); in in_jack_mode_get()
2831 unsigned int vref_caps = get_vref_caps(codec, nid); in in_jack_mode_put() local
[all …]