Home
last modified time | relevance | path

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

/linux-2.6.39/sound/pci/hda/
Dhda_local.h473 return codec->wcaps[nid - codec->start_nid]; in get_wcaps()
477 #define get_wcaps_type(wcaps) (((wcaps) & AC_WCAP_TYPE) >> AC_WCAP_TYPE_SHIFT) argument
479 static inline unsigned int get_wcaps_channels(u32 wcaps) in get_wcaps_channels() argument
483 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13; in get_wcaps_channels()
Dhda_codec.c328 unsigned int wcaps; in snd_hda_get_connections() local
334 wcaps = get_wcaps(codec, nid); in snd_hda_get_connections()
335 if (!(wcaps & AC_WCAP_CONN_LIST) && in snd_hda_get_connections()
336 get_wcaps_type(wcaps) != AC_WID_VOL_KNB) { in snd_hda_get_connections()
766 codec->wcaps = kmalloc(codec->num_nodes * 4, GFP_KERNEL); in read_widget_caps()
767 if (!codec->wcaps) in read_widget_caps()
771 codec->wcaps[i] = snd_hda_param_read(codec, nid, in read_widget_caps()
784 unsigned int wcaps = get_wcaps(codec, nid); in read_pin_defaults() local
785 unsigned int wid_type = get_wcaps_type(wcaps); in read_pin_defaults()
1031 kfree(codec->wcaps); in snd_hda_codec_free()
[all …]
Dpatch_sigmatel.c1096 int wcaps = get_wcaps(codec, spec->multiout.dig_out_nid); in stac92xx_build_controls() local
1099 if (wcaps & AC_WCAP_OUT_AMP) { in stac92xx_build_controls()
2895 unsigned int wcaps, wtype; in get_unassigned_dac() local
2907 wcaps = get_wcaps(codec, conn[j]); in get_unassigned_dac()
2908 wtype = get_wcaps_type(wcaps); in get_unassigned_dac()
2910 if (wtype != AC_WID_AUD_OUT || (wcaps & AC_WCAP_DIGITAL)) in get_unassigned_dac()
3333 unsigned int wcaps; in stac92xx_auto_create_mux_input_ctls() local
3337 wcaps = get_wcaps(codec, nid); in stac92xx_auto_create_mux_input_ctls()
3338 if (!(wcaps & AC_WCAP_OUT_AMP)) in stac92xx_auto_create_mux_input_ctls()
3762 int wcaps = get_wcaps(codec, conn_list[0]); in stac92xx_parse_auto_config() local
[all …]
Dpatch_ca0110.c461 unsigned int wcaps = get_wcaps(codec, nid); in parse_input() local
462 unsigned int type = get_wcaps_type(wcaps); in parse_input()
Dpatch_conexant.c3248 unsigned int wcaps = get_wcaps(codec, nid); in fill_cx_auto_dacs() local
3249 unsigned int type = get_wcaps_type(wcaps); in fill_cx_auto_dacs()
3250 if (type == AC_WID_AUD_OUT && !(wcaps & AC_WCAP_DIGITAL)) { in fill_cx_auto_dacs()
3464 unsigned int wcaps = get_wcaps(codec, nid); in cx_auto_get_dig_in() local
3465 unsigned int type = get_wcaps_type(wcaps); in cx_auto_get_dig_in()
3466 if (type == AC_WID_AUD_IN && (wcaps & AC_WCAP_DIGITAL)) { in cx_auto_get_dig_in()
Dhda_codec.h820 u32 *wcaps; member
Dpatch_realtek.c1821 unsigned int wcaps = get_wcaps(codec, dig_nid); in alc_auto_parse_digital() local
1822 if (get_wcaps_type(wcaps) != AC_WID_AUD_IN) in alc_auto_parse_digital()
1824 if (!(wcaps & AC_WCAP_DIGITAL)) in alc_auto_parse_digital()
1826 if (!(wcaps & AC_WCAP_CONN_LIST)) in alc_auto_parse_digital()