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()
107 unsigned int pincap = snd_hda_query_pin_caps(codec, pin); in check_pincap_validity() local110 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()
3900 unsigned int pincap; in snd_hda_get_default_vref() local3904 pincap = snd_hda_query_pin_caps(codec, pin); in snd_hda_get_default_vref()3905 pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT; in snd_hda_get_default_vref()3907 if ((pincap & AC_PINCAP_VREF_80) && oldval != PIN_VREF50) in snd_hda_get_default_vref()3909 else if (pincap & AC_PINCAP_VREF_50) in snd_hda_get_default_vref()3911 else if (pincap & AC_PINCAP_VREF_100) in snd_hda_get_default_vref()3913 else if (pincap & AC_PINCAP_VREF_GRD) in snd_hda_get_default_vref()
2732 unsigned int pincap = snd_hda_query_pin_caps(codec, pin); in get_out_jack_num_items() local2733 if ((pincap & AC_PINCAP_OUT) && (pincap & AC_PINCAP_HP_DRV)) in get_out_jack_num_items()2778 unsigned int pincap; in get_vref_caps() local2780 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() local3147 return (pincap & AC_PINCAP_IN) != 0; in is_input_pin()