Home
last modified time | relevance | path

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

/Linux-v6.6/sound/pci/hda/
Dhda_generic.c2793 static int get_vref_idx(unsigned int vref_caps, unsigned int item_idx) in get_vref_idx() argument
2798 if (vref_caps & (1 << i)) { in get_vref_idx()
2808 static int cvt_from_vref_idx(unsigned int vref_caps, unsigned int idx) in cvt_from_vref_idx() argument
2815 if (vref_caps & (1 << i)) in cvt_from_vref_idx()
2826 unsigned int vref_caps = get_vref_caps(codec, nid); in in_jack_mode_info() local
2828 snd_hda_enum_helper_info(kcontrol, uinfo, hweight32(vref_caps), in in_jack_mode_info()
2832 vref_texts[get_vref_idx(vref_caps, uinfo->value.enumerated.item)]); in in_jack_mode_info()
2841 unsigned int vref_caps = get_vref_caps(codec, nid); in in_jack_mode_get() local
2845 ucontrol->value.enumerated.item[0] = cvt_from_vref_idx(vref_caps, idx); in in_jack_mode_get()
2854 unsigned int vref_caps = get_vref_caps(codec, nid); in in_jack_mode_put() local
[all …]