Home
last modified time | relevance | path

Searched refs:chans (Results 1 – 6 of 6) sorted by relevance

/sound/hda/
Dlocal.h21 unsigned int chans; in get_wcaps_channels() local
23 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13; in get_wcaps_channels()
24 chans = (chans + 1) * 2; in get_wcaps_channels()
26 return chans; in get_wcaps_channels()
/sound/pci/hda/
Dhda_local.h541 unsigned int chans; in get_wcaps_channels() local
543 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13; in get_wcaps_channels()
544 chans = ((chans << 1) | 1) + 1; in get_wcaps_channels()
546 return chans; in get_wcaps_channels()
Dpatch_hdmi.c1608 unsigned int chans; in hdmi_add_cvt() local
1611 chans = get_wcaps(codec, cvt_nid); in hdmi_add_cvt()
1612 chans = get_wcaps_channels(chans); in hdmi_add_cvt()
1620 if (chans <= 16) { in hdmi_add_cvt()
1621 per_cvt->channels_max = chans; in hdmi_add_cvt()
1622 if (chans > spec->chmap.channels_max) in hdmi_add_cvt()
1623 spec->chmap.channels_max = chans; in hdmi_add_cvt()
2489 unsigned int chans; in simple_playback_build_pcms() local
2494 chans = get_wcaps(codec, per_cvt->cvt_nid); in simple_playback_build_pcms()
2495 chans = get_wcaps_channels(chans); in simple_playback_build_pcms()
[all …]
Dhda_proc.c794 unsigned int chans = get_wcaps_channels(wid_caps); in print_codec_info() local
795 if (chans == 2) in print_codec_info()
798 snd_iprintf(buffer, " %d-Channels", chans); in print_codec_info()
/sound/soc/au1x/
Dpsc-ac97.c217 int chans, t, stype = substream->stream; in au1xpsc_ac97_hw_params() local
219 chans = params_channels(params); in au1xpsc_ac97_hw_params()
/sound/soc/codecs/
Dhdac_hdmi.c692 unsigned int chans; in hdac_hdmi_query_cvt_params() local
697 chans = get_wcaps(hdac, cvt->nid); in hdac_hdmi_query_cvt_params()
698 chans = get_wcaps_channels(chans); in hdac_hdmi_query_cvt_params()
702 cvt->params.channels_max = chans; in hdac_hdmi_query_cvt_params()
703 if (chans > hdmi->chmap.channels_max) in hdac_hdmi_query_cvt_params()
704 hdmi->chmap.channels_max = chans; in hdac_hdmi_query_cvt_params()