Home
last modified time | relevance | path

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

/sound/hda/
Dlocal.h22 unsigned int chans; in get_wcaps_channels() local
24 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13; in get_wcaps_channels()
25 chans = (chans + 1) * 2; in get_wcaps_channels()
27 return chans; in get_wcaps_channels()
/sound/pci/hda/
Dhda_local.h480 unsigned int chans; in get_wcaps_channels() local
482 chans = (wcaps & AC_WCAP_CHAN_CNT_EXT) >> 13; in get_wcaps_channels()
483 chans = ((chans << 1) | 1) + 1; in get_wcaps_channels()
485 return chans; in get_wcaps_channels()
Dpatch_hdmi.c1774 unsigned int chans; in hdmi_add_cvt() local
1777 chans = get_wcaps(codec, cvt_nid); in hdmi_add_cvt()
1778 chans = get_wcaps_channels(chans); in hdmi_add_cvt()
1786 if (chans <= 16) { in hdmi_add_cvt()
1787 per_cvt->channels_max = chans; in hdmi_add_cvt()
1788 if (chans > spec->chmap.channels_max) in hdmi_add_cvt()
1789 spec->chmap.channels_max = chans; in hdmi_add_cvt()
2679 unsigned int chans; in simple_playback_build_pcms() local
2684 chans = get_wcaps(codec, per_cvt->cvt_nid); in simple_playback_build_pcms()
2685 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.c635 unsigned int chans; in hdac_hdmi_query_cvt_params() local
640 chans = get_wcaps(hdac, cvt->nid); in hdac_hdmi_query_cvt_params()
641 chans = get_wcaps_channels(chans); in hdac_hdmi_query_cvt_params()
645 cvt->params.channels_max = chans; in hdac_hdmi_query_cvt_params()
646 if (chans > hdmi->chmap.channels_max) in hdac_hdmi_query_cvt_params()
647 hdmi->chmap.channels_max = chans; in hdac_hdmi_query_cvt_params()