• Home
  • Raw
  • Download

Lines Matching refs:caps

572 	unsigned int caps = get_wcaps(codec, nid);  in has_amp_in()  local
573 unsigned int type = get_wcaps_type(caps); in has_amp_in()
575 if (!(caps & AC_WCAP_IN_AMP)) in has_amp_in()
586 unsigned int caps = get_wcaps(codec, nid); in has_amp_out() local
587 unsigned int type = get_wcaps_type(caps); in has_amp_out()
589 if (!(caps & AC_WCAP_OUT_AMP)) in has_amp_out()
624 int dir, unsigned int caps, bool enable) in get_amp_val_to_activate() argument
628 if (caps & AC_AMPCAP_NUM_STEPS) { in get_amp_val_to_activate()
631 val = (caps & AC_AMPCAP_OFFSET) >> AC_AMPCAP_OFFSET_SHIFT; in get_amp_val_to_activate()
633 if (caps & (AC_AMPCAP_MUTE | AC_AMPCAP_MIN_MUTE)) { in get_amp_val_to_activate()
660 unsigned int caps = query_amp_caps(codec, nid, dir); in init_amp() local
661 int val = get_amp_val_to_activate(codec, nid, dir, caps, false); in init_amp()
686 unsigned int caps) in get_amp_mask_to_modify() argument
690 if (caps & (AC_AMPCAP_MUTE | AC_AMPCAP_MIN_MUTE)) { in get_amp_mask_to_modify()
694 if (caps & AC_AMPCAP_NUM_STEPS) { in get_amp_mask_to_modify()
705 unsigned int caps; in activate_amp() local
708 caps = query_amp_caps(codec, nid, dir); in activate_amp()
709 val = get_amp_val_to_activate(codec, nid, dir, caps, enable); in activate_amp()
710 mask = get_amp_mask_to_modify(codec, nid, dir, idx_to_check, caps); in activate_amp()
1332 unsigned int defcfg, caps; in can_be_multiio_pin() local
1339 caps = snd_hda_query_pin_caps(codec, nid); in can_be_multiio_pin()
1340 if (!(caps & AC_PINCAP_OUT)) in can_be_multiio_pin()
3015 unsigned int caps = get_wcaps(codec, nid); in fill_adc_nids() local
3016 int type = get_wcaps_type(caps); in fill_adc_nids()
3018 if (type != AC_WID_AUD_IN || (caps & AC_WCAP_DIGITAL)) in fill_adc_nids()