Home
last modified time | relevance | path

Searched refs:snd_pcm_format_physical_width (Results 1 – 25 of 43) 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/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 Dsound_kunit.c104 KUNIT_EXPECT_EQ(test, snd_pcm_format_physical_width(valid_fmt[i].format), in test_phys_format_size()
108 KUNIT_EXPECT_EQ(test, snd_pcm_format_physical_width(WRONG_FORMAT_1), -EINVAL); in test_phys_format_size()
109 KUNIT_EXPECT_EQ(test, snd_pcm_format_physical_width(WRONG_FORMAT_2), -EINVAL); in test_phys_format_size()
H A Dpcm_dmaengine.c448 int bits = snd_pcm_format_physical_width(i); in snd_dmaengine_pcm_refine_runtime_hwparams()
/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/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.c327 switch (snd_pcm_format_physical_width(format)) { in qmc_dai_hw_rule_channels_by_format()
342 snd_pcm_format_physical_width(format)); in qmc_dai_hw_rule_channels_by_format()
389 if (snd_pcm_format_physical_width(format) <= slot_width) in qmc_dai_hw_rule_format_by_channels()
573 format_width = snd_pcm_format_physical_width(format); in qmc_audio_formats()
H A Dfsl_asrc_dma.c258 width = snd_pcm_format_physical_width(asrc->asrc_format); in fsl_asrc_dma_hw_params()
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.c318 samples = malloc((rate * channels * snd_pcm_format_physical_width(format)) / 8); in test_pcm_time()
363 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/drivers/pcsp/
H A Dpcsp_lib.c236 snd_pcm_format_physical_width(substream->runtime->format) >> 3; in snd_pcsp_playback_prepare()
/linux/sound/soc/intel/avs/
H A Dprobes.c144 bps = snd_pcm_format_physical_width(format); in avs_probe_compr_set_params()
/linux/include/sound/
H A Dpcm_params.h362 return snd_pcm_format_physical_width(params_format(p)); in params_physical_width()
/linux/sound/soc/intel/skylake/
H A Dskl-pcm.c316 p_params.s_cont = snd_pcm_format_physical_width(params_format(params)); in skl_pcm_hw_params()
405 p_params.s_cont = snd_pcm_format_physical_width(params_format(params)); in skl_be_hw_params()
569 p_params.s_cont = snd_pcm_format_physical_width(params_format(params)); in skl_link_hw_params()
/linux/sound/soc/sof/
H A Dcompress.c226 snd_pcm_format_physical_width(SNDRV_PCM_FORMAT_S32) >> 3; in sof_compr_set_params()
/linux/sound/virtio/
H A Dvirtio_pcm.c133 int bytes = snd_pcm_format_physical_width(alsa_fmt) / 8; in virtsnd_pcm_build_hw()
/linux/drivers/most/
H A Dmost_snd.c329 int width = snd_pcm_format_physical_width(runtime->format); in pcm_prepare()

12