Lines Matching refs:wcaps
318 unsigned int wcaps = get_wcaps(codec, nid); in get_num_devices() local
321 if (!codec->dp_mst || !(wcaps & AC_WCAP_DIGITAL) || in get_num_devices()
322 get_wcaps_type(wcaps) != AC_WID_PIN) in get_num_devices()
379 codec->wcaps = kmalloc(codec->core.num_nodes * 4, GFP_KERNEL); in read_widget_caps()
380 if (!codec->wcaps) in read_widget_caps()
384 codec->wcaps[i] = snd_hdac_read_parm_uncached(&codec->core, in read_widget_caps()
396 unsigned int wcaps = get_wcaps(codec, nid); in read_pin_defaults() local
397 unsigned int wid_type = get_wcaps_type(wcaps); in read_pin_defaults()
789 kfree(codec->wcaps); in snd_hda_codec_dev_release()
921 kfree(codec->wcaps); in snd_hda_codec_update_widgets()
2794 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_codec_set_power_to_all() local
2796 if (!(wcaps & AC_WCAP_POWER)) in snd_hda_codec_set_power_to_all()
2917 unsigned int wcaps = get_wcaps(codec, nid); in sync_power_up_states() local
2919 if (!(wcaps & AC_WCAP_POWER)) in sync_power_up_states()