Lines Matching +full:tdm +full:- +full:slots
1 // SPDX-License-Identifier: GPL-2.0+
3 // soc-util.c -- ALSA SoC Audio Layer utility functions
57 * snd_soc_tdm_params_to_bclk - calculate bclk from params and tdm slot info.
59 * Calculate the bclk from the params sample rate, the tdm slot count and the
60 * tdm slot width. Optionally round-up the slot count to a given multiple.
68 * I2S mode, which has a left and right phase so the number of slots is always
75 * @tdm_width: Width in bits of the tdm slots. Must be >= 0.
76 * @tdm_slots: Number of tdm slots per frame. Must be >= 0.
126 if (component->driver == &dummy_platform) in dummy_dma_open()
131 if (!rtd->dai_link->no_pcm) in dummy_dma_open()
195 .name = "snd-soc-dummy-dai",
219 if (dai->driver == &dummy_dai) in snd_soc_dai_is_dummy()
227 return ((component->driver == &dummy_platform) || in snd_soc_component_is_dummy()
228 (component->driver == &dummy_codec)); in snd_soc_component_is_dummy()
233 .dai_name = "snd-soc-dummy-dai",
234 .name = "snd-soc-dummy",
242 ret = devm_snd_soc_register_component(&pdev->dev, in snd_soc_dummy_probe()
247 ret = devm_snd_soc_register_component(&pdev->dev, &dummy_platform, in snd_soc_dummy_probe()
255 .name = "snd-soc-dummy",
267 platform_device_register_simple("snd-soc-dummy", -1, NULL, 0); in snd_soc_util_init()