Home
last modified time | relevance | path

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

12

/linux/sound/soc/mediatek/mt8183/
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/
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()
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()
A Dcopy.c81 width = snd_pcm_format_physical_width(src_format->format); in snd_pcm_plugin_build_copy()
A Dmulaw.c288 data->native_bytes = snd_pcm_format_physical_width(format) / 8; in init_data()
/linux/sound/core/
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()
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()
A Dpcm_dmaengine.c470 int bits = snd_pcm_format_physical_width(i); in snd_dmaengine_pcm_refine_runtime_hwparams()
/linux/sound/soc/codecs/
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/
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/
A Dfsl_qmc_audio.c422 switch (snd_pcm_format_physical_width(format)) { in qmc_dai_hw_rule_channels_by_format()
437 snd_pcm_format_physical_width(format)); in qmc_dai_hw_rule_channels_by_format()
483 if (snd_pcm_format_physical_width(format) <= slot_width) in qmc_dai_hw_rule_format_by_channels()
764 format_width = snd_pcm_format_physical_width(format); in qmc_audio_formats()
A Dfsl_asrc_dma.c258 width = snd_pcm_format_physical_width(asrc->asrc_format); in fsl_asrc_dma_hw_params()
A Dfsl_dma.c518 snd_pcm_format_physical_width(params_format(hw_params)); in fsl_dma_hw_params()
/linux/tools/testing/selftests/alsa/
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()
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/
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/
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()
A Dmt8186-dai-pcm.c231 snd_pcm_format_physical_width(format); in mtk_dai_pcm_hw_params()
/linux/sound/drivers/pcsp/
A Dpcsp_lib.c237 snd_pcm_format_physical_width(substream->runtime->format) >> 3; in snd_pcsp_playback_prepare()
/linux/sound/soc/intel/avs/
A Dprobes.c144 bps = snd_pcm_format_physical_width(format); in avs_probe_compr_set_params()
/linux/include/sound/
A Dpcm_params.h362 return snd_pcm_format_physical_width(params_format(p)); in params_physical_width()
/linux/sound/soc/sof/
A Dcompress.c226 snd_pcm_format_physical_width(SNDRV_PCM_FORMAT_S32) >> 3; in sof_compr_set_params()
A Dipc3-pcm.c77 ret = snd_pcm_format_physical_width(params_format(params)); in sof_ipc3_pcm_hw_params()
/linux/sound/virtio/
A Dvirtio_pcm.c133 int bytes = snd_pcm_format_physical_width(alsa_fmt) / 8; in virtsnd_pcm_build_hw()
/linux/drivers/most/
A Dmost_snd.c329 int width = snd_pcm_format_physical_width(runtime->format); in pcm_prepare()

Completed in 58 milliseconds

12