Home
last modified time | relevance | path

Searched refs:get_wcaps (Results 1 – 19 of 19) sorted by relevance

/linux-4.4.14/sound/hda/
Dhdac_sysfs.c163 return sprintf(buf, "0x%08x\n", get_wcaps(codec, nid)); in caps_show()
169 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in pin_caps_show()
180 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in pin_cfg_show()
191 switch (get_wcaps_type(get_wcaps(codec, nid))) { in has_pcm_cap()
221 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_IN_AMP)) in amp_in_caps_show()
230 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_OUT_AMP)) in amp_out_caps_show()
239 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_POWER)) in power_caps_show()
Dlocal.h8 #define get_wcaps(codec, nid) \ macro
Dhdac_device.c445 unsigned int wcaps = get_wcaps(codec, nid); in get_num_conns()
800 (get_wcaps(codec, nid) & AC_WCAP_FORMAT_OVRD)) in query_pcm_param()
838 wcaps = get_wcaps(codec, nid); in snd_hdac_query_supported_pcm()
/linux-4.4.14/sound/pci/hda/
Dlocal.h9 #define get_wcaps(codec, nid) \ macro
Dhda_hwdep.c54 res = get_wcaps(codec, verb >> 24); in get_wcap_ioctl()
Dpatch_via.c319 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) { in auto_parse_beep()
765 get_wcaps(codec, pin) | AC_WCAP_IN_AMP); in override_mic_boost()
873 if (get_wcaps_type(get_wcaps(codec, conn[i])) == AC_WID_AUD_OUT) in add_secret_dac_path()
879 unsigned int caps = get_wcaps(codec, nid); in add_secret_dac_path()
Dhda_codec.c304 unsigned int type = get_wcaps_type(get_wcaps(codec, conn[i])); in snd_hda_get_conn_index()
318 unsigned int wcaps = get_wcaps(codec, nid); in get_num_devices()
396 unsigned int wcaps = get_wcaps(codec, nid); in read_pin_defaults()
1011 type = get_wcaps_type(get_wcaps(codec, nid)); in snd_hda_codec_setup_stream()
1016 get_wcaps_type(get_wcaps(c, p->nid)) == type) in snd_hda_codec_setup_stream()
1121 if (!(get_wcaps(codec, nid) & AC_WCAP_AMP_OVRD)) in query_amp_caps()
1143 if (get_wcaps(codec, nid) & (1 << (dir + 1))) in snd_hda_check_amp_caps()
1169 get_wcaps(codec, nid) | AC_WCAP_AMP_OVRD); in snd_hda_override_amp_caps()
2427 if ((get_wcaps(codec, nid) & AC_WCAP_OUT_AMP) && in set_spdif_ctls()
2794 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_codec_set_power_to_all()
[all …]
Dhda_generic.c423 get_wcaps_type(get_wcaps(codec, conn[i])) != AC_WID_AUD_OUT || in __parse_nid_path()
435 type = get_wcaps_type(get_wcaps(codec, conn[i])); in __parse_nid_path()
448 if (nums > 1 && get_wcaps_type(get_wcaps(codec, to_nid)) != AC_WID_AUD_MIX) in __parse_nid_path()
558 cap_digital = !!(get_wcaps(codec, nid) & AC_WCAP_DIGITAL); in look_for_dac()
578 if (!(get_wcaps(codec, nid1) & (1 << (dir + 1)))) in same_amp_caps()
579 return !(get_wcaps(codec, nid2) & (1 << (dir + 1))); in same_amp_caps()
625 unsigned int caps = get_wcaps(codec, nid); in has_amp_in()
639 unsigned int caps = get_wcaps(codec, nid); in has_amp_out()
654 int type = get_wcaps_type(get_wcaps(codec, nid)); in is_active_nid()
709 unsigned int wcaps = get_wcaps(codec, nid); in is_stereo_amps()
[all …]
Dhda_bind.c223 unsigned int wcaps = get_wcaps(codec, nid); in is_likely_hdmi_codec()
Dpatch_hdmi.c523 if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) in hdmi_init_pin()
1407 unsigned int wid_caps = get_wcaps(codec, nid); in intel_not_share_assigned_cvt()
1520 if (!(get_wcaps(codec, pin_nid) & AC_WCAP_CONN_LIST)) { in hdmi_read_pin_conn()
1523 pin_nid, get_wcaps(codec, pin_nid)); in hdmi_read_pin_conn()
1703 chans = get_wcaps(codec, cvt_nid); in hdmi_add_cvt()
1747 caps = get_wcaps(codec, nid); in hdmi_parse_codec()
2438 chans = get_wcaps(codec, per_cvt->cvt_nid); in simple_playback_build_pcms()
2492 if (get_wcaps(codec, pin) & AC_WCAP_OUT_AMP) in simple_playback_init()
Dpatch_conexant.c109 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) { in cx_auto_parse_beep()
125 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in cx_auto_parse_eapd()
Dpatch_cirrus.c797 get_wcaps(codec, 0x18) | AC_WCAP_STEREO); in patch_cs4208()
1062 if (get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) { in parse_cs421x_digital()
Dhda_jack.c42 if (!(get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) && in is_jack_detectable()
Dhda_local.h523 static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) in get_wcaps() function
Dpatch_analog.c856 get_wcaps_type(get_wcaps(codec, 0x1d)) != AC_WID_AUD_MIX) in ad1988_add_spdif_mux_ctl()
Dpatch_ca0132.c4116 if (get_wcaps(codec, pin) & AC_WCAP_OUT_AMP) in init_output()
4121 if (dac && (get_wcaps(codec, dac) & AC_WCAP_OUT_AMP)) in init_output()
4130 if (get_wcaps(codec, pin) & AC_WCAP_IN_AMP) in init_input()
4135 if (adc && (get_wcaps(codec, adc) & AC_WCAP_IN_AMP)) { in init_input()
Dhda_auto_parser.c193 unsigned int wid_caps = get_wcaps(codec, nid); in snd_hda_parse_pin_defcfg()
Dpatch_sigmatel.c4770 if (get_wcaps_type(get_wcaps(codec, 0x28)) == AC_WID_VOL_KNB) in patch_stac92hd71bxx()
4773 if (get_wcaps(codec, 0xa) & AC_WCAP_IN_AMP) { in patch_stac92hd71bxx()
Dpatch_realtek.c403 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in set_eapd()
4475 snd_hda_override_wcaps(codec, 0x1b, get_wcaps(codec, 0x1b) & ~AC_WCAP_IN_AMP); in alc_fixup_headset_mode_alc662()