Home
last modified time | relevance | path

Searched refs:params_channels (Results 1 – 25 of 175) sorted by relevance

1234567

/kernel/linux/linux-5.10/sound/soc/meson/
Dmeson-codec-glue.c78 data->params.channels_min = params_channels(params); in meson_codec_glue_input_hw_params()
79 data->params.channels_max = params_channels(params); in meson_codec_glue_input_hw_params()
Daiu-encoder-i2s.c61 switch (params_channels(params)) { in aiu_encoder_i2s_setup_desc()
122 if (params_width(params) == 16 && params_channels(params) == 8) { in aiu_encoder_i2s_set_more_div()
Daxg-spdifout.c129 switch (params_channels(params)) { in axg_spdifout_sample_fmt()
138 params_channels(params)); in axg_spdifout_sample_fmt()
Daxg-tdm-interface.c179 unsigned int channels = params_channels(params); in axg_tdm_iface_set_stream()
199 ts->channels = params_channels(params); in axg_tdm_iface_set_stream()
/kernel/linux/linux-5.10/sound/soc/fsl/
Dmpc5200_psc_ac97.c150 params_channels(params), params_rate(params), in psc_ac97_hw_analog_params()
154 s->ac97_slot_bits = (params_channels(params) == 1) ? 0x100 : 0x300; in psc_ac97_hw_analog_params()
168 if (params_channels(params) == 1) in psc_ac97_hw_digital_params()
/kernel/linux/linux-5.10/sound/soc/ux500/
Dmop500_ab8500.c242 mop500_ab8500_channels != params_channels(params)) { in mop500_ab8500_hw_params()
248 mop500_ab8500_channels = params_channels(params); in mop500_ab8500_hw_params()
253 channels = params_channels(params); in mop500_ab8500_hw_params()
/kernel/linux/linux-5.10/sound/soc/ti/
Domap-hdmi.c203 cea->db1_ct_cc = (params_channels(params) - 1) in hdmi_dai_hw_params()
212 if (params_channels(params) == 2) in hdmi_dai_hw_params()
214 else if (params_channels(params) == 6) in hdmi_dai_hw_params()
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt715.c600 stream_config.ch_count = params_channels(params); in rt715_pcm_hw_params()
604 num_channels = params_channels(params); in rt715_pcm_hw_params()
630 if (params_channels(params) <= 16) { in rt715_pcm_hw_params()
632 val |= (params_channels(params) - 1); in rt715_pcm_hw_params()
635 params_channels(params)); in rt715_pcm_hw_params()
Dmax9860.c266 params_channels(params)); in max9860_hw_params()
268 if (params_channels(params) == 2) in max9860_hw_params()
284 if (params_width(params) * params_channels(params) > 48) in max9860_hw_params()
Drt700.c935 stream_config.ch_count = params_channels(params); in rt700_pcm_hw_params()
939 num_channels = params_channels(params); in rt700_pcm_hw_params()
950 if (params_channels(params) <= 16) { in rt700_pcm_hw_params()
952 val |= (params_channels(params) - 1); in rt700_pcm_hw_params()
955 params_channels(params)); in rt700_pcm_hw_params()
Drt711.c1018 stream_config.ch_count = params_channels(params); in rt711_pcm_hw_params()
1022 num_channels = params_channels(params); in rt711_pcm_hw_params()
1033 if (params_channels(params) <= 16) { in rt711_pcm_hw_params()
1035 val |= (params_channels(params) - 1); in rt711_pcm_hw_params()
1038 params_channels(params)); in rt711_pcm_hw_params()
Dmax98373-sdw.c556 stream_config.ch_count = params_channels(params); in max98373_sdw_dai_hw_params()
568 if (params_channels(params) > 16) { in max98373_sdw_dai_hw_params()
570 params_channels(params)); in max98373_sdw_dai_hw_params()
Dwl1273.c343 if (params_channels(params) != 1) { in wl1273_hw_params()
373 wl1273->channels = params_channels(params); in wl1273_hw_params()
Drt274.c651 if (params_channels(params) <= 16) { in rt274_hw_params()
653 val |= (params_channels(params) - 1); in rt274_hw_params()
656 params_channels(params)); in rt274_hw_params()
/kernel/linux/linux-5.10/sound/core/oss/
Dpcm_plugin.c381 int slave_interleaved = (params_channels(slave_params) == 1 || in snd_pcm_plug_format_plugins()
388 dstformat.channels = params_channels(slave_params); in snd_pcm_plug_format_plugins()
391 srcformat.channels = params_channels(params); in snd_pcm_plug_format_plugins()
399 dstformat.channels = params_channels(params); in snd_pcm_plug_format_plugins()
402 srcformat.channels = params_channels(slave_params); in snd_pcm_plug_format_plugins()
Dio.c123 format.channels = params_channels(params); in snd_pcm_plugin_build_io()
/kernel/linux/linux-5.10/sound/soc/rockchip/
Drockchip_pdm.c229 switch (params_channels(params)) { in rockchip_pdm_hw_params()
244 params_channels(params)); in rockchip_pdm_hw_params()
253 PDM_DMA_RDL(8 * params_channels(params))); in rockchip_pdm_hw_params()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-utils.c31 return snd_soc_calc_frame_size(sample_size, params_channels(params), in snd_soc_params_to_frame_size()
/kernel/linux/linux-5.10/sound/pci/oxygen/
Dxonar_hdmi.c98 hdmi->params[2] = params_channels(params) / 2 - 1; in xonar_set_hdmi_params()
/kernel/linux/linux-5.10/sound/soc/xilinx/
Dxlnx_i2s.c45 chan_id = params_channels(params) / 2; in xlnx_i2s_hw_params()
/kernel/linux/linux-5.10/sound/soc/atmel/
Dmchp-spdiftx.c364 params_width(params), params_channels(params)); in mchp_spdiftx_hw_params()
381 switch (params_channels(params)) { in mchp_spdiftx_hw_params()
392 params_channels(params)); in mchp_spdiftx_hw_params()
/kernel/linux/linux-5.10/sound/firewire/oxfw/
Doxfw-pcm.c244 unsigned int channels = params_channels(hw_params); in pcm_capture_hw_params()
267 unsigned int channels = params_channels(hw_params); in pcm_playback_hw_params()
/kernel/linux/linux-5.10/sound/soc/pxa/
Dmmp-sspa.c242 if (dev->of_node || params_channels(params) == 2) in mmp_sspa_hw_params()
262 params_channels(params) * bits); in mmp_sspa_hw_params()
/kernel/linux/linux-5.10/sound/soc/tegra/
Dtegra30_i2s.c133 if (params_channels(params) != 2) in tegra30_i2s_hw_params()
151 i2sclock = srate * params_channels(params) * sample_size * 2; in tegra30_i2s_hw_params()
/kernel/linux/linux-5.10/sound/soc/sof/intel/
Dhda-pcm.c105 hstream->format_val = rate | bits | (params_channels(params) - 1); in hda_dsp_pcm_hw_params()

1234567