Home
last modified time | relevance | path

Searched refs:snd_pcm_format_physical_width (Results 1 – 25 of 39) sorted by relevance

12

/linux/sound/soc/mediatek/mt8183/
H A Dmt8183-dai-tdm.c74 return snd_pcm_format_physical_width(format) <= 16 ? in get_hdmi_wlen()
80 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_wlen()
86 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_channel_bck()
92 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
491 snd_pcm_format_physical_width(format); in mtk_dai_tdm_hw_params()
/linux/sound/core/oss/
H A Dpcm_plugin.c62 width = snd_pcm_format_physical_width(format->format); in snd_pcm_plugin_alloc()
172 plugin->src_width = snd_pcm_format_physical_width(src_format->format); in snd_pcm_plugin_build()
175 plugin->dst_width = snd_pcm_format_physical_width(dst_format->format); in snd_pcm_plugin_build()
579 width = snd_pcm_format_physical_width(format->format); in snd_pcm_plug_client_channels_buf()
683 width = snd_pcm_format_physical_width(format); in snd_pcm_area_silence()
732 width = snd_pcm_format_physical_width(format); in snd_pcm_area_copy()
H A Dlinear.c133 data->src_ofs = snd_pcm_format_physical_width(src_format) / 8 - in init_data()
138 data->dst_ofs = snd_pcm_format_physical_width(dst_format) / 8 - in init_data()
H A Dcopy.c81 width = snd_pcm_format_physical_width(src_format->format); in snd_pcm_plugin_build_copy()
H A Dmulaw.c288 data->native_bytes = snd_pcm_format_physical_width(format) / 8; in init_data()
/linux/sound/soc/codecs/
H A Dframer-codec.c78 width = snd_pcm_format_physical_width(format); in framer_dai_hw_rule_channels_by_format()
129 if (snd_pcm_format_physical_width(format) <= slot_width) in framer_dai_hw_rule_format_by_channels()
169 format_width = snd_pcm_format_physical_width(format); in framer_formats()
/linux/sound/core/
H A Dpcm_misc.c369 int snd_pcm_format_physical_width(snd_pcm_format_t format) in snd_pcm_format_physical_width() function
379 EXPORT_SYMBOL(snd_pcm_format_physical_width);
391 int phys_width = snd_pcm_format_physical_width(format); in snd_pcm_format_size()
H A Dpcm_dmaengine.c449 int bits = snd_pcm_format_physical_width(i); in snd_dmaengine_pcm_refine_runtime_hwparams()
/linux/sound/soc/mediatek/mt8192/
H A Dmt8192-dai-tdm.c72 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_wlen()
78 return snd_pcm_format_physical_width(format) <= 16 ? in get_tdm_channel_bck()
84 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
540 snd_pcm_format_physical_width(format); in mtk_dai_tdm_hw_params()
/linux/sound/soc/fsl/
H A Dfsl_qmc_audio.c425 switch (snd_pcm_format_physical_width(format)) { in qmc_dai_hw_rule_channels_by_format()
440 snd_pcm_format_physical_width(format)); in qmc_dai_hw_rule_channels_by_format()
486 if (snd_pcm_format_physical_width(format) <= slot_width) in qmc_dai_hw_rule_format_by_channels()
767 format_width = snd_pcm_format_physical_width(format); in qmc_audio_formats()
H A Dfsl_asrc_m2m.c61 width = snd_pcm_format_physical_width(pair->sample_format[OUT]); in asrc_read_last_fifo()
209 width = snd_pcm_format_physical_width(pair->sample_format[IN]); in asrc_m2m_device_run()
233 width = snd_pcm_format_physical_width(pair->sample_format[OUT]); in asrc_m2m_device_run()
H A Dfsl_asrc_dma.c271 width = snd_pcm_format_physical_width(asrc->asrc_format); in fsl_asrc_dma_hw_params()
H A Dfsl_asrc.c1151 in_width = snd_pcm_format_physical_width(pair->sample_format[IN]) / 8; in fsl_asrc_m2m_calc_out_len()
1152 out_width = snd_pcm_format_physical_width(pair->sample_format[OUT]) / 8; in fsl_asrc_m2m_calc_out_len()
H A Dfsl_dma.c518 snd_pcm_format_physical_width(params_format(hw_params)); in fsl_dma_hw_params()
/linux/tools/testing/selftests/alsa/
H A Dtest-pcmtest-driver.c80 return rate * channels * snd_pcm_format_physical_width(format) / 8; in get_sec_buf_len()
145 self->params.sample_size = snd_pcm_format_physical_width(self->params.format) / 8; in FIXTURE_SETUP()
H A Dpcm-test.c345 samples = malloc((rate * channels * snd_pcm_format_physical_width(format)) / 8); in test_pcm_time()
390 snd_pcm_format_physical_width(format)) / 8); in test_pcm_time()
/linux/sound/soc/sof/intel/
H A Dhda-probes.c83 bps = snd_pcm_format_physical_width(SNDRV_PCM_FORMAT_S32_LE); in hda_probes_compr_set_params()
/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-dai-tdm.c65 return snd_pcm_format_physical_width(format) - 1; in get_tdm_lrck_width()
377 snd_pcm_format_physical_width(format); in mtk_dai_tdm_hw_params()
H A Dmt8186-dai-pcm.c231 snd_pcm_format_physical_width(format); in mtk_dai_pcm_hw_params()
/linux/sound/soc/intel/avs/
H A Dprobes.c144 bps = snd_pcm_format_physical_width(format); in avs_probe_compr_set_params()
/linux/sound/drivers/pcsp/
H A Dpcsp_lib.c237 snd_pcm_format_physical_width(substream->runtime->format) >> 3; in snd_pcsp_playback_prepare()
/linux/include/sound/
H A Dpcm_params.h362 return snd_pcm_format_physical_width(params_format(p)); in params_physical_width()
/linux/sound/soc/sof/
H A Dcompress.c226 snd_pcm_format_physical_width(SNDRV_PCM_FORMAT_S32) >> 3; in sof_compr_set_params()
/linux/drivers/most/
H A Dmost_snd.c329 int width = snd_pcm_format_physical_width(runtime->format); in pcm_prepare()
/linux/sound/soc/pxa/
H A Dpxa-ssp.c539 int width = snd_pcm_format_physical_width(params_format(params)); in pxa_ssp_hw_params()

12