/linux-6.1.9/sound/soc/ |
D | soc-dai.c | 13 #define soc_dai_ret(dai, ret) _soc_dai_ret(dai, __func__, ret) argument 14 static inline int _soc_dai_ret(struct snd_soc_dai *dai, in _soc_dai_ret() 39 #define soc_dai_mark_push(dai, substream, tgt) ((dai)->mark_##tgt = substream) argument 40 #define soc_dai_mark_pop(dai, substream, tgt) ((dai)->mark_##tgt = NULL) argument 41 #define soc_dai_mark_match(dai, substream, tgt) ((dai)->mark_##tgt == substream) argument 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() local [all …]
|
/linux-6.1.9/sound/soc/ux500/ |
D | ux500_msp_dai.c | 28 static int setup_pcm_multichan(struct snd_soc_dai *dai, in setup_pcm_multichan() 61 static int setup_frameper(struct snd_soc_dai *dai, unsigned int rate, in setup_frameper() 125 static int setup_pcm_framing(struct snd_soc_dai *dai, unsigned int rate, in setup_pcm_framing() 170 static int setup_clocking(struct snd_soc_dai *dai, in setup_clocking() 226 static int setup_pcm_protdesc(struct snd_soc_dai *dai, in setup_pcm_protdesc() 300 struct snd_soc_dai *dai, in setup_msp_config() 382 struct snd_soc_dai *dai) in ux500_msp_dai_startup() 423 struct snd_soc_dai *dai) in ux500_msp_dai_shutdown() 458 struct snd_soc_dai *dai) in ux500_msp_dai_prepare() 497 struct snd_soc_dai *dai) in ux500_msp_dai_hw_params() [all …]
|
/linux-6.1.9/sound/soc/meson/ |
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() local 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() 120 int meson_codec_glue_input_dai_probe(struct snd_soc_dai *dai) in meson_codec_glue_input_dai_probe() 133 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() 99 static int axg_tdm_iface_set_sysclk(struct snd_soc_dai *dai, int clk_id, in axg_tdm_iface_set_sysclk() 118 static int axg_tdm_iface_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in axg_tdm_iface_set_fmt() 146 struct snd_soc_dai *dai) in axg_tdm_iface_startup() 175 struct snd_soc_dai *dai) in axg_tdm_iface_set_stream() 204 static int axg_tdm_iface_set_lrclk(struct snd_soc_dai *dai, in axg_tdm_iface_set_lrclk() 259 static int axg_tdm_iface_set_sclk(struct snd_soc_dai *dai, in axg_tdm_iface_set_sclk() 300 struct snd_soc_dai *dai) in axg_tdm_iface_hw_params() 344 struct snd_soc_dai *dai) in axg_tdm_iface_hw_free() 355 struct snd_soc_dai *dai) in axg_tdm_iface_prepare() [all …]
|
D | aiu-fifo.c | 36 struct snd_soc_dai *dai = aiu_fifo_dai(substream); in aiu_fifo_pointer() local 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() 208 int aiu_fifo_dai_remove(struct snd_soc_dai *dai) in aiu_fifo_dai_remove()
|
D | axg-toddr.c | 34 struct snd_soc_dai *dai) in axg_toddr_pcm_new() 40 struct snd_soc_dai *dai) in g12a_toddr_dai_prepare() 57 struct snd_soc_dai *dai) in axg_toddr_dai_hw_params() 90 struct snd_soc_dai *dai) in axg_toddr_dai_startup() 114 struct snd_soc_dai *dai) in axg_toddr_dai_shutdown() 195 struct snd_soc_dai *dai) in g12a_toddr_dai_startup()
|
D | aiu-encoder-i2s.c | 189 struct snd_soc_dai *dai) in aiu_encoder_i2s_hw_params() 215 struct snd_soc_dai *dai) in aiu_encoder_i2s_hw_free() 224 static int aiu_encoder_i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in aiu_encoder_i2s_set_fmt() 267 static int aiu_encoder_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, in aiu_encoder_i2s_set_sysclk() 294 struct snd_soc_dai *dai) in aiu_encoder_i2s_startup() 316 struct snd_soc_dai *dai) in aiu_encoder_i2s_shutdown()
|
/linux-6.1.9/sound/soc/intel/avs/ |
D | pcm.c | 34 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() 82 struct snd_pcm_hw_params *be_hw_params, struct snd_soc_dai *dai, in avs_dai_hw_params() 116 struct snd_pcm_hw_params *be_hw_params, struct snd_soc_dai *dai, in avs_dai_be_hw_params() 133 struct snd_soc_dai *dai) in avs_dai_prepare() 154 static int avs_dai_nonhda_be_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_nonhda_be_startup() 159 static void avs_dai_nonhda_be_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in avs_dai_nonhda_be_shutdown() 170 struct snd_pcm_hw_params *hw_params, struct snd_soc_dai *dai) in avs_dai_nonhda_be_hw_params() 182 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() 197 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.1.9/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 37 struct snd_soc_dai *dai) in q6slim_hw_params() 67 struct snd_soc_dai *dai) in q6hdmi_hw_params() 116 struct snd_soc_dai *dai) in q6i2s_hw_params() 129 static int q6i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in q6i2s_set_fmt() 139 static int q6tdm_set_tdm_slot(struct snd_soc_dai *dai, in q6tdm_set_tdm_slot() 193 static int q6tdm_set_channel_map(struct snd_soc_dai *dai, in q6tdm_set_channel_map() 256 struct snd_soc_dai *dai) in q6tdm_hw_params() 271 static int q6dma_set_channel_map(struct snd_soc_dai *dai, in q6dma_set_channel_map() 343 struct snd_soc_dai *dai) in q6dma_hw_params() 355 struct snd_soc_dai *dai) in q6afe_dai_shutdown() [all …]
|
D | q6apm-lpass-dais.c | 25 static int q6dma_set_channel_map(struct snd_soc_dai *dai, in q6dma_set_channel_map() 95 struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) in q6dma_hw_params() 107 static void q6apm_lpass_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in q6apm_lpass_dai_shutdown() 122 static int q6apm_lpass_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in q6apm_lpass_dai_prepare() 168 static int q6apm_lpass_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in q6apm_lpass_dai_startup() 186 static int q6i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in q6i2s_set_fmt()
|
/linux-6.1.9/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() 381 int uniphier_aio_dai_probe(struct snd_soc_dai *dai) in uniphier_aio_dai_probe() 408 int uniphier_aio_dai_remove(struct snd_soc_dai *dai) in uniphier_aio_dai_remove() [all …]
|
/linux-6.1.9/sound/soc/sof/intel/ |
D | hda-dai.c | 323 struct snd_soc_dai *dai) in hda_dai_hw_params_update() 343 struct snd_soc_dai *dai) in hda_dai_hw_params() 378 static int hda_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in hda_dai_prepare() 400 struct snd_soc_dai *dai) in hda_dai_hw_free_ipc() 411 int cmd, struct snd_soc_dai *dai) in ipc3_hda_dai_trigger() 453 int cmd, struct snd_soc_dai *dai) in ipc4_hda_dai_trigger() 534 struct snd_soc_dai *dai) in hda_dai_hw_free() 607 static int ssp_dai_setup_or_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai, in ssp_dai_setup_or_free() 621 struct snd_soc_dai *dai) in ssp_dai_startup() 635 struct snd_soc_dai *dai, in ssp_dai_setup() [all …]
|
D | hda-probes.c | 30 struct snd_soc_dai *dai, u32 *stream_id) in hda_probes_compr_startup() 50 struct snd_soc_dai *dai) in hda_probes_compr_shutdown() 72 struct snd_soc_dai *dai) in hda_probes_compr_set_params() 105 int cmd, struct snd_soc_dai *dai) in hda_probes_compr_trigger() 116 struct snd_soc_dai *dai) in hda_probes_compr_pointer()
|
/linux-6.1.9/sound/soc/intel/atom/ |
D | sst-mfld-platform-pcm.c | 96 static int sst_media_digital_mute(struct snd_soc_dai *dai, int mute, int stream) in sst_media_digital_mute() 223 struct snd_soc_dai *dai) in sst_platform_alloc_stream() 303 struct snd_soc_dai *dai) in sst_media_open() 360 struct snd_soc_dai *dai) in sst_media_close() 376 struct snd_soc_dai *dai) in sst_media_prepare() 402 struct snd_soc_dai *dai) in sst_enable_ssp() 415 struct snd_soc_dai *dai) in sst_be_hw_params() 424 static int sst_set_format(struct snd_soc_dai *dai, unsigned int fmt) in sst_set_format() 438 static int sst_platform_set_ssp_slot(struct snd_soc_dai *dai, in sst_platform_set_ssp_slot() 454 struct snd_soc_dai *dai) in sst_disable_ssp() [all …]
|
/linux-6.1.9/sound/soc/codecs/ |
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()
|
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 | lm49453.c | 1108 struct snd_soc_dai *dai) in lm49453_hw_params() 1194 static int lm49453_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, in lm49453_set_dai_sysclk() 1219 static int lm49453_hp_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_hp_mute() 1226 static int lm49453_lo_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_lo_mute() 1233 static int lm49453_ls_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_ls_mute() 1240 static int lm49453_ep_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_ep_mute() 1247 static int lm49453_ha_mute(struct snd_soc_dai *dai, int mute, int direction) in lm49453_ha_mute()
|
D | hdac_hda.c | 182 static int hdac_hda_dai_set_stream(struct snd_soc_dai *dai, in hdac_hda_dai_set_stream() 204 struct snd_soc_dai *dai) in hdac_hda_dai_hw_params() 236 struct snd_soc_dai *dai) in hdac_hda_dai_hw_free() 255 struct snd_soc_dai *dai) in hdac_hda_dai_prepare() 286 struct snd_soc_dai *dai) in hdac_hda_dai_open() 306 struct snd_soc_dai *dai) in hdac_hda_dai_close() 326 struct snd_soc_dai *dai) in snd_soc_find_pcm_from_dai()
|
D | hda-dai.c | 12 static int hda_codec_dai_startup(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in hda_codec_dai_startup() 38 static void hda_codec_dai_shutdown(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in hda_codec_dai_shutdown() 59 static int hda_codec_dai_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in hda_codec_dai_hw_free() 72 static int hda_codec_dai_prepare(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) in hda_codec_dai_prepare()
|
/linux-6.1.9/sound/soc/mediatek/mt2701/ |
D | mt2701-afe-pcm.c | 109 struct snd_soc_dai *dai) in mt2701_afe_i2s_startup() 144 struct snd_soc_dai *dai) in mt2701_afe_i2s_shutdown() 232 struct snd_soc_dai *dai) in mt2701_afe_i2s_prepare() 265 static int mt2701_afe_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, in mt2701_afe_i2s_set_sysclk() 288 struct snd_soc_dai *dai) in mt2701_btmrg_startup() 305 struct snd_soc_dai *dai) in mt2701_btmrg_hw_params() 346 struct snd_soc_dai *dai) in mt2701_btmrg_shutdown() 366 struct snd_soc_dai *dai) in mt2701_simple_fe_startup() 386 struct snd_soc_dai *dai) in mt2701_simple_fe_hw_params() 402 struct snd_soc_dai *dai) in mt2701_dlm_fe_startup() [all …]
|
/linux-6.1.9/sound/soc/qcom/ |
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() 122 static int __lpass_platform_codec_intf_init(struct snd_soc_dai *dai, 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()
|
/linux-6.1.9/sound/soc/ti/ |
D | omap-dmic.c | 91 struct snd_soc_dai *dai) in omap_dmic_dai_startup() 109 struct snd_soc_dai *dai) in omap_dmic_dai_shutdown() 188 struct snd_soc_dai *dai) in omap_dmic_dai_hw_params() 228 struct snd_soc_dai *dai) in omap_dmic_dai_prepare() 261 int cmd, struct snd_soc_dai *dai) in omap_dmic_dai_trigger() 390 static int omap_dmic_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, in omap_dmic_set_dai_sysclk() 413 static int omap_dmic_probe(struct snd_soc_dai *dai) in omap_dmic_probe() 432 static int omap_dmic_remove(struct snd_soc_dai *dai) in omap_dmic_remove()
|
/linux-6.1.9/sound/soc/fsl/ |
D | fsl_xcvr.c | 95 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in fsl_xcvr_arc_mode_put() local 108 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in fsl_xcvr_arc_mode_get() local 140 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in fsl_xcvr_capds_get() local 151 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in fsl_xcvr_capds_put() local 168 static int fsl_xcvr_activate_ctl(struct snd_soc_dai *dai, const char *name, in fsl_xcvr_activate_ctl() 196 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in fsl_xcvr_mode_put() local 219 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in fsl_xcvr_mode_get() local 398 struct snd_soc_dai *dai) in fsl_xcvr_prepare() 523 struct snd_soc_dai *dai) in fsl_xcvr_startup() 559 struct snd_soc_dai *dai) in fsl_xcvr_shutdown() [all …]
|
/linux-6.1.9/sound/soc/intel/skylake/ |
D | skl-pcm.c | 109 struct snd_soc_dai *dai, bool enable) in skl_set_suspend_active() 212 struct snd_soc_dai *dai) in skl_pcm_open() 263 struct snd_soc_dai *dai) in skl_pcm_prepare() 298 struct snd_soc_dai *dai) in skl_pcm_hw_params() 340 struct snd_soc_dai *dai) in skl_pcm_close() 378 struct snd_soc_dai *dai) in skl_pcm_hw_free() 404 struct snd_soc_dai *dai) in skl_be_hw_params() 464 struct snd_soc_dai *dai) in skl_pcm_trigger() 544 struct snd_soc_dai *dai) in skl_link_hw_params() 588 struct snd_soc_dai *dai) in skl_link_pcm_prepare() [all …]
|
/linux-6.1.9/sound/soc/kirkwood/ |
D | kirkwood-i2s.c | 99 static void kirkwood_set_rate(struct snd_soc_dai *dai, in kirkwood_set_rate() 125 struct snd_soc_dai *dai) in kirkwood_i2s_startup() 135 struct snd_soc_dai *dai) in kirkwood_i2s_hw_params() 229 int cmd, struct snd_soc_dai *dai) in kirkwood_i2s_play_trigger() 317 int cmd, struct snd_soc_dai *dai) in kirkwood_i2s_rec_trigger() 383 struct snd_soc_dai *dai) in kirkwood_i2s_trigger()
|