Home
last modified time | relevance | path

Searched refs:wcaps (Results 1 – 10 of 10) sorted by relevance

/linux-6.3-rc2/sound/hda/
A Dlocal.h13 static inline int get_wcaps_type(unsigned int wcaps) in get_wcaps_type() argument
15 if (!wcaps) in get_wcaps_type()
17 return (wcaps & AC_WCAP_TYPE) >> AC_WCAP_TYPE_SHIFT; in get_wcaps_type()
20 static inline unsigned int get_wcaps_channels(u32 wcaps) in get_wcaps_channels() argument
24 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13; in get_wcaps_channels()
A Dhdac_device.c438 unsigned int wcaps = get_wcaps(codec, nid); in get_num_conns() local
441 if (!(wcaps & AC_WCAP_CONN_LIST) && in get_num_conns()
442 get_wcaps_type(wcaps) != AC_WID_VOL_KNB) in get_num_conns()
829 unsigned int i, val, wcaps; in snd_hdac_query_supported_pcm() local
831 wcaps = get_wcaps(codec, nid); in snd_hdac_query_supported_pcm()
844 (wcaps & AC_WCAP_FORMAT_OVRD) ? 1 : 0); in snd_hdac_query_supported_pcm()
868 if (wcaps & AC_WCAP_DIGITAL) { in snd_hdac_query_supported_pcm()
907 (wcaps & AC_WCAP_FORMAT_OVRD) ? 1 : 0, in snd_hdac_query_supported_pcm()
/linux-6.3-rc2/sound/pci/hda/
A Dhda_bind.c257 if (!codec->wcaps) in is_likely_hdmi_codec()
261 unsigned int wcaps = get_wcaps(codec, nid); in is_likely_hdmi_codec() local
262 switch (get_wcaps_type(wcaps)) { in is_likely_hdmi_codec()
266 if (!(wcaps & AC_WCAP_DIGITAL)) in is_likely_hdmi_codec()
A Dhda_local.h458 return codec->wcaps[nid - codec->core.start_nid]; in get_wcaps()
462 static inline int get_wcaps_type(unsigned int wcaps) in get_wcaps_type() argument
464 if (!wcaps) in get_wcaps_type()
466 return (wcaps & AC_WCAP_TYPE) >> AC_WCAP_TYPE_SHIFT; in get_wcaps_type()
469 static inline unsigned int get_wcaps_channels(u32 wcaps) in get_wcaps_channels() argument
473 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13; in get_wcaps_channels()
484 codec->wcaps[nid - codec->core.start_nid] = val; in snd_hda_override_wcaps()
A Dhda_proc.c113 int dir, unsigned int wcaps, int indices) in is_stereo_amps() argument
117 if (wcaps & AC_WCAP_STEREO) in is_stereo_amps()
123 get_wcaps_type(wcaps) != AC_WID_AUD_MIX) in is_stereo_amps()
129 wcaps = snd_hda_param_read(codec, conn, AC_PAR_AUDIO_WIDGET_CAP); in is_stereo_amps()
130 return !!(wcaps & AC_WCAP_STEREO); in is_stereo_amps()
135 int dir, unsigned int wcaps, int indices) in print_amp_vals() argument
141 stereo = is_stereo_amps(codec, nid, dir, wcaps, indices); in print_amp_vals()
A Dhda_hwdep.c50 res = codec->wcaps[verb]; in get_wcap_ioctl()
A Dhda_codec.c302 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_get_num_devices() local
306 get_wcaps_type(wcaps) != AC_WID_PIN) in snd_hda_get_num_devices()
422 if (!codec->wcaps) 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()
884 kfree(codec->wcaps); in snd_hda_codec_dev_release()
1075 kfree(codec->wcaps); in snd_hda_codec_update_widgets()
2738 unsigned int wcaps = get_wcaps(codec, nid); in snd_hda_codec_set_power_to_all() local
2740 if (!(wcaps & AC_WCAP_POWER)) in snd_hda_codec_set_power_to_all()
2835 unsigned int wcaps = get_wcaps(codec, nid); in sync_power_up_states() local
[all …]
A Dhda_generic.c689 unsigned int wcaps = get_wcaps(codec, nid); in is_stereo_amps() local
692 if (wcaps & AC_WCAP_STEREO) in is_stereo_amps()
694 if (dir != HDA_INPUT || get_wcaps_type(wcaps) != AC_WID_AUD_MIX) in is_stereo_amps()
4057 unsigned int wcaps = get_wcaps(codec, dig_nid); in parse_digital() local
4058 if (get_wcaps_type(wcaps) != AC_WID_AUD_IN) in parse_digital()
4060 if (!(wcaps & AC_WCAP_DIGITAL)) in parse_digital()
/linux-6.3-rc2/include/sound/
A Dhda_codec.h204 u32 *wcaps; member
/linux-6.3-rc2/Documentation/sound/hd-audio/
A Dmodels.rst95 alc283-dac-wcaps

Completed in 41 milliseconds