Searched refs:wcaps (Results 1 – 7 of 7) sorted by relevance
/linux-2.6.39/sound/pci/hda/ |
D | hda_local.h | 473 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()
|
D | hda_codec.c | 328 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 …]
|
D | patch_sigmatel.c | 1096 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 …]
|
D | patch_ca0110.c | 461 unsigned int wcaps = get_wcaps(codec, nid); in parse_input() local 462 unsigned int type = get_wcaps_type(wcaps); in parse_input()
|
D | patch_conexant.c | 3248 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()
|
D | hda_codec.h | 820 u32 *wcaps; member
|
D | patch_realtek.c | 1821 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()
|