Lines Matching refs:caps
563 unsigned int caps = get_wcaps(codec, nid); in has_amp_in() local
564 unsigned int type = get_wcaps_type(caps); in has_amp_in()
566 if (!(caps & AC_WCAP_IN_AMP)) in has_amp_in()
577 unsigned int caps = get_wcaps(codec, nid); in has_amp_out() local
578 unsigned int type = get_wcaps_type(caps); in has_amp_out()
580 if (!(caps & AC_WCAP_OUT_AMP)) in has_amp_out()
615 int dir, unsigned int caps, bool enable) in get_amp_val_to_activate() argument
619 if (caps & AC_AMPCAP_NUM_STEPS) { in get_amp_val_to_activate()
622 val = (caps & AC_AMPCAP_OFFSET) >> AC_AMPCAP_OFFSET_SHIFT; in get_amp_val_to_activate()
624 if (caps & AC_AMPCAP_MUTE) { in get_amp_val_to_activate()
634 unsigned int caps = query_amp_caps(codec, nid, dir); in init_amp() local
635 int val = get_amp_val_to_activate(codec, nid, dir, caps, false); in init_amp()
644 unsigned int caps) in get_amp_mask_to_modify() argument
648 if (caps & AC_AMPCAP_MUTE) { in get_amp_mask_to_modify()
652 if (caps & AC_AMPCAP_NUM_STEPS) { in get_amp_mask_to_modify()
663 unsigned int caps; in activate_amp() local
669 caps = query_amp_caps(codec, nid, dir); in activate_amp()
670 val = get_amp_val_to_activate(codec, nid, dir, caps, enable); in activate_amp()
671 mask = get_amp_mask_to_modify(codec, nid, dir, idx_to_check, caps); in activate_amp()
1218 unsigned int defcfg, caps; in can_be_multiio_pin() local
1225 caps = snd_hda_query_pin_caps(codec, nid); in can_be_multiio_pin()
1226 if (!(caps & AC_PINCAP_OUT)) in can_be_multiio_pin()
2831 unsigned int caps = get_wcaps(codec, nid); in fill_adc_nids() local
2832 int type = get_wcaps_type(caps); in fill_adc_nids()
2834 if (type != AC_WID_AUD_IN || (caps & AC_WCAP_DIGITAL)) in fill_adc_nids()