Lines Matching refs:wcaps
302 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_get_num_devices() local
305 if (!codec->dp_mst || !(wcaps & AC_WCAP_DIGITAL) || in snd_hda_get_num_devices()
306 get_wcaps_type(wcaps) != AC_WID_PIN) in snd_hda_get_num_devices()
421 codec->wcaps = kmalloc_array(codec->core.num_nodes, 4, GFP_KERNEL); in read_widget_caps()
422 if (!codec->wcaps) in read_widget_caps()
426 codec->wcaps[i] = snd_hdac_read_parm_uncached(&codec->core, in read_widget_caps()
438 unsigned int wcaps = get_wcaps(codec, nid); in read_pin_defaults() local
439 unsigned int wid_type = get_wcaps_type(wcaps); in read_pin_defaults()
885 kfree(codec->wcaps); in snd_hda_codec_dev_release()
1076 kfree(codec->wcaps); in snd_hda_codec_update_widgets()
2739 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_codec_set_power_to_all() local
2741 if (!(wcaps & AC_WCAP_POWER)) in snd_hda_codec_set_power_to_all()
2836 unsigned int wcaps = get_wcaps(codec, nid); in sync_power_up_states() local
2838 if (!(wcaps & AC_WCAP_POWER)) in sync_power_up_states()