Home
last modified time | relevance | path

Searched refs:get_wcaps (Results 1 - 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/sound/hda/
H 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()
H A Dlocal.h9 #define get_wcaps(codec, nid) \ macro
H A Dhdac_device.c438 unsigned int wcaps = get_wcaps(codec, nid); in get_num_conns()
794 (get_wcaps(codec, nid) & AC_WCAP_FORMAT_OVRD)) in query_pcm_param()
832 wcaps = get_wcaps(codec, nid); in snd_hdac_query_supported_pcm()
/kernel/linux/linux-6.6/sound/hda/
H A Dhdac_sysfs.c164 return sysfs_emit(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()
H A Dlocal.h9 #define get_wcaps(codec, nid) \ macro
H A Dhdac_device.c438 unsigned int wcaps = get_wcaps(codec, nid); in get_num_conns()
794 (get_wcaps(codec, nid) & AC_WCAP_FORMAT_OVRD)) in query_pcm_param()
832 wcaps = get_wcaps(codec, nid); in snd_hdac_query_supported_pcm()
/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dhdac_hdmi.c223 caps = get_wcaps(hdev, nid); in hdac_hdmi_get_port_len()
493 if (!(get_wcaps(hdev, pin->nid) & AC_WCAP_CONN_LIST)) { in hdac_hdmi_query_port_connlist()
496 pin->nid, get_wcaps(hdev, pin->nid)); in hdac_hdmi_query_port_connlist()
661 chans = get_wcaps(hdev, cvt->nid); in hdac_hdmi_query_cvt_params()
743 if (get_wcaps(hdev, nid) & AC_WCAP_POWER) { in hdac_hdmi_set_power_state()
761 if (get_wcaps(hdev, nid) & AC_WCAP_OUT_AMP) in hdac_hdmi_set_amp()
1649 caps = get_wcaps(hdev, nid); in hdac_hdmi_parse_and_map_nid()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dhdac_hdmi.c223 caps = get_wcaps(hdev, nid); in hdac_hdmi_get_port_len()
493 if (!(get_wcaps(hdev, pin->nid) & AC_WCAP_CONN_LIST)) { in hdac_hdmi_query_port_connlist()
496 pin->nid, get_wcaps(hdev, pin->nid)); in hdac_hdmi_query_port_connlist()
661 chans = get_wcaps(hdev, cvt->nid); in hdac_hdmi_query_cvt_params()
743 if (get_wcaps(hdev, nid) & AC_WCAP_POWER) { in hdac_hdmi_set_power_state()
761 if (get_wcaps(hdev, nid) & AC_WCAP_OUT_AMP) in hdac_hdmi_set_amp()
1649 caps = get_wcaps(hdev, nid); in hdac_hdmi_parse_and_map_nid()
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_codec.c282 unsigned int type = get_wcaps_type(get_wcaps(codec, conn[i])); in snd_hda_get_conn_index()
302 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()
487 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in snd_hda_add_pincfg()
1123 type = get_wcaps_type(get_wcaps(codec, nid)); in snd_hda_codec_setup_stream()
1127 get_wcaps_type(get_wcaps(c, p->nid)) == type) in snd_hda_codec_setup_stream()
1231 if (!(get_wcaps(codec, nid) & AC_WCAP_AMP_OVRD)) in query_amp_caps()
1253 if (get_wcaps(codec, nid) & (1 << (dir + 1))) in snd_hda_check_amp_caps()
1279 get_wcaps(codec, nid) | AC_WCAP_AMP_OVRD); in snd_hda_override_amp_caps()
2379 if ((get_wcaps(code in set_spdif_ctls()
[all...]
H A Dpatch_hdmi.c458 if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) in hdmi_init_pin()
746 if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) in hdmi_setup_audio_infoframe()
1276 if (get_wcaps(codec, per_cvt->cvt_nid) & AC_WCAP_STRIPE) in hdmi_pcm_open()
1334 if (!(get_wcaps(codec, pin_nid) & AC_WCAP_CONN_LIST)) { in hdmi_read_pin_conn()
1337 pin_nid, get_wcaps(codec, pin_nid)); in hdmi_read_pin_conn()
1936 chans = get_wcaps(codec, cvt_nid); in hdmi_add_cvt()
2004 caps = get_wcaps(codec, nid); in hdmi_parse_codec()
2017 caps = get_wcaps(codec, nid); in hdmi_parse_codec()
2109 if (get_wcaps(codec, cvt_nid) & AC_WCAP_STRIPE) { in generic_hdmi_playback_pcm_prepare()
2686 if (get_wcaps_type(get_wcaps(code in generic_acomp_pin_eld_notify()
[all...]
H 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()
828 if (get_wcaps_type(get_wcaps(codec, conn[i])) == AC_WID_AUD_OUT) in add_secret_dac_path()
834 unsigned int caps = get_wcaps(codec, nid); in add_secret_dac_path()
H A Dhda_generic.c404 get_wcaps_type(get_wcaps(codec, conn[i])) != AC_WID_AUD_OUT || in __parse_nid_path()
416 type = get_wcaps_type(get_wcaps(codec, conn[i])); in __parse_nid_path()
429 if (nums > 1 && get_wcaps_type(get_wcaps(codec, to_nid)) != AC_WID_AUD_MIX) in __parse_nid_path()
538 cap_digital = !!(get_wcaps(codec, nid) & AC_WCAP_DIGITAL); in look_for_dac()
558 if (!(get_wcaps(codec, nid1) & (1 << (dir + 1)))) in same_amp_caps()
559 return !(get_wcaps(codec, nid2) & (1 << (dir + 1))); in same_amp_caps()
605 unsigned int caps = get_wcaps(codec, nid); in has_amp_in()
619 unsigned int caps = get_wcaps(codec, nid); in has_amp_out()
634 int type = get_wcaps_type(get_wcaps(codec, nid)); in is_active_nid()
689 unsigned int wcaps = get_wcaps(code in is_stereo_amps()
[all...]
H A Dhda_bind.c250 unsigned int wcaps = get_wcaps(codec, nid); in is_likely_hdmi_codec()
H A Dpatch_cirrus.c786 get_wcaps(codec, 0x18) | AC_WCAP_STEREO); in patch_cs4208()
1051 if (get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) { in parse_cs421x_digital()
H 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()
H A Dhda_local.h453 static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) in get_wcaps() function
H A Dhda_jack.c38 if (!(get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) && in is_jack_detectable()
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_codec.c282 unsigned int type = get_wcaps_type(get_wcaps(codec, conn[i])); in snd_hda_get_conn_index()
302 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()
487 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in snd_hda_add_pincfg()
1165 type = get_wcaps_type(get_wcaps(codec, nid)); in snd_hda_codec_setup_stream()
1169 get_wcaps_type(get_wcaps(c, p->nid)) == type) in snd_hda_codec_setup_stream()
1273 if (!(get_wcaps(codec, nid) & AC_WCAP_AMP_OVRD)) in query_amp_caps()
1295 if (get_wcaps(codec, nid) & (1 << (dir + 1))) in snd_hda_check_amp_caps()
1321 get_wcaps(codec, nid) | AC_WCAP_AMP_OVRD); in snd_hda_override_amp_caps()
2363 if ((get_wcaps(code in set_spdif_ctls()
[all...]
H A Dpatch_hdmi.c471 if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) in hdmi_init_pin()
757 if (get_wcaps(codec, pin_nid) & AC_WCAP_OUT_AMP) in hdmi_setup_audio_infoframe()
1281 if (get_wcaps(codec, per_cvt->cvt_nid) & AC_WCAP_STRIPE) in hdmi_pcm_open()
1339 if (!(get_wcaps(codec, pin_nid) & AC_WCAP_CONN_LIST)) { in hdmi_read_pin_conn()
1342 pin_nid, get_wcaps(codec, pin_nid)); in hdmi_read_pin_conn()
1962 chans = get_wcaps(codec, cvt_nid); in hdmi_add_cvt()
2033 caps = get_wcaps(codec, nid); in hdmi_parse_codec()
2046 caps = get_wcaps(codec, nid); in hdmi_parse_codec()
2133 if (get_wcaps(codec, cvt_nid) & AC_WCAP_STRIPE) { in generic_hdmi_playback_pcm_prepare()
2690 if (get_wcaps_type(get_wcaps(code in generic_acomp_pin_eld_notify()
[all...]
H A Dpatch_via.c283 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) in auto_parse_beep()
707 get_wcaps(codec, pin) | AC_WCAP_IN_AMP); in override_mic_boost()
826 if (get_wcaps_type(get_wcaps(codec, conn[i])) == AC_WID_AUD_OUT) in add_secret_dac_path()
832 unsigned int caps = get_wcaps(codec, nid); in add_secret_dac_path()
H A Dhda_generic.c404 get_wcaps_type(get_wcaps(codec, conn[i])) != AC_WID_AUD_OUT || in __parse_nid_path()
416 type = get_wcaps_type(get_wcaps(codec, conn[i])); in __parse_nid_path()
429 if (nums > 1 && get_wcaps_type(get_wcaps(codec, to_nid)) != AC_WID_AUD_MIX) in __parse_nid_path()
538 cap_digital = !!(get_wcaps(codec, nid) & AC_WCAP_DIGITAL); in look_for_dac()
558 if (!(get_wcaps(codec, nid1) & (1 << (dir + 1)))) in same_amp_caps()
559 return !(get_wcaps(codec, nid2) & (1 << (dir + 1))); in same_amp_caps()
605 unsigned int caps = get_wcaps(codec, nid); in has_amp_in()
619 unsigned int caps = get_wcaps(codec, nid); in has_amp_out()
634 int type = get_wcaps_type(get_wcaps(codec, nid)); in is_active_nid()
689 unsigned int wcaps = get_wcaps(code in is_stereo_amps()
[all...]
H A Dhda_bind.c260 unsigned int wcaps = get_wcaps(codec, nid); in is_likely_hdmi_codec()
H A Dpatch_cirrus.c788 get_wcaps(codec, 0x18) | AC_WCAP_STEREO); in patch_cs4208()
1055 if (get_wcaps(codec, nid) & AC_WCAP_UNSOL_CAP) { in parse_cs421x_digital()
H A Dpatch_conexant.c87 if (get_wcaps_type(get_wcaps(codec, nid)) == AC_WID_BEEP) in cx_auto_parse_beep()
106 if (get_wcaps_type(get_wcaps(codec, nid)) != AC_WID_PIN) in cx_auto_parse_eapd()
H A Dhda_local.h453 static inline u32 get_wcaps(struct hda_codec *codec, hda_nid_t nid) in get_wcaps() function

Completed in 58 milliseconds

12