Home
last modified time | relevance | path

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

/linux/sound/hda/
A Dhdac_sysfs.c164 return sprintf(buf, "0x%08x\n", get_wcaps(codec, nid)); in caps_show()
170 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in pin_caps_show()
181 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in pin_cfg_show()
192 switch (get_wcaps_type(get_wcaps(codec, nid))) { in has_pcm_cap()
222 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_IN_AMP)) in amp_in_caps_show()
231 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_OUT_AMP)) in amp_out_caps_show()
240 if (nid != codec->afg && !(get_wcaps(codec, nid) & AC_WCAP_POWER)) in power_caps_show()
A Dlocal.h9 #define get_wcaps(codec, nid) \ macro
A Dhdac_device.c438 unsigned int wcaps = get_wcaps(codec, nid); in get_num_conns()
792 (get_wcaps(codec, nid) & AC_WCAP_FORMAT_OVRD)) in query_pcm_param()
830 wcaps = get_wcaps(codec, nid); in snd_hdac_query_supported_pcm()
/linux/sound/pci/hda/
A Dpatch_via.c283 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) in auto_parse_beep()
709 get_wcaps(codec, pin) | AC_WCAP_IN_AMP); in override_mic_boost()
825 if (get_wcaps_type(get_wcaps(codec, conn[i])) == AC_WID_AUD_OUT) in add_secret_dac_path()
831 unsigned int caps = get_wcaps(codec, nid); in add_secret_dac_path()
A Dhda_codec.c302 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_get_num_devices()
438 unsigned int wcaps = get_wcaps(codec, nid); in read_pin_defaults()
1124 type = get_wcaps_type(get_wcaps(codec, nid)); in snd_hda_codec_setup_stream()
1128 get_wcaps_type(get_wcaps(c, p->nid)) == type) in snd_hda_codec_setup_stream()
1232 if (!(get_wcaps(codec, nid) & AC_WCAP_AMP_OVRD)) in query_amp_caps()
1254 if (get_wcaps(codec, nid) & (1 << (dir + 1))) in snd_hda_check_amp_caps()
1280 get_wcaps(codec, nid) | AC_WCAP_AMP_OVRD); in snd_hda_override_amp_caps()
2321 if ((get_wcaps(codec, nid) & AC_WCAP_OUT_AMP) && in set_spdif_ctls()
2694 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_codec_set_power_to_all()
2725 get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_PIN && in snd_hda_codec_eapd_power_filter()
[all …]
A Dpatch_hdmi.c460 if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) in hdmi_init_pin()
736 if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) in hdmi_setup_audio_infoframe()
1265 if (get_wcaps(codec, per_cvt->cvt_nid) & AC_WCAP_STRIPE) in hdmi_pcm_open()
1323 if (!(get_wcaps(codec, pin_nid) & AC_WCAP_CONN_LIST)) { in hdmi_read_pin_conn()
1326 pin_nid, get_wcaps(codec, pin_nid)); in hdmi_read_pin_conn()
1915 chans = get_wcaps(codec, cvt_nid); in hdmi_add_cvt()
1981 caps = get_wcaps(codec, nid); in hdmi_parse_codec()
1994 caps = get_wcaps(codec, nid); in hdmi_parse_codec()
2086 if (get_wcaps(codec, cvt_nid) & AC_WCAP_STRIPE) { in generic_hdmi_playback_pcm_prepare()
3086 chans = get_wcaps(codec, per_cvt->cvt_nid); in simple_playback_build_pcms()
[all …]
A Dhda_generic.c410 type = get_wcaps_type(get_wcaps(codec, conn[i])); in __parse_nid_path()
552 if (!(get_wcaps(codec, nid1) & (1 << (dir + 1)))) in same_amp_caps()
599 unsigned int caps = get_wcaps(codec, nid); in has_amp_in()
613 unsigned int caps = get_wcaps(codec, nid); in has_amp_out()
628 int type = get_wcaps_type(get_wcaps(codec, nid)); in is_active_nid()
683 unsigned int wcaps = get_wcaps(codec, nid); in is_stereo_amps()
694 return !!(get_wcaps(codec, conn) & AC_WCAP_STEREO); in is_stereo_amps()
788 type = get_wcaps_type(get_wcaps(codec, nid)); in activate_amp_in()
826 if (!(get_wcaps(codec, nid) & AC_WCAP_POWER)) in path_power_update()
3154 unsigned int caps = get_wcaps(codec, nid); in fill_adc_nids()
[all …]
A Dhda_bind.c245 unsigned int wcaps = get_wcaps(codec, nid); in is_likely_hdmi_codec()
A Dpatch_cirrus.c787 get_wcaps(codec, 0x18) | AC_WCAP_STEREO); in patch_cs4208()
1054 if (get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) { in parse_cs421x_digital()
A Dpatch_conexant.c80 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) in cx_auto_parse_beep()
99 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in cx_auto_parse_eapd()
A Dhda_jack.c38 if (!(get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) && in is_jack_detectable()
A Dhda_local.h453 static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) in get_wcaps() function
A Dpatch_analog.c840 get_wcaps_type(get_wcaps(codec, 0x1d)) != AC_WID_AUD_MIX) in ad1988_add_spdif_mux_ctl()
A Dhda_auto_parser.c195 unsigned int wid_caps = get_wcaps(codec, nid); in snd_hda_parse_pin_defcfg()
A Dpatch_cs8409.c419 snd_hda_override_wcaps(codec, nid, (get_wcaps(codec, nid) | AC_WCAP_UNSOL_CAP)); in cs8409_fix_caps()
A Dpatch_sigmatel.c4781 if (get_wcaps_type(get_wcaps(codec, 0x28)) == AC_WID_VOL_KNB) in patch_stac92hd71bxx()
4784 if (get_wcaps(codec, 0xa) & AC_WCAP_IN_AMP) { in patch_stac92hd71bxx()
A Dpatch_ca0132.c7375 if (get_wcaps(codec, pin) & AC_WCAP_OUT_AMP) in init_output()
7380 if (dac && (get_wcaps(codec, dac) & AC_WCAP_OUT_AMP)) in init_output()
7389 if (get_wcaps(codec, pin) & AC_WCAP_IN_AMP) in init_input()
7394 if (adc && (get_wcaps(codec, adc) & AC_WCAP_IN_AMP)) { in init_input()
A Dpatch_realtek.c481 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in set_eapd()
5888 snd_hda_override_wcaps(codec, 0x1b, get_wcaps(codec, 0x1b) & ~AC_WCAP_IN_AMP); in alc_fixup_headset_mode_alc662()
/linux/sound/soc/codecs/
A Dhdac_hdmi.c223 caps = get_wcaps(hdev, nid); in hdac_hdmi_get_port_len()
488 if (!(get_wcaps(hdev, pin->nid) & AC_WCAP_CONN_LIST)) { in hdac_hdmi_query_port_connlist()
491 pin->nid, get_wcaps(hdev, pin->nid)); in hdac_hdmi_query_port_connlist()
656 chans = get_wcaps(hdev, cvt->nid); in hdac_hdmi_query_cvt_params()
738 if (get_wcaps(hdev, nid) & AC_WCAP_POWER) { in hdac_hdmi_set_power_state()
756 if (get_wcaps(hdev, nid) & AC_WCAP_OUT_AMP) in hdac_hdmi_set_amp()
1644 caps = get_wcaps(hdev, nid); in hdac_hdmi_parse_and_map_nid()

Completed in 113 milliseconds