Lines Matching refs:wcaps
432 unsigned int wcaps = get_wcaps(codec, nid); in get_num_devices() local
435 if (!codec->dp_mst || !(wcaps & AC_WCAP_DIGITAL) || in get_num_devices()
436 get_wcaps_type(wcaps) != AC_WID_PIN) in get_num_devices()
584 codec->wcaps = kmalloc(codec->core.num_nodes * 4, GFP_KERNEL); in read_widget_caps()
585 if (!codec->wcaps) in read_widget_caps()
589 codec->wcaps[i] = snd_hdac_read_parm_uncached(&codec->core, in read_widget_caps()
601 unsigned int wcaps = get_wcaps(codec, nid); in read_pin_defaults() local
602 unsigned int wid_type = get_wcaps_type(wcaps); in read_pin_defaults()
992 kfree(codec->wcaps); in snd_hda_codec_dev_release()
1124 kfree(codec->wcaps); in snd_hda_codec_update_widgets()
2997 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_codec_set_power_to_all() local
2999 if (!(wcaps & AC_WCAP_POWER)) in snd_hda_codec_set_power_to_all()
3120 unsigned int wcaps = get_wcaps(codec, nid); in sync_power_up_states() local
3122 if (!(wcaps & AC_WCAP_POWER)) in sync_power_up_states()
3461 unsigned int i, val, wcaps; in snd_hda_query_supported_pcm() local
3463 wcaps = get_wcaps(codec, nid); in snd_hda_query_supported_pcm()
3476 (wcaps & AC_WCAP_FORMAT_OVRD) ? 1 : 0); in snd_hda_query_supported_pcm()
3500 if (wcaps & AC_WCAP_DIGITAL) { in snd_hda_query_supported_pcm()
3539 (wcaps & AC_WCAP_FORMAT_OVRD) ? 1 : 0, in snd_hda_query_supported_pcm()