Searched refs:pincap (Results 1 – 4 of 4) sorted by relevance
48 u32 pincap; in read_pin_sense() local52 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()
111 unsigned int pincap = snd_hda_query_pin_caps(codec, pin); in check_pincap_validity() local114 if (!pincap) in check_pincap_validity()123 return !!(pincap & AC_PINCAP_OUT); in check_pincap_validity()125 return !!(pincap & AC_PINCAP_IN); in check_pincap_validity()
3830 unsigned int pincap; in snd_hda_get_default_vref() local3834 pincap = snd_hda_query_pin_caps(codec, pin); in snd_hda_get_default_vref()3835 pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_get_default_vref()3837 if ((pincap & AC_PINCAP_VREF_80) && oldval != PIN_VREF50) in snd_hda_get_default_vref()3839 else if (pincap & AC_PINCAP_VREF_50) in snd_hda_get_default_vref()3841 else if (pincap & AC_PINCAP_VREF_100) in snd_hda_get_default_vref()3843 else if (pincap & AC_PINCAP_VREF_GRD) in snd_hda_get_default_vref()
2726 unsigned int pincap = snd_hda_query_pin_caps(codec, pin); in get_out_jack_num_items() local2727 if ((pincap & AC_PINCAP_OUT) && (pincap & AC_PINCAP_HP_DRV)) in get_out_jack_num_items()2772 unsigned int pincap; in get_vref_caps() local2774 pincap = snd_hda_query_pin_caps(codec, pin); in get_vref_caps()2775 pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in get_vref_caps()2777 pincap &= ~(AC_PINCAP_VREF_GRD | AC_PINCAP_VREF_100); in get_vref_caps()2778 return pincap; in get_vref_caps()3140 unsigned int pincap = snd_hda_query_pin_caps(codec, nid); in is_input_pin() local3141 return (pincap & AC_PINCAP_IN) != 0; in is_input_pin()