Home
last modified time | relevance | path

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

12

/openbmc/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()
/openbmc/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()
/openbmc/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.c474 int bits = snd_pcm_format_physical_width(i); in snd_dmaengine_pcm_refine_runtime_hwparams()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/sound/drivers/pcsp/
H A Dpcsp_lib.c236 snd_pcm_format_physical_width(substream->runtime->format) >> 3; in snd_pcsp_playback_prepare()
/openbmc/linux/sound/soc/intel/avs/
H A Dprobes.c144 bps = snd_pcm_format_physical_width(format); in avs_probe_compr_set_params()
/openbmc/linux/include/sound/
H A Dpcm_params.h362 return snd_pcm_format_physical_width(params_format(p)); in params_physical_width()
/openbmc/linux/sound/soc/intel/skylake/
H A Dskl-pcm.c323 p_params.s_cont = snd_pcm_format_physical_width(params_format(params)); in skl_pcm_hw_params()
412 p_params.s_cont = snd_pcm_format_physical_width(params_format(params)); in skl_be_hw_params()
573 p_params.s_cont = snd_pcm_format_physical_width(params_format(params)); in skl_link_hw_params()
/openbmc/linux/sound/virtio/
H A Dvirtio_pcm.c131 int bytes = snd_pcm_format_physical_width(alsa_fmt) / 8; in virtsnd_pcm_build_hw()
/openbmc/linux/sound/soc/sof/
H A Dcompress.c226 snd_pcm_format_physical_width(SNDRV_PCM_FORMAT_S32) >> 3; in sof_compr_set_params()
H A Dipc3-pcm.c77 ret = snd_pcm_format_physical_width(params_format(params)); in sof_ipc3_pcm_hw_params()
/openbmc/linux/drivers/most/
H A Dmost_snd.c329 int width = snd_pcm_format_physical_width(runtime->format); in pcm_prepare()
/openbmc/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