Home
last modified time | relevance | path

Searched refs:snd_soc_pcm_runtime (Results 1 – 25 of 333) sorted by relevance

12345678910>>...14

/Linux-v6.1/include/sound/
Dsoc-dpcm.h15 struct snd_soc_pcm_runtime;
71 struct snd_soc_pcm_runtime *be;
72 struct snd_soc_pcm_runtime *fe;
121 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe,
122 struct snd_soc_pcm_runtime *be, int stream);
125 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe,
126 struct snd_soc_pcm_runtime *be, int stream);
129 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream);
132 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe,
133 struct snd_soc_pcm_runtime *be, int stream);
[all …]
Dsoc-link.h11 int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd);
12 void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd);
13 int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd,
Dsoc-dai.h183 int snd_soc_dai_get_fmt_max_priority(struct snd_soc_pcm_runtime *rtd);
220 struct snd_soc_pcm_runtime *rtd, int num);
237 int snd_soc_pcm_dai_probe(struct snd_soc_pcm_runtime *rtd, int order);
238 int snd_soc_pcm_dai_remove(struct snd_soc_pcm_runtime *rtd, int order);
239 int snd_soc_pcm_dai_new(struct snd_soc_pcm_runtime *rtd);
405 int (*compress_new)(struct snd_soc_pcm_runtime *rtd, int num);
407 int (*pcm_new)(struct snd_soc_pcm_runtime *rtd,
/Linux-v6.1/sound/soc/
Dsoc-link.c12 static inline int _soc_link_ret(struct snd_soc_pcm_runtime *rtd, in _soc_link_ret()
41 int snd_soc_link_init(struct snd_soc_pcm_runtime *rtd) in snd_soc_link_init()
51 void snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd) in snd_soc_link_exit()
57 int snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in snd_soc_link_be_hw_params_fixup()
70 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_startup()
87 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_shutdown()
102 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_prepare()
115 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_hw_params()
131 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_soc_link_hw_free()
146 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_link_trigger()
[all …]
Dsoc-pcm.c31 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd, in _soc_pcm_ret()
52 static inline void snd_soc_dpcm_mutex_lock(struct snd_soc_pcm_runtime *rtd) in snd_soc_dpcm_mutex_lock()
57 static inline void snd_soc_dpcm_mutex_unlock(struct snd_soc_pcm_runtime *rtd) in snd_soc_dpcm_mutex_unlock()
65 static inline void snd_soc_dpcm_stream_lock_irq(struct snd_soc_pcm_runtime *rtd, in snd_soc_dpcm_stream_lock_irq()
74 static inline void snd_soc_dpcm_stream_unlock_irq(struct snd_soc_pcm_runtime *rtd, in snd_soc_dpcm_stream_unlock_irq()
85 static inline const char *soc_cpu_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_cpu_dai_name()
89 static inline const char *soc_codec_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_codec_dai_name()
123 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state()
157 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state()
183 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file()
[all …]
Dsoc-component.c467 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_trigger()
488 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_params()
509 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_params()
529 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_caps()
553 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_codec_caps()
576 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_ack()
597 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_pointer()
617 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_copy()
641 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_metadata()
662 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_metadata()
[all …]
Dsoc-compress.c27 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_compr_components_open()
48 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_compr_components_free()
60 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_clean()
101 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_open()
136 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_open_fe()
209 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_free_fe()
251 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_trigger()
283 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_trigger_fe()
330 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_set_params()
374 struct snd_soc_pcm_runtime *fe = cstream->private_data; in soc_compr_set_params_fe()
[all …]
/Linux-v6.1/sound/soc/qcom/
Dsm8250.c27 static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_init()
34 static int sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sm8250_be_hw_params_fixup()
52 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sm8250_snd_startup()
74 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sm8250_snd_hw_params()
83 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sm8250_snd_prepare()
94 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sm8250_snd_hw_free()
Dsc7280.c45 static int sc7280_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7280_headset_init()
100 static int sc7280_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7280_hdmi_init()
124 static int sc7280_rt5682_init(struct snd_soc_pcm_runtime *rtd) in sc7280_rt5682_init()
163 static int sc7280_init(struct snd_soc_pcm_runtime *rtd) in sc7280_init()
192 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_hw_params()
222 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_swr_prepare()
253 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_prepare()
272 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_hw_free()
297 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_shutdown()
324 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7280_snd_startup()
Dsc8280xp.c26 static int sc8280xp_snd_init(struct snd_soc_pcm_runtime *rtd) in sc8280xp_snd_init()
33 static int sc8280xp_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sc8280xp_be_hw_params_fixup()
63 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc8280xp_snd_hw_params()
72 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc8280xp_snd_prepare()
83 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc8280xp_snd_hw_free()
Dlpass-cdc-dma.c35 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream); in __lpass_get_dmactl_handle()
125 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream); in __lpass_platform_codec_intf_init()
174 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_startup()
197 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_shutdown()
217 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_hw_params()
260 struct snd_soc_pcm_runtime *soc_runtime = asoc_substream_to_rtd(substream); in lpass_cdc_dma_daiops_trigger()
Dsc7180.c45 static int sc7180_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7180_headset_init()
80 static int sc7180_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7180_hdmi_init()
106 static int sc7180_init(struct snd_soc_pcm_runtime *rtd) in sc7180_init()
127 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7180_snd_startup()
213 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7180_snd_shutdown()
238 static int sc7180_adau7002_init(struct snd_soc_pcm_runtime *rtd) in sc7180_adau7002_init()
259 struct snd_soc_pcm_runtime *rtd = substream->private_data; in sc7180_adau7002_snd_startup()
Dapq8016_sbc.c47 static int apq8016_dai_init(struct snd_soc_pcm_runtime *rtd, int mi2s) in apq8016_dai_init()
135 static int apq8016_sbc_dai_init(struct snd_soc_pcm_runtime *rtd) in apq8016_sbc_dai_init()
171 static int msm8916_qdsp6_dai_init(struct snd_soc_pcm_runtime *rtd) in msm8916_qdsp6_dai_init()
181 struct snd_soc_pcm_runtime *rtd = substream->private_data; in msm8916_qdsp6_startup()
202 struct snd_soc_pcm_runtime *rtd = substream->private_data; in msm8916_qdsp6_shutdown()
225 static int msm8916_qdsp6_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in msm8916_qdsp6_be_hw_params_fixup()
/Linux-v6.1/sound/soc/amd/
Dacp-da7219-max98357a.c39 static int cz_da7219_init(struct snd_soc_pcm_runtime *rtd) in cz_da7219_init()
93 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in da7219_clk_enable()
117 static int cz_rt5682_init(struct snd_soc_pcm_runtime *rtd) in cz_rt5682_init()
176 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt5682_clk_enable()
230 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_da7219_play_startup()
251 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_da7219_cap_startup()
273 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_max_startup()
294 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_dmic0_startup()
315 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_dmic1_startup()
342 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in cz_rt5682_play_startup()
[all …]
/Linux-v6.1/sound/soc/uniphier/
Daio-compress.c24 static int uniphier_aio_comprdma_new(struct snd_soc_pcm_runtime *rtd) in uniphier_aio_comprdma_new()
57 static int uniphier_aio_comprdma_free(struct snd_soc_pcm_runtime *rtd) in uniphier_aio_comprdma_free()
78 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_open()
104 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_free()
125 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_get_params()
138 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_set_params()
169 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_hw_free()
181 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_prepare()
220 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_trigger()
254 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in uniphier_aio_compr_pointer()
[all …]
/Linux-v6.1/sound/soc/sh/
Ddma-sh7760.c121 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in camelot_pcm_open()
155 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in camelot_pcm_close()
177 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in camelot_hw_params()
195 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in camelot_prepare()
243 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in camelot_trigger()
271 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in camelot_pos()
291 struct snd_soc_pcm_runtime *rtd) in camelot_pcm_new()
/Linux-v6.1/sound/soc/intel/boards/
Dsof_sdw_rt1308.c38 static int first_spk_init(struct snd_soc_pcm_runtime *rtd) in first_spk_init()
70 static int second_spk_init(struct snd_soc_pcm_runtime *rtd) in second_spk_init()
82 static int all_spk_init(struct snd_soc_pcm_runtime *rtd) in all_spk_init()
96 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1308_i2s_hw_params()
Dsof_realtek_common.c71 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1011_hw_params()
118 static int rt1011_init(struct snd_soc_pcm_runtime *rtd) in rt1011_init()
217 static int rt1015p_init(struct snd_soc_pcm_runtime *rtd) in rt1015p_init()
267 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1015_hw_params()
348 static int speaker_codec_init_lr(struct snd_soc_pcm_runtime *rtd) in speaker_codec_init_lr()
394 static int rt1308_init(struct snd_soc_pcm_runtime *rtd) in rt1308_init()
425 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1308_hw_params()
483 static int rt1019p_init(struct snd_soc_pcm_runtime *rtd) in rt1019p_init()
Dkbl_rt5660.c136 static int kabylake_ssp0_fixup(struct snd_soc_pcm_runtime *rtd, in kabylake_ssp0_fixup()
156 static int kabylake_rt5660_codec_init(struct snd_soc_pcm_runtime *rtd) in kabylake_rt5660_codec_init()
210 static void kabylake_rt5660_codec_exit(struct snd_soc_pcm_runtime *rtd) in kabylake_rt5660_codec_exit()
222 static int kabylake_hdmi_init(struct snd_soc_pcm_runtime *rtd, int device) in kabylake_hdmi_init()
240 static int kabylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) in kabylake_hdmi1_init()
245 static int kabylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) in kabylake_hdmi2_init()
250 static int kabylake_hdmi3_init(struct snd_soc_pcm_runtime *rtd) in kabylake_hdmi3_init()
258 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in kabylake_rt5660_hw_params()
Dsof_sdw_rt1316.c37 static int first_spk_init(struct snd_soc_pcm_runtime *rtd) in first_spk_init()
69 static int second_spk_init(struct snd_soc_pcm_runtime *rtd) in second_spk_init()
81 static int all_spk_init(struct snd_soc_pcm_runtime *rtd) in all_spk_init()
Dsof_maxim_common.c49 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in max_98373_hw_params()
68 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in max_98373_trigger()
117 int max_98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd) in max_98373_spk_codec_init()
227 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in max_98390_hw_params()
258 int max_98390_spk_codec_init(struct snd_soc_pcm_runtime *rtd) in max_98390_spk_codec_init()
346 static int max_98357a_init(struct snd_soc_pcm_runtime *rtd) in max_98357a_init()
Dkbl_rt5663_max98927.c258 static int kabylake_rt5663_fe_init(struct snd_soc_pcm_runtime *rtd) in kabylake_rt5663_fe_init()
274 static int kabylake_rt5663_codec_init(struct snd_soc_pcm_runtime *rtd) in kabylake_rt5663_codec_init()
307 static int kabylake_rt5663_max98927_codec_init(struct snd_soc_pcm_runtime *rtd) in kabylake_rt5663_max98927_codec_init()
324 static int kabylake_hdmi_init(struct snd_soc_pcm_runtime *rtd, int device) in kabylake_hdmi_init()
342 static int kabylake_hdmi1_init(struct snd_soc_pcm_runtime *rtd) in kabylake_hdmi1_init()
347 static int kabylake_hdmi2_init(struct snd_soc_pcm_runtime *rtd) in kabylake_hdmi2_init()
352 static int kabylake_hdmi3_init(struct snd_soc_pcm_runtime *rtd) in kabylake_hdmi3_init()
357 static int kabylake_5663_hdmi1_init(struct snd_soc_pcm_runtime *rtd) in kabylake_5663_hdmi1_init()
362 static int kabylake_5663_hdmi2_init(struct snd_soc_pcm_runtime *rtd) in kabylake_5663_hdmi2_init()
415 static int kabylake_ssp_fixup(struct snd_soc_pcm_runtime *rtd, in kabylake_ssp_fixup()
[all …]
/Linux-v6.1/sound/soc/tegra/
Dtegra_pcm.c79 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_open()
127 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_close()
142 struct snd_soc_pcm_runtime *rtd = substream->private_data; in tegra_pcm_hw_params()
191 static int tegra_pcm_dma_allocate(struct device *dev, struct snd_soc_pcm_runtime *rtd, in tegra_pcm_dma_allocate()
205 struct snd_soc_pcm_runtime *rtd) in tegra_pcm_construct()
/Linux-v6.1/sound/soc/sof/
Dpcm.c28 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in create_page_table()
63 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in snd_sof_pcm_period_elapsed()
88 sof_pcm_setup_connected_widgets(struct snd_sof_dev *sdev, struct snd_soc_pcm_runtime *rtd, in sof_pcm_setup_connected_widgets()
127 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_hw_params()
197 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_hw_free()
243 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_prepare()
280 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_trigger()
365 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_pointer()
396 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_open()
461 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sof_pcm_close()
[all …]
/Linux-v6.1/sound/soc/mediatek/common/
Dmtk-dsp-sof-common.c13 int mtk_sof_dai_link_fixup(struct snd_soc_pcm_runtime *rtd, in mtk_sof_dai_link_fixup()
23 struct snd_soc_pcm_runtime *runtime; in mtk_sof_dai_link_fixup()
70 struct snd_soc_pcm_runtime *rtd; in mtk_sof_card_late_probe()
92 struct snd_soc_pcm_runtime *sof_rtd = NULL; in mtk_sof_card_late_probe()
93 struct snd_soc_pcm_runtime *normal_rtd = NULL; in mtk_sof_card_late_probe()

12345678910>>...14