/linux-6.6.21/include/sound/ |
D | soc-dai.h | 167 struct snd_soc_dai; 171 int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, 174 int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, 177 int snd_soc_dai_set_pll(struct snd_soc_dai *dai, 180 int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio); 184 u64 snd_soc_dai_get_fmt(struct snd_soc_dai *dai, int priority); 185 int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt); 187 int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai, 190 int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, 194 int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate); [all …]
|
/linux-6.6.21/sound/soc/meson/ |
D | aiu-fifo.h | 16 struct snd_soc_dai; 28 int aiu_fifo_dai_probe(struct snd_soc_dai *dai); 29 int aiu_fifo_dai_remove(struct snd_soc_dai *dai); 35 struct snd_soc_dai *dai); 37 struct snd_soc_dai *dai); 40 struct snd_soc_dai *dai); 42 struct snd_soc_dai *dai); 44 struct snd_soc_dai *dai); 46 struct snd_soc_dai *dai); 48 struct snd_soc_dai *dai);
|
D | meson-codec-glue.h | 19 meson_codec_glue_input_get_data(struct snd_soc_dai *dai); 22 struct snd_soc_dai *dai); 23 int meson_codec_glue_input_set_fmt(struct snd_soc_dai *dai, 25 int meson_codec_glue_input_dai_probe(struct snd_soc_dai *dai); 26 int meson_codec_glue_input_dai_remove(struct snd_soc_dai *dai); 30 struct snd_soc_dai *dai);
|
D | aiu-fifo.c | 26 static struct snd_soc_dai *aiu_fifo_dai(struct snd_pcm_substream *ss) in aiu_fifo_dai() 36 struct snd_soc_dai *dai = aiu_fifo_dai(substream); in aiu_fifo_pointer() 46 static void aiu_fifo_enable(struct snd_soc_dai *dai, bool enable) in aiu_fifo_enable() 59 struct snd_soc_dai *dai) in aiu_fifo_trigger() 80 struct snd_soc_dai *dai) in aiu_fifo_prepare() 97 struct snd_soc_dai *dai) in aiu_fifo_hw_params() 133 struct snd_soc_dai *dai) in aiu_fifo_startup() 169 struct snd_soc_dai *dai) in aiu_fifo_shutdown() 178 struct snd_soc_dai *dai) in aiu_fifo_pcm_new() 195 int aiu_fifo_dai_probe(struct snd_soc_dai *dai) in aiu_fifo_dai_probe() [all …]
|
D | meson-codec-glue.c | 39 static void meson_codec_glue_input_set_data(struct snd_soc_dai *dai, in meson_codec_glue_input_set_data() 46 meson_codec_glue_input_get_data(struct snd_soc_dai *dai) in meson_codec_glue_input_get_data() 57 struct snd_soc_dai *dai; in meson_codec_glue_output_get_input_data() 69 struct snd_soc_dai *dai) in meson_codec_glue_input_hw_params() 86 int meson_codec_glue_input_set_fmt(struct snd_soc_dai *dai, in meson_codec_glue_input_set_fmt() 99 struct snd_soc_dai *dai) in meson_codec_glue_output_startup() 121 int meson_codec_glue_input_dai_probe(struct snd_soc_dai *dai) in meson_codec_glue_input_dai_probe() 134 int meson_codec_glue_input_dai_remove(struct snd_soc_dai *dai) in meson_codec_glue_input_dai_remove()
|
D | axg-tdm-interface.c | 35 int axg_tdm_set_tdm_slots(struct snd_soc_dai *dai, u32 *tx_mask, in axg_tdm_set_tdm_slots() 97 static int axg_tdm_iface_set_sysclk(struct snd_soc_dai *dai, int clk_id, in axg_tdm_iface_set_sysclk() 116 static int axg_tdm_iface_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in axg_tdm_iface_set_fmt() 144 struct snd_soc_dai *dai) in axg_tdm_iface_startup() 173 struct snd_soc_dai *dai) in axg_tdm_iface_set_stream() 202 static int axg_tdm_iface_set_lrclk(struct snd_soc_dai *dai, in axg_tdm_iface_set_lrclk() 257 static int axg_tdm_iface_set_sclk(struct snd_soc_dai *dai, in axg_tdm_iface_set_sclk() 298 struct snd_soc_dai *dai) in axg_tdm_iface_hw_params() 342 struct snd_soc_dai *dai) in axg_tdm_iface_hw_free() 353 struct snd_soc_dai *dai) in axg_tdm_iface_prepare() [all …]
|
/linux-6.6.21/sound/soc/ |
D | soc-dai.c | 14 static inline int _soc_dai_ret(struct snd_soc_dai *dai, in _soc_dai_ret() 52 int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, in snd_soc_dai_set_sysclk() 78 int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, in snd_soc_dai_set_clkdiv() 101 int snd_soc_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source, in snd_soc_dai_set_pll() 125 int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) in snd_soc_dai_set_bclk_ratio() 139 struct snd_soc_dai *dai; in snd_soc_dai_get_fmt_max_priority() 169 u64 snd_soc_dai_get_fmt(struct snd_soc_dai *dai, int priority) in snd_soc_dai_get_fmt() 207 int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in snd_soc_dai_set_fmt() 265 int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai, in snd_soc_dai_set_tdm_slot() 306 int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, in snd_soc_dai_set_channel_map() [all …]
|
D | soc-compress.c | 60 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_clean() 61 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in soc_compr_clean() 101 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_open() 136 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_open_fe() 206 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_free_fe() 247 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in soc_compr_trigger() 248 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_trigger() 279 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_trigger_fe() 326 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_set_params() 372 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(fe, 0); in soc_compr_set_params_fe() [all …]
|
/linux-6.6.21/sound/soc/mediatek/common/ |
D | mtk-afe-fe-dai.h | 17 struct snd_soc_dai *dai); 19 struct snd_soc_dai *dai); 22 struct snd_soc_dai *dai); 24 struct snd_soc_dai *dai); 26 struct snd_soc_dai *dai); 28 struct snd_soc_dai *dai);
|
/linux-6.6.21/sound/soc/sof/ |
D | sof-client-probes.h | 10 struct snd_soc_dai; 18 struct snd_soc_dai *dai, u32 *stream_id); 20 struct snd_soc_dai *dai); 23 struct snd_soc_dai *dai); 25 int cmd, struct snd_soc_dai *dai); 28 struct snd_soc_dai *dai);
|
/linux-6.6.21/sound/soc/qcom/ |
D | sc7280.c | 61 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7280_headset_init() 62 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_headset_init() 118 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7280_hdmi_init() 140 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_rt5682_init() 141 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7280_rt5682_init() 179 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_init() 207 struct snd_soc_dai *codec_dai; in sc7280_snd_hw_params() 208 const struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_snd_hw_params() 239 const struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_snd_swr_prepare() 270 const struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_snd_prepare() [all …]
|
D | lpass-cdc-dma.c | 32 static void __lpass_get_dmactl_handle(struct snd_pcm_substream *substream, struct snd_soc_dai *dai, in __lpass_get_dmactl_handle() 36 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in __lpass_get_dmactl_handle() 122 static int __lpass_platform_codec_intf_init(struct snd_soc_dai *dai, in __lpass_platform_codec_intf_init() 126 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(soc_runtime, 0); in __lpass_platform_codec_intf_init() 171 struct snd_soc_dai *dai) in lpass_cdc_dma_daiops_startup() 194 struct snd_soc_dai *dai) in lpass_cdc_dma_daiops_shutdown() 215 struct snd_soc_dai *dai) in lpass_cdc_dma_daiops_hw_params() 258 int cmd, struct snd_soc_dai *dai) in lpass_cdc_dma_daiops_trigger()
|
D | sdm845.c | 62 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_slim_snd_hw_params() 63 struct snd_soc_dai *codec_dai; in sdm845_slim_snd_hw_params() 102 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_tdm_snd_hw_params() 103 struct snd_soc_dai *codec_dai; in sdm845_tdm_snd_hw_params() 187 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_snd_hw_params() 188 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sdm845_snd_hw_params() 236 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sdm845_dai_init() 237 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_dai_init() 337 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_snd_startup() 338 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sdm845_snd_startup() [all …]
|
D | sdw.c | 15 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_prepare() 66 struct snd_soc_dai *codec_dai; in qcom_snd_sdw_hw_params() 67 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_hw_params() 96 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in qcom_snd_sdw_hw_free()
|
/linux-6.6.21/sound/soc/sof/intel/ |
D | hda-dai-ops.c | 118 struct snd_soc_dai *cpu_dai, in hda_get_hext_stream() 125 struct snd_soc_dai *cpu_dai, in hda_ipc4_get_hext_stream() 145 struct snd_soc_dai *cpu_dai, in hda_assign_hext_stream() 149 struct snd_soc_dai *dai; in hda_assign_hext_stream() 167 static void hda_release_hext_stream(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai, in hda_release_hext_stream() 172 struct snd_soc_dai *dai; in hda_release_hext_stream() 197 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in hda_codec_dai_set_stream() 208 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in hda_calc_stream_format() 230 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in hda_get_hlink() 307 static int hda_ipc4_pre_trigger(struct snd_sof_dev *sdev, struct snd_soc_dai *cpu_dai, in hda_ipc4_pre_trigger() [all …]
|
D | hda-dai.c | 69 struct snd_soc_dai *cpu_dai) in dai_to_sdev() 77 hda_dai_get_ops(struct snd_pcm_substream *substream, struct snd_soc_dai *cpu_dai) in hda_dai_get_ops() 113 struct snd_soc_dai *cpu_dai) in hda_link_dma_cleanup() 150 struct snd_pcm_hw_params *params, struct snd_soc_dai *cpu_dai) in hda_link_dma_hw_params() 205 struct snd_soc_dai *cpu_dai) in hda_dai_hw_free() 225 struct snd_soc_dai *dai) in hda_dai_hw_params() 261 struct snd_soc_dai *dai) in hda_dai_trigger() 317 static int hda_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in hda_dai_prepare() 345 struct snd_soc_dai *cpu_dai) in non_hda_dai_hw_params() 409 struct snd_soc_dai *cpu_dai) in non_hda_dai_prepare() [all …]
|
/linux-6.6.21/sound/soc/codecs/ |
D | hdac_hda.c | 39 struct snd_soc_dai *dai); 41 struct snd_soc_dai *dai); 43 struct snd_soc_dai *dai); 46 struct snd_soc_dai *dai); 48 struct snd_soc_dai *dai); 49 static int hdac_hda_dai_set_stream(struct snd_soc_dai *dai, void *stream, 52 struct snd_soc_dai *dai); 185 static int hdac_hda_dai_set_stream(struct snd_soc_dai *dai, in hdac_hda_dai_set_stream() 207 struct snd_soc_dai *dai) in hdac_hda_dai_hw_params() 239 struct snd_soc_dai *dai) in hdac_hda_dai_hw_free() [all …]
|
D | mc13783.c | 95 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_dac() 114 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_codec() 139 struct snd_soc_dai *dai) in mc13783_pcm_hw_params_sync() 147 static int mc13783_set_fmt(struct snd_soc_dai *dai, unsigned int fmt, in mc13783_set_fmt() 202 static int mc13783_set_fmt_async(struct snd_soc_dai *dai, unsigned int fmt) in mc13783_set_fmt_async() 210 static int mc13783_set_fmt_sync(struct snd_soc_dai *dai, unsigned int fmt) in mc13783_set_fmt_sync() 240 static int mc13783_set_sysclk(struct snd_soc_dai *dai, in mc13783_set_sysclk() 269 static int mc13783_set_sysclk_dac(struct snd_soc_dai *dai, in mc13783_set_sysclk_dac() 275 static int mc13783_set_sysclk_codec(struct snd_soc_dai *dai, in mc13783_set_sysclk_codec() 281 static int mc13783_set_sysclk_sync(struct snd_soc_dai *dai, in mc13783_set_sysclk_sync() [all …]
|
D | lochnagar-sc.c | 70 struct snd_soc_dai *dai) in lochnagar_sc_startup() 89 struct snd_soc_dai *dai) in lochnagar_sc_line_startup() 111 struct snd_soc_dai *dai) in lochnagar_sc_line_shutdown() 119 static int lochnagar_sc_check_fmt(struct snd_soc_dai *dai, unsigned int fmt, in lochnagar_sc_check_fmt() 130 static int lochnagar_sc_set_line_fmt(struct snd_soc_dai *dai, unsigned int fmt) in lochnagar_sc_set_line_fmt() 135 static int lochnagar_sc_set_usb_fmt(struct snd_soc_dai *dai, unsigned int fmt) in lochnagar_sc_set_usb_fmt()
|
/linux-6.6.21/sound/soc/intel/avs/ |
D | pcm.c | 36 avs_dai_find_path_template(struct snd_soc_dai *dai, bool is_fe, int direction) in avs_dai_find_path_template() 58 static int avs_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai, bool is_fe, in avs_dai_startup() 89 struct snd_pcm_hw_params *be_hw_params, struct snd_soc_dai *dai, in avs_dai_hw_params() 123 struct snd_pcm_hw_params *be_hw_params, struct snd_soc_dai *dai, in avs_dai_be_hw_params() 140 struct snd_soc_dai *dai) in avs_dai_prepare() 163 static int avs_dai_nonhda_be_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_nonhda_be_startup() 168 static void avs_dai_nonhda_be_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_nonhda_be_shutdown() 184 struct snd_pcm_hw_params *hw_params, struct snd_soc_dai *dai) in avs_dai_nonhda_be_hw_params() 196 static int avs_dai_nonhda_be_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_nonhda_be_hw_free() 211 static int avs_dai_nonhda_be_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_nonhda_be_prepare() [all …]
|
/linux-6.6.21/sound/soc/pxa/ |
D | pxa2xx-i2s.c | 94 struct snd_soc_dai *dai) in pxa2xx_i2s_startup() 97 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in pxa2xx_i2s_startup() 119 static int pxa2xx_i2s_set_dai_fmt(struct snd_soc_dai *cpu_dai, in pxa2xx_i2s_set_dai_fmt() 145 static int pxa2xx_i2s_set_dai_sysclk(struct snd_soc_dai *cpu_dai, in pxa2xx_i2s_set_dai_sysclk() 156 struct snd_soc_dai *dai) in pxa2xx_i2s_hw_params() 215 struct snd_soc_dai *dai) in pxa2xx_i2s_trigger() 241 struct snd_soc_dai *dai) in pxa2xx_i2s_shutdown() 295 static int pxa2xx_i2s_probe(struct snd_soc_dai *dai) in pxa2xx_i2s_probe() 320 static int pxa2xx_i2s_remove(struct snd_soc_dai *dai) in pxa2xx_i2s_remove()
|
/linux-6.6.21/sound/soc/sh/ |
D | ssi.c | 90 struct snd_soc_dai *dai) in ssi_startup() 102 struct snd_soc_dai *dai) in ssi_shutdown() 110 struct snd_soc_dai *dai) in ssi_trigger() 130 struct snd_soc_dai *dai) in ssi_hw_params() 208 static int ssi_set_sysclk(struct snd_soc_dai *cpu_dai, int clk_id, in ssi_set_sysclk() 222 static int ssi_set_clkdiv(struct snd_soc_dai *dai, int did, int div) in ssi_set_clkdiv() 245 static int ssi_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in ssi_set_fmt()
|
/linux-6.6.21/sound/soc/uniphier/ |
D | aio-cpu.c | 146 static int uniphier_aio_set_sysclk(struct snd_soc_dai *dai, int clk_id, in uniphier_aio_set_sysclk() 217 static int uniphier_aio_set_pll(struct snd_soc_dai *dai, int pll_id, in uniphier_aio_set_pll() 234 static int uniphier_aio_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in uniphier_aio_set_fmt() 255 struct snd_soc_dai *dai) in uniphier_aio_startup() 268 struct snd_soc_dai *dai) in uniphier_aio_shutdown() 278 struct snd_soc_dai *dai) in uniphier_aio_hw_params() 316 struct snd_soc_dai *dai) in uniphier_aio_hw_free() 327 struct snd_soc_dai *dai) in uniphier_aio_prepare() 358 static int uniphier_aio_dai_probe(struct snd_soc_dai *dai) in uniphier_aio_dai_probe() 384 static int uniphier_aio_dai_remove(struct snd_soc_dai *dai) in uniphier_aio_dai_remove() [all …]
|
/linux-6.6.21/sound/soc/sof/amd/ |
D | acp-probes.c | 25 struct snd_soc_dai *dai, u32 *stream_id) in acp_probes_compr_startup() 47 struct snd_soc_dai *dai) in acp_probes_compr_shutdown() 71 struct snd_soc_dai *dai) in acp_probes_compr_set_params() 103 int cmd, struct snd_soc_dai *dai) in acp_probes_compr_trigger() 112 struct snd_soc_dai *dai) in acp_probes_compr_pointer()
|
/linux-6.6.21/sound/soc/spear/ |
D | spdif_out.c | 61 struct snd_soc_dai *cpu_dai) in spdif_out_startup() 80 struct snd_soc_dai *dai) in spdif_out_shutdown() 107 struct snd_soc_dai *dai) in spdif_out_hw_params() 152 struct snd_soc_dai *dai) in spdif_out_trigger() 191 static int spdif_mute(struct snd_soc_dai *dai, int mute, int direction) in spdif_mute() 216 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in spdif_mute_get() 226 struct snd_soc_dai *cpu_dai = snd_kcontrol_chip(kcontrol); in spdif_mute_put() 242 static int spdif_soc_dai_probe(struct snd_soc_dai *dai) in spdif_soc_dai_probe()
|