/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 …]
|
/sound/soc/ux500/ |
D | ux500_msp_dai.c | 30 static int setup_pcm_multichan(struct snd_soc_dai *dai, in setup_pcm_multichan() 63 static int setup_frameper(struct snd_soc_dai *dai, unsigned int rate, in setup_frameper() 127 static int setup_pcm_framing(struct snd_soc_dai *dai, unsigned int rate, in setup_pcm_framing() 172 static int setup_clocking(struct snd_soc_dai *dai, in setup_clocking() 228 static int setup_pcm_protdesc(struct snd_soc_dai *dai, in setup_pcm_protdesc() 302 struct snd_soc_dai *dai, in setup_msp_config() 384 struct snd_soc_dai *dai) in ux500_msp_dai_startup() 425 struct snd_soc_dai *dai) in ux500_msp_dai_shutdown() 460 struct snd_soc_dai *dai) in ux500_msp_dai_prepare() 499 struct snd_soc_dai *dai) in ux500_msp_dai_hw_params() [all …]
|
/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() 123 int meson_codec_glue_input_dai_probe(struct snd_soc_dai *dai) in meson_codec_glue_input_dai_probe() 136 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() 194 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()
|
D | aiu-encoder-spdif.c | 48 struct snd_soc_dai *dai) in aiu_encoder_spdif_trigger() 97 struct snd_soc_dai *dai) in aiu_encoder_spdif_hw_params() 156 struct snd_soc_dai *dai) in aiu_encoder_spdif_hw_free() 166 struct snd_soc_dai *dai) in aiu_encoder_spdif_startup() 196 struct snd_soc_dai *dai) in aiu_encoder_spdif_shutdown()
|
D | aiu-fifo-i2s.c | 48 struct snd_soc_dai *dai) in aiu_fifo_i2s_trigger() 66 struct snd_soc_dai *dai) in aiu_fifo_i2s_prepare() 88 struct snd_soc_dai *dai) in aiu_fifo_i2s_hw_params() 150 int aiu_fifo_i2s_dai_probe(struct snd_soc_dai *dai) in aiu_fifo_i2s_dai_probe()
|
/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 …]
|
/sound/soc/qcom/qdsp6/ |
D | q6afe-dai.c | 119 struct snd_soc_dai *dai) in q6slim_hw_params() 149 struct snd_soc_dai *dai) in q6hdmi_hw_params() 198 struct snd_soc_dai *dai) in q6i2s_hw_params() 211 static int q6i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) in q6i2s_set_fmt() 221 static int q6tdm_set_tdm_slot(struct snd_soc_dai *dai, in q6tdm_set_tdm_slot() 275 static int q6tdm_set_channel_map(struct snd_soc_dai *dai, in q6tdm_set_channel_map() 338 struct snd_soc_dai *dai) in q6tdm_hw_params() 353 static int q6dma_set_channel_map(struct snd_soc_dai *dai, in q6dma_set_channel_map() 425 struct snd_soc_dai *dai) in q6dma_hw_params() 437 struct snd_soc_dai *dai) in q6afe_dai_shutdown() [all …]
|
/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() 203 static int mc13783_set_fmt_async(struct snd_soc_dai *dai, unsigned int fmt) in mc13783_set_fmt_async() 211 static int mc13783_set_fmt_sync(struct snd_soc_dai *dai, unsigned int fmt) in mc13783_set_fmt_sync() 241 static int mc13783_set_sysclk(struct snd_soc_dai *dai, in mc13783_set_sysclk() 270 static int mc13783_set_sysclk_dac(struct snd_soc_dai *dai, in mc13783_set_sysclk_dac() 276 static int mc13783_set_sysclk_codec(struct snd_soc_dai *dai, in mc13783_set_sysclk_codec() 282 static int mc13783_set_sysclk_sync(struct snd_soc_dai *dai, in mc13783_set_sysclk_sync() [all …]
|
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 | 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()
|
/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 …]
|
/sound/soc/sof/intel/ |
D | hda-compress.c | 24 struct snd_soc_dai *dai) in hda_probe_compr_assign() 41 struct snd_soc_dai *dai) in hda_probe_compr_free() 62 struct snd_soc_dai *dai) in hda_probe_compr_set_params() 94 struct snd_soc_dai *dai) in hda_probe_compr_trigger() 104 struct snd_soc_dai *dai) in hda_probe_compr_pointer()
|
/sound/soc/sof/ |
D | compress.c | 22 struct snd_soc_dai *dai) in sof_probe_compr_open() 40 struct snd_soc_dai *dai) in sof_probe_compr_free() 72 struct snd_compr_params *params, struct snd_soc_dai *dai) in sof_probe_compr_set_params() 101 struct snd_soc_dai *dai) in sof_probe_compr_trigger() 111 struct snd_compr_tstamp *tstamp, struct snd_soc_dai *dai) in sof_probe_compr_pointer()
|
/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 …]
|
/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()
|
/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()
|
/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 …]
|
/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() 265 struct snd_soc_dai *dai) in skl_pcm_prepare() 300 struct snd_soc_dai *dai) in skl_pcm_hw_params() 341 struct snd_soc_dai *dai) in skl_pcm_close() 379 struct snd_soc_dai *dai) in skl_pcm_hw_free() 405 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() 587 struct snd_soc_dai *dai) in skl_link_pcm_prepare() [all …]
|
/sound/soc/sti/ |
D | uniperif_player.c | 573 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in uni_player_ctl_iec958_get() local 590 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in uni_player_ctl_iec958_put() local 641 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in snd_sti_clk_adjustment_get() local 655 struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); in snd_sti_clk_adjustment_put() local 692 struct snd_soc_dai *dai) in uni_player_startup() 724 static int uni_player_set_sysclk(struct snd_soc_dai *dai, int clk_id, in uni_player_set_sysclk() 747 struct snd_soc_dai *dai) in uni_player_prepare() 977 int cmd, struct snd_soc_dai *dai) in uni_player_trigger() 995 struct snd_soc_dai *dai) in uni_player_shutdown()
|
/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() 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()
|