Home
last modified time | relevance | path

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

/linux-6.1.9/sound/pci/hda/
Dhda_jack.c48 u32 pincap; in read_pin_sense() local
52 pincap = snd_hda_query_pin_caps(codec, nid); in read_pin_sense()
53 if (pincap & AC_PINCAP_TRIG_REQ) /* need trigger? */ in read_pin_sense()
Dhda_auto_parser.c107 unsigned int pincap = snd_hda_query_pin_caps(codec, pin); in check_pincap_validity() local
110 if (!pincap) in check_pincap_validity()
119 return !!(pincap & AC_PINCAP_OUT); in check_pincap_validity()
121 return !!(pincap & AC_PINCAP_IN); in check_pincap_validity()
Dhda_codec.c3899 unsigned int pincap; in snd_hda_get_default_vref() local
3903 pincap = snd_hda_query_pin_caps(codec, pin); in snd_hda_get_default_vref()
3904 pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_get_default_vref()
3906 if ((pincap & AC_PINCAP_VREF_80) && oldval != PIN_VREF50) in snd_hda_get_default_vref()
3908 else if (pincap & AC_PINCAP_VREF_50) in snd_hda_get_default_vref()
3910 else if (pincap & AC_PINCAP_VREF_100) in snd_hda_get_default_vref()
3912 else if (pincap & AC_PINCAP_VREF_GRD) in snd_hda_get_default_vref()
Dhda_generic.c2732 unsigned int pincap = snd_hda_query_pin_caps(codec, pin); in get_out_jack_num_items() local
2733 if ((pincap & AC_PINCAP_OUT) && (pincap & AC_PINCAP_HP_DRV)) in get_out_jack_num_items()
2778 unsigned int pincap; in get_vref_caps() local
2780 pincap = snd_hda_query_pin_caps(codec, pin); in get_vref_caps()
2781 pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in get_vref_caps()
2783 pincap &= ~(AC_PINCAP_VREF_GRD | AC_PINCAP_VREF_100); in get_vref_caps()
2784 return pincap; in get_vref_caps()
3146 unsigned int pincap = snd_hda_query_pin_caps(codec, nid); in is_input_pin() local
3147 return (pincap & AC_PINCAP_IN) != 0; in is_input_pin()