Searched refs:wcaps (Results 1 - 9 of 9) sorted by relevance
/linux-master/sound/hda/ |
H A D | local.h | 13 static inline int get_wcaps_type(unsigned int wcaps) argument 15 if (!wcaps) 17 return (wcaps & AC_WCAP_TYPE) >> AC_WCAP_TYPE_SHIFT; 20 static inline unsigned int get_wcaps_channels(u32 wcaps) argument 24 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13;
|
H A D | hdac_device.c | 439 unsigned int wcaps = get_wcaps(codec, nid); local 442 if (!(wcaps & AC_WCAP_CONN_LIST) && 443 get_wcaps_type(wcaps) != AC_WID_VOL_KNB) 895 unsigned int i, val, wcaps; local 897 wcaps = get_wcaps(codec, nid); 910 (wcaps & AC_WCAP_FORMAT_OVRD) ? 1 : 0); 946 if (wcaps & AC_WCAP_DIGITAL) { 974 (wcaps & AC_WCAP_FORMAT_OVRD) ? 1 : 0,
|
/linux-master/sound/pci/hda/ |
H A D | hda_bind.c | 254 * event causes i915 enumeration to fail, ->wcaps remains uninitialized. 256 if (!codec->wcaps) 260 unsigned int wcaps = get_wcaps(codec, nid); local 261 switch (get_wcaps_type(wcaps)) { 265 if (!(wcaps & AC_WCAP_DIGITAL))
|
H A D | hda_local.h | 458 return codec->wcaps[nid - codec->core.start_nid]; 462 static inline int get_wcaps_type(unsigned int wcaps) argument 464 if (!wcaps) 466 return (wcaps & AC_WCAP_TYPE) >> AC_WCAP_TYPE_SHIFT; 469 static inline unsigned int get_wcaps_channels(u32 wcaps) argument 473 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13; 484 codec->wcaps[nid - codec->core.start_nid] = val;
|
H A D | hda_hwdep.c | 50 res = codec->wcaps[verb];
|
H A D | hda_proc.c | 113 int dir, unsigned int wcaps, int indices) 117 if (wcaps & AC_WCAP_STEREO) 123 get_wcaps_type(wcaps) != AC_WID_AUD_MIX) 129 wcaps = snd_hda_param_read(codec, conn, AC_PAR_AUDIO_WIDGET_CAP); 130 return !!(wcaps & AC_WCAP_STEREO); 135 int dir, unsigned int wcaps, int indices) 141 stereo = is_stereo_amps(codec, nid, dir, wcaps, indices); 813 snd_iprintf(buffer, "Node 0x%02x [%s] wcaps 0x%x:", nid, 112 is_stereo_amps(struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int wcaps, int indices) argument 133 print_amp_vals(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid, int dir, unsigned int wcaps, int indices) argument
|
H A D | hda_codec.c | 302 unsigned int wcaps = get_wcaps(codec, nid); local 305 if (!codec->dp_mst || !(wcaps & AC_WCAP_DIGITAL) || 306 get_wcaps_type(wcaps) != AC_WID_PIN) 421 codec->wcaps = kmalloc_array(codec->core.num_nodes, 4, GFP_KERNEL); 422 if (!codec->wcaps) 426 codec->wcaps[i] = snd_hdac_read_parm_uncached(&codec->core, 438 unsigned int wcaps = get_wcaps(codec, nid); local 439 unsigned int wid_type = get_wcaps_type(wcaps); 884 kfree(codec->wcaps); 1075 kfree(codec->wcaps); 2740 unsigned int wcaps = get_wcaps(codec, nid); local 2837 unsigned int wcaps = get_wcaps(codec, nid); local [all...] |
H A D | hda_generic.c | 689 unsigned int wcaps = get_wcaps(codec, nid); local 692 if (wcaps & AC_WCAP_STEREO) 694 if (dir != HDA_INPUT || get_wcaps_type(wcaps) != AC_WID_AUD_MIX) 4061 unsigned int wcaps = get_wcaps(codec, dig_nid); local 4062 if (get_wcaps_type(wcaps) != AC_WID_AUD_IN) 4064 if (!(wcaps & AC_WCAP_DIGITAL))
|
/linux-master/include/sound/ |
H A D | hda_codec.h | 202 u32 *wcaps; member in struct:hda_codec
|
Completed in 198 milliseconds