dai 334 drivers/dma/txx9dmac.c u32 sai, dai; dai 353 drivers/dma/txx9dmac.c dai = 0; dai 356 drivers/dma/txx9dmac.c dai = ds->reg_width; dai 360 drivers/dma/txx9dmac.c dai = 8; dai 363 drivers/dma/txx9dmac.c channel64_writel(dc, DAIR, dai); dai 374 drivers/dma/txx9dmac.c dai = 0; dai 377 drivers/dma/txx9dmac.c dai = ds->reg_width; dai 381 drivers/dma/txx9dmac.c dai = 4; dai 384 drivers/dma/txx9dmac.c channel32_writel(dc, DAIR, dai); dai 830 drivers/dma/txx9dmac.c u32 sai, dai; dai 861 drivers/dma/txx9dmac.c dai = 0; dai 864 drivers/dma/txx9dmac.c dai = ds->reg_width; dai 866 drivers/dma/txx9dmac.c txx9dmac_desc_set_nosimple(ddev, desc, sai, dai, dai 289 drivers/dma/txx9dmac.h u32 sai, u32 dai, u32 ccr) dai 293 drivers/dma/txx9dmac.h desc->hwdesc.DAIR = dai; dai 297 drivers/dma/txx9dmac.h desc->hwdesc32.DAIR = dai; dai 761 drivers/gpu/drm/vc4/vc4_hdmi.c static inline struct vc4_hdmi *dai_to_hdmi(struct snd_soc_dai *dai) dai 763 drivers/gpu/drm/vc4/vc4_hdmi.c struct snd_soc_card *card = snd_soc_dai_get_drvdata(dai); dai 769 drivers/gpu/drm/vc4/vc4_hdmi.c struct snd_soc_dai *dai) dai 771 drivers/gpu/drm/vc4/vc4_hdmi.c struct vc4_hdmi *hdmi = dai_to_hdmi(dai); dai 797 drivers/gpu/drm/vc4/vc4_hdmi.c static int vc4_hdmi_audio_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 820 drivers/gpu/drm/vc4/vc4_hdmi.c struct snd_soc_dai *dai) dai 822 drivers/gpu/drm/vc4/vc4_hdmi.c struct vc4_hdmi *hdmi = dai_to_hdmi(dai); dai 835 drivers/gpu/drm/vc4/vc4_hdmi.c struct snd_soc_dai *dai) dai 837 drivers/gpu/drm/vc4/vc4_hdmi.c struct vc4_hdmi *hdmi = dai_to_hdmi(dai); dai 908 drivers/gpu/drm/vc4/vc4_hdmi.c struct snd_soc_dai *dai) dai 910 drivers/gpu/drm/vc4/vc4_hdmi.c struct vc4_hdmi *hdmi = dai_to_hdmi(dai); dai 1032 drivers/gpu/drm/vc4/vc4_hdmi.c static int vc4_hdmi_audio_cpu_dai_probe(struct snd_soc_dai *dai) dai 1034 drivers/gpu/drm/vc4/vc4_hdmi.c struct vc4_hdmi *hdmi = dai_to_hdmi(dai); dai 1036 drivers/gpu/drm/vc4/vc4_hdmi.c snd_soc_dai_init_dma_data(dai, &hdmi->audio.dma_data, NULL); dai 2448 drivers/media/i2c/tda1997x.c struct snd_soc_dai *dai) dai 2450 drivers/media/i2c/tda1997x.c struct tda1997x_state *state = snd_soc_dai_get_drvdata(dai); dai 2451 drivers/media/i2c/tda1997x.c struct snd_soc_component *component = dai->component; dai 1152 drivers/soundwire/cadence_master.c int cdns_set_sdw_stream(struct snd_soc_dai *dai, dai 1155 drivers/soundwire/cadence_master.c struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); dai 1173 drivers/soundwire/cadence_master.c dai->playback_dma_data = dma; dai 1175 drivers/soundwire/cadence_master.c dai->capture_dma_data = dma; dai 179 drivers/soundwire/cadence_master.h int sdw_cdns_pcm_set_stream(struct snd_soc_dai *dai, dai 181 drivers/soundwire/cadence_master.h int sdw_cdns_pdm_set_stream(struct snd_soc_dai *dai, dai 199 drivers/soundwire/cadence_master.h int cdns_set_sdw_stream(struct snd_soc_dai *dai, dai 533 drivers/soundwire/intel.c struct snd_soc_dai *dai, dai 540 drivers/soundwire/intel.c substream, dai, hw_params, link_id); dai 674 drivers/soundwire/intel.c struct snd_soc_dai *dai) dai 676 drivers/soundwire/intel.c struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); dai 684 drivers/soundwire/intel.c dma = snd_soc_dai_get_dma_data(dai, substream); dai 703 drivers/soundwire/intel.c dev_err(dai->dev, "ports/resources not available\n"); dai 721 drivers/soundwire/intel.c ret = intel_config_stream(sdw, substream, dai, params, dai 770 drivers/soundwire/intel.c intel_hw_free(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) dai 772 drivers/soundwire/intel.c struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); dai 776 drivers/soundwire/intel.c dma = snd_soc_dai_get_dma_data(dai, substream); dai 782 drivers/soundwire/intel.c dev_err(dai->dev, "remove master from stream %s failed: %d\n", dai 791 drivers/soundwire/intel.c struct snd_soc_dai *dai) dai 795 drivers/soundwire/intel.c dma = snd_soc_dai_get_dma_data(dai, substream); dai 799 drivers/soundwire/intel.c snd_soc_dai_set_dma_data(dai, substream, NULL); dai 803 drivers/soundwire/intel.c static int intel_pcm_set_sdw_stream(struct snd_soc_dai *dai, dai 806 drivers/soundwire/intel.c return cdns_set_sdw_stream(dai, stream, true, direction); dai 809 drivers/soundwire/intel.c static int intel_pdm_set_sdw_stream(struct snd_soc_dai *dai, dai 812 drivers/soundwire/intel.c return cdns_set_sdw_stream(dai, stream, false, direction); dai 35 drivers/staging/greybus/audio_codec.c struct gbaudio_codec_dai *dai; dai 37 drivers/staging/greybus/audio_codec.c list_for_each_entry(dai, &codec->dai_list, list) { dai 38 drivers/staging/greybus/audio_codec.c if (dai->id == id) dai 39 drivers/staging/greybus/audio_codec.c return &dai->params[stream]; dai 360 drivers/staging/greybus/audio_codec.c struct snd_soc_dai *dai) dai 362 drivers/staging/greybus/audio_codec.c struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); dai 373 drivers/staging/greybus/audio_codec.c params = find_dai_stream_params(codec, dai->id, substream->stream); dai 382 drivers/staging/greybus/audio_codec.c pm_stay_awake(dai->dev); dai 388 drivers/staging/greybus/audio_codec.c struct snd_soc_dai *dai) dai 390 drivers/staging/greybus/audio_codec.c struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); dai 398 drivers/staging/greybus/audio_codec.c params = find_dai_stream_params(codec, dai->id, substream->stream); dai 406 drivers/staging/greybus/audio_codec.c pm_relax(dai->dev); dai 411 drivers/staging/greybus/audio_codec.c struct snd_soc_dai *dai) dai 419 drivers/staging/greybus/audio_codec.c struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); dai 435 drivers/staging/greybus/audio_codec.c dev_err(dai->dev, "Invalid channel count:%d\n", dai 443 drivers/staging/greybus/audio_codec.c dev_err(dai->dev, "Invalid sampling rate:%d\n", dai 451 drivers/staging/greybus/audio_codec.c dev_err(dai->dev, "Invalid format:%d\n", dai 460 drivers/staging/greybus/audio_codec.c data = find_data(module, dai->id); dai 466 drivers/staging/greybus/audio_codec.c dev_err(dai->dev, "DATA connection missing\n"); dai 471 drivers/staging/greybus/audio_codec.c params = find_dai_stream_params(codec, dai->id, substream->stream); dai 490 drivers/staging/greybus/audio_codec.c dev_err_ratelimited(dai->dev, "%d: Error during set_config\n", dai 499 drivers/staging/greybus/audio_codec.c sig_bits = dai->driver->playback.sig_bits; dai 501 drivers/staging/greybus/audio_codec.c sig_bits = dai->driver->capture.sig_bits; dai 514 drivers/staging/greybus/audio_codec.c struct snd_soc_dai *dai) dai 520 drivers/staging/greybus/audio_codec.c struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); dai 533 drivers/staging/greybus/audio_codec.c data = find_data(module, dai->id); dai 538 drivers/staging/greybus/audio_codec.c dev_err(dai->dev, "DATA connection missing\n"); dai 543 drivers/staging/greybus/audio_codec.c params = find_dai_stream_params(codec, dai->id, substream->stream); dai 569 drivers/staging/greybus/audio_codec.c dev_err_ratelimited(dai->dev, "set_data_size failed:%d\n", dai 581 drivers/staging/greybus/audio_codec.c static int gbcodec_mute_stream(struct snd_soc_dai *dai, int mute, int stream) dai 587 drivers/staging/greybus/audio_codec.c struct gbaudio_codec_info *codec = dev_get_drvdata(dai->dev); dai 590 drivers/staging/greybus/audio_codec.c dev_dbg(dai->dev, "Mute:%d, Direction:%s\n", mute, dai 595 drivers/staging/greybus/audio_codec.c params = find_dai_stream_params(codec, dai->id, stream); dai 616 drivers/staging/greybus/audio_codec.c data = find_data(module, dai->id); dai 621 drivers/staging/greybus/audio_codec.c dev_err(dai->dev, "%s:%s DATA connection missing\n", dai 622 drivers/staging/greybus/audio_codec.c dai->name, module->name); dai 665 drivers/staging/greybus/audio_codec.c dev_err_ratelimited(dai->dev, dai 994 drivers/staging/greybus/audio_codec.c struct gbaudio_codec_dai *dai; dai 1007 drivers/staging/greybus/audio_codec.c dai = devm_kzalloc(codec->dev, sizeof(*dai), GFP_KERNEL); dai 1008 drivers/staging/greybus/audio_codec.c if (!dai) dai 1010 drivers/staging/greybus/audio_codec.c dai->id = gbaudio_dai[i].id; dai 1011 drivers/staging/greybus/audio_codec.c list_add(&dai->list, &info->dai_list); dai 206 drivers/staging/greybus/audio_module.c struct gbaudio_data_connection *dai; dai 208 drivers/staging/greybus/audio_module.c dai = devm_kzalloc(gbmodule->dev, sizeof(*dai), GFP_KERNEL); dai 209 drivers/staging/greybus/audio_module.c if (!dai) dai 216 drivers/staging/greybus/audio_module.c devm_kfree(gbmodule->dev, dai); dai 221 drivers/staging/greybus/audio_module.c dai->id = 0; dai 222 drivers/staging/greybus/audio_module.c dai->data_cport = connection->intf_cport_id; dai 223 drivers/staging/greybus/audio_module.c dai->connection = connection; dai 224 drivers/staging/greybus/audio_module.c list_add(&dai->list, &gbmodule->data_list); dai 240 drivers/staging/greybus/audio_module.c struct gbaudio_data_connection *dai, *_dai; dai 326 drivers/staging/greybus/audio_module.c list_for_each_entry(dai, &gbmodule->data_list, list) { dai 327 drivers/staging/greybus/audio_module.c ret = gb_connection_enable(dai->connection); dai 331 drivers/staging/greybus/audio_module.c ret, dai->data_cport); dai 359 drivers/staging/greybus/audio_module.c list_for_each_entry_safe(dai, _dai, &gbmodule->data_list, list) dai 360 drivers/staging/greybus/audio_module.c gb_connection_disable(dai->connection); dai 371 drivers/staging/greybus/audio_module.c list_for_each_entry_safe(dai, _dai, &gbmodule->data_list, list) { dai 372 drivers/staging/greybus/audio_module.c gb_connection_destroy(dai->connection); dai 373 drivers/staging/greybus/audio_module.c list_del(&dai->list); dai 374 drivers/staging/greybus/audio_module.c devm_kfree(dev, dai); dai 388 drivers/staging/greybus/audio_module.c struct gbaudio_data_connection *dai, *_dai; dai 402 drivers/staging/greybus/audio_module.c list_for_each_entry_safe(dai, _dai, &gbmodule->data_list, list) { dai 403 drivers/staging/greybus/audio_module.c gb_connection_disable(dai->connection); dai 404 drivers/staging/greybus/audio_module.c gb_connection_destroy(dai->connection); dai 405 drivers/staging/greybus/audio_module.c list_del(&dai->list); dai 406 drivers/staging/greybus/audio_module.c devm_kfree(gbmodule->dev, dai); dai 425 drivers/staging/greybus/audio_module.c struct gbaudio_data_connection *dai; dai 427 drivers/staging/greybus/audio_module.c list_for_each_entry(dai, &gbmodule->data_list, list) dai 428 drivers/staging/greybus/audio_module.c gb_connection_disable(dai->connection); dai 439 drivers/staging/greybus/audio_module.c struct gbaudio_data_connection *dai; dai 448 drivers/staging/greybus/audio_module.c list_for_each_entry(dai, &gbmodule->data_list, list) { dai 449 drivers/staging/greybus/audio_module.c ret = gb_connection_enable(dai->connection); dai 453 drivers/staging/greybus/audio_module.c ret, dai->data_cport); dai 15 include/linux/soundwire/sdw_intel.h void *dai, void *hw_params, int stream_num); dai 107 include/sound/simple_card_utils.h #define asoc_simple_parse_tdm(np, dai) \ dai 108 include/sound/simple_card_utils.h snd_soc_of_parse_tdm_slot(np, &(dai)->tx_slot_mask, \ dai 109 include/sound/simple_card_utils.h &(dai)->rx_slot_mask, \ dai 110 include/sound/simple_card_utils.h &(dai)->slots, \ dai 111 include/sound/simple_card_utils.h &(dai)->slot_width); dai 141 include/sound/simple_card_utils.h struct asoc_simple_dai *dai) dai 146 include/sound/simple_card_utils.h if (!dai) dai 149 include/sound/simple_card_utils.h if (dai->name) dai 151 include/sound/simple_card_utils.h name, dai->name); dai 152 include/sound/simple_card_utils.h if (dai->sysclk) dai 154 include/sound/simple_card_utils.h name, dai->sysclk); dai 157 include/sound/simple_card_utils.h name, dai->clk_direction ? "OUT" : "IN"); dai 159 include/sound/simple_card_utils.h if (dai->slots) dai 160 include/sound/simple_card_utils.h dev_dbg(dev, "%s slots = %d\n", name, dai->slots); dai 161 include/sound/simple_card_utils.h if (dai->slot_width) dai 162 include/sound/simple_card_utils.h dev_dbg(dev, "%s slot width = %d\n", name, dai->slot_width); dai 163 include/sound/simple_card_utils.h if (dai->tx_slot_mask) dai 164 include/sound/simple_card_utils.h dev_dbg(dev, "%s tx slot mask = %d\n", name, dai->tx_slot_mask); dai 165 include/sound/simple_card_utils.h if (dai->rx_slot_mask) dai 166 include/sound/simple_card_utils.h dev_dbg(dev, "%s rx slot mask = %d\n", name, dai->rx_slot_mask); dai 167 include/sound/simple_card_utils.h if (dai->clk) dai 168 include/sound/simple_card_utils.h dev_dbg(dev, "%s clk %luHz\n", name, clk_get_rate(dai->clk)); dai 154 include/sound/soc-component.h #define for_each_component_dais(component, dai)\ dai 155 include/sound/soc-component.h list_for_each_entry(dai, &(component)->dai_list, list) dai 156 include/sound/soc-component.h #define for_each_component_dais_safe(component, dai, _dai)\ dai 157 include/sound/soc-component.h list_for_each_entry_safe(dai, _dai, &(component)->dai_list, list) dai 114 include/sound/soc-dai.h int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 117 include/sound/soc-dai.h int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, dai 120 include/sound/soc-dai.h int snd_soc_dai_set_pll(struct snd_soc_dai *dai, dai 123 include/sound/soc-dai.h int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio); dai 126 include/sound/soc-dai.h int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt); dai 128 include/sound/soc-dai.h int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai, dai 131 include/sound/soc-dai.h int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, dai 135 include/sound/soc-dai.h int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate); dai 138 include/sound/soc-dai.h int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute, dai 142 include/sound/soc-dai.h int snd_soc_dai_get_channel_map(struct snd_soc_dai *dai, dai 146 include/sound/soc-dai.h int snd_soc_dai_is_dummy(struct snd_soc_dai *dai); dai 148 include/sound/soc-dai.h int snd_soc_dai_hw_params(struct snd_soc_dai *dai, dai 151 include/sound/soc-dai.h void snd_soc_dai_hw_free(struct snd_soc_dai *dai, dai 153 include/sound/soc-dai.h int snd_soc_dai_startup(struct snd_soc_dai *dai, dai 155 include/sound/soc-dai.h void snd_soc_dai_shutdown(struct snd_soc_dai *dai, dai 157 include/sound/soc-dai.h int snd_soc_dai_prepare(struct snd_soc_dai *dai, dai 159 include/sound/soc-dai.h int snd_soc_dai_trigger(struct snd_soc_dai *dai, dai 161 include/sound/soc-dai.h int snd_soc_dai_bespoke_trigger(struct snd_soc_dai *dai, dai 163 include/sound/soc-dai.h snd_pcm_sframes_t snd_soc_dai_delay(struct snd_soc_dai *dai, dai 165 include/sound/soc-dai.h void snd_soc_dai_suspend(struct snd_soc_dai *dai); dai 166 include/sound/soc-dai.h void snd_soc_dai_resume(struct snd_soc_dai *dai); dai 167 include/sound/soc-dai.h int snd_soc_dai_probe(struct snd_soc_dai *dai); dai 168 include/sound/soc-dai.h int snd_soc_dai_remove(struct snd_soc_dai *dai); dai 169 include/sound/soc-dai.h int snd_soc_dai_compress_new(struct snd_soc_dai *dai, dai 171 include/sound/soc-dai.h bool snd_soc_dai_stream_valid(struct snd_soc_dai *dai, int stream); dai 178 include/sound/soc-dai.h int (*set_sysclk)(struct snd_soc_dai *dai, dai 180 include/sound/soc-dai.h int (*set_pll)(struct snd_soc_dai *dai, int pll_id, int source, dai 182 include/sound/soc-dai.h int (*set_clkdiv)(struct snd_soc_dai *dai, int div_id, int div); dai 183 include/sound/soc-dai.h int (*set_bclk_ratio)(struct snd_soc_dai *dai, unsigned int ratio); dai 189 include/sound/soc-dai.h int (*set_fmt)(struct snd_soc_dai *dai, unsigned int fmt); dai 192 include/sound/soc-dai.h int (*set_tdm_slot)(struct snd_soc_dai *dai, dai 195 include/sound/soc-dai.h int (*set_channel_map)(struct snd_soc_dai *dai, dai 198 include/sound/soc-dai.h int (*get_channel_map)(struct snd_soc_dai *dai, dai 201 include/sound/soc-dai.h int (*set_tristate)(struct snd_soc_dai *dai, int tristate); dai 203 include/sound/soc-dai.h int (*set_sdw_stream)(struct snd_soc_dai *dai, dai 209 include/sound/soc-dai.h int (*digital_mute)(struct snd_soc_dai *dai, int mute); dai 210 include/sound/soc-dai.h int (*mute_stream)(struct snd_soc_dai *dai, int mute, int stream); dai 287 include/sound/soc-dai.h int (*probe)(struct snd_soc_dai *dai); dai 288 include/sound/soc-dai.h int (*remove)(struct snd_soc_dai *dai); dai 289 include/sound/soc-dai.h int (*suspend)(struct snd_soc_dai *dai); dai 290 include/sound/soc-dai.h int (*resume)(struct snd_soc_dai *dai); dai 295 include/sound/soc-dai.h struct snd_soc_dai *dai); dai 356 include/sound/soc-dai.h static inline void *snd_soc_dai_get_dma_data(const struct snd_soc_dai *dai, dai 360 include/sound/soc-dai.h dai->playback_dma_data : dai->capture_dma_data; dai 363 include/sound/soc-dai.h static inline void snd_soc_dai_set_dma_data(struct snd_soc_dai *dai, dai 368 include/sound/soc-dai.h dai->playback_dma_data = data; dai 370 include/sound/soc-dai.h dai->capture_dma_data = data; dai 373 include/sound/soc-dai.h static inline void snd_soc_dai_init_dma_data(struct snd_soc_dai *dai, dai 376 include/sound/soc-dai.h dai->playback_dma_data = playback; dai 377 include/sound/soc-dai.h dai->capture_dma_data = capture; dai 380 include/sound/soc-dai.h static inline void snd_soc_dai_set_drvdata(struct snd_soc_dai *dai, dai 383 include/sound/soc-dai.h dev_set_drvdata(dai->dev, data); dai 386 include/sound/soc-dai.h static inline void *snd_soc_dai_get_drvdata(struct snd_soc_dai *dai) dai 388 include/sound/soc-dai.h return dev_get_drvdata(dai->dev); dai 403 include/sound/soc-dai.h static inline int snd_soc_dai_set_sdw_stream(struct snd_soc_dai *dai, dai 406 include/sound/soc-dai.h if (dai->driver->ops->set_sdw_stream) dai 407 include/sound/soc-dai.h return dai->driver->ops->set_sdw_stream(dai, stream, direction); dai 411 include/sound/soc-dapm.h struct snd_soc_dai *dai); dai 417 include/sound/soc-dapm.h struct snd_soc_dai *dai); dai 480 include/sound/soc-dapm.h int snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai *dai, int stream, dai 138 include/sound/soc-topology.h struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai); dai 573 include/sound/soc.h int snd_soc_add_dai_controls(struct snd_soc_dai *dai, dai 1156 include/sound/soc.h #define for_each_rtd_codec_dai(rtd, i, dai)\ dai 1158 include/sound/soc.h ((i) < rtd->num_codecs) && ((dai) = rtd->codec_dais[i]); \ dai 1160 include/sound/soc.h #define for_each_rtd_codec_dai_rollback(rtd, i, dai) \ dai 1161 include/sound/soc.h for (; ((--i) >= 0) && ((dai) = rtd->codec_dais[i]);) dai 1449 sound/pci/ctxfi/ctatc.c atc_connect_dai(struct src_mgr *src_mgr, struct dai *dai, dai 1457 sound/pci/ctxfi/ctatc.c rscs[0] = &dai->daio.rscl; dai 1458 sound/pci/ctxfi/ctatc.c rscs[1] = &dai->daio.rscr; dai 1477 sound/pci/ctxfi/ctatc.c dai->ops->set_srt_srcl(dai, &(srcs[0]->rsc)); dai 1478 sound/pci/ctxfi/ctatc.c dai->ops->set_srt_srcr(dai, &(srcs[1]->rsc)); dai 1480 sound/pci/ctxfi/ctatc.c dai->ops->set_enb_src(dai, 1); dai 1481 sound/pci/ctxfi/ctatc.c dai->ops->set_enb_srt(dai, 1); dai 1482 sound/pci/ctxfi/ctatc.c dai->ops->commit_write(dai); dai 1489 sound/pci/ctxfi/ctatc.c struct dai *dai; dai 1506 sound/pci/ctxfi/ctatc.c dai = container_of(atc->daios[LINEIM], struct dai, daio); dai 1507 sound/pci/ctxfi/ctatc.c atc_connect_dai(atc->rsc_mgrs[SRC], dai, dai 1517 sound/pci/ctxfi/ctatc.c dai = container_of(atc->daios[MIC], struct dai, daio); dai 1518 sound/pci/ctxfi/ctatc.c atc_connect_dai(atc->rsc_mgrs[SRC], dai, dai 1527 sound/pci/ctxfi/ctatc.c dai = container_of(atc->daios[SPDIFIO], struct dai, daio); dai 1528 sound/pci/ctxfi/ctatc.c atc_connect_dai(atc->rsc_mgrs[SRC], dai, dai 273 sound/pci/ctxfi/ctdaio.c static int dai_set_srt_srcl(struct dai *dai, struct rsc *src) dai 276 sound/pci/ctxfi/ctdaio.c dai->hw->dai_srt_set_srcm(dai->ctrl_blk, src->ops->index(src)); dai 280 sound/pci/ctxfi/ctdaio.c static int dai_set_srt_srcr(struct dai *dai, struct rsc *src) dai 283 sound/pci/ctxfi/ctdaio.c dai->hw->dai_srt_set_srco(dai->ctrl_blk, src->ops->index(src)); dai 287 sound/pci/ctxfi/ctdaio.c static int dai_set_srt_msr(struct dai *dai, unsigned int msr) dai 294 sound/pci/ctxfi/ctdaio.c dai->hw->dai_srt_set_rsr(dai->ctrl_blk, rsr); dai 298 sound/pci/ctxfi/ctdaio.c static int dai_set_enb_src(struct dai *dai, unsigned int enb) dai 300 sound/pci/ctxfi/ctdaio.c dai->hw->dai_srt_set_ec(dai->ctrl_blk, enb); dai 304 sound/pci/ctxfi/ctdaio.c static int dai_set_enb_srt(struct dai *dai, unsigned int enb) dai 306 sound/pci/ctxfi/ctdaio.c dai->hw->dai_srt_set_et(dai->ctrl_blk, enb); dai 310 sound/pci/ctxfi/ctdaio.c static int dai_commit_write(struct dai *dai) dai 312 sound/pci/ctxfi/ctdaio.c dai->hw->dai_commit_write(dai->hw, dai 313 sound/pci/ctxfi/ctdaio.c daio_device_index(dai->daio.type, dai->hw), dai->ctrl_blk); dai 462 sound/pci/ctxfi/ctdaio.c static int dai_rsc_init(struct dai *dai, dai 470 sound/pci/ctxfi/ctdaio.c err = daio_rsc_init(&dai->daio, desc, mgr->mgr.hw); dai 474 sound/pci/ctxfi/ctdaio.c dai->ops = &dai_ops; dai 475 sound/pci/ctxfi/ctdaio.c dai->hw = mgr->mgr.hw; dai 476 sound/pci/ctxfi/ctdaio.c err = hw->dai_get_ctrl_blk(&dai->ctrl_blk); dai 483 sound/pci/ctxfi/ctdaio.c hw->dai_srt_set_rsr(dai->ctrl_blk, rsr); dai 484 sound/pci/ctxfi/ctdaio.c hw->dai_srt_set_drat(dai->ctrl_blk, 0); dai 486 sound/pci/ctxfi/ctdaio.c hw->dai_srt_set_ec(dai->ctrl_blk, 0); dai 487 sound/pci/ctxfi/ctdaio.c hw->dai_srt_set_et(dai->ctrl_blk, 0); /* default to disabling SRT */ dai 489 sound/pci/ctxfi/ctdaio.c daio_device_index(dai->daio.type, dai->hw), dai->ctrl_blk); dai 494 sound/pci/ctxfi/ctdaio.c daio_rsc_uninit(&dai->daio); dai 498 sound/pci/ctxfi/ctdaio.c static int dai_rsc_uninit(struct dai *dai) dai 500 sound/pci/ctxfi/ctdaio.c dai->hw->dai_put_ctrl_blk(dai->ctrl_blk); dai 501 sound/pci/ctxfi/ctdaio.c dai->hw = dai->ctrl_blk = NULL; dai 502 sound/pci/ctxfi/ctdaio.c daio_rsc_uninit(&dai->daio); dai 557 sound/pci/ctxfi/ctdaio.c struct dai *dai = kzalloc(sizeof(*dai), GFP_KERNEL); dai 558 sound/pci/ctxfi/ctdaio.c if (!dai) dai 561 sound/pci/ctxfi/ctdaio.c err = dai_rsc_init(dai, desc, mgr); dai 563 sound/pci/ctxfi/ctdaio.c kfree(dai); dai 567 sound/pci/ctxfi/ctdaio.c *rdaio = &dai->daio; dai 597 sound/pci/ctxfi/ctdaio.c dai_rsc_uninit(container_of(daio, struct dai, daio)); dai 598 sound/pci/ctxfi/ctdaio.c kfree(container_of(daio, struct dai, daio)); dai 81 sound/pci/ctxfi/ctdaio.h int (*set_srt_srcl)(struct dai *dai, struct rsc *src); dai 82 sound/pci/ctxfi/ctdaio.h int (*set_srt_srcr)(struct dai *dai, struct rsc *src); dai 83 sound/pci/ctxfi/ctdaio.h int (*set_srt_msr)(struct dai *dai, unsigned int msr); dai 84 sound/pci/ctxfi/ctdaio.h int (*set_enb_src)(struct dai *dai, unsigned int enb); dai 85 sound/pci/ctxfi/ctdaio.h int (*set_enb_srt)(struct dai *dai, unsigned int enb); dai 86 sound/pci/ctxfi/ctdaio.h int (*commit_write)(struct dai *dai); dai 58 sound/soc/adi/axi-i2s.c struct snd_soc_dai *dai) dai 60 sound/soc/adi/axi-i2s.c struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 89 sound/soc/adi/axi-i2s.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 91 sound/soc/adi/axi-i2s.c struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 107 sound/soc/adi/axi-i2s.c struct snd_soc_dai *dai) dai 109 sound/soc/adi/axi-i2s.c struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 130 sound/soc/adi/axi-i2s.c struct snd_soc_dai *dai) dai 132 sound/soc/adi/axi-i2s.c struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 137 sound/soc/adi/axi-i2s.c static int axi_i2s_dai_probe(struct snd_soc_dai *dai) dai 139 sound/soc/adi/axi-i2s.c struct axi_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 142 sound/soc/adi/axi-i2s.c dai, dai 49 sound/soc/adi/axi-spdif.c struct snd_soc_dai *dai) dai 51 sound/soc/adi/axi-spdif.c struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); dai 76 sound/soc/adi/axi-spdif.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 78 sound/soc/adi/axi-spdif.c struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); dai 108 sound/soc/adi/axi-spdif.c static int axi_spdif_dai_probe(struct snd_soc_dai *dai) dai 110 sound/soc/adi/axi-spdif.c struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); dai 112 sound/soc/adi/axi-spdif.c snd_soc_dai_init_dma_data(dai, &spdif->dma_data, NULL); dai 118 sound/soc/adi/axi-spdif.c struct snd_soc_dai *dai) dai 120 sound/soc/adi/axi-spdif.c struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); dai 140 sound/soc/adi/axi-spdif.c struct snd_soc_dai *dai) dai 142 sound/soc/adi/axi-spdif.c struct axi_spdif *spdif = snd_soc_dai_get_drvdata(dai); dai 495 sound/soc/amd/raven/acp3x-pcm-dma.c struct snd_soc_dai *dai) dai 528 sound/soc/amd/raven/acp3x-pcm-dma.c int cmd, struct snd_soc_dai *dai) dai 259 sound/soc/atmel/atmel-i2s.c static int atmel_i2s_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 261 sound/soc/atmel/atmel-i2s.c struct atmel_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 268 sound/soc/atmel/atmel-i2s.c struct snd_soc_dai *dai) dai 270 sound/soc/atmel/atmel-i2s.c struct atmel_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 320 sound/soc/atmel/atmel-i2s.c struct snd_soc_dai *dai) dai 322 sound/soc/atmel/atmel-i2s.c struct atmel_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 466 sound/soc/atmel/atmel-i2s.c struct snd_soc_dai *dai) dai 468 sound/soc/atmel/atmel-i2s.c struct atmel_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 521 sound/soc/atmel/atmel-i2s.c static int atmel_i2s_dai_probe(struct snd_soc_dai *dai) dai 523 sound/soc/atmel/atmel-i2s.c struct atmel_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 525 sound/soc/atmel/atmel-i2s.c snd_soc_dai_init_dma_data(dai, &dev->playback, &dev->capture); dai 270 sound/soc/atmel/atmel_ssc_dai.c struct snd_soc_dai *dai) dai 272 sound/soc/atmel/atmel_ssc_dai.c struct platform_device *pdev = to_platform_device(dai->dev); dai 305 sound/soc/atmel/atmel_ssc_dai.c dev_err(dai->dev, "Failed to specify rate rule: %d\n", ret); dai 315 sound/soc/atmel/atmel_ssc_dai.c snd_soc_dai_set_dma_data(dai, substream, dma_params); dai 330 sound/soc/atmel/atmel_ssc_dai.c struct snd_soc_dai *dai) dai 332 sound/soc/atmel/atmel_ssc_dai.c struct platform_device *pdev = to_platform_device(dai->dev); dai 456 sound/soc/atmel/atmel_ssc_dai.c struct snd_soc_dai *dai) dai 458 sound/soc/atmel/atmel_ssc_dai.c struct platform_device *pdev = to_platform_device(dai->dev); dai 491 sound/soc/atmel/atmel_ssc_dai.c dev_err(dai->dev, "unable to calculate cmr_div: %d\n", dai 509 sound/soc/atmel/atmel_ssc_dai.c dev_err(dai->dev, dai 658 sound/soc/atmel/atmel_ssc_dai.c dev_err(dai->dev, "sample size %d is too large for SSC device\n", dai 710 sound/soc/atmel/atmel_ssc_dai.c struct snd_soc_dai *dai) dai 712 sound/soc/atmel/atmel_ssc_dai.c struct platform_device *pdev = to_platform_device(dai->dev); dai 734 sound/soc/atmel/atmel_ssc_dai.c int cmd, struct snd_soc_dai *dai) dai 736 sound/soc/atmel/atmel_ssc_dai.c struct platform_device *pdev = to_platform_device(dai->dev); dai 291 sound/soc/atmel/mchp-i2s-mcc.c static int mchp_i2s_mcc_set_sysclk(struct snd_soc_dai *dai, dai 294 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 308 sound/soc/atmel/mchp-i2s-mcc.c static int mchp_i2s_mcc_set_bclk_ratio(struct snd_soc_dai *dai, dai 311 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 320 sound/soc/atmel/mchp-i2s-mcc.c static int mchp_i2s_mcc_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 322 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 343 sound/soc/atmel/mchp-i2s-mcc.c static int mchp_i2s_mcc_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 348 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 487 sound/soc/atmel/mchp-i2s-mcc.c struct snd_soc_dai *dai) dai 490 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 688 sound/soc/atmel/mchp-i2s-mcc.c struct snd_soc_dai *dai) dai 690 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 735 sound/soc/atmel/mchp-i2s-mcc.c struct snd_soc_dai *dai) dai 737 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 797 sound/soc/atmel/mchp-i2s-mcc.c struct snd_soc_dai *dai) dai 799 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 821 sound/soc/atmel/mchp-i2s-mcc.c static int mchp_i2s_mcc_dai_probe(struct snd_soc_dai *dai) dai 823 sound/soc/atmel/mchp-i2s-mcc.c struct mchp_i2s_mcc_dev *dev = snd_soc_dai_get_drvdata(dai); dai 830 sound/soc/atmel/mchp-i2s-mcc.c snd_soc_dai_init_dma_data(dai, &dev->playback, &dev->capture); dai 65 sound/soc/atmel/mikroe-proto.c struct snd_soc_dai_link *dai; dai 84 sound/soc/atmel/mikroe-proto.c dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); dai 85 sound/soc/atmel/mikroe-proto.c if (!dai) dai 93 sound/soc/atmel/mikroe-proto.c snd_proto.dai_link = dai; dai 96 sound/soc/atmel/mikroe-proto.c dai->cpus = &comp[0]; dai 97 sound/soc/atmel/mikroe-proto.c dai->num_cpus = 1; dai 98 sound/soc/atmel/mikroe-proto.c dai->codecs = &comp[1]; dai 99 sound/soc/atmel/mikroe-proto.c dai->num_codecs = 1; dai 100 sound/soc/atmel/mikroe-proto.c dai->platforms = &comp[2]; dai 101 sound/soc/atmel/mikroe-proto.c dai->num_platforms = 1; dai 103 sound/soc/atmel/mikroe-proto.c dai->name = "WM8731"; dai 104 sound/soc/atmel/mikroe-proto.c dai->stream_name = "WM8731 HiFi"; dai 105 sound/soc/atmel/mikroe-proto.c dai->codecs->dai_name = "wm8731-hifi"; dai 106 sound/soc/atmel/mikroe-proto.c dai->init = &snd_proto_init; dai 113 sound/soc/atmel/mikroe-proto.c dai->codecs->of_node = codec_np; dai 120 sound/soc/atmel/mikroe-proto.c dai->cpus->of_node = cpu_np; dai 121 sound/soc/atmel/mikroe-proto.c dai->platforms->of_node = cpu_np; dai 138 sound/soc/atmel/mikroe-proto.c dai->dai_fmt = dai_fmt; dai 78 sound/soc/atmel/sam9x5_wm8731.c struct snd_soc_dai_link *dai; dai 90 sound/soc/atmel/sam9x5_wm8731.c dai = devm_kzalloc(&pdev->dev, sizeof(*dai), GFP_KERNEL); dai 92 sound/soc/atmel/sam9x5_wm8731.c if (!dai || !card || !priv || !comp) { dai 101 sound/soc/atmel/sam9x5_wm8731.c card->dai_link = dai; dai 106 sound/soc/atmel/sam9x5_wm8731.c dai->cpus = &comp[0]; dai 107 sound/soc/atmel/sam9x5_wm8731.c dai->num_cpus = 1; dai 108 sound/soc/atmel/sam9x5_wm8731.c dai->codecs = &comp[1]; dai 109 sound/soc/atmel/sam9x5_wm8731.c dai->num_codecs = 1; dai 110 sound/soc/atmel/sam9x5_wm8731.c dai->platforms = &comp[2]; dai 111 sound/soc/atmel/sam9x5_wm8731.c dai->num_platforms = 1; dai 113 sound/soc/atmel/sam9x5_wm8731.c dai->name = "WM8731"; dai 114 sound/soc/atmel/sam9x5_wm8731.c dai->stream_name = "WM8731 PCM"; dai 115 sound/soc/atmel/sam9x5_wm8731.c dai->codecs->dai_name = "wm8731-hifi"; dai 116 sound/soc/atmel/sam9x5_wm8731.c dai->init = sam9x5_wm8731_init; dai 117 sound/soc/atmel/sam9x5_wm8731.c dai->dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_NB_NF dai 139 sound/soc/atmel/sam9x5_wm8731.c dai->codecs->of_node = codec_np; dai 147 sound/soc/atmel/sam9x5_wm8731.c dai->cpus->of_node = cpu_np; dai 148 sound/soc/atmel/sam9x5_wm8731.c dai->platforms->of_node = cpu_np; dai 191 sound/soc/au1x/ac97c.c struct snd_soc_dai *dai) dai 193 sound/soc/au1x/ac97c.c struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); dai 194 sound/soc/au1x/ac97c.c snd_soc_dai_set_dma_data(dai, substream, &ctx->dmaids[0]); dai 202 sound/soc/au1x/ac97c.c static int au1xac97c_dai_probe(struct snd_soc_dai *dai) dai 137 sound/soc/au1x/i2sc.c int cmd, struct snd_soc_dai *dai) dai 139 sound/soc/au1x/i2sc.c struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); dai 183 sound/soc/au1x/i2sc.c struct snd_soc_dai *dai) dai 185 sound/soc/au1x/i2sc.c struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); dai 198 sound/soc/au1x/i2sc.c struct snd_soc_dai *dai) dai 200 sound/soc/au1x/i2sc.c struct au1xpsc_audio_data *ctx = snd_soc_dai_get_drvdata(dai); dai 201 sound/soc/au1x/i2sc.c snd_soc_dai_set_dma_data(dai, substream, &ctx->dmaids[0]); dai 209 sound/soc/au1x/psc-ac97.c struct snd_soc_dai *dai) dai 211 sound/soc/au1x/psc-ac97.c struct au1xpsc_audio_data *pscdata = snd_soc_dai_get_drvdata(dai); dai 289 sound/soc/au1x/psc-ac97.c int cmd, struct snd_soc_dai *dai) dai 291 sound/soc/au1x/psc-ac97.c struct au1xpsc_audio_data *pscdata = snd_soc_dai_get_drvdata(dai); dai 323 sound/soc/au1x/psc-ac97.c struct snd_soc_dai *dai) dai 325 sound/soc/au1x/psc-ac97.c struct au1xpsc_audio_data *pscdata = snd_soc_dai_get_drvdata(dai); dai 326 sound/soc/au1x/psc-ac97.c snd_soc_dai_set_dma_data(dai, substream, &pscdata->dmaids[0]); dai 330 sound/soc/au1x/psc-ac97.c static int au1xpsc_ac97_probe(struct snd_soc_dai *dai) dai 112 sound/soc/au1x/psc-i2s.c struct snd_soc_dai *dai) dai 114 sound/soc/au1x/psc-i2s.c struct au1xpsc_audio_data *pscdata = snd_soc_dai_get_drvdata(dai); dai 237 sound/soc/au1x/psc-i2s.c struct snd_soc_dai *dai) dai 239 sound/soc/au1x/psc-i2s.c struct au1xpsc_audio_data *pscdata = snd_soc_dai_get_drvdata(dai); dai 258 sound/soc/au1x/psc-i2s.c struct snd_soc_dai *dai) dai 260 sound/soc/au1x/psc-i2s.c struct au1xpsc_audio_data *pscdata = snd_soc_dai_get_drvdata(dai); dai 261 sound/soc/au1x/psc-i2s.c snd_soc_dai_set_dma_data(dai, substream, &pscdata->dmaids[0]); dai 219 sound/soc/bcm/bcm2835-i2s.c static int bcm2835_i2s_set_dai_fmt(struct snd_soc_dai *dai, dai 222 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 227 sound/soc/bcm/bcm2835-i2s.c static int bcm2835_i2s_set_dai_bclk_ratio(struct snd_soc_dai *dai, dai 230 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 249 sound/soc/bcm/bcm2835-i2s.c static int bcm2835_i2s_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 253 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 331 sound/soc/bcm/bcm2835-i2s.c struct snd_soc_dai *dai) dai 333 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 618 sound/soc/bcm/bcm2835-i2s.c struct snd_soc_dai *dai) dai 620 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 643 sound/soc/bcm/bcm2835-i2s.c struct snd_soc_dai *dai) dai 656 sound/soc/bcm/bcm2835-i2s.c if (!dai->active && !(dev->fmt & SND_SOC_DAIFMT_CONT)) dai 661 sound/soc/bcm/bcm2835-i2s.c struct snd_soc_dai *dai) dai 663 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 684 sound/soc/bcm/bcm2835-i2s.c bcm2835_i2s_stop(dev, substream, dai); dai 694 sound/soc/bcm/bcm2835-i2s.c struct snd_soc_dai *dai) dai 696 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 698 sound/soc/bcm/bcm2835-i2s.c if (dai->active) dai 719 sound/soc/bcm/bcm2835-i2s.c struct snd_soc_dai *dai) dai 721 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 723 sound/soc/bcm/bcm2835-i2s.c bcm2835_i2s_stop(dev, substream, dai); dai 726 sound/soc/bcm/bcm2835-i2s.c if (dai->active) dai 751 sound/soc/bcm/bcm2835-i2s.c static int bcm2835_i2s_dai_probe(struct snd_soc_dai *dai) dai 753 sound/soc/bcm/bcm2835-i2s.c struct bcm2835_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 755 sound/soc/bcm/bcm2835-i2s.c snd_soc_dai_init_dma_data(dai, dai 247 sound/soc/bcm/cygnus-ssp.c static struct cygnus_aio_port *cygnus_dai_get_portinfo(struct snd_soc_dai *dai) dai 249 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud = snd_soc_dai_get_drvdata(dai); dai 251 sound/soc/bcm/cygnus-ssp.c return &cygaud->portinfo[dai->id]; dai 622 sound/soc/bcm/cygnus-ssp.c struct snd_soc_dai *dai) dai 624 sound/soc/bcm/cygnus-ssp.c struct cygnus_aio_port *aio = cygnus_dai_get_portinfo(dai); dai 715 sound/soc/bcm/cygnus-ssp.c static int cygnus_ssp_set_sysclk(struct snd_soc_dai *dai, dai 720 sound/soc/bcm/cygnus-ssp.c struct cygnus_aio_port *aio = cygnus_dai_get_portinfo(dai); dai 721 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud = snd_soc_dai_get_drvdata(dai); dai 744 sound/soc/bcm/cygnus-ssp.c struct snd_soc_dai *dai) dai 746 sound/soc/bcm/cygnus-ssp.c struct cygnus_aio_port *aio = cygnus_dai_get_portinfo(dai); dai 748 sound/soc/bcm/cygnus-ssp.c snd_soc_dai_set_dma_data(dai, substream, aio); dai 763 sound/soc/bcm/cygnus-ssp.c struct snd_soc_dai *dai) dai 765 sound/soc/bcm/cygnus-ssp.c struct cygnus_aio_port *aio = cygnus_dai_get_portinfo(dai); dai 933 sound/soc/bcm/cygnus-ssp.c struct snd_soc_dai *dai) dai 935 sound/soc/bcm/cygnus-ssp.c struct cygnus_aio_port *aio = cygnus_dai_get_portinfo(dai); dai 936 sound/soc/bcm/cygnus-ssp.c struct cygnus_audio *cygaud = snd_soc_dai_get_drvdata(dai); dai 251 sound/soc/cirrus/ep93xx-ac97.c int cmd, struct snd_soc_dai *dai) dai 253 sound/soc/cirrus/ep93xx-ac97.c struct ep93xx_ac97_info *info = snd_soc_dai_get_drvdata(dai); dai 319 sound/soc/cirrus/ep93xx-ac97.c static int ep93xx_ac97_dai_probe(struct snd_soc_dai *dai) dai 321 sound/soc/cirrus/ep93xx-ac97.c struct ep93xx_ac97_info *info = snd_soc_dai_get_drvdata(dai); dai 326 sound/soc/cirrus/ep93xx-ac97.c dai->playback_dma_data = &info->dma_params_tx; dai 327 sound/soc/cirrus/ep93xx-ac97.c dai->capture_dma_data = &info->dma_params_rx; dai 196 sound/soc/cirrus/ep93xx-i2s.c static int ep93xx_i2s_dai_probe(struct snd_soc_dai *dai) dai 198 sound/soc/cirrus/ep93xx-i2s.c struct ep93xx_i2s_info *info = snd_soc_dai_get_drvdata(dai); dai 205 sound/soc/cirrus/ep93xx-i2s.c dai->playback_dma_data = &info->dma_params_tx; dai 206 sound/soc/cirrus/ep93xx-i2s.c dai->capture_dma_data = &info->dma_params_rx; dai 212 sound/soc/cirrus/ep93xx-i2s.c struct snd_soc_dai *dai) dai 214 sound/soc/cirrus/ep93xx-i2s.c struct ep93xx_i2s_info *info = snd_soc_dai_get_drvdata(dai); dai 297 sound/soc/cirrus/ep93xx-i2s.c struct snd_soc_dai *dai) dai 299 sound/soc/cirrus/ep93xx-i2s.c struct ep93xx_i2s_info *info = snd_soc_dai_get_drvdata(dai); dai 367 sound/soc/cirrus/ep93xx-i2s.c static int ep93xx_i2s_suspend(struct snd_soc_dai *dai) dai 369 sound/soc/cirrus/ep93xx-i2s.c struct ep93xx_i2s_info *info = snd_soc_dai_get_drvdata(dai); dai 371 sound/soc/cirrus/ep93xx-i2s.c if (!dai->active) dai 380 sound/soc/cirrus/ep93xx-i2s.c static int ep93xx_i2s_resume(struct snd_soc_dai *dai) dai 382 sound/soc/cirrus/ep93xx-i2s.c struct ep93xx_i2s_info *info = snd_soc_dai_get_drvdata(dai); dai 384 sound/soc/cirrus/ep93xx-i2s.c if (!dai->active) dai 920 sound/soc/codecs/88pm860x-codec.c struct snd_soc_dai *dai) dai 922 sound/soc/codecs/88pm860x-codec.c struct snd_soc_component *component = dai->component; dai 1017 sound/soc/codecs/88pm860x-codec.c struct snd_soc_dai *dai) dai 1019 sound/soc/codecs/88pm860x-codec.c struct snd_soc_component *component = dai->component; dai 2036 sound/soc/codecs/ab8500-codec.c static int ab8500_audio_set_bit_delay(struct snd_soc_dai *dai, dai 2040 sound/soc/codecs/ab8500-codec.c struct snd_soc_component *component = dai->component; dai 2052 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 2058 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, "%s: IF0 Bit-delay: %d bits.\n", dai 2099 sound/soc/codecs/ab8500-codec.c static int ab8500_codec_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2103 sound/soc/codecs/ab8500-codec.c struct snd_soc_component *component = dai->component; dai 2116 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2121 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2126 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 2131 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 2142 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 2158 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, "%s: IF0 Protocol: I2S\n", __func__); dai 2160 sound/soc/codecs/ab8500-codec.c ab8500_audio_set_bit_delay(dai, 0); dai 2164 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2167 sound/soc/codecs/ab8500-codec.c ab8500_audio_set_bit_delay(dai, 1); dai 2171 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2174 sound/soc/codecs/ab8500-codec.c ab8500_audio_set_bit_delay(dai, 0); dai 2178 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 2186 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2191 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2197 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2203 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2210 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 2221 sound/soc/codecs/ab8500-codec.c static int ab8500_codec_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 2225 sound/soc/codecs/ab8500-codec.c struct snd_soc_component *component = dai->component; dai 2246 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, "%s: Unsupported slot-width 0x%x\n", dai 2251 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, "%s: IF0 slot-width: %d bits.\n", dai 2256 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, "%s: Slots, total: %d\n", __func__, slots); dai 2274 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 2290 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, "%s: Slots, active, TX: %d\n", __func__, dai 2312 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2317 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 2331 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, "%s: Slots, active, RX: %d\n", __func__, dai 2356 sound/soc/codecs/ab8500-codec.c dev_dbg(dai->component->dev, dai 2361 sound/soc/codecs/ab8500-codec.c dev_err(dai->component->dev, dai 33 sound/soc/codecs/ac97.c struct snd_soc_dai *dai) dai 35 sound/soc/codecs/ac97.c struct snd_soc_component *component = dai->component; dai 164 sound/soc/codecs/ad1836.c struct snd_soc_dai *dai) dai 166 sound/soc/codecs/ad1836.c struct ad1836_priv *ad1836 = snd_soc_component_get_drvdata(dai->component); dai 146 sound/soc/codecs/ad193x.c static int ad193x_mute(struct snd_soc_dai *dai, int mute) dai 148 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(dai->component); dai 161 sound/soc/codecs/ad193x.c static int ad193x_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 164 sound/soc/codecs/ad193x.c struct ad193x_priv *ad193x = snd_soc_component_get_drvdata(dai->component); dai 314 sound/soc/codecs/ad193x.c struct snd_soc_dai *dai) dai 317 sound/soc/codecs/ad193x.c struct snd_soc_component *component = dai->component; dai 364 sound/soc/codecs/ad193x.c struct snd_soc_dai *dai) dai 825 sound/soc/codecs/adau1373.c unsigned int dai; dai 828 sound/soc/codecs/adau1373.c dai = sink->name[3] - '1'; dai 830 sound/soc/codecs/adau1373.c if (!adau1373->dais[dai].master) dai 833 sound/soc/codecs/adau1373.c if (adau1373->dais[dai].clk_src == ADAU1373_CLK_SRC_PLL1) dai 846 sound/soc/codecs/adau1373.c unsigned int dai; dai 848 sound/soc/codecs/adau1373.c dai = sink->name[3] - '1'; dai 850 sound/soc/codecs/adau1373.c return adau1373->dais[dai].enable_src; dai 1031 sound/soc/codecs/adau1373.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 1033 sound/soc/codecs/adau1373.c struct snd_soc_component *component = dai->component; dai 1035 sound/soc/codecs/adau1373.c struct adau1373_dai *adau1373_dai = &adau1373->dais[dai->id]; dai 1073 sound/soc/codecs/adau1373.c regmap_update_bits(adau1373->regmap, ADAU1373_BCLKDIV(dai->id), dai 1094 sound/soc/codecs/adau1373.c return regmap_update_bits(adau1373->regmap, ADAU1373_DAI(dai->id), dai 1098 sound/soc/codecs/adau1373.c static int adau1373_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1100 sound/soc/codecs/adau1373.c struct snd_soc_component *component = dai->component; dai 1102 sound/soc/codecs/adau1373.c struct adau1373_dai *adau1373_dai = &adau1373->dais[dai->id]; dai 1151 sound/soc/codecs/adau1373.c regmap_update_bits(adau1373->regmap, ADAU1373_DAI(dai->id), dai 1157 sound/soc/codecs/adau1373.c static int adau1373_set_dai_sysclk(struct snd_soc_dai *dai, dai 1160 sound/soc/codecs/adau1373.c struct adau1373 *adau1373 = snd_soc_component_get_drvdata(dai->component); dai 1161 sound/soc/codecs/adau1373.c struct adau1373_dai *adau1373_dai = &adau1373->dais[dai->id]; dai 1174 sound/soc/codecs/adau1373.c regmap_update_bits(adau1373->regmap, ADAU1373_BCLKDIV(dai->id), dai 435 sound/soc/codecs/adau1701.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 437 sound/soc/codecs/adau1701.c struct snd_soc_component *component = dai->component; dai 576 sound/soc/codecs/adau1701.c static int adau1701_digital_mute(struct snd_soc_dai *dai, int mute) dai 578 sound/soc/codecs/adau1701.c struct snd_soc_component *component = dai->component; dai 618 sound/soc/codecs/adau1701.c struct snd_soc_dai *dai) dai 620 sound/soc/codecs/adau1701.c struct adau1701 *adau1701 = snd_soc_component_get_drvdata(dai->component); dai 348 sound/soc/codecs/adau17x1.c static int adau17x1_set_dai_pll(struct snd_soc_dai *dai, int pll_id, dai 351 sound/soc/codecs/adau17x1.c struct snd_soc_component *component = dai->component; dai 373 sound/soc/codecs/adau17x1.c static int adau17x1_set_dai_sysclk(struct snd_soc_dai *dai, dai 376 sound/soc/codecs/adau17x1.c struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(dai->component); dai 377 sound/soc/codecs/adau17x1.c struct adau *adau = snd_soc_component_get_drvdata(dai->component); dai 425 sound/soc/codecs/adau17x1.c static int adau17x1_auto_pll(struct snd_soc_dai *dai, dai 428 sound/soc/codecs/adau17x1.c struct adau *adau = snd_soc_dai_get_drvdata(dai); dai 454 sound/soc/codecs/adau17x1.c return adau17x1_set_dai_pll(dai, ADAU17X1_PLL, ADAU17X1_PLL_SRC_MCLK, dai 459 sound/soc/codecs/adau17x1.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 461 sound/soc/codecs/adau17x1.c struct snd_soc_component *component = dai->component; dai 469 sound/soc/codecs/adau17x1.c ret = adau17x1_auto_pll(dai, params); dai 551 sound/soc/codecs/adau17x1.c static int adau17x1_set_dai_fmt(struct snd_soc_dai *dai, dai 554 sound/soc/codecs/adau17x1.c struct adau *adau = snd_soc_component_get_drvdata(dai->component); dai 623 sound/soc/codecs/adau17x1.c static int adau17x1_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 626 sound/soc/codecs/adau17x1.c struct adau *adau = snd_soc_component_get_drvdata(dai->component); dai 749 sound/soc/codecs/adau17x1.c struct snd_soc_dai *dai) dai 751 sound/soc/codecs/adau17x1.c struct adau *adau = snd_soc_component_get_drvdata(dai->component); dai 294 sound/soc/codecs/adau1977.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 296 sound/soc/codecs/adau1977.c struct snd_soc_component *component = dai->component; dai 496 sound/soc/codecs/adau1977.c static int adau1977_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 499 sound/soc/codecs/adau1977.c struct adau1977 *adau1977 = snd_soc_component_get_drvdata(dai->component); dai 603 sound/soc/codecs/adau1977.c static int adau1977_mute(struct snd_soc_dai *dai, int mute, int stream) dai 605 sound/soc/codecs/adau1977.c struct adau1977 *adau1977 = snd_soc_component_get_drvdata(dai->component); dai 617 sound/soc/codecs/adau1977.c static int adau1977_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 619 sound/soc/codecs/adau1977.c struct adau1977 *adau1977 = snd_soc_component_get_drvdata(dai->component); dai 704 sound/soc/codecs/adau1977.c struct snd_soc_dai *dai) dai 706 sound/soc/codecs/adau1977.c struct adau1977 *adau1977 = snd_soc_component_get_drvdata(dai->component); dai 729 sound/soc/codecs/adau1977.c static int adau1977_set_tristate(struct snd_soc_dai *dai, int tristate) dai 731 sound/soc/codecs/adau1977.c struct adau1977 *adau1977 = snd_soc_component_get_drvdata(dai->component); dai 365 sound/soc/codecs/adav80x.c static int adav80x_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 367 sound/soc/codecs/adav80x.c struct snd_soc_component *component = dai->component; dai 406 sound/soc/codecs/adav80x.c regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][0], dai 409 sound/soc/codecs/adav80x.c regmap_write(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][1], dai 412 sound/soc/codecs/adav80x.c adav80x->dai_fmt[dai->id] = fmt & SND_SOC_DAIFMT_FORMAT_MASK; dai 453 sound/soc/codecs/adav80x.c struct snd_soc_dai *dai, struct snd_pcm_hw_params *params) dai 475 sound/soc/codecs/adav80x.c regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][0], dai 482 sound/soc/codecs/adav80x.c struct snd_soc_dai *dai, struct snd_pcm_hw_params *params) dai 487 sound/soc/codecs/adav80x.c if (adav80x->dai_fmt[dai->id] != SND_SOC_DAIFMT_RIGHT_J) dai 507 sound/soc/codecs/adav80x.c regmap_update_bits(adav80x->regmap, adav80x_port_ctrl_regs[dai->id][1], dai 514 sound/soc/codecs/adav80x.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 516 sound/soc/codecs/adav80x.c struct snd_soc_component *component = dai->component; dai 524 sound/soc/codecs/adav80x.c adav80x_set_playback_pcm_format(component, dai, params); dai 527 sound/soc/codecs/adav80x.c adav80x_set_capture_pcm_format(component, dai, params); dai 723 sound/soc/codecs/adav80x.c struct snd_soc_dai *dai) dai 725 sound/soc/codecs/adav80x.c struct snd_soc_component *component = dai->component; dai 736 sound/soc/codecs/adav80x.c struct snd_soc_dai *dai) dai 738 sound/soc/codecs/adav80x.c struct snd_soc_component *component = dai->component; dai 99 sound/soc/codecs/ak4104.c struct snd_soc_dai *dai) dai 101 sound/soc/codecs/ak4104.c struct snd_soc_component *component = dai->component; dai 196 sound/soc/codecs/ak4118.c static int ak4118_set_dai_fmt(struct snd_soc_dai *dai, dai 199 sound/soc/codecs/ak4118.c struct snd_soc_component *component = dai->component; dai 237 sound/soc/codecs/ak4118.c struct snd_soc_dai *dai) dai 315 sound/soc/codecs/ak4458.c struct snd_soc_dai *dai) dai 317 sound/soc/codecs/ak4458.c struct snd_soc_component *component = dai->component; dai 367 sound/soc/codecs/ak4458.c static int ak4458_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 369 sound/soc/codecs/ak4458.c struct snd_soc_component *component = dai->component; dai 404 sound/soc/codecs/ak4458.c static int ak4458_set_dai_mute(struct snd_soc_dai *dai, int mute) dai 406 sound/soc/codecs/ak4458.c struct snd_soc_component *component = dai->component; dai 433 sound/soc/codecs/ak4458.c static int ak4458_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 436 sound/soc/codecs/ak4458.c struct snd_soc_component *component = dai->component; dai 483 sound/soc/codecs/ak4458.c struct snd_soc_dai *dai) dai 260 sound/soc/codecs/ak4535.c struct snd_soc_dai *dai) dai 262 sound/soc/codecs/ak4535.c struct snd_soc_component *component = dai->component; dai 312 sound/soc/codecs/ak4535.c static int ak4535_mute(struct snd_soc_dai *dai, int mute) dai 314 sound/soc/codecs/ak4535.c struct snd_soc_component *component = dai->component; dai 240 sound/soc/codecs/ak4613.c struct snd_soc_dai *dai) dai 242 sound/soc/codecs/ak4613.c struct snd_soc_component *component = dai->component; dai 302 sound/soc/codecs/ak4613.c struct snd_soc_dai *dai) dai 304 sound/soc/codecs/ak4613.c struct snd_soc_component *component = dai->component; dai 325 sound/soc/codecs/ak4613.c static int ak4613_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 327 sound/soc/codecs/ak4613.c struct snd_soc_component *component = dai->component; dai 363 sound/soc/codecs/ak4613.c struct snd_soc_dai *dai) dai 365 sound/soc/codecs/ak4613.c struct snd_soc_component *component = dai->component; dai 501 sound/soc/codecs/ak4613.c struct snd_soc_dai *dai) dai 503 sound/soc/codecs/ak4613.c struct snd_soc_component *component = dai->component; dai 316 sound/soc/codecs/ak4641.c struct snd_soc_dai *dai) dai 318 sound/soc/codecs/ak4641.c struct snd_soc_component *component = dai->component; dai 408 sound/soc/codecs/ak4641.c static int ak4641_mute(struct snd_soc_dai *dai, int mute) dai 410 sound/soc/codecs/ak4641.c struct snd_soc_component *component = dai->component; dai 278 sound/soc/codecs/ak4642.c struct snd_soc_dai *dai) dai 281 sound/soc/codecs/ak4642.c struct snd_soc_component *component = dai->component; dai 321 sound/soc/codecs/ak4642.c struct snd_soc_dai *dai) dai 324 sound/soc/codecs/ak4642.c struct snd_soc_component *component = dai->component; dai 386 sound/soc/codecs/ak4642.c static int ak4642_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 388 sound/soc/codecs/ak4642.c struct snd_soc_component *component = dai->component; dai 469 sound/soc/codecs/ak4642.c struct snd_soc_dai *dai) dai 471 sound/soc/codecs/ak4642.c struct snd_soc_component *component = dai->component; dai 423 sound/soc/codecs/ak4671.c struct snd_soc_dai *dai) dai 425 sound/soc/codecs/ak4671.c struct snd_soc_component *component = dai->component; dai 468 sound/soc/codecs/ak4671.c static int ak4671_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 471 sound/soc/codecs/ak4671.c struct snd_soc_component *component = dai->component; dai 514 sound/soc/codecs/ak4671.c static int ak4671_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 516 sound/soc/codecs/ak4671.c struct snd_soc_component *component = dai->component; dai 100 sound/soc/codecs/ak5386.c struct snd_soc_dai *dai) dai 102 sound/soc/codecs/ak5386.c struct snd_soc_component *component = dai->component; dai 122 sound/soc/codecs/ak5386.c struct snd_soc_dai *dai) dai 124 sound/soc/codecs/ak5386.c struct snd_soc_component *component = dai->component; dai 126 sound/soc/codecs/ak5558.c struct snd_soc_dai *dai) dai 128 sound/soc/codecs/ak5558.c struct snd_soc_component *component = dai->component; dai 149 sound/soc/codecs/ak5558.c static int ak5558_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 151 sound/soc/codecs/ak5558.c struct snd_soc_component *component = dai->component; dai 162 sound/soc/codecs/ak5558.c dev_err(dai->dev, "Clock mode unsupported"); dai 186 sound/soc/codecs/ak5558.c static int ak5558_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 190 sound/soc/codecs/ak5558.c struct snd_soc_component *component = dai->component; dai 235 sound/soc/codecs/ak5558.c struct snd_soc_dai *dai) dai 697 sound/soc/codecs/alc5623.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 699 sound/soc/codecs/alc5623.c struct snd_soc_component *component = dai->component; dai 740 sound/soc/codecs/alc5623.c static int alc5623_mute(struct snd_soc_dai *dai, int mute) dai 742 sound/soc/codecs/alc5623.c struct snd_soc_component *component = dai->component; dai 868 sound/soc/codecs/alc5632.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 870 sound/soc/codecs/alc5632.c struct snd_soc_component *component = dai->component; dai 905 sound/soc/codecs/alc5632.c static int alc5632_mute(struct snd_soc_dai *dai, int mute) dai 907 sound/soc/codecs/alc5632.c struct snd_soc_component *component = dai->component; dai 1441 sound/soc/codecs/arizona.c static int arizona_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1443 sound/soc/codecs/arizona.c struct snd_soc_component *component = dai->component; dai 1448 sound/soc/codecs/arizona.c base = dai->driver->base; dai 1460 sound/soc/codecs/arizona.c arizona_aif_err(dai, "DSP_B not valid in slave mode\n"); dai 1471 sound/soc/codecs/arizona.c arizona_aif_err(dai, "LEFT_J not valid in slave mode\n"); dai 1477 sound/soc/codecs/arizona.c arizona_aif_err(dai, "Unsupported DAI format %d\n", dai 1496 sound/soc/codecs/arizona.c arizona_aif_err(dai, "Unsupported master mode %d\n", dai 1616 sound/soc/codecs/arizona.c struct snd_soc_dai *dai) dai 1618 sound/soc/codecs/arizona.c struct snd_soc_component *component = dai->component; dai 1620 sound/soc/codecs/arizona.c struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; dai 1676 sound/soc/codecs/arizona.c struct snd_soc_dai *dai) dai 1678 sound/soc/codecs/arizona.c struct snd_soc_component *component = dai->component; dai 1680 sound/soc/codecs/arizona.c struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; dai 1681 sound/soc/codecs/arizona.c int base = dai->driver->base; dai 1692 sound/soc/codecs/arizona.c arizona_aif_err(dai, "Unsupported sample rate %dHz\n", dai 1707 sound/soc/codecs/arizona.c arizona_aif_err(dai, "Failed to change DVFS %d\n", ret); dai 1746 sound/soc/codecs/arizona.c arizona_aif_err(dai, "Invalid clock %d\n", dai_priv->clk); dai 1776 sound/soc/codecs/arizona.c struct snd_soc_dai *dai) dai 1778 sound/soc/codecs/arizona.c struct snd_soc_component *component = dai->component; dai 1781 sound/soc/codecs/arizona.c int base = dai->driver->base; dai 1785 sound/soc/codecs/arizona.c int chan_limit = arizona->pdata.max_channels_clocked[dai->id - 1]; dai 1786 sound/soc/codecs/arizona.c int tdm_width = arizona->tdm_width[dai->id - 1]; dai 1787 sound/soc/codecs/arizona.c int tdm_slots = arizona->tdm_slots[dai->id - 1]; dai 1800 sound/soc/codecs/arizona.c arizona_aif_dbg(dai, "Configuring for %d %d bit TDM slots\n", dai 1810 sound/soc/codecs/arizona.c arizona_aif_dbg(dai, "Limiting to %d channels\n", chan_limit); dai 1819 sound/soc/codecs/arizona.c arizona_aif_dbg(dai, "Forcing stereo mode\n"); dai 1832 sound/soc/codecs/arizona.c arizona_aif_err(dai, "Unsupported sample rate %dHz\n", dai 1839 sound/soc/codecs/arizona.c arizona_aif_dbg(dai, "BCLK %dHz LRCLK %dHz\n", dai 1860 sound/soc/codecs/arizona.c ret = arizona_hw_params_rate(substream, params, dai); dai 1909 sound/soc/codecs/arizona.c static int arizona_dai_set_sysclk(struct snd_soc_dai *dai, dai 1912 sound/soc/codecs/arizona.c struct snd_soc_component *component = dai->component; dai 1915 sound/soc/codecs/arizona.c struct arizona_dai_priv *dai_priv = &priv->dai[dai->id - 1]; dai 1929 sound/soc/codecs/arizona.c if (dai->active) { dai 1931 sound/soc/codecs/arizona.c dai->id); dai 1935 sound/soc/codecs/arizona.c dev_dbg(component->dev, "Setting AIF%d to %s\n", dai->id + 1, dai 1939 sound/soc/codecs/arizona.c routes[0].sink = dai->driver->capture.stream_name; dai 1940 sound/soc/codecs/arizona.c routes[1].sink = dai->driver->playback.stream_name; dai 1955 sound/soc/codecs/arizona.c static int arizona_set_tristate(struct snd_soc_dai *dai, int tristate) dai 1957 sound/soc/codecs/arizona.c struct snd_soc_component *component = dai->component; dai 1958 sound/soc/codecs/arizona.c int base = dai->driver->base; dai 1971 sound/soc/codecs/arizona.c static void arizona_set_channels_to_mask(struct snd_soc_dai *dai, dai 1975 sound/soc/codecs/arizona.c struct snd_soc_component *component = dai->component; dai 1991 sound/soc/codecs/arizona.c arizona_aif_warn(dai, "Too many channels in TDM mask\n"); dai 1994 sound/soc/codecs/arizona.c static int arizona_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 1997 sound/soc/codecs/arizona.c struct snd_soc_component *component = dai->component; dai 2000 sound/soc/codecs/arizona.c int base = dai->driver->base; dai 2001 sound/soc/codecs/arizona.c int rx_max_chan = dai->driver->playback.channels_max; dai 2002 sound/soc/codecs/arizona.c int tx_max_chan = dai->driver->capture.channels_max; dai 2005 sound/soc/codecs/arizona.c if (dai->id > ARIZONA_MAX_AIF) dai 2013 sound/soc/codecs/arizona.c arizona_set_channels_to_mask(dai, base + ARIZONA_AIF_FRAME_CTRL_3, dai 2015 sound/soc/codecs/arizona.c arizona_set_channels_to_mask(dai, base + ARIZONA_AIF_FRAME_CTRL_11, dai 2018 sound/soc/codecs/arizona.c arizona->tdm_width[dai->id - 1] = slot_width; dai 2019 sound/soc/codecs/arizona.c arizona->tdm_slots[dai->id - 1] = slots; dai 2043 sound/soc/codecs/arizona.c struct arizona_dai_priv *dai_priv = &priv->dai[id]; dai 81 sound/soc/codecs/arizona.h struct arizona_dai_priv dai[ARIZONA_MAX_DAI]; dai 320 sound/soc/codecs/arizona.h int arizona_init_dai(struct arizona_priv *priv, int dai); dai 949 sound/soc/codecs/cpcap.c static int cpcap_set_sysclk(struct cpcap_audio *cpcap, enum cpcap_dai dai, dai 958 sound/soc/codecs/cpcap.c switch (dai) { dai 972 sound/soc/codecs/cpcap.c dev_err(cpcap->component->dev, "invalid DAI: %d", dai); dai 987 sound/soc/codecs/cpcap.c if (dai == CPCAP_DAI_VOICE) { dai 1027 sound/soc/codecs/cpcap.c if (dai == CPCAP_DAI_VOICE) { dai 1035 sound/soc/codecs/cpcap.c static int cpcap_set_samprate(struct cpcap_audio *cpcap, enum cpcap_dai dai, dai 1042 sound/soc/codecs/cpcap.c switch (dai) { dai 1056 sound/soc/codecs/cpcap.c dev_err(component->dev, "invalid DAI: %d", dai); dai 1116 sound/soc/codecs/cpcap.c struct snd_soc_dai *dai) dai 1118 sound/soc/codecs/cpcap.c struct snd_soc_component *component = dai->component; dai 1219 sound/soc/codecs/cpcap.c static int cpcap_hifi_set_mute(struct snd_soc_dai *dai, int mute) dai 1221 sound/soc/codecs/cpcap.c struct snd_soc_component *component = dai->component; dai 1245 sound/soc/codecs/cpcap.c struct snd_soc_dai *dai) dai 1247 sound/soc/codecs/cpcap.c struct snd_soc_component *component = dai->component; dai 1373 sound/soc/codecs/cpcap.c static int cpcap_voice_set_mute(struct snd_soc_dai *dai, int mute) dai 1375 sound/soc/codecs/cpcap.c struct snd_soc_component *component = dai->component; dai 33 sound/soc/codecs/cq93vc.c static int cq93vc_mute(struct snd_soc_dai *dai, int mute) dai 35 sound/soc/codecs/cq93vc.c struct snd_soc_component *component = dai->component; dai 103 sound/soc/codecs/cros_ec_codec.c static int cros_ec_i2s_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 105 sound/soc/codecs/cros_ec_codec.c struct snd_soc_component *component = dai->component; dai 177 sound/soc/codecs/cros_ec_codec.c struct snd_soc_dai *dai) dai 179 sound/soc/codecs/cros_ec_codec.c struct snd_soc_component *component = dai->component; dai 172 sound/soc/codecs/cs35l32.c static int cs35l32_set_tristate(struct snd_soc_dai *dai, int tristate) dai 174 sound/soc/codecs/cs35l32.c struct snd_soc_component *component = dai->component; dai 480 sound/soc/codecs/cs35l33.c struct snd_soc_dai *dai) dai 482 sound/soc/codecs/cs35l33.c struct snd_soc_component *component = dai->component; dai 521 sound/soc/codecs/cs35l33.c struct snd_soc_dai *dai) dai 529 sound/soc/codecs/cs35l33.c static int cs35l33_set_tristate(struct snd_soc_dai *dai, int tristate) dai 531 sound/soc/codecs/cs35l33.c struct snd_soc_component *component = dai->component; dai 549 sound/soc/codecs/cs35l33.c static int cs35l33_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 552 sound/soc/codecs/cs35l33.c struct snd_soc_component *component = dai->component; dai 268 sound/soc/codecs/cs35l34.c static int cs35l34_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 271 sound/soc/codecs/cs35l34.c struct snd_soc_component *component = dai->component; dai 543 sound/soc/codecs/cs35l34.c struct snd_soc_dai *dai) dai 545 sound/soc/codecs/cs35l34.c struct snd_soc_component *component = dai->component; dai 577 sound/soc/codecs/cs35l34.c struct snd_soc_dai *dai) dai 586 sound/soc/codecs/cs35l34.c static int cs35l34_set_tristate(struct snd_soc_dai *dai, int tristate) dai 589 sound/soc/codecs/cs35l34.c struct snd_soc_component *component = dai->component; dai 600 sound/soc/codecs/cs35l34.c static int cs35l34_dai_set_sysclk(struct snd_soc_dai *dai, dai 603 sound/soc/codecs/cs35l34.c struct snd_soc_component *component = dai->component; dai 467 sound/soc/codecs/cs35l35.c struct snd_soc_dai *dai) dai 469 sound/soc/codecs/cs35l35.c struct snd_soc_component *component = dai->component; dai 604 sound/soc/codecs/cs35l35.c struct snd_soc_dai *dai) dai 606 sound/soc/codecs/cs35l35.c struct snd_soc_component *component = dai->component; dai 632 sound/soc/codecs/cs35l35.c struct snd_soc_dai *dai) dai 634 sound/soc/codecs/cs35l35.c struct snd_soc_component *component = dai->component; dai 651 sound/soc/codecs/cs35l35.c static int cs35l35_dai_set_sysclk(struct snd_soc_dai *dai, dai 654 sound/soc/codecs/cs35l35.c struct snd_soc_component *component = dai->component; dai 865 sound/soc/codecs/cs35l36.c struct snd_soc_dai *dai) dai 868 sound/soc/codecs/cs35l36.c snd_soc_component_get_drvdata(dai->component); dai 908 sound/soc/codecs/cs35l36.c static int cs35l36_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 911 sound/soc/codecs/cs35l36.c struct snd_soc_component *component = dai->component; dai 964 sound/soc/codecs/cs35l36.c struct snd_soc_dai *dai) dai 381 sound/soc/codecs/cs4265.c static int cs4265_digital_mute(struct snd_soc_dai *dai, int mute) dai 383 sound/soc/codecs/cs4265.c struct snd_soc_component *component = dai->component; dai 405 sound/soc/codecs/cs4265.c struct snd_soc_dai *dai) dai 407 sound/soc/codecs/cs4265.c struct snd_soc_component *component = dai->component; dai 327 sound/soc/codecs/cs4270.c struct snd_soc_dai *dai) dai 329 sound/soc/codecs/cs4270.c struct snd_soc_component *component = dai->component; dai 406 sound/soc/codecs/cs4270.c static int cs4270_dai_mute(struct snd_soc_dai *dai, int mute) dai 408 sound/soc/codecs/cs4270.c struct snd_soc_component *component = dai->component; dai 341 sound/soc/codecs/cs4271.c struct snd_soc_dai *dai) dai 343 sound/soc/codecs/cs4271.c struct snd_soc_component *component = dai->component; dai 359 sound/soc/codecs/cs4271.c !dai->capture_active) || dai 361 sound/soc/codecs/cs4271.c !dai->playback_active)) { dai 407 sound/soc/codecs/cs4271.c static int cs4271_mute_stream(struct snd_soc_dai *dai, int mute, int stream) dai 409 sound/soc/codecs/cs4271.c struct snd_soc_component *component = dai->component; dai 827 sound/soc/codecs/cs42l42.c struct snd_soc_dai *dai) dai 829 sound/soc/codecs/cs42l42.c struct snd_soc_component *component = dai->component; dai 841 sound/soc/codecs/cs42l42.c static int cs42l42_set_sysclk(struct snd_soc_dai *dai, dai 844 sound/soc/codecs/cs42l42.c struct snd_soc_component *component = dai->component; dai 852 sound/soc/codecs/cs42l42.c static int cs42l42_digital_mute(struct snd_soc_dai *dai, int mute) dai 854 sound/soc/codecs/cs42l42.c struct snd_soc_component *component = dai->component; dai 365 sound/soc/codecs/cs42l51.c struct snd_soc_dai *dai) dai 367 sound/soc/codecs/cs42l51.c struct snd_soc_component *component = dai->component; dai 483 sound/soc/codecs/cs42l51.c static int cs42l51_dai_mute(struct snd_soc_dai *dai, int mute) dai 485 sound/soc/codecs/cs42l51.c struct snd_soc_component *component = dai->component; dai 787 sound/soc/codecs/cs42l52.c static int cs42l52_digital_mute(struct snd_soc_dai *dai, int mute) dai 789 sound/soc/codecs/cs42l52.c struct snd_soc_component *component = dai->component; dai 805 sound/soc/codecs/cs42l52.c struct snd_soc_dai *dai) dai 807 sound/soc/codecs/cs42l52.c struct snd_soc_component *component = dai->component; dai 803 sound/soc/codecs/cs42l56.c static int cs42l56_digital_mute(struct snd_soc_dai *dai, int mute) dai 805 sound/soc/codecs/cs42l56.c struct snd_soc_component *component = dai->component; dai 860 sound/soc/codecs/cs42l56.c struct snd_soc_dai *dai) dai 862 sound/soc/codecs/cs42l56.c struct snd_soc_component *component = dai->component; dai 875 sound/soc/codecs/cs42l73.c static int cs42l73_set_mclk(struct snd_soc_dai *dai, unsigned int freq) dai 877 sound/soc/codecs/cs42l73.c struct snd_soc_component *component = dai->component; dai 907 sound/soc/codecs/cs42l73.c static int cs42l73_set_sysclk(struct snd_soc_dai *dai, dai 910 sound/soc/codecs/cs42l73.c struct snd_soc_component *component = dai->component; dai 922 sound/soc/codecs/cs42l73.c if ((cs42l73_set_mclk(dai, freq)) < 0) { dai 924 sound/soc/codecs/cs42l73.c dai->name); dai 1046 sound/soc/codecs/cs42l73.c struct snd_soc_dai *dai) dai 1048 sound/soc/codecs/cs42l73.c struct snd_soc_component *component = dai->component; dai 1050 sound/soc/codecs/cs42l73.c int id = dai->id; dai 1130 sound/soc/codecs/cs42l73.c static int cs42l73_set_tristate(struct snd_soc_dai *dai, int tristate) dai 1132 sound/soc/codecs/cs42l73.c struct snd_soc_component *component = dai->component; dai 1133 sound/soc/codecs/cs42l73.c int id = dai->id; dai 1145 sound/soc/codecs/cs42l73.c struct snd_soc_dai *dai) dai 262 sound/soc/codecs/cs42xx8.c struct snd_soc_dai *dai) dai 264 sound/soc/codecs/cs42xx8.c struct snd_soc_component *component = dai->component; dai 350 sound/soc/codecs/cs42xx8.c struct snd_soc_dai *dai) dai 352 sound/soc/codecs/cs42xx8.c struct snd_soc_component *component = dai->component; dai 365 sound/soc/codecs/cs42xx8.c static int cs42xx8_digital_mute(struct snd_soc_dai *dai, int mute) dai 367 sound/soc/codecs/cs42xx8.c struct snd_soc_component *component = dai->component; dai 772 sound/soc/codecs/cs43130.c struct snd_soc_dai *dai) dai 774 sound/soc/codecs/cs43130.c struct snd_soc_component *component = dai->component; dai 812 sound/soc/codecs/cs43130.c if (cs43130->dais[dai->id].dai_mode == SND_SOC_DAIFMT_CBM_CFM) dai 831 sound/soc/codecs/cs43130.c struct snd_soc_dai *dai) dai 833 sound/soc/codecs/cs43130.c struct snd_soc_component *component = dai->component; dai 836 sound/soc/codecs/cs43130.c unsigned int sclk = cs43130->dais[dai->id].sclk; dai 862 sound/soc/codecs/cs43130.c switch (dai->id) { dai 895 sound/soc/codecs/cs43130.c dev_err(component->dev, "Invalid DAI (%d)\n", dai->id); dai 899 sound/soc/codecs/cs43130.c switch (dai->id) { dai 912 sound/soc/codecs/cs43130.c if (!sclk && cs43130->dais[dai->id].dai_mode == SND_SOC_DAIFMT_CBM_CFM) dai 937 sound/soc/codecs/cs43130.c cs43130_set_bitwidth(dai->id, bitwidth_dai, cs43130->regmap); dai 938 sound/soc/codecs/cs43130.c cs43130_set_sp_fmt(dai->id, bitwidth_sclk, params, cs43130); dai 944 sound/soc/codecs/cs43130.c struct snd_soc_dai *dai) dai 946 sound/soc/codecs/cs43130.c struct snd_soc_component *component = dai->component; dai 1445 sound/soc/codecs/cs43130.c struct snd_soc_dai *dai) dai 1462 sound/soc/codecs/cs43130.c struct snd_soc_dai *dai) dai 46 sound/soc/codecs/cs4341.c static int cs4341_set_fmt(struct snd_soc_dai *dai, unsigned int format) dai 48 sound/soc/codecs/cs4341.c struct snd_soc_component *component = dai->component; dai 80 sound/soc/codecs/cs4341.c struct snd_soc_dai *dai) dai 82 sound/soc/codecs/cs4341.c struct snd_soc_component *component = dai->component; dai 119 sound/soc/codecs/cs4341.c static int cs4341_digital_mute(struct snd_soc_dai *dai, int mute) dai 121 sound/soc/codecs/cs4341.c struct snd_soc_component *component = dai->component; dai 95 sound/soc/codecs/cs4349.c struct snd_soc_dai *dai) dai 97 sound/soc/codecs/cs4349.c struct snd_soc_component *component = dai->component; dai 134 sound/soc/codecs/cs4349.c static int cs4349_digital_mute(struct snd_soc_dai *dai, int mute) dai 136 sound/soc/codecs/cs4349.c struct snd_soc_component *component = dai->component; dai 545 sound/soc/codecs/cs53l30.c static int cs53l30_set_sysclk(struct snd_soc_dai *dai, dai 548 sound/soc/codecs/cs53l30.c struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); dai 569 sound/soc/codecs/cs53l30.c static int cs53l30_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 571 sound/soc/codecs/cs53l30.c struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); dai 623 sound/soc/codecs/cs53l30.c struct snd_soc_dai *dai) dai 625 sound/soc/codecs/cs53l30.c struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); dai 733 sound/soc/codecs/cs53l30.c static int cs53l30_set_tristate(struct snd_soc_dai *dai, int tristate) dai 735 sound/soc/codecs/cs53l30.c struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); dai 752 sound/soc/codecs/cs53l30.c struct snd_soc_dai *dai) dai 765 sound/soc/codecs/cs53l30.c static int cs53l30_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 769 sound/soc/codecs/cs53l30.c struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); dai 776 sound/soc/codecs/cs53l30.c dev_err(dai->dev, "rx masks must not be 0\n"); dai 782 sound/soc/codecs/cs53l30.c dev_err(dai->dev, "invalid slot number or slot width\n"); dai 787 sound/soc/codecs/cs53l30.c dev_err(dai->dev, "slot width must count in byte\n"); dai 807 sound/soc/codecs/cs53l30.c dev_err(dai->dev, "rx_mask exceeds max slot number: %d\n", dai 815 sound/soc/codecs/cs53l30.c dev_err(dai->dev, "slot selection out of bounds: %u\n", dai 823 sound/soc/codecs/cs53l30.c dev_dbg(dai->dev, "loc[%d]=%x\n", i, loc[i]); dai 830 sound/soc/codecs/cs53l30.c dev_dbg(dai->dev, "en_reg=%x, tx_enable=%llx\n", dai 837 sound/soc/codecs/cs53l30.c static int cs53l30_mute_stream(struct snd_soc_dai *dai, int mute, int stream) dai 839 sound/soc/codecs/cs53l30.c struct cs53l30_private *priv = snd_soc_component_get_drvdata(dai->component); dai 915 sound/soc/codecs/cx2072x.c struct snd_soc_dai *dai) dai 917 sound/soc/codecs/cx2072x.c struct snd_soc_component *codec = dai->component; dai 962 sound/soc/codecs/cx2072x.c if (dai->id == CX2072X_DAI_DSP) { dai 982 sound/soc/codecs/cx2072x.c static int cx2072x_set_dai_bclk_ratio(struct snd_soc_dai *dai, dai 985 sound/soc/codecs/cx2072x.c struct snd_soc_component *codec = dai->component; dai 992 sound/soc/codecs/cx2072x.c static int cx2072x_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 995 sound/soc/codecs/cx2072x.c struct snd_soc_component *codec = dai->component; dai 1007 sound/soc/codecs/cx2072x.c static int cx2072x_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1009 sound/soc/codecs/cx2072x.c struct snd_soc_component *codec = dai->component; dai 1545 sound/soc/codecs/cx2072x.c static int cx2072x_dsp_dai_probe(struct snd_soc_dai *dai) dai 1548 sound/soc/codecs/cx2072x.c snd_soc_component_get_drvdata(dai->component); dai 756 sound/soc/codecs/da7210.c struct snd_soc_dai *dai) dai 758 sound/soc/codecs/da7210.c struct snd_soc_component *component = dai->component; dai 927 sound/soc/codecs/da7210.c static int da7210_mute(struct snd_soc_dai *dai, int mute) dai 929 sound/soc/codecs/da7210.c struct snd_soc_component *component = dai->component; dai 1147 sound/soc/codecs/da7213.c struct snd_soc_dai *dai) dai 1149 sound/soc/codecs/da7213.c struct snd_soc_component *component = dai->component; dai 1315 sound/soc/codecs/da7213.c static int da7213_mute(struct snd_soc_dai *dai, int mute) dai 1317 sound/soc/codecs/da7213.c struct snd_soc_component *component = dai->component; dai 2018 sound/soc/codecs/da7218.c static int da7218_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 2022 sound/soc/codecs/da7218.c struct snd_soc_component *component = dai->component; dai 2089 sound/soc/codecs/da7218.c struct snd_soc_dai *dai) dai 2091 sound/soc/codecs/da7218.c struct snd_soc_component *component = dai->component; dai 1414 sound/soc/codecs/da7219.c static int da7219_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 1418 sound/soc/codecs/da7219.c struct snd_soc_component *component = dai->component; dai 1552 sound/soc/codecs/da7219.c struct snd_soc_dai *dai) dai 1554 sound/soc/codecs/da7219.c struct snd_soc_component *component = dai->component; dai 947 sound/soc/codecs/da732x.c struct snd_soc_dai *dai) dai 949 sound/soc/codecs/da732x.c struct snd_soc_component *component = dai->component; dai 954 sound/soc/codecs/da732x.c reg_aif = dai->driver->base; dai 1017 sound/soc/codecs/da732x.c static int da732x_set_dai_fmt(struct snd_soc_dai *dai, u32 fmt) dai 1019 sound/soc/codecs/da732x.c struct snd_soc_component *component = dai->component; dai 1024 sound/soc/codecs/da732x.c switch (dai->id) { dai 1180 sound/soc/codecs/da732x.c static int da732x_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 1183 sound/soc/codecs/da732x.c struct snd_soc_component *component = dai->component; dai 1049 sound/soc/codecs/da9055.c struct snd_soc_dai *dai) dai 1051 sound/soc/codecs/da9055.c struct snd_soc_component *component = dai->component; dai 1214 sound/soc/codecs/da9055.c static int da9055_mute(struct snd_soc_dai *dai, int mute) dai 1216 sound/soc/codecs/da9055.c struct snd_soc_component *component = dai->component; dai 34 sound/soc/codecs/dmic.c int cmd, struct snd_soc_dai *dai) dai 36 sound/soc/codecs/dmic.c struct snd_soc_component *component = dai->component; dai 37 sound/soc/codecs/es7134.c static int es7134_check_mclk(struct snd_soc_dai *dai, dai 55 sound/soc/codecs/es7134.c dev_err(dai->dev, "unsupported mclk_fs %u for rate %u\n", dai 61 sound/soc/codecs/es7134.c dev_err(dai->dev, "unsupported rate: %u\n", rate); dai 67 sound/soc/codecs/es7134.c struct snd_soc_dai *dai) dai 69 sound/soc/codecs/es7134.c struct es7134_data *priv = snd_soc_dai_get_drvdata(dai); dai 75 sound/soc/codecs/es7134.c return es7134_check_mclk(dai, priv, params_rate(params)); dai 78 sound/soc/codecs/es7134.c static int es7134_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 81 sound/soc/codecs/es7134.c struct es7134_data *priv = snd_soc_dai_get_drvdata(dai); dai 88 sound/soc/codecs/es7241.c struct snd_soc_dai *dai) dai 90 sound/soc/codecs/es7241.c struct es7241_data *priv = snd_soc_dai_get_drvdata(dai); dai 108 sound/soc/codecs/es7241.c dev_err(dai->dev, "unsupported rate: %u\n", rate); dai 112 sound/soc/codecs/es7241.c static int es7241_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 115 sound/soc/codecs/es7241.c struct es7241_data *priv = snd_soc_dai_get_drvdata(dai); dai 125 sound/soc/codecs/es7241.c static int es7241_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 127 sound/soc/codecs/es7241.c struct es7241_data *priv = snd_soc_dai_get_drvdata(dai); dai 130 sound/soc/codecs/es7241.c dev_err(dai->dev, "Unsupported dai clock inversion\n"); dai 135 sound/soc/codecs/es7241.c dev_err(dai->dev, "Invalid dai format\n"); dai 148 sound/soc/codecs/es7241.c dev_err(dai->dev, "Unsupported clock configuration\n"); dai 452 sound/soc/codecs/es8316.c struct snd_soc_dai *dai) dai 454 sound/soc/codecs/es8316.c struct snd_soc_component *component = dai->component; dai 467 sound/soc/codecs/es8316.c struct snd_soc_dai *dai) dai 469 sound/soc/codecs/es8316.c struct snd_soc_component *component = dai->component; dai 510 sound/soc/codecs/es8316.c static int es8316_mute(struct snd_soc_dai *dai, int mute) dai 512 sound/soc/codecs/es8316.c snd_soc_component_update_bits(dai->component, ES8316_DAC_SET1, 0x20, dai 452 sound/soc/codecs/es8328.c static int es8328_mute(struct snd_soc_dai *dai, int mute) dai 454 sound/soc/codecs/es8328.c return snd_soc_component_update_bits(dai->component, ES8328_DACCONTROL3, dai 460 sound/soc/codecs/es8328.c struct snd_soc_dai *dai) dai 462 sound/soc/codecs/es8328.c struct snd_soc_component *component = dai->component; dai 475 sound/soc/codecs/es8328.c struct snd_soc_dai *dai) dai 477 sound/soc/codecs/es8328.c struct snd_soc_component *component = dai->component; dai 36 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai); dai 38 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai); dai 40 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai); dai 43 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai); dai 45 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai); dai 46 sound/soc/codecs/hdac_hda.c static int hdac_hda_dai_set_tdm_slot(struct snd_soc_dai *dai, dai 50 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai); dai 128 sound/soc/codecs/hdac_hda.c static int hdac_hda_dai_set_tdm_slot(struct snd_soc_dai *dai, dai 132 sound/soc/codecs/hdac_hda.c struct snd_soc_component *component = dai->component; dai 137 sound/soc/codecs/hdac_hda.c pcm = &hda_pvt->pcm[dai->id]; dai 139 sound/soc/codecs/hdac_hda.c pcm[dai->id].stream_tag[SNDRV_PCM_STREAM_PLAYBACK] = tx_mask; dai 141 sound/soc/codecs/hdac_hda.c pcm[dai->id].stream_tag[SNDRV_PCM_STREAM_CAPTURE] = rx_mask; dai 148 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai) dai 150 sound/soc/codecs/hdac_hda.c struct snd_soc_component *component = dai->component; dai 156 sound/soc/codecs/hdac_hda.c maxbps = dai->driver->playback.sig_bits; dai 158 sound/soc/codecs/hdac_hda.c maxbps = dai->driver->capture.sig_bits; dai 167 sound/soc/codecs/hdac_hda.c dev_err(dai->dev, dai 175 sound/soc/codecs/hdac_hda.c hda_pvt->pcm[dai->id].format_val[substream->stream] = format_val; dai 180 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai) dai 182 sound/soc/codecs/hdac_hda.c struct snd_soc_component *component = dai->component; dai 188 sound/soc/codecs/hdac_hda.c pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); dai 199 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai) dai 201 sound/soc/codecs/hdac_hda.c struct snd_soc_component *component = dai->component; dai 212 sound/soc/codecs/hdac_hda.c pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); dai 218 sound/soc/codecs/hdac_hda.c stream = hda_pvt->pcm[dai->id].stream_tag[substream->stream]; dai 219 sound/soc/codecs/hdac_hda.c format_val = hda_pvt->pcm[dai->id].format_val[substream->stream]; dai 230 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai) dai 232 sound/soc/codecs/hdac_hda.c struct snd_soc_component *component = dai->component; dai 239 sound/soc/codecs/hdac_hda.c pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); dai 255 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai) dai 257 sound/soc/codecs/hdac_hda.c struct snd_soc_component *component = dai->component; dai 263 sound/soc/codecs/hdac_hda.c pcm = snd_soc_find_pcm_from_dai(hda_pvt, dai); dai 275 sound/soc/codecs/hdac_hda.c struct snd_soc_dai *dai) dai 281 sound/soc/codecs/hdac_hda.c switch (dai->id) { dai 292 sound/soc/codecs/hdac_hda.c dev_err(&hcodec->core.dev, "invalid dai id %d\n", dai->id); dai 301 sound/soc/codecs/hdac_hda.c dev_err(&hcodec->core.dev, "didn't find PCM for DAI %s\n", dai->name); dai 445 sound/soc/codecs/hdac_hdmi.c static int hdac_hdmi_set_tdm_slot(struct snd_soc_dai *dai, dai 449 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); dai 456 sound/soc/codecs/hdac_hdmi.c dai_map = &hdmi->dai_map[dai->id]; dai 467 sound/soc/codecs/hdac_hdmi.c struct snd_pcm_hw_params *hparams, struct snd_soc_dai *dai) dai 469 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); dai 474 sound/soc/codecs/hdac_hdmi.c dai_map = &hdmi->dai_map[dai->id]; dai 478 sound/soc/codecs/hdac_hdmi.c dai->driver->playback.sig_bits, 0); dai 590 sound/soc/codecs/hdac_hdmi.c struct snd_soc_dai *dai) dai 592 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); dai 599 sound/soc/codecs/hdac_hdmi.c dai_map = &hdmi->dai_map[dai->id]; dai 633 sound/soc/codecs/hdac_hdmi.c struct snd_soc_dai *dai) dai 635 sound/soc/codecs/hdac_hdmi.c struct hdac_hdmi_priv *hdmi = snd_soc_dai_get_drvdata(dai); dai 639 sound/soc/codecs/hdac_hdmi.c dai_map = &hdmi->dai_map[dai->id]; dai 1790 sound/soc/codecs/hdac_hdmi.c int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int device, dai 1793 sound/soc/codecs/hdac_hdmi.c struct snd_soc_component *component = dai->component; dai 1808 sound/soc/codecs/hdac_hdmi.c pcm->cvt = hdmi->dai_map[dai->id].cvt; dai 1813 sound/soc/codecs/hdac_hdmi.c snd_pcm = hdac_hdmi_get_pcm_from_id(dai->component->card, device); dai 5 sound/soc/codecs/hdac_hdmi.h int hdac_hdmi_jack_init(struct snd_soc_dai *dai, int pcm, dai 388 sound/soc/codecs/hdmi-codec.c struct snd_soc_dai *dai) dai 390 sound/soc/codecs/hdmi-codec.c struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai); dai 395 sound/soc/codecs/hdmi-codec.c dev_err(dai->dev, "Only one simultaneous stream supported!\n"); dai 400 sound/soc/codecs/hdmi-codec.c ret = hcp->hcd.ops->audio_startup(dai->dev->parent, hcp->hcd.data); dai 406 sound/soc/codecs/hdmi-codec.c ret = hcp->hcd.ops->get_eld(dai->dev->parent, hcp->hcd.data, dai 427 sound/soc/codecs/hdmi-codec.c struct snd_soc_dai *dai) dai 429 sound/soc/codecs/hdmi-codec.c struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai); dai 432 sound/soc/codecs/hdmi-codec.c hcp->hcd.ops->audio_shutdown(dai->dev->parent, hcp->hcd.data); dai 439 sound/soc/codecs/hdmi-codec.c struct snd_soc_dai *dai) dai 441 sound/soc/codecs/hdmi-codec.c struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai); dai 442 sound/soc/codecs/hdmi-codec.c struct hdmi_codec_daifmt *cf = dai->playback_dma_data; dai 453 sound/soc/codecs/hdmi-codec.c dev_dbg(dai->dev, "%s() width %d rate %d channels %d\n", __func__, dai 460 sound/soc/codecs/hdmi-codec.c dev_err(dai->dev, "Creating IEC958 channel status failed %d\n", dai 474 sound/soc/codecs/hdmi-codec.c dev_err(dai->dev, "Not able to map channels to speakers (%d)\n", dai 486 sound/soc/codecs/hdmi-codec.c return hcp->hcd.ops->hw_params(dai->dev->parent, hcp->hcd.data, dai 490 sound/soc/codecs/hdmi-codec.c static int hdmi_codec_i2s_set_fmt(struct snd_soc_dai *dai, dai 493 sound/soc/codecs/hdmi-codec.c struct hdmi_codec_daifmt *cf = dai->playback_dma_data; dai 550 sound/soc/codecs/hdmi-codec.c dev_err(dai->dev, "Invalid DAI interface format\n"); dai 557 sound/soc/codecs/hdmi-codec.c static int hdmi_codec_digital_mute(struct snd_soc_dai *dai, int mute) dai 559 sound/soc/codecs/hdmi-codec.c struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai); dai 562 sound/soc/codecs/hdmi-codec.c return hcp->hcd.ops->digital_mute(dai->dev->parent, dai 608 sound/soc/codecs/hdmi-codec.c struct snd_soc_dai *dai) dai 610 sound/soc/codecs/hdmi-codec.c struct snd_soc_dai_driver *drv = dai->driver; dai 611 sound/soc/codecs/hdmi-codec.c struct hdmi_codec_priv *hcp = snd_soc_dai_get_drvdata(dai); dai 639 sound/soc/codecs/hdmi-codec.c kctl = snd_ctl_new1(&hdmi_eld_ctl, dai->component); dai 646 sound/soc/codecs/hdmi-codec.c static int hdmi_dai_probe(struct snd_soc_dai *dai) dai 652 sound/soc/codecs/hdmi-codec.c .source = dai->driver->playback.stream_name, dai 656 sound/soc/codecs/hdmi-codec.c dapm = snd_soc_component_get_dapm(dai->component); dai 665 sound/soc/codecs/hdmi-codec.c dai->playback_dma_data = daifmt; dai 712 sound/soc/codecs/hdmi-codec.c static int hdmi_dai_spdif_probe(struct snd_soc_dai *dai) dai 714 sound/soc/codecs/hdmi-codec.c struct hdmi_codec_daifmt *cf = dai->playback_dma_data; dai 717 sound/soc/codecs/hdmi-codec.c ret = hdmi_dai_probe(dai); dai 721 sound/soc/codecs/hdmi-codec.c cf = dai->playback_dma_data; dai 727 sound/soc/codecs/hdmi-codec.c static int hdmi_codec_dai_remove(struct snd_soc_dai *dai) dai 729 sound/soc/codecs/hdmi-codec.c kfree(dai->playback_dma_data); dai 198 sound/soc/codecs/inno_rk3036.c static int rk3036_codec_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 200 sound/soc/codecs/inno_rk3036.c struct snd_soc_component *component = dai->component; dai 270 sound/soc/codecs/inno_rk3036.c struct snd_soc_dai *dai) dai 272 sound/soc/codecs/inno_rk3036.c struct snd_soc_component *component = dai->component; dai 863 sound/soc/codecs/isabelle.c static int isabelle_hs_mute(struct snd_soc_dai *dai, int mute) dai 865 sound/soc/codecs/isabelle.c snd_soc_component_update_bits(dai->component, ISABELLE_DAC1_SOFTRAMP_REG, dai 871 sound/soc/codecs/isabelle.c static int isabelle_hf_mute(struct snd_soc_dai *dai, int mute) dai 873 sound/soc/codecs/isabelle.c snd_soc_component_update_bits(dai->component, ISABELLE_DAC2_SOFTRAMP_REG, dai 879 sound/soc/codecs/isabelle.c static int isabelle_line_mute(struct snd_soc_dai *dai, int mute) dai 881 sound/soc/codecs/isabelle.c snd_soc_component_update_bits(dai->component, ISABELLE_DAC3_SOFTRAMP_REG, dai 912 sound/soc/codecs/isabelle.c struct snd_soc_dai *dai) dai 914 sound/soc/codecs/isabelle.c struct snd_soc_component *component = dai->component; dai 376 sound/soc/codecs/jz4725b.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 378 sound/soc/codecs/jz4725b.c struct jz_icdc *icdc = snd_soc_component_get_drvdata(dai->component); dai 151 sound/soc/codecs/jz4740.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 153 sound/soc/codecs/jz4740.c struct jz4740_codec *jz4740_codec = snd_soc_component_get_drvdata(dai->component); dai 1108 sound/soc/codecs/lm49453.c struct snd_soc_dai *dai) dai 1110 sound/soc/codecs/lm49453.c struct snd_soc_component *component = dai->component; dai 1194 sound/soc/codecs/lm49453.c static int lm49453_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 1197 sound/soc/codecs/lm49453.c struct snd_soc_component *component = dai->component; dai 1221 sound/soc/codecs/lm49453.c static int lm49453_hp_mute(struct snd_soc_dai *dai, int mute) dai 1223 sound/soc/codecs/lm49453.c snd_soc_component_update_bits(dai->component, LM49453_P0_DAC_DSP_REG, BIT(1)|BIT(0), dai 1228 sound/soc/codecs/lm49453.c static int lm49453_lo_mute(struct snd_soc_dai *dai, int mute) dai 1230 sound/soc/codecs/lm49453.c snd_soc_component_update_bits(dai->component, LM49453_P0_DAC_DSP_REG, BIT(3)|BIT(2), dai 1235 sound/soc/codecs/lm49453.c static int lm49453_ls_mute(struct snd_soc_dai *dai, int mute) dai 1237 sound/soc/codecs/lm49453.c snd_soc_component_update_bits(dai->component, LM49453_P0_DAC_DSP_REG, BIT(5)|BIT(4), dai 1242 sound/soc/codecs/lm49453.c static int lm49453_ep_mute(struct snd_soc_dai *dai, int mute) dai 1244 sound/soc/codecs/lm49453.c snd_soc_component_update_bits(dai->component, LM49453_P0_DAC_DSP_REG, BIT(4), dai 1249 sound/soc/codecs/lm49453.c static int lm49453_ha_mute(struct snd_soc_dai *dai, int mute) dai 1251 sound/soc/codecs/lm49453.c snd_soc_component_update_bits(dai->component, LM49453_P0_DAC_DSP_REG, BIT(7)|BIT(6), dai 70 sound/soc/codecs/lochnagar-sc.c struct snd_soc_dai *dai) dai 72 sound/soc/codecs/lochnagar-sc.c struct snd_soc_component *comp = dai->component; dai 89 sound/soc/codecs/lochnagar-sc.c struct snd_soc_dai *dai) dai 91 sound/soc/codecs/lochnagar-sc.c struct snd_soc_component *comp = dai->component; dai 97 sound/soc/codecs/lochnagar-sc.c dev_err(dai->dev, "Failed to enable MCLK: %d\n", ret); dai 101 sound/soc/codecs/lochnagar-sc.c ret = lochnagar_sc_startup(substream, dai); dai 111 sound/soc/codecs/lochnagar-sc.c struct snd_soc_dai *dai) dai 113 sound/soc/codecs/lochnagar-sc.c struct snd_soc_component *comp = dai->component; dai 119 sound/soc/codecs/lochnagar-sc.c static int lochnagar_sc_check_fmt(struct snd_soc_dai *dai, unsigned int fmt, dai 130 sound/soc/codecs/lochnagar-sc.c static int lochnagar_sc_set_line_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 132 sound/soc/codecs/lochnagar-sc.c return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBS_CFS); dai 135 sound/soc/codecs/lochnagar-sc.c static int lochnagar_sc_set_usb_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 137 sound/soc/codecs/lochnagar-sc.c return lochnagar_sc_check_fmt(dai, fmt, SND_SOC_DAIFMT_CBM_CFM); dai 2717 sound/soc/codecs/madera.c static int madera_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2719 sound/soc/codecs/madera.c struct snd_soc_component *component = dai->component; dai 2724 sound/soc/codecs/madera.c base = dai->driver->base; dai 2736 sound/soc/codecs/madera.c madera_aif_err(dai, "DSP_B not valid in slave mode\n"); dai 2747 sound/soc/codecs/madera.c madera_aif_err(dai, "LEFT_J not valid in slave mode\n"); dai 2753 sound/soc/codecs/madera.c madera_aif_err(dai, "Unsupported DAI format %d\n", dai 2772 sound/soc/codecs/madera.c madera_aif_err(dai, "Unsupported master mode %d\n", dai 2791 sound/soc/codecs/madera.c madera_aif_err(dai, "Unsupported invert mode %d\n", dai 2897 sound/soc/codecs/madera.c struct snd_soc_dai *dai) dai 2899 sound/soc/codecs/madera.c struct snd_soc_component *component = dai->component; dai 2901 sound/soc/codecs/madera.c struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; dai 2950 sound/soc/codecs/madera.c struct snd_soc_dai *dai) dai 2952 sound/soc/codecs/madera.c struct snd_soc_component *component = dai->component; dai 2954 sound/soc/codecs/madera.c struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; dai 2955 sound/soc/codecs/madera.c int base = dai->driver->base; dai 2965 sound/soc/codecs/madera.c madera_aif_err(dai, "Unsupported sample rate %dHz\n", dai 2993 sound/soc/codecs/madera.c madera_aif_err(dai, "Invalid clock %d\n", dai_priv->clk); dai 3006 sound/soc/codecs/madera.c madera_aif_err(dai, "Failed to check rate: %d\n", ret); dai 3016 sound/soc/codecs/madera.c madera_aif_warn(dai, "Cannot change rate while active\n"); dai 3066 sound/soc/codecs/madera.c struct snd_soc_dai *dai) dai 3068 sound/soc/codecs/madera.c struct snd_soc_component *component = dai->component; dai 3071 sound/soc/codecs/madera.c int base = dai->driver->base; dai 3078 sound/soc/codecs/madera.c madera->pdata.codec.max_channels_clocked[dai->id - 1]; dai 3079 sound/soc/codecs/madera.c int tdm_width = priv->tdm_width[dai->id - 1]; dai 3080 sound/soc/codecs/madera.c int tdm_slots = priv->tdm_slots[dai->id - 1]; dai 3096 sound/soc/codecs/madera.c madera_aif_dbg(dai, "Configuring for %d %d bit TDM slots\n", dai 3106 sound/soc/codecs/madera.c madera_aif_dbg(dai, "Limiting to %d channels\n", chan_limit); dai 3118 sound/soc/codecs/madera.c madera_aif_dbg(dai, "Forcing stereo mode\n"); dai 3131 sound/soc/codecs/madera.c madera_aif_err(dai, "Unsupported sample rate %dHz\n", rate); dai 3137 sound/soc/codecs/madera.c madera_aif_dbg(dai, "BCLK %dHz LRCLK %dHz\n", dai 3159 sound/soc/codecs/madera.c ret = madera_hw_params_rate(substream, params, dai); dai 3209 sound/soc/codecs/madera.c static int madera_dai_set_sysclk(struct snd_soc_dai *dai, dai 3212 sound/soc/codecs/madera.c struct snd_soc_component *component = dai->component; dai 3216 sound/soc/codecs/madera.c struct madera_dai_priv *dai_priv = &priv->dai[dai->id - 1]; dai 3229 sound/soc/codecs/madera.c if (dai->active) { dai 3231 sound/soc/codecs/madera.c dai->id); dai 3235 sound/soc/codecs/madera.c dev_dbg(component->dev, "Setting AIF%d to %s\n", dai->id, dai 3243 sound/soc/codecs/madera.c routes[0].sink = dai->driver->capture.stream_name; dai 3244 sound/soc/codecs/madera.c routes[1].sink = dai->driver->playback.stream_name; dai 3258 sound/soc/codecs/madera.c static int madera_set_tristate(struct snd_soc_dai *dai, int tristate) dai 3260 sound/soc/codecs/madera.c struct snd_soc_component *component = dai->component; dai 3261 sound/soc/codecs/madera.c int base = dai->driver->base; dai 3279 sound/soc/codecs/madera.c static void madera_set_channels_to_mask(struct snd_soc_dai *dai, dai 3283 sound/soc/codecs/madera.c struct snd_soc_component *component = dai->component; dai 3299 sound/soc/codecs/madera.c madera_aif_warn(dai, "Too many channels in TDM mask\n"); dai 3302 sound/soc/codecs/madera.c static int madera_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 3305 sound/soc/codecs/madera.c struct snd_soc_component *component = dai->component; dai 3307 sound/soc/codecs/madera.c int base = dai->driver->base; dai 3308 sound/soc/codecs/madera.c int rx_max_chan = dai->driver->playback.channels_max; dai 3309 sound/soc/codecs/madera.c int tx_max_chan = dai->driver->capture.channels_max; dai 3312 sound/soc/codecs/madera.c if (dai->id > MADERA_MAX_AIF) dai 3320 sound/soc/codecs/madera.c madera_set_channels_to_mask(dai, base + MADERA_AIF_FRAME_CTRL_3, dai 3322 sound/soc/codecs/madera.c madera_set_channels_to_mask(dai, base + MADERA_AIF_FRAME_CTRL_11, dai 3325 sound/soc/codecs/madera.c priv->tdm_width[dai->id - 1] = slot_width; dai 3326 sound/soc/codecs/madera.c priv->tdm_slots[dai->id - 1] = slots; dai 3350 sound/soc/codecs/madera.c struct madera_dai_priv *dai_priv = &priv->dai[id]; dai 125 sound/soc/codecs/madera.h struct madera_dai_priv dai[MADERA_MAX_DAI]; dai 427 sound/soc/codecs/madera.h int madera_init_dai(struct madera_priv *priv, int dai); dai 45 sound/soc/codecs/max98088.c struct max98088_cdata dai[2]; dai 309 sound/soc/codecs/max98088.c static void m98088_eq_band(struct snd_soc_component *component, unsigned int dai, dai 316 sound/soc/codecs/max98088.c WARN_ON(dai > 1)) dai 320 sound/soc/codecs/max98088.c eq_reg = dai ? M98088_REG_84_DAI2_EQ_BASE : M98088_REG_52_DAI1_EQ_BASE; dai 963 sound/soc/codecs/max98088.c struct snd_soc_dai *dai) dai 965 sound/soc/codecs/max98088.c struct snd_soc_component *component = dai->component; dai 972 sound/soc/codecs/max98088.c cdata = &max98088->dai[0]; dai 1030 sound/soc/codecs/max98088.c struct snd_soc_dai *dai) dai 1032 sound/soc/codecs/max98088.c struct snd_soc_component *component = dai->component; dai 1039 sound/soc/codecs/max98088.c cdata = &max98088->dai[1]; dai 1095 sound/soc/codecs/max98088.c static int max98088_dai_set_sysclk(struct snd_soc_dai *dai, dai 1098 sound/soc/codecs/max98088.c struct snd_soc_component *component = dai->component; dai 1130 sound/soc/codecs/max98088.c dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq); dai 1145 sound/soc/codecs/max98088.c cdata = &max98088->dai[0]; dai 1216 sound/soc/codecs/max98088.c cdata = &max98088->dai[1]; dai 1419 sound/soc/codecs/max98088.c cdata = &max98088->dai[0]; dai 1466 sound/soc/codecs/max98088.c cdata = &max98088->dai[1]; dai 1519 sound/soc/codecs/max98088.c cdata = &max98088->dai[channel]; dai 1549 sound/soc/codecs/max98088.c cdata = &max98088->dai[channel]; dai 1659 sound/soc/codecs/max98088.c cdata = &max98088->dai[0]; dai 1664 sound/soc/codecs/max98088.c cdata = &max98088->dai[1]; dai 1581 sound/soc/codecs/max98090.c cdata = &max98090->dai[0]; dai 1679 sound/soc/codecs/max98090.c cdata = &max98090->dai[0]; dai 1910 sound/soc/codecs/max98090.c struct snd_soc_dai *dai) dai 1912 sound/soc/codecs/max98090.c struct snd_soc_component *component = dai->component; dai 1926 sound/soc/codecs/max98090.c struct snd_soc_dai *dai) dai 1928 sound/soc/codecs/max98090.c struct snd_soc_component *component = dai->component; dai 1932 sound/soc/codecs/max98090.c cdata = &max98090->dai[0]; dai 1978 sound/soc/codecs/max98090.c static int max98090_dai_set_sysclk(struct snd_soc_dai *dai, dai 1981 sound/soc/codecs/max98090.c struct snd_soc_component *component = dai->component; dai 2033 sound/soc/codecs/max98090.c struct snd_soc_dai *dai) dai 2035 sound/soc/codecs/max98090.c struct snd_soc_component *component = dai->component; dai 2042 sound/soc/codecs/max98090.c if (!max98090->master && dai->active == 1) dai 2050 sound/soc/codecs/max98090.c if (!max98090->master && dai->active == 1) dai 2385 sound/soc/codecs/max98090.c cdata = &max98090->dai[0]; dai 1528 sound/soc/codecs/max98090.h struct max98090_cdata dai[1]; dai 46 sound/soc/codecs/max98095.c struct max98095_cdata dai[3]; dai 251 sound/soc/codecs/max98095.c static void m98095_eq_band(struct snd_soc_component *component, unsigned int dai, dai 258 sound/soc/codecs/max98095.c WARN_ON(dai > 1)) dai 262 sound/soc/codecs/max98095.c eq_reg = dai ? M98095_142_DAI2_EQ_BASE : M98095_110_DAI1_EQ_BASE; dai 277 sound/soc/codecs/max98095.c static void m98095_biquad_band(struct snd_soc_component *component, unsigned int dai, dai 284 sound/soc/codecs/max98095.c WARN_ON(dai > 1)) dai 288 sound/soc/codecs/max98095.c bq_reg = dai ? M98095_17E_DAI2_BQ_BASE : M98095_174_DAI1_BQ_BASE; dai 940 sound/soc/codecs/max98095.c struct snd_soc_dai *dai) dai 942 sound/soc/codecs/max98095.c struct snd_soc_component *component = dai->component; dai 949 sound/soc/codecs/max98095.c cdata = &max98095->dai[0]; dai 1001 sound/soc/codecs/max98095.c struct snd_soc_dai *dai) dai 1003 sound/soc/codecs/max98095.c struct snd_soc_component *component = dai->component; dai 1010 sound/soc/codecs/max98095.c cdata = &max98095->dai[1]; dai 1062 sound/soc/codecs/max98095.c struct snd_soc_dai *dai) dai 1064 sound/soc/codecs/max98095.c struct snd_soc_component *component = dai->component; dai 1071 sound/soc/codecs/max98095.c cdata = &max98095->dai[2]; dai 1121 sound/soc/codecs/max98095.c static int max98095_dai_set_sysclk(struct snd_soc_dai *dai, dai 1124 sound/soc/codecs/max98095.c struct snd_soc_component *component = dai->component; dai 1152 sound/soc/codecs/max98095.c dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq); dai 1166 sound/soc/codecs/max98095.c cdata = &max98095->dai[0]; dai 1234 sound/soc/codecs/max98095.c cdata = &max98095->dai[1]; dai 1303 sound/soc/codecs/max98095.c cdata = &max98095->dai[2]; dai 1513 sound/soc/codecs/max98095.c cdata = &max98095->dai[channel]; dai 1563 sound/soc/codecs/max98095.c cdata = &max98095->dai[channel]; dai 1664 sound/soc/codecs/max98095.c cdata = &max98095->dai[channel]; dai 1714 sound/soc/codecs/max98095.c cdata = &max98095->dai[channel]; dai 2007 sound/soc/codecs/max98095.c cdata = &max98095->dai[0]; dai 2013 sound/soc/codecs/max98095.c cdata = &max98095->dai[1]; dai 2019 sound/soc/codecs/max98095.c cdata = &max98095->dai[2]; dai 28 sound/soc/codecs/max98357a.c int cmd, struct snd_soc_dai *dai) dai 30 sound/soc/codecs/max98357a.c struct max98357a_priv *max98357a = snd_soc_dai_get_drvdata(dai); dai 216 sound/soc/codecs/max98371.c struct snd_soc_dai *dai) dai 218 sound/soc/codecs/max98371.c struct snd_soc_component *component = dai->component; dai 209 sound/soc/codecs/max98373.c struct snd_soc_dai *dai) dai 211 sound/soc/codecs/max98373.c struct snd_soc_component *component = dai->component; dai 311 sound/soc/codecs/max98373.c static int max98373_dai_tdm_slot(struct snd_soc_dai *dai, dai 315 sound/soc/codecs/max98373.c struct snd_soc_component *component = dai->component; dai 113 sound/soc/codecs/max9850.c struct snd_soc_dai *dai) dai 115 sound/soc/codecs/max9850.c struct snd_soc_component *component = dai->component; dai 199 sound/soc/codecs/max98504.c static int max98504_set_tdm_slot(struct snd_soc_dai *dai, dai 203 sound/soc/codecs/max98504.c struct max98504_priv *max98504 = snd_soc_dai_get_drvdata(dai); dai 207 sound/soc/codecs/max98504.c switch (dai->id) { dai 222 sound/soc/codecs/max98504.c static int max98504_set_channel_map(struct snd_soc_dai *dai, dai 226 sound/soc/codecs/max98504.c struct max98504_priv *max98504 = snd_soc_dai_get_drvdata(dai); dai 234 sound/soc/codecs/max98504.c switch (dai->id) { dai 253 sound/soc/codecs/max9860.c struct snd_soc_dai *dai) dai 255 sound/soc/codecs/max9860.c struct snd_soc_component *component = dai->component; dai 446 sound/soc/codecs/max9860.c static int max9860_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 448 sound/soc/codecs/max9860.c struct snd_soc_component *component = dai->component; dai 170 sound/soc/codecs/max9867.c struct snd_soc_dai *dai) dai 173 sound/soc/codecs/max9867.c snd_soc_component_get_drvdata(dai->component); dai 183 sound/soc/codecs/max9867.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 187 sound/soc/codecs/max9867.c struct snd_soc_component *component = dai->component; dai 248 sound/soc/codecs/max9867.c static int max9867_mute(struct snd_soc_dai *dai, int mute) dai 250 sound/soc/codecs/max9867.c struct snd_soc_component *component = dai->component; dai 426 sound/soc/codecs/max98925.c struct snd_soc_dai *dai) dai 428 sound/soc/codecs/max98925.c struct snd_soc_component *component = dai->component; dai 460 sound/soc/codecs/max98925.c static int max98925_dai_set_sysclk(struct snd_soc_dai *dai, dai 463 sound/soc/codecs/max98925.c struct snd_soc_component *component = dai->component; dai 369 sound/soc/codecs/max98926.c struct snd_soc_dai *dai) dai 373 sound/soc/codecs/max98926.c struct snd_soc_component *component = dai->component; dai 308 sound/soc/codecs/max98927.c struct snd_soc_dai *dai) dai 310 sound/soc/codecs/max98927.c struct snd_soc_component *component = dai->component; dai 402 sound/soc/codecs/max98927.c static int max98927_dai_tdm_slot(struct snd_soc_dai *dai, dai 406 sound/soc/codecs/max98927.c struct snd_soc_component *component = dai->component; dai 479 sound/soc/codecs/max98927.c static int max98927_dai_set_sysclk(struct snd_soc_dai *dai, dai 482 sound/soc/codecs/max98927.c struct snd_soc_component *component = dai->component; dai 95 sound/soc/codecs/mc13783.c struct snd_soc_dai *dai) dai 97 sound/soc/codecs/mc13783.c struct snd_soc_component *component = dai->component; dai 114 sound/soc/codecs/mc13783.c struct snd_soc_dai *dai) dai 116 sound/soc/codecs/mc13783.c struct snd_soc_component *component = dai->component; dai 139 sound/soc/codecs/mc13783.c struct snd_soc_dai *dai) dai 142 sound/soc/codecs/mc13783.c return mc13783_pcm_hw_params_dac(substream, params, dai); dai 144 sound/soc/codecs/mc13783.c return mc13783_pcm_hw_params_codec(substream, params, dai); dai 147 sound/soc/codecs/mc13783.c static int mc13783_set_fmt(struct snd_soc_dai *dai, unsigned int fmt, dai 150 sound/soc/codecs/mc13783.c struct snd_soc_component *component = dai->component; dai 203 sound/soc/codecs/mc13783.c static int mc13783_set_fmt_async(struct snd_soc_dai *dai, unsigned int fmt) dai 205 sound/soc/codecs/mc13783.c if (dai->id == MC13783_ID_STEREO_DAC) dai 206 sound/soc/codecs/mc13783.c return mc13783_set_fmt(dai, fmt, MC13783_AUDIO_DAC); dai 208 sound/soc/codecs/mc13783.c return mc13783_set_fmt(dai, fmt, MC13783_AUDIO_CODEC); dai 211 sound/soc/codecs/mc13783.c static int mc13783_set_fmt_sync(struct snd_soc_dai *dai, unsigned int fmt) dai 215 sound/soc/codecs/mc13783.c ret = mc13783_set_fmt(dai, fmt, MC13783_AUDIO_DAC); dai 225 sound/soc/codecs/mc13783.c ret = mc13783_set_fmt(dai, fmt, MC13783_AUDIO_CODEC); dai 241 sound/soc/codecs/mc13783.c static int mc13783_set_sysclk(struct snd_soc_dai *dai, dai 245 sound/soc/codecs/mc13783.c struct snd_soc_component *component = dai->component; dai 270 sound/soc/codecs/mc13783.c static int mc13783_set_sysclk_dac(struct snd_soc_dai *dai, dai 273 sound/soc/codecs/mc13783.c return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_DAC); dai 276 sound/soc/codecs/mc13783.c static int mc13783_set_sysclk_codec(struct snd_soc_dai *dai, dai 279 sound/soc/codecs/mc13783.c return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_CODEC); dai 282 sound/soc/codecs/mc13783.c static int mc13783_set_sysclk_sync(struct snd_soc_dai *dai, dai 287 sound/soc/codecs/mc13783.c ret = mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_DAC); dai 291 sound/soc/codecs/mc13783.c return mc13783_set_sysclk(dai, clk_id, freq, dir, MC13783_AUDIO_CODEC); dai 294 sound/soc/codecs/mc13783.c static int mc13783_set_tdm_slot_dac(struct snd_soc_dai *dai, dai 298 sound/soc/codecs/mc13783.c struct snd_soc_component *component = dai->component; dai 339 sound/soc/codecs/mc13783.c static int mc13783_set_tdm_slot_codec(struct snd_soc_dai *dai, dai 343 sound/soc/codecs/mc13783.c struct snd_soc_component *component = dai->component; dai 361 sound/soc/codecs/mc13783.c static int mc13783_set_tdm_slot_sync(struct snd_soc_dai *dai, dai 367 sound/soc/codecs/mc13783.c ret = mc13783_set_tdm_slot_dac(dai, tx_mask, rx_mask, slots, dai 372 sound/soc/codecs/mc13783.c ret = mc13783_set_tdm_slot_codec(dai, tx_mask, rx_mask, slots, dai 326 sound/soc/codecs/ml26124.c struct snd_soc_dai *dai) dai 328 sound/soc/codecs/ml26124.c struct snd_soc_component *component = dai->component; dai 375 sound/soc/codecs/ml26124.c static int ml26124_mute(struct snd_soc_dai *dai, int mute) dai 377 sound/soc/codecs/ml26124.c struct snd_soc_component *component = dai->component; dai 864 sound/soc/codecs/msm8916-wcd-digital.c struct snd_soc_dai *dai) dai 887 sound/soc/codecs/msm8916-wcd-digital.c dev_err(dai->component->dev, "Invalid sampling rate %d\n", dai 894 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(dai->component, LPASS_CDC_CLK_TX_I2S_CTL, dai 898 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(dai->component, LPASS_CDC_CLK_RX_I2S_CTL, dai 907 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(dai->component, LPASS_CDC_CLK_TX_I2S_CTL, dai 910 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(dai->component, LPASS_CDC_CLK_RX_I2S_CTL, dai 916 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(dai->component, LPASS_CDC_CLK_TX_I2S_CTL, dai 919 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(dai->component, LPASS_CDC_CLK_RX_I2S_CTL, dai 924 sound/soc/codecs/msm8916-wcd-digital.c dev_err(dai->dev, "%s: wrong format selected\n", __func__); dai 1073 sound/soc/codecs/msm8916-wcd-digital.c struct snd_soc_dai *dai) dai 1075 sound/soc/codecs/msm8916-wcd-digital.c struct snd_soc_component *component = dai->component; dai 1107 sound/soc/codecs/msm8916-wcd-digital.c struct snd_soc_dai *dai) dai 1109 sound/soc/codecs/msm8916-wcd-digital.c snd_soc_component_update_bits(dai->component, LPASS_CDC_CLK_PDM_CTL, dai 264 sound/soc/codecs/mt6351.c struct snd_soc_dai *dai) dai 266 sound/soc/codecs/mt6351.c struct snd_soc_component *cmpnt = dai->component; dai 2205 sound/soc/codecs/mt6358.c struct snd_soc_dai *dai) dai 2207 sound/soc/codecs/mt6358.c struct snd_soc_component *cmpnt = dai->component; dai 374 sound/soc/codecs/nau8540.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 376 sound/soc/codecs/nau8540.c struct snd_soc_component *component = dai->component; dai 417 sound/soc/codecs/nau8540.c static int nau8540_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 419 sound/soc/codecs/nau8540.c struct snd_soc_component *component = dai->component; dai 487 sound/soc/codecs/nau8540.c static int nau8540_set_tdm_slot(struct snd_soc_dai *dai, dai 490 sound/soc/codecs/nau8540.c struct snd_soc_component *component = dai->component; dai 479 sound/soc/codecs/nau8810.c static int nau8810_set_sysclk(struct snd_soc_dai *dai, dai 482 sound/soc/codecs/nau8810.c struct snd_soc_component *component = dai->component; dai 663 sound/soc/codecs/nau8810.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 665 sound/soc/codecs/nau8810.c struct snd_soc_component *component = dai->component; dai 612 sound/soc/codecs/nau8822.c static int nau8822_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 615 sound/soc/codecs/nau8822.c struct snd_soc_component *component = dai->component; dai 666 sound/soc/codecs/nau8822.c static int nau8822_config_clkdiv(struct snd_soc_dai *dai, int div, int rate) dai 668 sound/soc/codecs/nau8822.c struct snd_soc_component *component = dai->component; dai 721 sound/soc/codecs/nau8822.c static int nau8822_set_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 724 sound/soc/codecs/nau8822.c struct snd_soc_component *component = dai->component; dai 764 sound/soc/codecs/nau8822.c static int nau8822_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 766 sound/soc/codecs/nau8822.c struct snd_soc_component *component = dai->component; dai 826 sound/soc/codecs/nau8822.c struct snd_soc_dai *dai) dai 828 sound/soc/codecs/nau8822.c struct snd_soc_component *component = dai->component; dai 898 sound/soc/codecs/nau8822.c nau8822_config_clkdiv(dai, 0, params_rate(params)); dai 903 sound/soc/codecs/nau8822.c static int nau8822_mute(struct snd_soc_dai *dai, int mute) dai 905 sound/soc/codecs/nau8822.c struct snd_soc_component *component = dai->component; dai 1063 sound/soc/codecs/nau8824.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 1065 sound/soc/codecs/nau8824.c struct snd_soc_component *component = dai->component; dai 1147 sound/soc/codecs/nau8824.c static int nau8824_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1149 sound/soc/codecs/nau8824.c struct snd_soc_component *component = dai->component; dai 1223 sound/soc/codecs/nau8824.c static int nau8824_set_tdm_slot(struct snd_soc_dai *dai, dai 1226 sound/soc/codecs/nau8824.c struct snd_soc_component *component = dai->component; dai 1243 sound/soc/codecs/nau8825.c struct snd_soc_dai *dai) dai 1245 sound/soc/codecs/nau8825.c struct snd_soc_component *component = dai->component; dai 150 sound/soc/codecs/pcm1681.c static int pcm1681_digital_mute(struct snd_soc_dai *dai, int mute) dai 152 sound/soc/codecs/pcm1681.c struct snd_soc_component *component = dai->component; dai 166 sound/soc/codecs/pcm1681.c struct snd_soc_dai *dai) dai 168 sound/soc/codecs/pcm1681.c struct snd_soc_component *component = dai->component; dai 144 sound/soc/codecs/pcm1789.c struct snd_soc_dai *dai) dai 146 sound/soc/codecs/pcm1789.c struct snd_soc_component *component = dai->component; dai 79 sound/soc/codecs/pcm179x.c static int pcm179x_digital_mute(struct snd_soc_dai *dai, int mute) dai 81 sound/soc/codecs/pcm179x.c struct snd_soc_component *component = dai->component; dai 95 sound/soc/codecs/pcm179x.c struct snd_soc_dai *dai) dai 97 sound/soc/codecs/pcm179x.c struct snd_soc_component *component = dai->component; dai 263 sound/soc/codecs/pcm186x.c struct snd_soc_dai *dai) dai 265 sound/soc/codecs/pcm186x.c struct snd_soc_component *component = dai->component; dai 358 sound/soc/codecs/pcm186x.c static int pcm186x_set_fmt(struct snd_soc_dai *dai, unsigned int format) dai 360 sound/soc/codecs/pcm186x.c struct snd_soc_component *component = dai->component; dai 428 sound/soc/codecs/pcm186x.c static int pcm186x_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 431 sound/soc/codecs/pcm186x.c struct snd_soc_component *component = dai->component; dai 464 sound/soc/codecs/pcm186x.c static int pcm186x_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 467 sound/soc/codecs/pcm186x.c struct snd_soc_component *component = dai->component; dai 16 sound/soc/codecs/pcm3060.c static int pcm3060_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 19 sound/soc/codecs/pcm3060.c struct snd_soc_component *comp = dai->component; dai 35 sound/soc/codecs/pcm3060.c val = (dai->id == PCM3060_DAI_ID_DAC ? PCM3060_REG_CSEL : 0); dai 39 sound/soc/codecs/pcm3060.c val = (dai->id == PCM3060_DAI_ID_DAC ? 0 : PCM3060_REG_CSEL); dai 47 sound/soc/codecs/pcm3060.c if (dai->id == PCM3060_DAI_ID_DAC) dai 54 sound/soc/codecs/pcm3060.c priv->dai[dai->id].sclk_freq = freq; dai 59 sound/soc/codecs/pcm3060.c static int pcm3060_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 61 sound/soc/codecs/pcm3060.c struct snd_soc_component *comp = dai->component; dai 73 sound/soc/codecs/pcm3060.c priv->dai[dai->id].is_master = true; dai 76 sound/soc/codecs/pcm3060.c priv->dai[dai->id].is_master = false; dai 98 sound/soc/codecs/pcm3060.c if (dai->id == PCM3060_DAI_ID_DAC) dai 110 sound/soc/codecs/pcm3060.c struct snd_soc_dai *dai) dai 112 sound/soc/codecs/pcm3060.c struct snd_soc_component *comp = dai->component; dai 119 sound/soc/codecs/pcm3060.c if (!priv->dai[dai->id].is_master) { dai 130 sound/soc/codecs/pcm3060.c ratio = priv->dai[dai->id].sclk_freq / rate; dai 157 sound/soc/codecs/pcm3060.c if (dai->id == PCM3060_DAI_ID_DAC) dai 32 sound/soc/codecs/pcm3060.h struct pcm3060_priv_dai dai[PCM3060_DAI_IDS_NUM]; dai 289 sound/soc/codecs/pcm3168a.c static int pcm3168a_digital_mute(struct snd_soc_dai *dai, int mute) dai 291 sound/soc/codecs/pcm3168a.c struct snd_soc_component *component = dai->component; dai 299 sound/soc/codecs/pcm3168a.c static int pcm3168a_set_dai_sysclk(struct snd_soc_dai *dai, dai 302 sound/soc/codecs/pcm3168a.c struct pcm3168a_priv *pcm3168a = snd_soc_component_get_drvdata(dai->component); dai 317 sound/soc/codecs/pcm3168a.c static int pcm3168a_set_dai_fmt(struct snd_soc_dai *dai, unsigned int format) dai 319 sound/soc/codecs/pcm3168a.c struct snd_soc_component *component = dai->component; dai 364 sound/soc/codecs/pcm3168a.c if (dai->id == PCM3168A_DAI_DAC) { dai 374 sound/soc/codecs/pcm3168a.c pcm3168a->io_params[dai->id].master_mode = master_mode; dai 375 sound/soc/codecs/pcm3168a.c pcm3168a->io_params[dai->id].fmt = fmt; dai 382 sound/soc/codecs/pcm3168a.c static int pcm3168a_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 386 sound/soc/codecs/pcm3168a.c struct snd_soc_component *component = dai->component; dai 388 sound/soc/codecs/pcm3168a.c struct pcm3168a_io_params *io_params = &pcm3168a->io_params[dai->id]; dai 407 sound/soc/codecs/pcm3168a.c if (dai->id == PCM3168A_DAI_DAC) dai 417 sound/soc/codecs/pcm3168a.c struct snd_soc_dai *dai) dai 419 sound/soc/codecs/pcm3168a.c struct snd_soc_component *component = dai->component; dai 421 sound/soc/codecs/pcm3168a.c struct pcm3168a_io_params *io_params = &pcm3168a->io_params[dai->id]; dai 432 sound/soc/codecs/pcm3168a.c if (dai->id == PCM3168A_DAI_DAC) { dai 520 sound/soc/codecs/pcm3168a.c if (dai->id == PCM3168A_DAI_DAC) { dai 534 sound/soc/codecs/pcm3168a.c struct snd_soc_dai *dai) dai 536 sound/soc/codecs/pcm3168a.c struct snd_soc_component *component = dai->component; dai 557 sound/soc/codecs/pcm3168a.c switch (pcm3168a->io_params[dai->id].fmt) { dai 567 sound/soc/codecs/pcm3168a.c channel_max = channel_maxs[dai->id]; dai 579 sound/soc/codecs/pcm3168a.c if (pcm3168a->io_params[dai->id].tdm_slots == 2) dai 580 sound/soc/codecs/pcm3168a.c channel_max = channel_maxs[dai->id]; dai 580 sound/soc/codecs/pcm512x.c struct snd_soc_dai *dai) dai 582 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 584 sound/soc/codecs/pcm512x.c struct device *dev = dai->dev; dai 622 sound/soc/codecs/pcm512x.c struct snd_soc_dai *dai) dai 624 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 626 sound/soc/codecs/pcm512x.c struct device *dev = dai->dev; dai 648 sound/soc/codecs/pcm512x.c struct snd_soc_dai *dai) dai 650 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 656 sound/soc/codecs/pcm512x.c return pcm512x_dai_startup_master(substream, dai); dai 659 sound/soc/codecs/pcm512x.c return pcm512x_dai_startup_slave(substream, dai); dai 701 sound/soc/codecs/pcm512x.c static unsigned long pcm512x_find_sck(struct snd_soc_dai *dai, dai 704 sound/soc/codecs/pcm512x.c struct device *dev = dai->dev; dai 705 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 746 sound/soc/codecs/pcm512x.c static int pcm512x_find_pll_coeff(struct snd_soc_dai *dai, dai 750 sound/soc/codecs/pcm512x.c struct device *dev = dai->dev; dai 751 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 854 sound/soc/codecs/pcm512x.c static unsigned long pcm512x_pllin_dac_rate(struct snd_soc_dai *dai, dai 858 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 885 sound/soc/codecs/pcm512x.c static int pcm512x_set_dividers(struct snd_soc_dai *dai, dai 888 sound/soc/codecs/pcm512x.c struct device *dev = dai->dev; dai 889 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 942 sound/soc/codecs/pcm512x.c sck_rate = pcm512x_find_sck(dai, bclk_rate); dai 947 sound/soc/codecs/pcm512x.c ret = pcm512x_find_pll_coeff(dai, pllin_rate, pll_rate); dai 1003 sound/soc/codecs/pcm512x.c dac_rate = pcm512x_pllin_dac_rate(dai, osr_rate, pllin_rate); dai 1165 sound/soc/codecs/pcm512x.c struct snd_soc_dai *dai) dai 1167 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 1290 sound/soc/codecs/pcm512x.c ret = pcm512x_set_dividers(dai, params); dai 1374 sound/soc/codecs/pcm512x.c static int pcm512x_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1376 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 1384 sound/soc/codecs/pcm512x.c static int pcm512x_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 1386 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 1397 sound/soc/codecs/pcm512x.c static int pcm512x_digital_mute(struct snd_soc_dai *dai, int mute) dai 1399 sound/soc/codecs/pcm512x.c struct snd_soc_component *component = dai->component; dai 65 sound/soc/codecs/rk3328_codec.c static int rk3328_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 68 sound/soc/codecs/rk3328_codec.c snd_soc_component_get_drvdata(dai->component); dai 119 sound/soc/codecs/rk3328_codec.c static int rk3328_digital_mute(struct snd_soc_dai *dai, int mute) dai 122 sound/soc/codecs/rk3328_codec.c snd_soc_component_get_drvdata(dai->component); dai 276 sound/soc/codecs/rk3328_codec.c struct snd_soc_dai *dai) dai 279 sound/soc/codecs/rk3328_codec.c snd_soc_component_get_drvdata(dai->component); dai 308 sound/soc/codecs/rk3328_codec.c struct snd_soc_dai *dai) dai 311 sound/soc/codecs/rk3328_codec.c snd_soc_component_get_drvdata(dai->component); dai 317 sound/soc/codecs/rk3328_codec.c struct snd_soc_dai *dai) dai 320 sound/soc/codecs/rk3328_codec.c snd_soc_component_get_drvdata(dai->component); dai 1537 sound/soc/codecs/rt1011.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 1539 sound/soc/codecs/rt1011.c struct snd_soc_component *component = dai->component; dai 1548 sound/soc/codecs/rt1011.c snd_soc_dai_set_pll(dai, 0, RT1011_PLL1_S_BCLK, dai 1550 sound/soc/codecs/rt1011.c snd_soc_dai_set_sysclk(dai, RT1011_FS_SYS_PRE_S_PLL1, dai 1565 sound/soc/codecs/rt1011.c bclk_ms, pre_div, dai->id); dai 1568 sound/soc/codecs/rt1011.c rt1011->lrck, pre_div, dai->id); dai 1605 sound/soc/codecs/rt1011.c switch (dai->id) { dai 1618 sound/soc/codecs/rt1011.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 1628 sound/soc/codecs/rt1011.c static int rt1011_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1630 sound/soc/codecs/rt1011.c struct snd_soc_component *component = dai->component; dai 1671 sound/soc/codecs/rt1011.c switch (dai->id) { dai 1682 sound/soc/codecs/rt1011.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 1802 sound/soc/codecs/rt1011.c static int rt1011_set_tdm_slot(struct snd_soc_dai *dai, dai 1805 sound/soc/codecs/rt1011.c struct snd_soc_component *component = dai->component; dai 626 sound/soc/codecs/rt1305.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 628 sound/soc/codecs/rt1305.c struct snd_soc_component *component = dai->component; dai 637 sound/soc/codecs/rt1305.c snd_soc_dai_set_pll(dai, 0, RT1305_PLL1_S_BCLK, dai 639 sound/soc/codecs/rt1305.c snd_soc_dai_set_sysclk(dai, RT1305_FS_SYS_PRE_S_PLL1, dai 654 sound/soc/codecs/rt1305.c bclk_ms, pre_div, dai->id); dai 657 sound/soc/codecs/rt1305.c rt1305->lrck, pre_div, dai->id); dai 676 sound/soc/codecs/rt1305.c switch (dai->id) { dai 685 sound/soc/codecs/rt1305.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 695 sound/soc/codecs/rt1305.c static int rt1305_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 697 sound/soc/codecs/rt1305.c struct snd_soc_component *component = dai->component; dai 740 sound/soc/codecs/rt1305.c switch (dai->id) { dai 749 sound/soc/codecs/rt1305.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 454 sound/soc/codecs/rt1308.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 456 sound/soc/codecs/rt1308.c struct snd_soc_component *component = dai->component; dai 480 sound/soc/codecs/rt1308.c bclk_ms, pre_div, dai->id); dai 483 sound/soc/codecs/rt1308.c rt1308->lrck, pre_div, dai->id); dai 502 sound/soc/codecs/rt1308.c switch (dai->id) { dai 511 sound/soc/codecs/rt1308.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 521 sound/soc/codecs/rt1308.c static int rt1308_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 523 sound/soc/codecs/rt1308.c struct snd_soc_component *component = dai->component; dai 561 sound/soc/codecs/rt1308.c switch (dai->id) { dai 571 sound/soc/codecs/rt1308.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 615 sound/soc/codecs/rt274.c struct snd_soc_dai *dai) dai 617 sound/soc/codecs/rt274.c struct snd_soc_component *component = dai->component; dai 703 sound/soc/codecs/rt274.c static int rt274_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 705 sound/soc/codecs/rt274.c struct snd_soc_component *component = dai->component; dai 750 sound/soc/codecs/rt274.c static int rt274_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 753 sound/soc/codecs/rt274.c struct snd_soc_component *component = dai->component; dai 803 sound/soc/codecs/rt274.c static int rt274_set_dai_sysclk(struct snd_soc_dai *dai, dai 806 sound/soc/codecs/rt274.c struct snd_soc_component *component = dai->component; dai 874 sound/soc/codecs/rt274.c static int rt274_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 876 sound/soc/codecs/rt274.c struct snd_soc_component *component = dai->component; dai 892 sound/soc/codecs/rt274.c static int rt274_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 896 sound/soc/codecs/rt274.c struct snd_soc_component *component = dai->component; dai 673 sound/soc/codecs/rt286.c struct snd_soc_dai *dai) dai 675 sound/soc/codecs/rt286.c struct snd_soc_component *component = dai->component; dai 756 sound/soc/codecs/rt286.c static int rt286_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 758 sound/soc/codecs/rt286.c struct snd_soc_component *component = dai->component; dai 800 sound/soc/codecs/rt286.c static int rt286_set_dai_sysclk(struct snd_soc_dai *dai, dai 803 sound/soc/codecs/rt286.c struct snd_soc_component *component = dai->component; dai 864 sound/soc/codecs/rt286.c static int rt286_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 866 sound/soc/codecs/rt286.c struct snd_soc_component *component = dai->component; dai 744 sound/soc/codecs/rt298.c struct snd_soc_dai *dai) dai 746 sound/soc/codecs/rt298.c struct snd_soc_component *component = dai->component; dai 825 sound/soc/codecs/rt298.c static int rt298_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 827 sound/soc/codecs/rt298.c struct snd_soc_component *component = dai->component; dai 869 sound/soc/codecs/rt298.c static int rt298_set_dai_sysclk(struct snd_soc_dai *dai, dai 872 sound/soc/codecs/rt298.c struct snd_soc_component *component = dai->component; dai 931 sound/soc/codecs/rt298.c static int rt298_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 933 sound/soc/codecs/rt298.c struct snd_soc_component *component = dai->component; dai 752 sound/soc/codecs/rt5514.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 754 sound/soc/codecs/rt5514.c struct snd_soc_component *component = dai->component; dai 775 sound/soc/codecs/rt5514.c dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", dai 777 sound/soc/codecs/rt5514.c dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", dai 778 sound/soc/codecs/rt5514.c bclk_ms, pre_div, dai->id); dai 809 sound/soc/codecs/rt5514.c static int rt5514_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 811 sound/soc/codecs/rt5514.c struct snd_soc_component *component = dai->component; dai 862 sound/soc/codecs/rt5514.c static int rt5514_set_dai_sysclk(struct snd_soc_dai *dai, dai 865 sound/soc/codecs/rt5514.c struct snd_soc_component *component = dai->component; dai 892 sound/soc/codecs/rt5514.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); dai 897 sound/soc/codecs/rt5514.c static int rt5514_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 900 sound/soc/codecs/rt5514.c struct snd_soc_component *component = dai->component; dai 961 sound/soc/codecs/rt5514.c static int rt5514_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 964 sound/soc/codecs/rt5514.c struct snd_soc_component *component = dai->component; dai 958 sound/soc/codecs/rt5616.c struct snd_soc_dai *dai) dai 960 sound/soc/codecs/rt5616.c struct snd_soc_component *component = dai->component; dai 965 sound/soc/codecs/rt5616.c rt5616->lrck[dai->id] = params_rate(params); dai 967 sound/soc/codecs/rt5616.c pre_div = rl6231_get_clk_info(rt5616->sysclk, rt5616->lrck[dai->id]); dai 979 sound/soc/codecs/rt5616.c rt5616->bclk[dai->id] = rt5616->lrck[dai->id] * (32 << bclk_ms); dai 981 sound/soc/codecs/rt5616.c dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", dai 982 sound/soc/codecs/rt5616.c rt5616->bclk[dai->id], rt5616->lrck[dai->id]); dai 983 sound/soc/codecs/rt5616.c dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", dai 984 sound/soc/codecs/rt5616.c bclk_ms, pre_div, dai->id); dai 1011 sound/soc/codecs/rt5616.c static int rt5616_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1013 sound/soc/codecs/rt5616.c struct snd_soc_component *component = dai->component; dai 1019 sound/soc/codecs/rt5616.c rt5616->master[dai->id] = 1; dai 1023 sound/soc/codecs/rt5616.c rt5616->master[dai->id] = 0; dai 1062 sound/soc/codecs/rt5616.c static int rt5616_set_dai_sysclk(struct snd_soc_dai *dai, dai 1065 sound/soc/codecs/rt5616.c struct snd_soc_component *component = dai->component; dai 1089 sound/soc/codecs/rt5616.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); dai 1094 sound/soc/codecs/rt5616.c static int rt5616_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 1097 sound/soc/codecs/rt5616.c struct snd_soc_component *component = dai->component; dai 1349 sound/soc/codecs/rt5631.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 1351 sound/soc/codecs/rt5631.c struct snd_soc_component *component = dai->component; dai 1698 sound/soc/codecs/rt5640.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 1700 sound/soc/codecs/rt5640.c struct snd_soc_component *component = dai->component; dai 1705 sound/soc/codecs/rt5640.c rt5640->lrck[dai->id] = params_rate(params); dai 1706 sound/soc/codecs/rt5640.c pre_div = rl6231_get_clk_info(rt5640->sysclk, rt5640->lrck[dai->id]); dai 1709 sound/soc/codecs/rt5640.c rt5640->lrck[dai->id], dai->id); dai 1721 sound/soc/codecs/rt5640.c rt5640->bclk[dai->id] = rt5640->lrck[dai->id] * (32 << bclk_ms); dai 1723 sound/soc/codecs/rt5640.c dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", dai 1724 sound/soc/codecs/rt5640.c rt5640->bclk[dai->id], rt5640->lrck[dai->id]); dai 1725 sound/soc/codecs/rt5640.c dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", dai 1726 sound/soc/codecs/rt5640.c bclk_ms, pre_div, dai->id); dai 1744 sound/soc/codecs/rt5640.c dai_sel = get_sdp_info(component, dai->id); dai 1769 sound/soc/codecs/rt5640.c static int rt5640_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1771 sound/soc/codecs/rt5640.c struct snd_soc_component *component = dai->component; dai 1778 sound/soc/codecs/rt5640.c rt5640->master[dai->id] = 1; dai 1782 sound/soc/codecs/rt5640.c rt5640->master[dai->id] = 0; dai 1814 sound/soc/codecs/rt5640.c dai_sel = get_sdp_info(component, dai->id); dai 1833 sound/soc/codecs/rt5640.c static int rt5640_set_dai_sysclk(struct snd_soc_dai *dai, dai 1836 sound/soc/codecs/rt5640.c struct snd_soc_component *component = dai->component; dai 1866 sound/soc/codecs/rt5640.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); dai 1870 sound/soc/codecs/rt5640.c static int rt5640_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 1873 sound/soc/codecs/rt5640.c struct snd_soc_component *component = dai->component; dai 2732 sound/soc/codecs/rt5645.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 2734 sound/soc/codecs/rt5645.c struct snd_soc_component *component = dai->component; dai 2739 sound/soc/codecs/rt5645.c rt5645->lrck[dai->id] = params_rate(params); dai 2740 sound/soc/codecs/rt5645.c pre_div = rl6231_get_clk_info(rt5645->sysclk, rt5645->lrck[dai->id]); dai 2761 sound/soc/codecs/rt5645.c rt5645->bclk[dai->id] = rt5645->lrck[dai->id] * (32 << bclk_ms); dai 2763 sound/soc/codecs/rt5645.c dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", dai 2764 sound/soc/codecs/rt5645.c rt5645->bclk[dai->id], rt5645->lrck[dai->id]); dai 2765 sound/soc/codecs/rt5645.c dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", dai 2766 sound/soc/codecs/rt5645.c bclk_ms, pre_div, dai->id); dai 2784 sound/soc/codecs/rt5645.c switch (dai->id) { dai 2801 sound/soc/codecs/rt5645.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2808 sound/soc/codecs/rt5645.c static int rt5645_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2810 sound/soc/codecs/rt5645.c struct snd_soc_component *component = dai->component; dai 2825 sound/soc/codecs/rt5645.c rt5645->master[dai->id] = 1; dai 2829 sound/soc/codecs/rt5645.c rt5645->master[dai->id] = 0; dai 2860 sound/soc/codecs/rt5645.c switch (dai->id) { dai 2872 sound/soc/codecs/rt5645.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2878 sound/soc/codecs/rt5645.c static int rt5645_set_dai_sysclk(struct snd_soc_dai *dai, dai 2881 sound/soc/codecs/rt5645.c struct snd_soc_component *component = dai->component; dai 2907 sound/soc/codecs/rt5645.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); dai 2912 sound/soc/codecs/rt5645.c static int rt5645_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 2915 sound/soc/codecs/rt5645.c struct snd_soc_component *component = dai->component; dai 2941 sound/soc/codecs/rt5645.c switch (dai->id) { dai 2951 sound/soc/codecs/rt5645.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2983 sound/soc/codecs/rt5645.c static int rt5645_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 2986 sound/soc/codecs/rt5645.c struct snd_soc_component *component = dai->component; dai 1282 sound/soc/codecs/rt5651.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 1284 sound/soc/codecs/rt5651.c struct snd_soc_component *component = dai->component; dai 1289 sound/soc/codecs/rt5651.c rt5651->lrck[dai->id] = params_rate(params); dai 1290 sound/soc/codecs/rt5651.c pre_div = rl6231_get_clk_info(rt5651->sysclk, rt5651->lrck[dai->id]); dai 1302 sound/soc/codecs/rt5651.c rt5651->bclk[dai->id] = rt5651->lrck[dai->id] * (32 << bclk_ms); dai 1304 sound/soc/codecs/rt5651.c dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", dai 1305 sound/soc/codecs/rt5651.c rt5651->bclk[dai->id], rt5651->lrck[dai->id]); dai 1306 sound/soc/codecs/rt5651.c dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", dai 1307 sound/soc/codecs/rt5651.c bclk_ms, pre_div, dai->id); dai 1325 sound/soc/codecs/rt5651.c switch (dai->id) { dai 1341 sound/soc/codecs/rt5651.c dev_err(component->dev, "Wrong dai->id: %d\n", dai->id); dai 1348 sound/soc/codecs/rt5651.c static int rt5651_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1350 sound/soc/codecs/rt5651.c struct snd_soc_component *component = dai->component; dai 1356 sound/soc/codecs/rt5651.c rt5651->master[dai->id] = 1; dai 1360 sound/soc/codecs/rt5651.c rt5651->master[dai->id] = 0; dai 1392 sound/soc/codecs/rt5651.c switch (dai->id) { dai 1404 sound/soc/codecs/rt5651.c dev_err(component->dev, "Wrong dai->id: %d\n", dai->id); dai 1410 sound/soc/codecs/rt5651.c static int rt5651_set_dai_sysclk(struct snd_soc_dai *dai, dai 1413 sound/soc/codecs/rt5651.c struct snd_soc_component *component = dai->component; dai 1443 sound/soc/codecs/rt5651.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); dai 1448 sound/soc/codecs/rt5651.c static int rt5651_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 1451 sound/soc/codecs/rt5651.c struct snd_soc_component *component = dai->component; dai 3311 sound/soc/codecs/rt5659.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 3313 sound/soc/codecs/rt5659.c struct snd_soc_component *component = dai->component; dai 3318 sound/soc/codecs/rt5659.c rt5659->lrck[dai->id] = params_rate(params); dai 3319 sound/soc/codecs/rt5659.c pre_div = rl6231_get_clk_info(rt5659->sysclk, rt5659->lrck[dai->id]); dai 3322 sound/soc/codecs/rt5659.c rt5659->lrck[dai->id], dai->id); dai 3331 sound/soc/codecs/rt5659.c dev_dbg(dai->dev, "lrck is %dHz and pre_div is %d for iis %d\n", dai 3332 sound/soc/codecs/rt5659.c rt5659->lrck[dai->id], pre_div, dai->id); dai 3350 sound/soc/codecs/rt5659.c switch (dai->id) { dai 3370 sound/soc/codecs/rt5659.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 3376 sound/soc/codecs/rt5659.c switch (rt5659->lrck[dai->id]) { dai 3394 sound/soc/codecs/rt5659.c static int rt5659_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 3396 sound/soc/codecs/rt5659.c struct snd_soc_component *component = dai->component; dai 3402 sound/soc/codecs/rt5659.c rt5659->master[dai->id] = 1; dai 3406 sound/soc/codecs/rt5659.c rt5659->master[dai->id] = 0; dai 3438 sound/soc/codecs/rt5659.c switch (dai->id) { dai 3455 sound/soc/codecs/rt5659.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 3562 sound/soc/codecs/rt5659.c static int rt5659_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 3565 sound/soc/codecs/rt5659.c struct snd_soc_component *component = dai->component; dai 3614 sound/soc/codecs/rt5659.c static int rt5659_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 3616 sound/soc/codecs/rt5659.c struct snd_soc_component *component = dai->component; dai 3621 sound/soc/codecs/rt5659.c rt5659->bclk[dai->id] = ratio; dai 3624 sound/soc/codecs/rt5659.c switch (dai->id) { dai 836 sound/soc/codecs/rt5660.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 838 sound/soc/codecs/rt5660.c struct snd_soc_component *component = dai->component; dai 843 sound/soc/codecs/rt5660.c rt5660->lrck[dai->id] = params_rate(params); dai 844 sound/soc/codecs/rt5660.c pre_div = rl6231_get_clk_info(rt5660->sysclk, rt5660->lrck[dai->id]); dai 847 sound/soc/codecs/rt5660.c rt5660->lrck[dai->id], dai->id); dai 862 sound/soc/codecs/rt5660.c rt5660->bclk[dai->id] = rt5660->lrck[dai->id] * (32 << bclk_ms); dai 864 sound/soc/codecs/rt5660.c dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", dai 865 sound/soc/codecs/rt5660.c rt5660->bclk[dai->id], rt5660->lrck[dai->id]); dai 866 sound/soc/codecs/rt5660.c dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", dai 867 sound/soc/codecs/rt5660.c bclk_ms, pre_div, dai->id); dai 885 sound/soc/codecs/rt5660.c switch (dai->id) { dai 896 sound/soc/codecs/rt5660.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 903 sound/soc/codecs/rt5660.c static int rt5660_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 905 sound/soc/codecs/rt5660.c struct snd_soc_component *component = dai->component; dai 911 sound/soc/codecs/rt5660.c rt5660->master[dai->id] = 1; dai 916 sound/soc/codecs/rt5660.c rt5660->master[dai->id] = 0; dai 955 sound/soc/codecs/rt5660.c switch (dai->id) { dai 963 sound/soc/codecs/rt5660.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 970 sound/soc/codecs/rt5660.c static int rt5660_set_dai_sysclk(struct snd_soc_dai *dai, dai 973 sound/soc/codecs/rt5660.c struct snd_soc_component *component = dai->component; dai 1004 sound/soc/codecs/rt5660.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); dai 1009 sound/soc/codecs/rt5660.c static int rt5660_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 1012 sound/soc/codecs/rt5660.c struct snd_soc_component *component = dai->component; dai 2763 sound/soc/codecs/rt5663.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 2765 sound/soc/codecs/rt5663.c struct snd_soc_component *component = dai->component; dai 2772 sound/soc/codecs/rt5663.c dev_dbg(dai->dev, "bclk is %dHz and sysclk is %dHz\n", dai 2778 sound/soc/codecs/rt5663.c rt5663->lrck, dai->id); dai 2782 sound/soc/codecs/rt5663.c dev_dbg(dai->dev, "pre_div is %d for iis %d\n", pre_div, dai->id); dai 2810 sound/soc/codecs/rt5663.c static int rt5663_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2812 sound/soc/codecs/rt5663.c struct snd_soc_component *component = dai->component; dai 2857 sound/soc/codecs/rt5663.c static int rt5663_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 2860 sound/soc/codecs/rt5663.c struct snd_soc_component *component = dai->component; dai 2892 sound/soc/codecs/rt5663.c static int rt5663_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 2895 sound/soc/codecs/rt5663.c struct snd_soc_component *component = dai->component; dai 2965 sound/soc/codecs/rt5663.c static int rt5663_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 2968 sound/soc/codecs/rt5663.c struct snd_soc_component *component = dai->component; dai 3032 sound/soc/codecs/rt5663.c static int rt5663_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 3034 sound/soc/codecs/rt5663.c struct snd_soc_component *component = dai->component; dai 4049 sound/soc/codecs/rt5665.c static int rt5665_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 4052 sound/soc/codecs/rt5665.c struct snd_soc_component *component = dai->component; dai 4106 sound/soc/codecs/rt5665.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 4108 sound/soc/codecs/rt5665.c struct snd_soc_component *component = dai->component; dai 4113 sound/soc/codecs/rt5665.c rt5665->lrck[dai->id] = params_rate(params); dai 4114 sound/soc/codecs/rt5665.c pre_div = rl6231_get_clk_info(rt5665->sysclk, rt5665->lrck[dai->id]); dai 4118 sound/soc/codecs/rt5665.c rt5665->sysclk, rt5665->lrck[dai->id] * 512); dai 4120 sound/soc/codecs/rt5665.c rt5665->lrck[dai->id] * 512, 0); dai 4129 sound/soc/codecs/rt5665.c dev_dbg(dai->dev, "lrck is %dHz and pre_div is %d for iis %d\n", dai 4130 sound/soc/codecs/rt5665.c rt5665->lrck[dai->id], pre_div, dai->id); dai 4151 sound/soc/codecs/rt5665.c switch (dai->id) { dai 4155 sound/soc/codecs/rt5665.c rt5665_set_tdm_slot(dai, 0xf, 0xf, dai 4179 sound/soc/codecs/rt5665.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 4186 sound/soc/codecs/rt5665.c switch (rt5665->lrck[dai->id]) { dai 4216 sound/soc/codecs/rt5665.c static int rt5665_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 4218 sound/soc/codecs/rt5665.c struct snd_soc_component *component = dai->component; dai 4224 sound/soc/codecs/rt5665.c rt5665->master[dai->id] = 1; dai 4228 sound/soc/codecs/rt5665.c rt5665->master[dai->id] = 0; dai 4260 sound/soc/codecs/rt5665.c switch (dai->id) { dai 4279 sound/soc/codecs/rt5665.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 4398 sound/soc/codecs/rt5665.c static int rt5665_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 4400 sound/soc/codecs/rt5665.c struct snd_soc_component *component = dai->component; dai 4405 sound/soc/codecs/rt5665.c rt5665->bclk[dai->id] = ratio; dai 4408 sound/soc/codecs/rt5665.c switch (dai->id) { dai 1865 sound/soc/codecs/rt5668.c static int rt5668_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 1868 sound/soc/codecs/rt5668.c struct snd_soc_component *component = dai->component; dai 1918 sound/soc/codecs/rt5668.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 1920 sound/soc/codecs/rt5668.c struct snd_soc_component *component = dai->component; dai 1925 sound/soc/codecs/rt5668.c rt5668->lrck[dai->id] = params_rate(params); dai 1926 sound/soc/codecs/rt5668.c pre_div = rl6231_get_clk_info(rt5668->sysclk, rt5668->lrck[dai->id]); dai 1935 sound/soc/codecs/rt5668.c dev_dbg(dai->dev, "lrck is %dHz and pre_div is %d for iis %d\n", dai 1936 sound/soc/codecs/rt5668.c rt5668->lrck[dai->id], pre_div, dai->id); dai 1961 sound/soc/codecs/rt5668.c switch (dai->id) { dai 1997 sound/soc/codecs/rt5668.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2004 sound/soc/codecs/rt5668.c static int rt5668_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2006 sound/soc/codecs/rt5668.c struct snd_soc_component *component = dai->component; dai 2012 sound/soc/codecs/rt5668.c rt5668->master[dai->id] = 1; dai 2015 sound/soc/codecs/rt5668.c rt5668->master[dai->id] = 0; dai 2029 sound/soc/codecs/rt5668.c if (dai->id == RT5668_AIF1) dai 2035 sound/soc/codecs/rt5668.c if (dai->id == RT5668_AIF1) dai 2064 sound/soc/codecs/rt5668.c switch (dai->id) { dai 2072 sound/soc/codecs/rt5668.c tdm_ctrl | rt5668->master[dai->id]); dai 2075 sound/soc/codecs/rt5668.c if (rt5668->master[dai->id] == 0) dai 2082 sound/soc/codecs/rt5668.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2195 sound/soc/codecs/rt5668.c static int rt5668_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 2197 sound/soc/codecs/rt5668.c struct snd_soc_component *component = dai->component; dai 2200 sound/soc/codecs/rt5668.c rt5668->bclk[dai->id] = ratio; dai 2214 sound/soc/codecs/rt5668.c dev_err(dai->dev, "Invalid bclk ratio %d\n", ratio); dai 2266 sound/soc/codecs/rt5670.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 2268 sound/soc/codecs/rt5670.c struct snd_soc_component *component = dai->component; dai 2273 sound/soc/codecs/rt5670.c rt5670->lrck[dai->id] = params_rate(params); dai 2274 sound/soc/codecs/rt5670.c pre_div = rl6231_get_clk_info(rt5670->sysclk, rt5670->lrck[dai->id]); dai 2277 sound/soc/codecs/rt5670.c rt5670->lrck[dai->id], dai->id); dai 2286 sound/soc/codecs/rt5670.c rt5670->bclk[dai->id] = rt5670->lrck[dai->id] * (32 << bclk_ms); dai 2288 sound/soc/codecs/rt5670.c dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", dai 2289 sound/soc/codecs/rt5670.c rt5670->bclk[dai->id], rt5670->lrck[dai->id]); dai 2290 sound/soc/codecs/rt5670.c dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", dai 2291 sound/soc/codecs/rt5670.c bclk_ms, pre_div, dai->id); dai 2309 sound/soc/codecs/rt5670.c switch (dai->id) { dai 2327 sound/soc/codecs/rt5670.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2334 sound/soc/codecs/rt5670.c static int rt5670_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2336 sound/soc/codecs/rt5670.c struct snd_soc_component *component = dai->component; dai 2342 sound/soc/codecs/rt5670.c rt5670->master[dai->id] = 1; dai 2346 sound/soc/codecs/rt5670.c rt5670->master[dai->id] = 0; dai 2378 sound/soc/codecs/rt5670.c switch (dai->id) { dai 2390 sound/soc/codecs/rt5670.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2427 sound/soc/codecs/rt5670.c static int rt5670_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 2430 sound/soc/codecs/rt5670.c struct snd_soc_component *component = dai->component; dai 2458 sound/soc/codecs/rt5670.c switch (dai->id) { dai 2468 sound/soc/codecs/rt5670.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2500 sound/soc/codecs/rt5670.c static int rt5670_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 2503 sound/soc/codecs/rt5670.c struct snd_soc_component *component = dai->component; dai 2546 sound/soc/codecs/rt5670.c static int rt5670_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 2548 sound/soc/codecs/rt5670.c struct snd_soc_component *component = dai->component; dai 2551 sound/soc/codecs/rt5670.c if (dai->id != RT5670_AIF1) dai 4103 sound/soc/codecs/rt5677.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 4105 sound/soc/codecs/rt5677.c struct snd_soc_component *component = dai->component; dai 4110 sound/soc/codecs/rt5677.c rt5677->lrck[dai->id] = params_rate(params); dai 4111 sound/soc/codecs/rt5677.c pre_div = rl6231_get_clk_info(rt5677->sysclk, rt5677->lrck[dai->id]); dai 4114 sound/soc/codecs/rt5677.c rt5677->sysclk, rt5677->lrck[dai->id]); dai 4123 sound/soc/codecs/rt5677.c rt5677->bclk[dai->id] = rt5677->lrck[dai->id] * (32 << bclk_ms); dai 4125 sound/soc/codecs/rt5677.c dev_dbg(dai->dev, "bclk is %dHz and lrck is %dHz\n", dai 4126 sound/soc/codecs/rt5677.c rt5677->bclk[dai->id], rt5677->lrck[dai->id]); dai 4127 sound/soc/codecs/rt5677.c dev_dbg(dai->dev, "bclk_ms is %d and pre_div is %d for iis %d\n", dai 4128 sound/soc/codecs/rt5677.c bclk_ms, pre_div, dai->id); dai 4146 sound/soc/codecs/rt5677.c switch (dai->id) { dai 4188 sound/soc/codecs/rt5677.c static int rt5677_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 4190 sound/soc/codecs/rt5677.c struct snd_soc_component *component = dai->component; dai 4196 sound/soc/codecs/rt5677.c rt5677->master[dai->id] = 1; dai 4200 sound/soc/codecs/rt5677.c rt5677->master[dai->id] = 0; dai 4232 sound/soc/codecs/rt5677.c switch (dai->id) { dai 4261 sound/soc/codecs/rt5677.c static int rt5677_set_dai_sysclk(struct snd_soc_dai *dai, dai 4264 sound/soc/codecs/rt5677.c struct snd_soc_component *component = dai->component; dai 4290 sound/soc/codecs/rt5677.c dev_dbg(dai->dev, "Sysclk is %dHz and clock id is %d\n", freq, clk_id); dai 4314 sound/soc/codecs/rt5677.c static int rt5677_set_dai_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 4317 sound/soc/codecs/rt5677.c struct snd_soc_component *component = dai->component; dai 4345 sound/soc/codecs/rt5677.c switch (dai->id) { dai 4394 sound/soc/codecs/rt5677.c static int rt5677_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 4397 sound/soc/codecs/rt5677.c struct snd_soc_component *component = dai->component; dai 4437 sound/soc/codecs/rt5677.c switch (dai->id) { dai 1925 sound/soc/codecs/rt5682.c static int rt5682_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 1928 sound/soc/codecs/rt5682.c struct snd_soc_component *component = dai->component; dai 1996 sound/soc/codecs/rt5682.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 1998 sound/soc/codecs/rt5682.c struct snd_soc_component *component = dai->component; dai 2003 sound/soc/codecs/rt5682.c rt5682->lrck[dai->id] = params_rate(params); dai 2004 sound/soc/codecs/rt5682.c pre_div = rl6231_get_clk_info(rt5682->sysclk, rt5682->lrck[dai->id]); dai 2013 sound/soc/codecs/rt5682.c dev_dbg(dai->dev, "lrck is %dHz and pre_div is %d for iis %d\n", dai 2014 sound/soc/codecs/rt5682.c rt5682->lrck[dai->id], pre_div, dai->id); dai 2039 sound/soc/codecs/rt5682.c switch (dai->id) { dai 2075 sound/soc/codecs/rt5682.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2082 sound/soc/codecs/rt5682.c static int rt5682_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2084 sound/soc/codecs/rt5682.c struct snd_soc_component *component = dai->component; dai 2090 sound/soc/codecs/rt5682.c rt5682->master[dai->id] = 1; dai 2093 sound/soc/codecs/rt5682.c rt5682->master[dai->id] = 0; dai 2107 sound/soc/codecs/rt5682.c if (dai->id == RT5682_AIF1) dai 2113 sound/soc/codecs/rt5682.c if (dai->id == RT5682_AIF1) dai 2142 sound/soc/codecs/rt5682.c switch (dai->id) { dai 2150 sound/soc/codecs/rt5682.c tdm_ctrl | rt5682->master[dai->id]); dai 2153 sound/soc/codecs/rt5682.c if (rt5682->master[dai->id] == 0) dai 2160 sound/soc/codecs/rt5682.c dev_err(component->dev, "Invalid dai->id: %d\n", dai->id); dai 2273 sound/soc/codecs/rt5682.c static int rt5682_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 2275 sound/soc/codecs/rt5682.c struct snd_soc_component *component = dai->component; dai 2278 sound/soc/codecs/rt5682.c rt5682->bclk[dai->id] = ratio; dai 2292 sound/soc/codecs/rt5682.c dev_err(dai->dev, "Invalid bclk ratio %d\n", ratio); dai 1049 sound/soc/codecs/sgtl5000.c struct snd_soc_dai *dai) dai 1051 sound/soc/codecs/sgtl5000.c struct snd_soc_component *component = dai->component; dai 150 sound/soc/codecs/si476x.c struct snd_soc_dai *dai) dai 152 sound/soc/codecs/si476x.c struct si476x_core *core = i2c_mfd_cell_to_core(dai->dev); dai 157 sound/soc/codecs/si476x.c dev_err(dai->component->dev, "Rate: %d is not supported\n", rate); dai 180 sound/soc/codecs/si476x.c err = snd_soc_component_write(dai->component, SI476X_DIGITAL_IO_OUTPUT_SAMPLE_RATE, dai 183 sound/soc/codecs/si476x.c dev_err(dai->component->dev, "Failed to set sample rate\n"); dai 187 sound/soc/codecs/si476x.c err = snd_soc_component_update_bits(dai->component, SI476X_DIGITAL_IO_OUTPUT_FORMAT, dai 192 sound/soc/codecs/si476x.c dev_err(dai->component->dev, "Failed to set output width\n"); dai 333 sound/soc/codecs/sirf-audio-codec.c struct snd_soc_dai *dai) dai 335 sound/soc/codecs/sirf-audio-codec.c struct snd_soc_component *component = dai->component; dai 336 sound/soc/codecs/ssm2518.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 338 sound/soc/codecs/ssm2518.c struct snd_soc_component *component = dai->component; dai 391 sound/soc/codecs/ssm2518.c static int ssm2518_mute(struct snd_soc_dai *dai, int mute) dai 393 sound/soc/codecs/ssm2518.c struct ssm2518 *ssm2518 = snd_soc_component_get_drvdata(dai->component); dai 405 sound/soc/codecs/ssm2518.c static int ssm2518_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 407 sound/soc/codecs/ssm2518.c struct ssm2518 *ssm2518 = snd_soc_component_get_drvdata(dai->component); dai 523 sound/soc/codecs/ssm2518.c static int ssm2518_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 526 sound/soc/codecs/ssm2518.c struct ssm2518 *ssm2518 = snd_soc_component_get_drvdata(dai->component); dai 609 sound/soc/codecs/ssm2518.c struct snd_soc_dai *dai) dai 611 sound/soc/codecs/ssm2518.c struct ssm2518 *ssm2518 = snd_soc_component_get_drvdata(dai->component); dai 292 sound/soc/codecs/ssm2602.c struct snd_soc_dai *dai) dai 294 sound/soc/codecs/ssm2602.c struct snd_soc_component *component = dai->component; dai 327 sound/soc/codecs/ssm2602.c struct snd_soc_dai *dai) dai 329 sound/soc/codecs/ssm2602.c struct snd_soc_component *component = dai->component; dai 341 sound/soc/codecs/ssm2602.c static int ssm2602_mute(struct snd_soc_dai *dai, int mute) dai 343 sound/soc/codecs/ssm2602.c struct ssm2602_priv *ssm2602 = snd_soc_component_get_drvdata(dai->component); dai 199 sound/soc/codecs/ssm4567.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 201 sound/soc/codecs/ssm4567.c struct snd_soc_component *component = dai->component; dai 223 sound/soc/codecs/ssm4567.c static int ssm4567_mute(struct snd_soc_dai *dai, int mute) dai 225 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567 = snd_soc_component_get_drvdata(dai->component); dai 233 sound/soc/codecs/ssm4567.c static int ssm4567_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 236 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567 = snd_soc_dai_get_drvdata(dai); dai 275 sound/soc/codecs/ssm4567.c static int ssm4567_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 277 sound/soc/codecs/ssm4567.c struct ssm4567 *ssm4567 = snd_soc_dai_get_drvdata(dai); dai 650 sound/soc/codecs/sta32x.c struct snd_soc_dai *dai) dai 652 sound/soc/codecs/sta32x.c struct snd_soc_component *component = dai->component; dai 679 sound/soc/codecs/sta350.c struct snd_soc_dai *dai) dai 681 sound/soc/codecs/sta350.c struct snd_soc_component *component = dai->component; dai 188 sound/soc/codecs/sta529.c struct snd_soc_dai *dai) dai 190 sound/soc/codecs/sta529.c struct snd_soc_component *component = dai->component; dai 254 sound/soc/codecs/sta529.c static int sta529_mute(struct snd_soc_dai *dai, int mute) dai 261 sound/soc/codecs/sta529.c snd_soc_component_update_bits(dai->component, STA529_FFXCFG0, AUDIO_MUTE_MSK, val); dai 165 sound/soc/codecs/stac9766.c struct snd_soc_dai *dai) dai 167 sound/soc/codecs/stac9766.c struct snd_soc_component *component = dai->component; dai 183 sound/soc/codecs/stac9766.c struct snd_soc_dai *dai) dai 185 sound/soc/codecs/stac9766.c struct snd_soc_component *component = dai->component; dai 157 sound/soc/codecs/sti-sas.c static int sti_sas_dac_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 161 sound/soc/codecs/sti-sas.c dev_err(dai->component->dev, dai 184 sound/soc/codecs/sti-sas.c static int stih407_sas_dac_mute(struct snd_soc_dai *dai, int mute, int stream) dai 186 sound/soc/codecs/sti-sas.c struct snd_soc_component *component = dai->component; dai 202 sound/soc/codecs/sti-sas.c static int sti_sas_spdif_set_fmt(struct snd_soc_dai *dai, dai 206 sound/soc/codecs/sti-sas.c dev_err(dai->component->dev, dai 222 sound/soc/codecs/sti-sas.c struct snd_soc_dai *dai) dai 224 sound/soc/codecs/sti-sas.c struct snd_soc_component *component = dai->component; dai 260 sound/soc/codecs/sti-sas.c static int sti_sas_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 263 sound/soc/codecs/sti-sas.c struct snd_soc_component *component = dai->component; dai 272 sound/soc/codecs/sti-sas.c switch (dai->id) { dai 286 sound/soc/codecs/sti-sas.c struct snd_soc_dai *dai) dai 288 sound/soc/codecs/sti-sas.c struct snd_soc_component *component = dai->component; dai 292 sound/soc/codecs/sti-sas.c switch (dai->id) { dai 237 sound/soc/codecs/tas2552.c struct snd_soc_dai *dai) dai 239 sound/soc/codecs/tas2552.c struct snd_soc_component *component = dai->component; dai 326 sound/soc/codecs/tas2552.c struct snd_soc_dai *dai) dai 328 sound/soc/codecs/tas2552.c struct snd_soc_component *component = dai->component; dai 344 sound/soc/codecs/tas2552.c static int tas2552_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 346 sound/soc/codecs/tas2552.c struct snd_soc_component *component = dai->component; dai 393 sound/soc/codecs/tas2552.c static int tas2552_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 396 sound/soc/codecs/tas2552.c struct snd_soc_component *component = dai->component; dai 439 sound/soc/codecs/tas2552.c static int tas2552_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 443 sound/soc/codecs/tas2552.c struct snd_soc_component *component = dai->component; dai 468 sound/soc/codecs/tas2552.c static int tas2552_mute(struct snd_soc_dai *dai, int mute) dai 471 sound/soc/codecs/tas2552.c struct snd_soc_component *component = dai->component; dai 353 sound/soc/codecs/tas5086.c struct snd_soc_dai *dai) dai 355 sound/soc/codecs/tas5086.c struct snd_soc_component *component = dai->component; dai 451 sound/soc/codecs/tas5086.c static int tas5086_mute_stream(struct snd_soc_dai *dai, int mute, int stream) dai 453 sound/soc/codecs/tas5086.c struct snd_soc_component *component = dai->component; dai 265 sound/soc/codecs/tas571x.c static int tas571x_set_dai_fmt(struct snd_soc_dai *dai, unsigned int format) dai 267 sound/soc/codecs/tas571x.c struct tas571x_private *priv = snd_soc_component_get_drvdata(dai->component); dai 276 sound/soc/codecs/tas571x.c struct snd_soc_dai *dai) dai 278 sound/soc/codecs/tas571x.c struct tas571x_private *priv = snd_soc_component_get_drvdata(dai->component); dai 304 sound/soc/codecs/tas571x.c static int tas571x_mute(struct snd_soc_dai *dai, int mute) dai 306 sound/soc/codecs/tas571x.c struct snd_soc_component *component = dai->component; dai 55 sound/soc/codecs/tas5720.c struct snd_soc_dai *dai) dai 57 sound/soc/codecs/tas5720.c struct snd_soc_component *component = dai->component; dai 86 sound/soc/codecs/tas5720.c static int tas5720_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 88 sound/soc/codecs/tas5720.c struct snd_soc_component *component = dai->component; dai 142 sound/soc/codecs/tas5720.c static int tas5720_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 146 sound/soc/codecs/tas5720.c struct snd_soc_component *component = dai->component; dai 202 sound/soc/codecs/tas5720.c static int tas5720_mute(struct snd_soc_dai *dai, int mute) dai 204 sound/soc/codecs/tas5720.c struct snd_soc_component *component = dai->component; dai 112 sound/soc/codecs/tas6424.c struct snd_soc_dai *dai) dai 114 sound/soc/codecs/tas6424.c struct snd_soc_component *component = dai->component; dai 155 sound/soc/codecs/tas6424.c static int tas6424_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 157 sound/soc/codecs/tas6424.c struct snd_soc_component *component = dai->component; dai 210 sound/soc/codecs/tas6424.c static int tas6424_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 214 sound/soc/codecs/tas6424.c struct snd_soc_component *component = dai->component; dai 255 sound/soc/codecs/tas6424.c static int tas6424_mute(struct snd_soc_dai *dai, int mute) dai 257 sound/soc/codecs/tas6424.c struct snd_soc_component *component = dai->component; dai 25 sound/soc/codecs/tfa9879.c struct snd_soc_dai *dai) dai 27 sound/soc/codecs/tfa9879.c struct snd_soc_component *component = dai->component; dai 96 sound/soc/codecs/tfa9879.c static int tfa9879_digital_mute(struct snd_soc_dai *dai, int mute) dai 98 sound/soc/codecs/tfa9879.c struct snd_soc_component *component = dai->component; dai 107 sound/soc/codecs/tfa9879.c static int tfa9879_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 109 sound/soc/codecs/tfa9879.c struct snd_soc_component *component = dai->component; dai 335 sound/soc/codecs/tlv320aic23.c struct snd_soc_dai *dai) dai 337 sound/soc/codecs/tlv320aic23.c struct snd_soc_component *component = dai->component; dai 380 sound/soc/codecs/tlv320aic23.c struct snd_soc_dai *dai) dai 382 sound/soc/codecs/tlv320aic23.c struct snd_soc_component *component = dai->component; dai 391 sound/soc/codecs/tlv320aic23.c struct snd_soc_dai *dai) dai 393 sound/soc/codecs/tlv320aic23.c struct snd_soc_component *component = dai->component; dai 407 sound/soc/codecs/tlv320aic23.c static int tlv320aic23_mute(struct snd_soc_dai *dai, int mute) dai 409 sound/soc/codecs/tlv320aic23.c struct snd_soc_component *component = dai->component; dai 66 sound/soc/codecs/tlv320aic26.c struct snd_soc_dai *dai) dai 68 sound/soc/codecs/tlv320aic26.c struct snd_soc_component *component = dai->component; dai 137 sound/soc/codecs/tlv320aic26.c static int aic26_mute(struct snd_soc_dai *dai, int mute) dai 139 sound/soc/codecs/tlv320aic26.c struct snd_soc_component *component = dai->component; dai 144 sound/soc/codecs/tlv320aic26.c dai, mute); dai 901 sound/soc/codecs/tlv320aic31xx.c struct snd_soc_dai *dai) dai 903 sound/soc/codecs/tlv320aic31xx.c struct snd_soc_component *component = dai->component; dai 768 sound/soc/codecs/tlv320aic32x4.c struct snd_soc_dai *dai) dai 770 sound/soc/codecs/tlv320aic32x4.c struct snd_soc_component *component = dai->component; dai 812 sound/soc/codecs/tlv320aic32x4.c static int aic32x4_mute(struct snd_soc_dai *dai, int mute) dai 814 sound/soc/codecs/tlv320aic32x4.c struct snd_soc_component *component = dai->component; dai 1045 sound/soc/codecs/tlv320aic3x.c struct snd_soc_dai *dai) dai 1047 sound/soc/codecs/tlv320aic3x.c struct snd_soc_component *component = dai->component; dai 1197 sound/soc/codecs/tlv320aic3x.c struct snd_soc_dai *dai) dai 1199 sound/soc/codecs/tlv320aic3x.c struct snd_soc_component *component = dai->component; dai 1219 sound/soc/codecs/tlv320aic3x.c static int aic3x_mute(struct snd_soc_dai *dai, int mute) dai 1221 sound/soc/codecs/tlv320aic3x.c struct snd_soc_component *component = dai->component; dai 782 sound/soc/codecs/tlv320dac33.c struct snd_soc_dai *dai) dai 784 sound/soc/codecs/tlv320dac33.c struct snd_soc_component *component = dai->component; dai 794 sound/soc/codecs/tlv320dac33.c struct snd_soc_dai *dai) dai 796 sound/soc/codecs/tlv320dac33.c struct snd_soc_component *component = dai->component; dai 806 sound/soc/codecs/tlv320dac33.c struct snd_soc_dai *dai) dai 808 sound/soc/codecs/tlv320dac33.c struct snd_soc_component *component = dai->component; dai 1106 sound/soc/codecs/tlv320dac33.c struct snd_soc_dai *dai) dai 1108 sound/soc/codecs/tlv320dac33.c struct snd_soc_component *component = dai->component; dai 1138 sound/soc/codecs/tlv320dac33.c struct snd_soc_dai *dai) dai 1140 sound/soc/codecs/tlv320dac33.c struct snd_soc_component *component = dai->component; dai 1175 sound/soc/codecs/tscs42xx.c static int tscs42xx_mute_stream(struct snd_soc_dai *dai, int mute, int stream) dai 1177 sound/soc/codecs/tscs42xx.c struct snd_soc_component *component = dai->component; dai 2638 sound/soc/codecs/tscs454.c static int tscs454_set_sysclk(struct snd_soc_dai *dai, dai 2641 sound/soc/codecs/tscs454.c struct snd_soc_component *component = dai->component; dai 2654 sound/soc/codecs/tscs454.c if (bclk_dai != dai->id) dai 2661 sound/soc/codecs/tscs454.c static int tscs454_set_bclk_ratio(struct snd_soc_dai *dai, dai 2666 sound/soc/codecs/tscs454.c struct snd_soc_component *component = dai->component; dai 2671 sound/soc/codecs/tscs454.c dai->id, ratio); dai 2673 sound/soc/codecs/tscs454.c switch (dai->id) { dai 2892 sound/soc/codecs/tscs454.c static int tscs454_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2894 sound/soc/codecs/tscs454.c struct snd_soc_component *component = dai->component; dai 2896 sound/soc/codecs/tscs454.c struct aif *aif = &tscs454->aifs[dai->id]; dai 2903 sound/soc/codecs/tscs454.c ret = set_aif_format_from_fmt(component, dai->id, fmt); dai 2907 sound/soc/codecs/tscs454.c ret = set_aif_clock_format_from_fmt(component, dai->id, fmt); dai 2914 sound/soc/codecs/tscs454.c static int tscs454_dai1_set_tdm_slot(struct snd_soc_dai *dai, dai 2918 sound/soc/codecs/tscs454.c struct snd_soc_component *component = dai->component; dai 2971 sound/soc/codecs/tscs454.c static int tscs454_dai23_set_tdm_slot(struct snd_soc_dai *dai, dai 2975 sound/soc/codecs/tscs454.c struct snd_soc_component *component = dai->component; dai 2989 sound/soc/codecs/tscs454.c switch (dai->id) { dai 2999 sound/soc/codecs/tscs454.c dai->id, ret); dai 3180 sound/soc/codecs/tscs454.c struct snd_soc_dai *dai) dai 3182 sound/soc/codecs/tscs454.c struct snd_soc_component *component = dai->component; dai 3185 sound/soc/codecs/tscs454.c struct aif *aif = &tscs454->aifs[dai->id]; dai 3249 sound/soc/codecs/tscs454.c struct snd_soc_dai *dai) dai 3251 sound/soc/codecs/tscs454.c struct snd_soc_component *component = dai->component; dai 3253 sound/soc/codecs/tscs454.c struct aif *aif = &tscs454->aifs[dai->id]; dai 3260 sound/soc/codecs/tscs454.c struct snd_soc_dai *dai) dai 3263 sound/soc/codecs/tscs454.c struct snd_soc_component *component = dai->component; dai 3265 sound/soc/codecs/tscs454.c struct aif *aif = &tscs454->aifs[dai->id]; dai 1638 sound/soc/codecs/twl4030.c struct snd_soc_dai *dai) dai 1640 sound/soc/codecs/twl4030.c struct snd_soc_component *component = dai->component; dai 1667 sound/soc/codecs/twl4030.c struct snd_soc_dai *dai) dai 1669 sound/soc/codecs/twl4030.c struct snd_soc_component *component = dai->component; dai 1691 sound/soc/codecs/twl4030.c struct snd_soc_dai *dai) dai 1693 sound/soc/codecs/twl4030.c struct snd_soc_component *component = dai->component; dai 1887 sound/soc/codecs/twl4030.c static int twl4030_set_tristate(struct snd_soc_dai *dai, int tristate) dai 1889 sound/soc/codecs/twl4030.c struct snd_soc_component *component = dai->component; dai 1923 sound/soc/codecs/twl4030.c struct snd_soc_dai *dai) dai 1925 sound/soc/codecs/twl4030.c struct snd_soc_component *component = dai->component; dai 1955 sound/soc/codecs/twl4030.c struct snd_soc_dai *dai) dai 1957 sound/soc/codecs/twl4030.c struct snd_soc_component *component = dai->component; dai 1965 sound/soc/codecs/twl4030.c struct snd_soc_dai *dai) dai 1967 sound/soc/codecs/twl4030.c struct snd_soc_component *component = dai->component; dai 2082 sound/soc/codecs/twl4030.c static int twl4030_voice_set_tristate(struct snd_soc_dai *dai, int tristate) dai 2084 sound/soc/codecs/twl4030.c struct snd_soc_component *component = dai->component; dai 860 sound/soc/codecs/twl6040.c struct snd_soc_dai *dai) dai 862 sound/soc/codecs/twl6040.c struct snd_soc_component *component = dai->component; dai 874 sound/soc/codecs/twl6040.c struct snd_soc_dai *dai) dai 876 sound/soc/codecs/twl6040.c struct snd_soc_component *component = dai->component; dai 910 sound/soc/codecs/twl6040.c struct snd_soc_dai *dai) dai 912 sound/soc/codecs/twl6040.c struct snd_soc_component *component = dai->component; dai 1000 sound/soc/codecs/twl6040.c static int twl6040_digital_mute(struct snd_soc_dai *dai, int mute) dai 1002 sound/soc/codecs/twl6040.c switch (dai->id) { dai 1004 sound/soc/codecs/twl6040.c twl6040_mute_path(dai->component, TWL6040_DAI_DL1, mute); dai 1005 sound/soc/codecs/twl6040.c twl6040_mute_path(dai->component, TWL6040_DAI_DL2, mute); dai 1009 sound/soc/codecs/twl6040.c twl6040_mute_path(dai->component, dai->id, mute); dai 91 sound/soc/codecs/uda1334.c struct snd_soc_dai *dai) dai 93 sound/soc/codecs/uda1334.c struct snd_soc_component *component = dai->component; dai 116 sound/soc/codecs/uda1334.c struct snd_soc_dai *dai) dai 118 sound/soc/codecs/uda1334.c struct snd_soc_component *component = dai->component; dai 183 sound/soc/codecs/uda1334.c static int uda1334_mute_stream(struct snd_soc_dai *dai, int mute, int stream) dai 185 sound/soc/codecs/uda1334.c struct uda1334_priv *uda1334 = snd_soc_component_get_drvdata(dai->component); dai 120 sound/soc/codecs/uda134x.c static int uda134x_mute(struct snd_soc_dai *dai, int mute) dai 122 sound/soc/codecs/uda134x.c struct uda134x_priv *uda134x = snd_soc_component_get_drvdata(dai->component); dai 137 sound/soc/codecs/uda134x.c struct snd_soc_dai *dai) dai 139 sound/soc/codecs/uda134x.c struct snd_soc_component *component = dai->component; dai 166 sound/soc/codecs/uda134x.c struct snd_soc_dai *dai) dai 168 sound/soc/codecs/uda134x.c struct snd_soc_component *component = dai->component; dai 179 sound/soc/codecs/uda134x.c struct snd_soc_dai *dai) dai 181 sound/soc/codecs/uda134x.c struct snd_soc_component *component = dai->component; dai 507 sound/soc/codecs/uda1380.c struct snd_soc_dai *dai) dai 509 sound/soc/codecs/uda1380.c struct snd_soc_component *component = dai->component; dai 532 sound/soc/codecs/uda1380.c struct snd_soc_dai *dai) dai 534 sound/soc/codecs/uda1380.c struct snd_soc_component *component = dai->component; dai 569 sound/soc/codecs/uda1380.c struct snd_soc_dai *dai) dai 571 sound/soc/codecs/uda1380.c struct snd_soc_component *component = dai->component; dai 325 sound/soc/codecs/wcd9335.c struct wcd_slim_codec_dai_data dai[NUM_CODEC_DAIS]; dai 1297 sound/soc/codecs/wcd9335.c &wcd->dai[AIF1_PB].slim_ch_list); dai 1301 sound/soc/codecs/wcd9335.c &wcd->dai[AIF2_PB].slim_ch_list); dai 1305 sound/soc/codecs/wcd9335.c &wcd->dai[AIF3_PB].slim_ch_list); dai 1309 sound/soc/codecs/wcd9335.c &wcd->dai[AIF4_PB].slim_ch_list); dai 1357 sound/soc/codecs/wcd9335.c &wcd->dai[dai_id].slim_ch_list); dai 1609 sound/soc/codecs/wcd9335.c static int wcd9335_set_mix_interpolator_rate(struct snd_soc_dai *dai, dai 1613 sound/soc/codecs/wcd9335.c struct snd_soc_component *component = dai->component; dai 1618 sound/soc/codecs/wcd9335.c list_for_each_entry(ch, &wcd->dai[dai->id].slim_ch_list, list) { dai 1635 sound/soc/codecs/wcd9335.c static int wcd9335_set_prim_interpolator_rate(struct snd_soc_dai *dai, dai 1639 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = dai->component; dai 1645 sound/soc/codecs/wcd9335.c list_for_each_entry(ch, &wcd->dai[dai->id].slim_ch_list, list) { dai 1683 sound/soc/codecs/wcd9335.c static int wcd9335_set_interpolator_rate(struct snd_soc_dai *dai, u32 rate) dai 1690 sound/soc/codecs/wcd9335.c wcd9335_set_mix_interpolator_rate(dai, dai 1699 sound/soc/codecs/wcd9335.c wcd9335_set_prim_interpolator_rate(dai, dai 1787 sound/soc/codecs/wcd9335.c static int wcd9335_set_decimator_rate(struct snd_soc_dai *dai, dai 1790 sound/soc/codecs/wcd9335.c struct snd_soc_component *comp = dai->component; dai 1797 sound/soc/codecs/wcd9335.c list_for_each_entry(ch, &wcd->dai[dai->id].slim_ch_list, list) { dai 1801 sound/soc/codecs/wcd9335.c tx_port, dai->id); dai 1868 sound/soc/codecs/wcd9335.c struct snd_soc_dai *dai) dai 1873 sound/soc/codecs/wcd9335.c wcd = snd_soc_component_get_drvdata(dai->component); dai 1877 sound/soc/codecs/wcd9335.c ret = wcd9335_set_interpolator_rate(dai, params_rate(params)); dai 1885 sound/soc/codecs/wcd9335.c wcd->dai[dai->id].sconfig.bps = params_width(params); dai 1924 sound/soc/codecs/wcd9335.c ret = wcd9335_set_decimator_rate(dai, tx_fs_rate, dai 1932 sound/soc/codecs/wcd9335.c wcd->dai[dai->id].sconfig.bps = params_width(params); dai 1946 sound/soc/codecs/wcd9335.c wcd->dai[dai->id].sconfig.rate = params_rate(params); dai 1947 sound/soc/codecs/wcd9335.c wcd9335_slim_set_hw_params(wcd, &wcd->dai[dai->id], substream->stream); dai 1953 sound/soc/codecs/wcd9335.c struct snd_soc_dai *dai) dai 1959 sound/soc/codecs/wcd9335.c wcd = snd_soc_component_get_drvdata(dai->component); dai 1961 sound/soc/codecs/wcd9335.c dai_data = &wcd->dai[dai->id]; dai 1984 sound/soc/codecs/wcd9335.c static int wcd9335_set_channel_map(struct snd_soc_dai *dai, dai 1991 sound/soc/codecs/wcd9335.c wcd = snd_soc_component_get_drvdata(dai->component); dai 2014 sound/soc/codecs/wcd9335.c static int wcd9335_get_channel_map(struct snd_soc_dai *dai, dai 2022 sound/soc/codecs/wcd9335.c wcd = snd_soc_component_get_drvdata(dai->component); dai 2024 sound/soc/codecs/wcd9335.c switch (dai->id) { dai 2035 sound/soc/codecs/wcd9335.c list_for_each_entry(ch, &wcd->dai[dai->id].slim_ch_list, list) dai 2048 sound/soc/codecs/wcd9335.c list_for_each_entry(ch, &wcd->dai[dai->id].slim_ch_list, list) dai 2054 sound/soc/codecs/wcd9335.c dev_err(wcd->dev, "Invalid DAI ID %x\n", dai->id); dai 2993 sound/soc/codecs/wcd9335.c static void wcd9335_codec_enable_int_port(struct wcd_slim_codec_dai_data *dai, dai 3002 sound/soc/codecs/wcd9335.c list_for_each_entry(ch, &dai->slim_ch_list, list) { dai 3024 sound/soc/codecs/wcd9335.c struct wcd_slim_codec_dai_data *dai = &wcd->dai[w->shift]; dai 3028 sound/soc/codecs/wcd9335.c wcd9335_codec_enable_int_port(dai, comp); dai 3031 sound/soc/codecs/wcd9335.c kfree(dai->sconfig.chs); dai 4862 sound/soc/codecs/wcd9335.c INIT_LIST_HEAD(&wcd->dai[i].slim_ch_list); dai 288 sound/soc/codecs/wl1273.c struct snd_soc_dai *dai) dai 290 sound/soc/codecs/wl1273.c struct snd_soc_component *component = dai->component; dai 322 sound/soc/codecs/wl1273.c struct snd_soc_dai *dai) dai 324 sound/soc/codecs/wl1273.c struct wl1273_priv *wl1273 = snd_soc_component_get_drvdata(dai->component); dai 329 sound/soc/codecs/wl1273.c dev_err(dai->dev, "%d bits/sample not supported\n", dai 77 sound/soc/codecs/wm1250-ev1.c struct snd_soc_dai *dai) dai 79 sound/soc/codecs/wm1250-ev1.c struct wm1250_priv *wm1250 = snd_soc_component_get_drvdata(dai->component); dai 1562 sound/soc/codecs/wm2200.c static int wm2200_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1564 sound/soc/codecs/wm2200.c struct snd_soc_component *component = dai->component; dai 1694 sound/soc/codecs/wm2200.c struct snd_soc_dai *dai) dai 1696 sound/soc/codecs/wm2200.c struct snd_soc_component *component = dai->component; dai 2056 sound/soc/codecs/wm2200.c static int wm2200_dai_probe(struct snd_soc_dai *dai) dai 2058 sound/soc/codecs/wm2200.c struct snd_soc_component *component = dai->component; dai 1279 sound/soc/codecs/wm5100.c static int wm5100_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1281 sound/soc/codecs/wm5100.c struct snd_soc_component *component = dai->component; dai 1284 sound/soc/codecs/wm5100.c base = dai->driver->base; dai 1397 sound/soc/codecs/wm5100.c struct snd_soc_dai *dai) dai 1399 sound/soc/codecs/wm5100.c struct snd_soc_component *component = dai->component; dai 1401 sound/soc/codecs/wm5100.c bool async = wm5100->aif_async[dai->id]; dai 1405 sound/soc/codecs/wm5100.c base = dai->driver->base; dai 1479 sound/soc/codecs/wm5100.c wm5100->aif_symmetric[dai->id]) dai 945 sound/soc/codecs/wm8350.c static int wm8350_mute(struct snd_soc_dai *dai, int mute) dai 947 sound/soc/codecs/wm8350.c struct snd_soc_component *component = dai->component; dai 1082 sound/soc/codecs/wm8400.c struct snd_soc_dai *dai) dai 1084 sound/soc/codecs/wm8400.c struct snd_soc_component *component = dai->component; dai 1107 sound/soc/codecs/wm8400.c static int wm8400_mute(struct snd_soc_dai *dai, int mute) dai 1109 sound/soc/codecs/wm8400.c struct snd_soc_component *component = dai->component; dai 442 sound/soc/codecs/wm8510.c struct snd_soc_dai *dai) dai 444 sound/soc/codecs/wm8510.c struct snd_soc_component *component = dai->component; dai 490 sound/soc/codecs/wm8510.c static int wm8510_mute(struct snd_soc_dai *dai, int mute) dai 492 sound/soc/codecs/wm8510.c struct snd_soc_component *component = dai->component; dai 122 sound/soc/codecs/wm8523.c struct snd_soc_dai *dai) dai 124 sound/soc/codecs/wm8523.c struct snd_soc_component *component = dai->component; dai 145 sound/soc/codecs/wm8523.c struct snd_soc_dai *dai) dai 147 sound/soc/codecs/wm8523.c struct snd_soc_component *component = dai->component; dai 60 sound/soc/codecs/wm8524.c struct snd_soc_dai *dai) dai 62 sound/soc/codecs/wm8524.c struct snd_soc_component *component = dai->component; dai 84 sound/soc/codecs/wm8524.c struct snd_soc_dai *dai) dai 86 sound/soc/codecs/wm8524.c struct snd_soc_component *component = dai->component; dai 150 sound/soc/codecs/wm8524.c static int wm8524_mute_stream(struct snd_soc_dai *dai, int mute, int stream) dai 152 sound/soc/codecs/wm8524.c struct wm8524_priv *wm8524 = snd_soc_component_get_drvdata(dai->component); dai 536 sound/soc/codecs/wm8580.c struct snd_soc_dai *dai) dai 538 sound/soc/codecs/wm8580.c struct snd_soc_component *component = dai->component; dai 566 sound/soc/codecs/wm8580.c ratio = wm8580->sysclk[dai->driver->id] / params_rate(params); dai 572 sound/soc/codecs/wm8580.c wm8580->sysclk[dai->driver->id], params_rate(params)); dai 577 sound/soc/codecs/wm8580.c wm8580_sysclk_ratios[i], wm8580->sysclk[dai->driver->id]); dai 595 sound/soc/codecs/wm8580.c snd_soc_component_update_bits(component, WM8580_PAIF1 + dai->driver->id, dai 598 sound/soc/codecs/wm8580.c snd_soc_component_update_bits(component, WM8580_PAIF3 + dai->driver->id, dai 750 sound/soc/codecs/wm8580.c static int wm8580_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 753 sound/soc/codecs/wm8580.c struct snd_soc_component *component = dai->component; dai 757 sound/soc/codecs/wm8580.c switch (dai->driver->id) { dai 775 sound/soc/codecs/wm8580.c if (dai->driver->id != WM8580_DAI_PAIFTX) dai 794 sound/soc/codecs/wm8580.c wm8580->sysclk[dai->driver->id] = freq; dai 850 sound/soc/codecs/wm8580.c struct snd_soc_dai *dai) dai 852 sound/soc/codecs/wm8580.c struct snd_soc_component *component = dai->component; dai 157 sound/soc/codecs/wm8711.c struct snd_soc_dai *dai) dai 159 sound/soc/codecs/wm8711.c struct snd_soc_component *component = dai->component; dai 185 sound/soc/codecs/wm8711.c struct snd_soc_dai *dai) dai 187 sound/soc/codecs/wm8711.c struct snd_soc_component *component = dai->component; dai 196 sound/soc/codecs/wm8711.c struct snd_soc_dai *dai) dai 198 sound/soc/codecs/wm8711.c struct snd_soc_component *component = dai->component; dai 207 sound/soc/codecs/wm8711.c static int wm8711_mute(struct snd_soc_dai *dai, int mute) dai 209 sound/soc/codecs/wm8711.c struct snd_soc_component *component = dai->component; dai 72 sound/soc/codecs/wm8728.c static int wm8728_mute(struct snd_soc_dai *dai, int mute) dai 74 sound/soc/codecs/wm8728.c struct snd_soc_component *component = dai->component; dai 87 sound/soc/codecs/wm8728.c struct snd_soc_dai *dai) dai 89 sound/soc/codecs/wm8728.c struct snd_soc_component *component = dai->component; dai 335 sound/soc/codecs/wm8731.c struct snd_soc_dai *dai) dai 337 sound/soc/codecs/wm8731.c struct snd_soc_component *component = dai->component; dai 369 sound/soc/codecs/wm8731.c static int wm8731_mute(struct snd_soc_dai *dai, int mute) dai 371 sound/soc/codecs/wm8731.c struct snd_soc_component *component = dai->component; dai 529 sound/soc/codecs/wm8731.c struct snd_soc_dai *dai) dai 531 sound/soc/codecs/wm8731.c struct wm8731_priv *wm8731 = snd_soc_component_get_drvdata(dai->component); dai 326 sound/soc/codecs/wm8737.c struct snd_soc_dai *dai) dai 328 sound/soc/codecs/wm8737.c struct snd_soc_component *component = dai->component; dai 176 sound/soc/codecs/wm8741.c struct snd_soc_dai *dai) dai 178 sound/soc/codecs/wm8741.c struct snd_soc_component *component = dai->component; dai 191 sound/soc/codecs/wm8741.c struct snd_soc_dai *dai) dai 193 sound/soc/codecs/wm8741.c struct snd_soc_component *component = dai->component; dai 577 sound/soc/codecs/wm8750.c struct snd_soc_dai *dai) dai 579 sound/soc/codecs/wm8750.c struct snd_soc_component *component = dai->component; dai 609 sound/soc/codecs/wm8750.c static int wm8750_mute(struct snd_soc_dai *dai, int mute) dai 611 sound/soc/codecs/wm8750.c struct snd_soc_component *component = dai->component; dai 922 sound/soc/codecs/wm8753.c struct snd_soc_dai *dai) dai 924 sound/soc/codecs/wm8753.c struct snd_soc_component *component = dai->component; dai 1151 sound/soc/codecs/wm8753.c struct snd_soc_dai *dai) dai 1153 sound/soc/codecs/wm8753.c struct snd_soc_component *component = dai->component; dai 1298 sound/soc/codecs/wm8753.c static int wm8753_mute(struct snd_soc_dai *dai, int mute) dai 1300 sound/soc/codecs/wm8753.c struct snd_soc_component *component = dai->component; dai 344 sound/soc/codecs/wm8770.c static int wm8770_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 349 sound/soc/codecs/wm8770.c component = dai->component; dai 409 sound/soc/codecs/wm8770.c struct snd_soc_dai *dai) dai 418 sound/soc/codecs/wm8770.c component = dai->component; dai 475 sound/soc/codecs/wm8770.c static int wm8770_mute(struct snd_soc_dai *dai, int mute) dai 479 sound/soc/codecs/wm8770.c component = dai->component; dai 484 sound/soc/codecs/wm8770.c static int wm8770_set_sysclk(struct snd_soc_dai *dai, dai 490 sound/soc/codecs/wm8770.c component = dai->component; dai 164 sound/soc/codecs/wm8776.c static int wm8776_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 166 sound/soc/codecs/wm8776.c struct snd_soc_component *component = dai->component; dai 169 sound/soc/codecs/wm8776.c switch (dai->driver->id) { dai 241 sound/soc/codecs/wm8776.c struct snd_soc_dai *dai) dai 243 sound/soc/codecs/wm8776.c struct snd_soc_component *component = dai->component; dai 249 sound/soc/codecs/wm8776.c switch (dai->driver->id) { dai 287 sound/soc/codecs/wm8776.c if (wm8776->sysclk[dai->driver->id] / params_rate(params) dai 295 sound/soc/codecs/wm8776.c wm8776->sysclk[dai->driver->id], params_rate(params)); dai 312 sound/soc/codecs/wm8776.c static int wm8776_mute(struct snd_soc_dai *dai, int mute) dai 314 sound/soc/codecs/wm8776.c struct snd_soc_component *component = dai->component; dai 319 sound/soc/codecs/wm8776.c static int wm8776_set_sysclk(struct snd_soc_dai *dai, dai 322 sound/soc/codecs/wm8776.c struct snd_soc_component *component = dai->component; dai 325 sound/soc/codecs/wm8776.c if (WARN_ON(dai->driver->id >= ARRAY_SIZE(wm8776->sysclk))) dai 328 sound/soc/codecs/wm8776.c wm8776->sysclk[dai->driver->id] = freq; dai 216 sound/soc/codecs/wm8804.c static int wm8804_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 221 sound/soc/codecs/wm8804.c component = dai->component; dai 238 sound/soc/codecs/wm8804.c dev_err(dai->dev, "Unknown dai format\n"); dai 254 sound/soc/codecs/wm8804.c dev_err(dai->dev, "Unknown master/slave configuration\n"); dai 275 sound/soc/codecs/wm8804.c dev_err(dai->dev, "Unknown polarity configuration\n"); dai 289 sound/soc/codecs/wm8804.c struct snd_soc_dai *dai) dai 294 sound/soc/codecs/wm8804.c component = dai->component; dai 307 sound/soc/codecs/wm8804.c dev_err(dai->dev, "Unsupported word length: %u\n", dai 401 sound/soc/codecs/wm8804.c static int wm8804_set_pll(struct snd_soc_dai *dai, int pll_id, dai 405 sound/soc/codecs/wm8804.c struct snd_soc_component *component = dai->component; dai 448 sound/soc/codecs/wm8804.c static int wm8804_set_sysclk(struct snd_soc_dai *dai, dai 453 sound/soc/codecs/wm8804.c component = dai->component; dai 461 sound/soc/codecs/wm8804.c dev_err(dai->dev, "OSCCLOCK is not within the " dai 476 sound/soc/codecs/wm8804.c dev_err(dai->dev, "Unknown clock source: %d\n", clk_id); dai 483 sound/soc/codecs/wm8804.c static int wm8804_set_clkdiv(struct snd_soc_dai *dai, dai 489 sound/soc/codecs/wm8804.c component = dai->component; dai 500 sound/soc/codecs/wm8804.c dev_err(dai->dev, "Unknown clock divider: %d\n", div_id); dai 633 sound/soc/codecs/wm8900.c struct snd_soc_dai *dai) dai 635 sound/soc/codecs/wm8900.c struct snd_soc_component *component = dai->component; dai 1440 sound/soc/codecs/wm8903.c struct snd_soc_dai *dai) dai 1442 sound/soc/codecs/wm8903.c struct snd_soc_component *component = dai->component; dai 1288 sound/soc/codecs/wm8904.c struct snd_soc_dai *dai) dai 1290 sound/soc/codecs/wm8904.c struct snd_soc_component *component = dai->component; dai 1414 sound/soc/codecs/wm8904.c static int wm8904_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 1417 sound/soc/codecs/wm8904.c struct snd_soc_component *component = dai->component; dai 1434 sound/soc/codecs/wm8904.c dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq); dai 1441 sound/soc/codecs/wm8904.c static int wm8904_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1443 sound/soc/codecs/wm8904.c struct snd_soc_component *component = dai->component; dai 1531 sound/soc/codecs/wm8904.c static int wm8904_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 1534 sound/soc/codecs/wm8904.c struct snd_soc_component *component = dai->component; dai 1688 sound/soc/codecs/wm8904.c static int wm8904_set_fll(struct snd_soc_dai *dai, int fll_id, int source, dai 1691 sound/soc/codecs/wm8904.c struct snd_soc_component *component = dai->component; dai 392 sound/soc/codecs/wm8940.c struct snd_soc_dai *dai) dai 394 sound/soc/codecs/wm8940.c struct snd_soc_component *component = dai->component; dai 455 sound/soc/codecs/wm8940.c static int wm8940_mute(struct snd_soc_dai *dai, int mute) dai 457 sound/soc/codecs/wm8940.c struct snd_soc_component *component = dai->component; dai 590 sound/soc/codecs/wm8955.c struct snd_soc_dai *dai) dai 592 sound/soc/codecs/wm8955.c struct snd_soc_component *component = dai->component; dai 638 sound/soc/codecs/wm8955.c static int wm8955_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 641 sound/soc/codecs/wm8955.c struct snd_soc_component *component = dai->component; dai 663 sound/soc/codecs/wm8955.c dev_dbg(dai->dev, "Clock source is %d at %uHz\n", clk_id, freq); dai 668 sound/soc/codecs/wm8955.c static int wm8955_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 670 sound/soc/codecs/wm8955.c struct snd_soc_component *component = dai->component; dai 811 sound/soc/codecs/wm8960.c struct snd_soc_dai *dai) dai 813 sound/soc/codecs/wm8960.c struct snd_soc_component *component = dai->component; dai 870 sound/soc/codecs/wm8960.c struct snd_soc_dai *dai) dai 872 sound/soc/codecs/wm8960.c struct snd_soc_component *component = dai->component; dai 881 sound/soc/codecs/wm8960.c static int wm8960_mute(struct snd_soc_dai *dai, int mute) dai 883 sound/soc/codecs/wm8960.c struct snd_soc_component *component = dai->component; dai 1282 sound/soc/codecs/wm8960.c static int wm8960_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 1285 sound/soc/codecs/wm8960.c struct snd_soc_component *component = dai->component; dai 503 sound/soc/codecs/wm8961.c struct snd_soc_dai *dai) dai 505 sound/soc/codecs/wm8961.c struct snd_soc_component *component = dai->component; dai 592 sound/soc/codecs/wm8961.c static int wm8961_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 596 sound/soc/codecs/wm8961.c struct snd_soc_component *component = dai->component; dai 621 sound/soc/codecs/wm8961.c static int wm8961_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 623 sound/soc/codecs/wm8961.c struct snd_soc_component *component = dai->component; dai 688 sound/soc/codecs/wm8961.c static int wm8961_set_tristate(struct snd_soc_dai *dai, int tristate) dai 690 sound/soc/codecs/wm8961.c struct snd_soc_component *component = dai->component; dai 701 sound/soc/codecs/wm8961.c static int wm8961_digital_mute(struct snd_soc_dai *dai, int mute) dai 703 sound/soc/codecs/wm8961.c struct snd_soc_component *component = dai->component; dai 716 sound/soc/codecs/wm8961.c static int wm8961_set_clkdiv(struct snd_soc_dai *dai, int div_id, int div) dai 718 sound/soc/codecs/wm8961.c struct snd_soc_component *component = dai->component; dai 2553 sound/soc/codecs/wm8962.c struct snd_soc_dai *dai) dai 2555 sound/soc/codecs/wm8962.c struct snd_soc_component *component = dai->component; dai 2612 sound/soc/codecs/wm8962.c static int wm8962_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 2615 sound/soc/codecs/wm8962.c struct snd_soc_component *component = dai->component; dai 2640 sound/soc/codecs/wm8962.c static int wm8962_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2642 sound/soc/codecs/wm8962.c struct snd_soc_component *component = dai->component; dai 2920 sound/soc/codecs/wm8962.c static int wm8962_mute(struct snd_soc_dai *dai, int mute) dai 2922 sound/soc/codecs/wm8962.c struct snd_soc_component *component = dai->component; dai 507 sound/soc/codecs/wm8971.c struct snd_soc_dai *dai) dai 509 sound/soc/codecs/wm8971.c struct snd_soc_component *component = dai->component; dai 539 sound/soc/codecs/wm8971.c static int wm8971_mute(struct snd_soc_dai *dai, int mute) dai 541 sound/soc/codecs/wm8971.c struct snd_soc_component *component = dai->component; dai 415 sound/soc/codecs/wm8974.c static int wm8974_update_clocks(struct snd_soc_dai *dai) dai 417 sound/soc/codecs/wm8974.c struct snd_soc_component *component = dai->component; dai 436 sound/soc/codecs/wm8974.c wm8974_set_dai_pll(dai, 0, 0, priv->mclk, fpll); dai 437 sound/soc/codecs/wm8974.c wm8974_set_dai_clkdiv(dai, WM8974_MCLKDIV, mclkdiv); dai 442 sound/soc/codecs/wm8974.c static int wm8974_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 445 sound/soc/codecs/wm8974.c struct snd_soc_component *component = dai->component; dai 453 sound/soc/codecs/wm8974.c return wm8974_update_clocks(dai); dai 515 sound/soc/codecs/wm8974.c struct snd_soc_dai *dai) dai 517 sound/soc/codecs/wm8974.c struct snd_soc_component *component = dai->component; dai 524 sound/soc/codecs/wm8974.c err = wm8974_update_clocks(dai); dai 570 sound/soc/codecs/wm8974.c static int wm8974_mute(struct snd_soc_dai *dai, int mute) dai 572 sound/soc/codecs/wm8974.c struct snd_soc_component *component = dai->component; dai 718 sound/soc/codecs/wm8978.c struct snd_soc_dai *dai) dai 720 sound/soc/codecs/wm8978.c struct snd_soc_component *component = dai->component; dai 839 sound/soc/codecs/wm8978.c static int wm8978_mute(struct snd_soc_dai *dai, int mute) dai 841 sound/soc/codecs/wm8978.c struct snd_soc_component *component = dai->component; dai 560 sound/soc/codecs/wm8983.c static int wm8983_dac_mute(struct snd_soc_dai *dai, int mute) dai 562 sound/soc/codecs/wm8983.c struct snd_soc_component *component = dai->component; dai 569 sound/soc/codecs/wm8983.c static int wm8983_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 571 sound/soc/codecs/wm8983.c struct snd_soc_component *component = dai->component; dai 589 sound/soc/codecs/wm8983.c dev_err(dai->dev, "Unknown dai format\n"); dai 604 sound/soc/codecs/wm8983.c dev_err(dai->dev, "Unknown master/slave configuration\n"); dai 615 sound/soc/codecs/wm8983.c dev_err(dai->dev, "DSP A/B modes are not supported\n"); dai 635 sound/soc/codecs/wm8983.c dev_err(dai->dev, "Unknown polarity configuration\n"); dai 648 sound/soc/codecs/wm8983.c struct snd_soc_dai *dai) dai 651 sound/soc/codecs/wm8983.c struct snd_soc_component *component = dai->component; dai 680 sound/soc/codecs/wm8983.c dev_err(dai->dev, "Unsupported word length %u\n", dai 701 sound/soc/codecs/wm8983.c dev_dbg(dai->dev, "Selected SRATE = %d\n", srates[srate_idx]); dai 705 sound/soc/codecs/wm8983.c dev_dbg(dai->dev, "Target BCLK = %uHz\n", wm8983->bclk); dai 706 sound/soc/codecs/wm8983.c dev_dbg(dai->dev, "SYSCLK = %uHz\n", wm8983->sysclk); dai 715 sound/soc/codecs/wm8983.c dev_err(dai->dev, "Unable to configure MCLK ratio %u/%u\n", dai 720 sound/soc/codecs/wm8983.c dev_dbg(dai->dev, "MCLK ratio = %dfs\n", fs_ratios[i].ratio); dai 732 sound/soc/codecs/wm8983.c dev_err(dai->dev, "No matching BCLK divider found\n"); dai 736 sound/soc/codecs/wm8983.c dev_dbg(dai->dev, "BCLK div = %d\n", i); dai 784 sound/soc/codecs/wm8983.c static int wm8983_set_pll(struct snd_soc_dai *dai, int pll_id, dai 792 sound/soc/codecs/wm8983.c component = dai->component; dai 823 sound/soc/codecs/wm8983.c static int wm8983_set_sysclk(struct snd_soc_dai *dai, dai 826 sound/soc/codecs/wm8983.c struct snd_soc_component *component = dai->component; dai 839 sound/soc/codecs/wm8983.c dev_err(dai->dev, "Unknown clock source: %d\n", clk_id); dai 652 sound/soc/codecs/wm8985.c static int wm8985_dac_mute(struct snd_soc_dai *dai, int mute) dai 654 sound/soc/codecs/wm8985.c struct snd_soc_component *component = dai->component; dai 661 sound/soc/codecs/wm8985.c static int wm8985_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 666 sound/soc/codecs/wm8985.c component = dai->component; dai 683 sound/soc/codecs/wm8985.c dev_err(dai->dev, "Unknown dai format\n"); dai 698 sound/soc/codecs/wm8985.c dev_err(dai->dev, "Unknown master/slave configuration\n"); dai 735 sound/soc/codecs/wm8985.c dev_err(dai->dev, "Unknown polarity configuration\n"); dai 748 sound/soc/codecs/wm8985.c struct snd_soc_dai *dai) dai 757 sound/soc/codecs/wm8985.c component = dai->component; dai 778 sound/soc/codecs/wm8985.c dev_err(dai->dev, "Unsupported word length %u\n", dai 799 sound/soc/codecs/wm8985.c dev_dbg(dai->dev, "Selected SRATE = %d\n", srates[srate_idx]); dai 803 sound/soc/codecs/wm8985.c dev_dbg(dai->dev, "Target BCLK = %uHz\n", wm8985->bclk); dai 804 sound/soc/codecs/wm8985.c dev_dbg(dai->dev, "SYSCLK = %uHz\n", wm8985->sysclk); dai 813 sound/soc/codecs/wm8985.c dev_err(dai->dev, "Unable to configure MCLK ratio %u/%u\n", dai 818 sound/soc/codecs/wm8985.c dev_dbg(dai->dev, "MCLK ratio = %dfs\n", fs_ratios[i].ratio); dai 830 sound/soc/codecs/wm8985.c dev_err(dai->dev, "No matching BCLK divider found\n"); dai 834 sound/soc/codecs/wm8985.c dev_dbg(dai->dev, "BCLK div = %d\n", i); dai 882 sound/soc/codecs/wm8985.c static int wm8985_set_pll(struct snd_soc_dai *dai, int pll_id, dai 890 sound/soc/codecs/wm8985.c component = dai->component; dai 918 sound/soc/codecs/wm8985.c static int wm8985_set_sysclk(struct snd_soc_dai *dai, dai 924 sound/soc/codecs/wm8985.c component = dai->component; dai 939 sound/soc/codecs/wm8985.c dev_err(dai->dev, "Unknown clock source %d\n", clk_id); dai 643 sound/soc/codecs/wm8988.c struct snd_soc_dai *dai) dai 645 sound/soc/codecs/wm8988.c struct snd_soc_component *component = dai->component; dai 666 sound/soc/codecs/wm8988.c struct snd_soc_dai *dai) dai 668 sound/soc/codecs/wm8988.c struct snd_soc_component *component = dai->component; dai 710 sound/soc/codecs/wm8988.c static int wm8988_mute(struct snd_soc_dai *dai, int mute) dai 712 sound/soc/codecs/wm8988.c struct snd_soc_component *component = dai->component; dai 1063 sound/soc/codecs/wm8990.c struct snd_soc_dai *dai) dai 1065 sound/soc/codecs/wm8990.c struct snd_soc_component *component = dai->component; dai 1088 sound/soc/codecs/wm8990.c static int wm8990_mute(struct snd_soc_dai *dai, int mute) dai 1090 sound/soc/codecs/wm8990.c struct snd_soc_component *component = dai->component; dai 1050 sound/soc/codecs/wm8991.c struct snd_soc_dai *dai) dai 1052 sound/soc/codecs/wm8991.c struct snd_soc_component *component = dai->component; dai 1075 sound/soc/codecs/wm8991.c static int wm8991_mute(struct snd_soc_dai *dai, int mute) dai 1077 sound/soc/codecs/wm8991.c struct snd_soc_component *component = dai->component; dai 570 sound/soc/codecs/wm8993.c static int wm8993_set_fll(struct snd_soc_dai *dai, int fll_id, int source, dai 573 sound/soc/codecs/wm8993.c return _wm8993_set_fll(dai->component, fll_id, source, Fref, Fout); dai 1088 sound/soc/codecs/wm8993.c static int wm8993_set_dai_fmt(struct snd_soc_dai *dai, dai 1091 sound/soc/codecs/wm8993.c struct snd_soc_component *component = dai->component; dai 1186 sound/soc/codecs/wm8993.c struct snd_soc_dai *dai) dai 1188 sound/soc/codecs/wm8993.c struct snd_soc_component *component = dai->component; dai 1350 sound/soc/codecs/wm8993.c static int wm8993_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 1353 sound/soc/codecs/wm8993.c struct snd_soc_component *component = dai->component; dai 2369 sound/soc/codecs/wm8994.c static int wm8994_set_fll(struct snd_soc_dai *dai, int id, int src, dai 2372 sound/soc/codecs/wm8994.c return _wm8994_set_fll(dai->component, id, src, freq_in, freq_out); dai 2375 sound/soc/codecs/wm8994.c static int wm8994_set_dai_sysclk(struct snd_soc_dai *dai, dai 2378 sound/soc/codecs/wm8994.c struct snd_soc_component *component = dai->component; dai 2382 sound/soc/codecs/wm8994.c switch (dai->id) { dai 2394 sound/soc/codecs/wm8994.c wm8994->sysclk[dai->id - 1] = WM8994_SYSCLK_MCLK1; dai 2396 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "AIF%d using MCLK1 at %uHz\n", dai 2397 sound/soc/codecs/wm8994.c dai->id, freq); dai 2402 sound/soc/codecs/wm8994.c wm8994->sysclk[dai->id - 1] = WM8994_SYSCLK_MCLK2; dai 2404 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "AIF%d using MCLK2 at %uHz\n", dai 2405 sound/soc/codecs/wm8994.c dai->id, freq); dai 2409 sound/soc/codecs/wm8994.c wm8994->sysclk[dai->id - 1] = WM8994_SYSCLK_FLL1; dai 2410 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "AIF%d using FLL1\n", dai->id); dai 2414 sound/soc/codecs/wm8994.c wm8994->sysclk[dai->id - 1] = WM8994_SYSCLK_FLL2; dai 2415 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "AIF%d using FLL2\n", dai->id); dai 2616 sound/soc/codecs/wm8994.c static int wm8994_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 2618 sound/soc/codecs/wm8994.c struct snd_soc_component *component = dai->component; dai 2629 sound/soc/codecs/wm8994.c switch (dai->id) { dai 2721 sound/soc/codecs/wm8994.c if (dai->id == 2) dai 2772 sound/soc/codecs/wm8994.c struct snd_soc_dai *dai) dai 2774 sound/soc/codecs/wm8994.c struct snd_soc_component *component = dai->component; dai 2788 sound/soc/codecs/wm8994.c int id = dai->id - 1; dai 2792 sound/soc/codecs/wm8994.c switch (dai->id) { dai 2847 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "Constraining channels to %d from %d\n", dai 2870 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "Sample rate is %dHz\n", srs[i].rate); dai 2871 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "AIF%dCLK is %dHz, target BCLK %dHz\n", dai 2872 sound/soc/codecs/wm8994.c dai->id, wm8994->aifclk[id], bclk_rate); dai 2879 sound/soc/codecs/wm8994.c dev_err(dai->dev, "AIF%dCLK not configured\n", dai->id); dai 2895 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "Selected AIF%dCLK/fs = %d\n", dai 2896 sound/soc/codecs/wm8994.c dai->id, fs_ratios[best]); dai 2912 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "Using BCLK_DIV %d for actual BCLK %dHz\n", dai 2918 sound/soc/codecs/wm8994.c dev_err(dai->dev, "Unable to generate LRCLK from %dHz BCLK\n", dai 2922 sound/soc/codecs/wm8994.c dev_dbg(dai->dev, "Using LRCLK rate %d for actual LRCLK %dHz\n", dai 2934 sound/soc/codecs/wm8994.c switch (dai->id) { dai 2952 sound/soc/codecs/wm8994.c struct snd_soc_dai *dai) dai 2954 sound/soc/codecs/wm8994.c struct snd_soc_component *component = dai->component; dai 2960 sound/soc/codecs/wm8994.c switch (dai->id) { dai 3047 sound/soc/codecs/wm8994.c static int wm8994_aif2_probe(struct snd_soc_dai *dai) dai 3049 sound/soc/codecs/wm8994.c struct snd_soc_component *component = dai->component; dai 1420 sound/soc/codecs/wm8995.c static int wm8995_aif_mute(struct snd_soc_dai *dai, int mute) dai 1422 sound/soc/codecs/wm8995.c struct snd_soc_component *component = dai->component; dai 1425 sound/soc/codecs/wm8995.c switch (dai->id) { dai 1441 sound/soc/codecs/wm8995.c static int wm8995_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1447 sound/soc/codecs/wm8995.c component = dai->component; dai 1457 sound/soc/codecs/wm8995.c dev_err(dai->dev, "Unknown master/slave configuration\n"); dai 1478 sound/soc/codecs/wm8995.c dev_err(dai->dev, "Unknown dai format\n"); dai 1545 sound/soc/codecs/wm8995.c struct snd_soc_dai *dai) dai 1558 sound/soc/codecs/wm8995.c component = dai->component; dai 1561 sound/soc/codecs/wm8995.c switch (dai->id) { dai 1608 sound/soc/codecs/wm8995.c dev_err(dai->dev, "Unsupported word length %u\n", dai 1618 sound/soc/codecs/wm8995.c dev_err(dai->dev, "Sample rate %d is not supported\n", dai 1624 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "Sample rate is %dHz\n", srs[i]); dai 1625 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "AIF%dCLK is %dHz, target BCLK %dHz\n", dai 1626 sound/soc/codecs/wm8995.c dai->id + 1, wm8995->aifclk[dai->id], bclk_rate); dai 1631 sound/soc/codecs/wm8995.c - wm8995->aifclk[dai->id]); dai 1634 sound/soc/codecs/wm8995.c - wm8995->aifclk[dai->id]); dai 1642 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "Selected AIF%dCLK/fs = %d\n", dai 1643 sound/soc/codecs/wm8995.c dai->id + 1, fs_ratios[best]); dai 1654 sound/soc/codecs/wm8995.c cur_val = (wm8995->aifclk[dai->id] * 10 / bclk_divs[i]) - bclk_rate; dai 1661 sound/soc/codecs/wm8995.c bclk_rate = wm8995->aifclk[dai->id] * 10 / bclk_divs[best]; dai 1662 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "Using BCLK_DIV %d for actual BCLK %dHz\n", dai 1666 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "Using LRCLK rate %d for actual LRCLK %dHz\n", dai 1794 sound/soc/codecs/wm8995.c static int wm8995_set_fll(struct snd_soc_dai *dai, int id, dai 1804 sound/soc/codecs/wm8995.c component = dai->component; dai 1905 sound/soc/codecs/wm8995.c static int wm8995_set_dai_sysclk(struct snd_soc_dai *dai, dai 1911 sound/soc/codecs/wm8995.c component = dai->component; dai 1914 sound/soc/codecs/wm8995.c switch (dai->id) { dai 1925 sound/soc/codecs/wm8995.c wm8995->sysclk[dai->id] = WM8995_SYSCLK_MCLK1; dai 1927 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "AIF%d using MCLK1 at %uHz\n", dai 1928 sound/soc/codecs/wm8995.c dai->id + 1, freq); dai 1931 sound/soc/codecs/wm8995.c wm8995->sysclk[dai->id] = WM8995_SYSCLK_MCLK2; dai 1933 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "AIF%d using MCLK2 at %uHz\n", dai 1934 sound/soc/codecs/wm8995.c dai->id + 1, freq); dai 1937 sound/soc/codecs/wm8995.c wm8995->sysclk[dai->id] = WM8995_SYSCLK_FLL1; dai 1938 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "AIF%d using FLL1\n", dai->id + 1); dai 1941 sound/soc/codecs/wm8995.c wm8995->sysclk[dai->id] = WM8995_SYSCLK_FLL2; dai 1942 sound/soc/codecs/wm8995.c dev_dbg(dai->dev, "AIF%d using FLL2\n", dai->id + 1); dai 1946 sound/soc/codecs/wm8995.c dev_err(dai->dev, "Unknown clock source %d\n", clk_id); dai 1630 sound/soc/codecs/wm8996.c static int wm8996_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1632 sound/soc/codecs/wm8996.c struct snd_soc_component *component = dai->component; dai 1639 sound/soc/codecs/wm8996.c switch (dai->id) { dai 1653 sound/soc/codecs/wm8996.c WARN(1, "Invalid dai id %d\n", dai->id); dai 1731 sound/soc/codecs/wm8996.c struct snd_soc_dai *dai) dai 1733 sound/soc/codecs/wm8996.c struct snd_soc_component *component = dai->component; dai 1741 sound/soc/codecs/wm8996.c switch (dai->id) { dai 1765 sound/soc/codecs/wm8996.c WARN(1, "Invalid dai id %d\n", dai->id); dai 1775 sound/soc/codecs/wm8996.c wm8996->bclk_rate[dai->id] = bclk_rate; dai 1776 sound/soc/codecs/wm8996.c wm8996->rx_rate[dai->id] = params_rate(params); dai 1795 sound/soc/codecs/wm8996.c dev_dbg(dai->dev, "Using LRCLK rate %d for actual LRCLK %dHz\n", dai 1810 sound/soc/codecs/wm8996.c static int wm8996_set_sysclk(struct snd_soc_dai *dai, dai 1813 sound/soc/codecs/wm8996.c struct snd_soc_component *component = dai->component; dai 899 sound/soc/codecs/wm9081.c static int wm9081_set_dai_fmt(struct snd_soc_dai *dai, dai 902 sound/soc/codecs/wm9081.c struct snd_soc_component *component = dai->component; dai 993 sound/soc/codecs/wm9081.c struct snd_soc_dai *dai) dai 995 sound/soc/codecs/wm9081.c struct snd_soc_component *component = dai->component; dai 1186 sound/soc/codecs/wm9081.c static int wm9081_set_tdm_slot(struct snd_soc_dai *dai, dai 1189 sound/soc/codecs/wm9081.c struct snd_soc_component *component = dai->component; dai 232 sound/soc/codecs/wm9705.c struct snd_soc_dai *dai) dai 234 sound/soc/codecs/wm9705.c struct snd_soc_component *component = dai->component; dai 524 sound/soc/codecs/wm9712.c struct snd_soc_dai *dai) dai 526 sound/soc/codecs/wm9712.c struct snd_soc_component *component = dai->component; dai 541 sound/soc/codecs/wm9712.c struct snd_soc_dai *dai) dai 543 sound/soc/codecs/wm9712.c struct snd_soc_component *component = dai->component; dai 1002 sound/soc/codecs/wm9713.c struct snd_soc_dai *dai) dai 1004 sound/soc/codecs/wm9713.c struct snd_soc_component *component = dai->component; dai 1027 sound/soc/codecs/wm9713.c struct snd_soc_dai *dai) dai 1029 sound/soc/codecs/wm9713.c struct snd_soc_component *component = dai->component; dai 1044 sound/soc/codecs/wm9713.c struct snd_soc_dai *dai) dai 1046 sound/soc/codecs/wm9713.c struct snd_soc_component *component = dai->component; dai 274 sound/soc/codecs/zx_aud96p22.c static int aud96p22_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 276 sound/soc/codecs/zx_aud96p22.c struct aud96p22_priv *priv = snd_soc_component_get_drvdata(dai->component); dai 237 sound/soc/dwc/dwc-i2s.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 239 sound/soc/dwc/dwc-i2s.c struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 309 sound/soc/dwc/dwc-i2s.c struct snd_soc_dai *dai) dai 311 sound/soc/dwc/dwc-i2s.c snd_soc_dai_set_dma_data(dai, substream, NULL); dai 315 sound/soc/dwc/dwc-i2s.c struct snd_soc_dai *dai) dai 317 sound/soc/dwc/dwc-i2s.c struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 328 sound/soc/dwc/dwc-i2s.c int cmd, struct snd_soc_dai *dai) dai 330 sound/soc/dwc/dwc-i2s.c struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 416 sound/soc/dwc/dwc-i2s.c static int dw_i2s_suspend(struct snd_soc_dai *dai) dai 418 sound/soc/dwc/dwc-i2s.c struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 425 sound/soc/dwc/dwc-i2s.c static int dw_i2s_resume(struct snd_soc_dai *dai) dai 427 sound/soc/dwc/dwc-i2s.c struct dw_i2s_dev *dev = snd_soc_dai_get_drvdata(dai); dai 432 sound/soc/dwc/dwc-i2s.c if (dai->playback_active) dai 434 sound/soc/dwc/dwc-i2s.c if (dai->capture_active) dai 481 sound/soc/fsl/fsl_asrc.c struct snd_soc_dai *dai) dai 483 sound/soc/fsl/fsl_asrc.c struct fsl_asrc *asrc_priv = snd_soc_dai_get_drvdata(dai); dai 497 sound/soc/fsl/fsl_asrc.c struct snd_soc_dai *dai) dai 499 sound/soc/fsl/fsl_asrc.c struct fsl_asrc *asrc_priv = snd_soc_dai_get_drvdata(dai); dai 510 sound/soc/fsl/fsl_asrc.c dev_err(dai->dev, "fail to request asrc pair\n"); dai 545 sound/soc/fsl/fsl_asrc.c dev_err(dai->dev, "fail to config asrc pair\n"); dai 553 sound/soc/fsl/fsl_asrc.c struct snd_soc_dai *dai) dai 565 sound/soc/fsl/fsl_asrc.c struct snd_soc_dai *dai) dai 595 sound/soc/fsl/fsl_asrc.c static int fsl_asrc_dai_probe(struct snd_soc_dai *dai) dai 597 sound/soc/fsl/fsl_asrc.c struct fsl_asrc *asrc_priv = snd_soc_dai_get_drvdata(dai); dai 599 sound/soc/fsl/fsl_asrc.c snd_soc_dai_init_dma_data(dai, &asrc_priv->dma_params_tx, dai 157 sound/soc/fsl/fsl_asrc_dma.c struct snd_soc_dai *dai = be->cpu_dai; dai 163 sound/soc/fsl/fsl_asrc_dma.c dma_params_be = snd_soc_dai_get_dma_data(dai, substream_be); dai 164 sound/soc/fsl/fsl_asrc_dma.c dev_be = dai->dev; dai 245 sound/soc/fsl/fsl_audmix.c static int fsl_audmix_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 247 sound/soc/fsl/fsl_audmix.c struct snd_soc_component *comp = dai->component; dai 286 sound/soc/fsl/fsl_audmix.c struct snd_soc_dai *dai) dai 288 sound/soc/fsl/fsl_audmix.c struct fsl_audmix *priv = snd_soc_dai_get_drvdata(dai); dai 300 sound/soc/fsl/fsl_audmix.c priv->tdms |= BIT(dai->driver->id); dai 307 sound/soc/fsl/fsl_audmix.c priv->tdms &= ~BIT(dai->driver->id); dai 57 sound/soc/fsl/fsl_dma.c struct snd_soc_component_driver dai; dai 390 sound/soc/fsl/fsl_dma.c container_of(component->driver, struct dma_object, dai); dai 807 sound/soc/fsl/fsl_dma.c container_of(component->driver, struct dma_object, dai); dai 914 sound/soc/fsl/fsl_dma.c dma->dai.name = DRV_NAME; dai 915 sound/soc/fsl/fsl_dma.c dma->dai.ops = &fsl_dma_ops; dai 916 sound/soc/fsl/fsl_dma.c dma->dai.pcm_new = fsl_dma_new; dai 917 sound/soc/fsl/fsl_dma.c dma->dai.pcm_free = fsl_dma_free_dma_buffers; dai 932 sound/soc/fsl/fsl_dma.c ret = devm_snd_soc_register_component(&pdev->dev, &dma->dai, NULL, 0); dai 138 sound/soc/fsl/fsl_esai.c static int fsl_esai_divisor_cal(struct snd_soc_dai *dai, bool tx, u32 ratio, dai 141 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 150 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "the ratio is out of range (2 ~ %d)\n", dai 154 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "the raio must be even if using upper divider\n"); dai 202 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "failed to calculate proper divisors\n"); dai 233 sound/soc/fsl/fsl_esai.c static int fsl_esai_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 236 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 245 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "%sput freq of HCK%c should not be 0Hz\n", dai 280 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "no assigned %s clock\n", dai 296 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "failed to derive required HCK%c rate\n", dai 308 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "failed to derive required HCK%c rate\n", dai 313 sound/soc/fsl/fsl_esai.c ret = fsl_esai_divisor_cal(dai, tx, ratio, false, 0); dai 333 sound/soc/fsl/fsl_esai.c static int fsl_esai_set_bclk(struct snd_soc_dai *dai, bool tx, u32 freq) dai 335 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 353 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "failed to derive required SCK%c rate\n", dai 360 sound/soc/fsl/fsl_esai.c dev_err(dai->dev, "the ratio is out of range (1 ~ 16)\n"); dai 364 sound/soc/fsl/fsl_esai.c ret = fsl_esai_divisor_cal(dai, tx, ratio, true, dai 375 sound/soc/fsl/fsl_esai.c static int fsl_esai_set_dai_tdm_slot(struct snd_soc_dai *dai, u32 tx_mask, dai 378 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 394 sound/soc/fsl/fsl_esai.c static int fsl_esai_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 396 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 483 sound/soc/fsl/fsl_esai.c struct snd_soc_dai *dai) dai 485 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 487 sound/soc/fsl/fsl_esai.c if (!dai->active) { dai 506 sound/soc/fsl/fsl_esai.c struct snd_soc_dai *dai) dai 508 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 523 sound/soc/fsl/fsl_esai.c ret = fsl_esai_set_bclk(dai, esai_priv->synchronous || tx, bclk); dai 727 sound/soc/fsl/fsl_esai.c struct snd_soc_dai *dai) dai 729 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 766 sound/soc/fsl/fsl_esai.c static int fsl_esai_dai_probe(struct snd_soc_dai *dai) dai 768 sound/soc/fsl/fsl_esai.c struct fsl_esai *esai_priv = snd_soc_dai_get_drvdata(dai); dai 770 sound/soc/fsl/fsl_esai.c snd_soc_dai_init_dma_data(dai, &esai_priv->dma_params_tx, dai 215 sound/soc/fsl/fsl_micfil.c struct snd_soc_dai *dai) dai 217 sound/soc/fsl/fsl_micfil.c struct fsl_micfil *micfil = snd_soc_dai_get_drvdata(dai); dai 220 sound/soc/fsl/fsl_micfil.c dev_err(dai->dev, dai 229 sound/soc/fsl/fsl_micfil.c struct snd_soc_dai *dai) dai 231 sound/soc/fsl/fsl_micfil.c struct fsl_micfil *micfil = snd_soc_dai_get_drvdata(dai); dai 330 sound/soc/fsl/fsl_micfil.c struct snd_soc_dai *dai) dai 332 sound/soc/fsl/fsl_micfil.c struct fsl_micfil *micfil = snd_soc_dai_get_drvdata(dai); dai 366 sound/soc/fsl/fsl_micfil.c static int fsl_micfil_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 369 sound/soc/fsl/fsl_micfil.c struct fsl_micfil *micfil = snd_soc_dai_get_drvdata(dai); dai 140 sound/soc/fsl/fsl_sai.c static int fsl_sai_set_dai_bclk_ratio(struct snd_soc_dai *dai, dai 143 sound/soc/fsl/fsl_sai.c struct fsl_sai *sai = snd_soc_dai_get_drvdata(dai); dai 329 sound/soc/fsl/fsl_sai.c static int fsl_sai_set_bclk(struct snd_soc_dai *dai, bool tx, u32 freq) dai 331 sound/soc/fsl/fsl_sai.c struct fsl_sai *sai = snd_soc_dai_get_drvdata(dai); dai 358 sound/soc/fsl/fsl_sai.c dev_dbg(dai->dev, dai 378 sound/soc/fsl/fsl_sai.c dev_err(dai->dev, "failed to derive required %cx rate: %d\n", dai 409 sound/soc/fsl/fsl_sai.c dev_dbg(dai->dev, "best fit: clock id=%d, div=%d, deviation =%d\n", dai 569 sound/soc/fsl/fsl_spdif.c struct snd_soc_dai *dai) dai 597 sound/soc/fsl/fsl_spdif.c int cmd, struct snd_soc_dai *dai) dai 984 sound/soc/fsl/fsl_spdif.c static int fsl_spdif_dai_probe(struct snd_soc_dai *dai) dai 986 sound/soc/fsl/fsl_spdif.c struct fsl_spdif_priv *spdif_private = snd_soc_dai_get_drvdata(dai); dai 988 sound/soc/fsl/fsl_spdif.c snd_soc_dai_init_dma_data(dai, &spdif_private->dma_params_tx, dai 991 sound/soc/fsl/fsl_spdif.c snd_soc_add_dai_controls(dai, fsl_spdif_ctrls, ARRAY_SIZE(fsl_spdif_ctrls)); dai 631 sound/soc/fsl/fsl_ssi.c struct snd_soc_dai *dai) dai 655 sound/soc/fsl/fsl_ssi.c struct snd_soc_dai *dai) dai 673 sound/soc/fsl/fsl_ssi.c struct snd_soc_dai *dai, dai 677 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(dai); dai 707 sound/soc/fsl/fsl_ssi.c dev_err(dai->dev, "bitclk > ipgclk / 5\n"); dai 756 sound/soc/fsl/fsl_ssi.c dev_err(dai->dev, "failed to handle the required sysclk\n"); dai 771 sound/soc/fsl/fsl_ssi.c dev_err(dai->dev, "failed to set baudclk rate\n"); dai 792 sound/soc/fsl/fsl_ssi.c struct snd_soc_dai *dai) dai 795 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(dai); dai 803 sound/soc/fsl/fsl_ssi.c ret = fsl_ssi_set_bclk(substream, dai, hw_params); dai 854 sound/soc/fsl/fsl_ssi.c struct snd_soc_dai *dai) dai 997 sound/soc/fsl/fsl_ssi.c static int fsl_ssi_set_dai_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 999 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(dai); dai 1011 sound/soc/fsl/fsl_ssi.c static int fsl_ssi_set_dai_tdm_slot(struct snd_soc_dai *dai, u32 tx_mask, dai 1014 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(dai); dai 1020 sound/soc/fsl/fsl_ssi.c dev_err(dai->dev, "invalid slot width: %d\n", slot_width); dai 1026 sound/soc/fsl/fsl_ssi.c dev_err(dai->dev, "slot number should be >= 2 in I2S or NET\n"); dai 1059 sound/soc/fsl/fsl_ssi.c struct snd_soc_dai *dai) dai 1094 sound/soc/fsl/fsl_ssi.c static int fsl_ssi_dai_probe(struct snd_soc_dai *dai) dai 1096 sound/soc/fsl/fsl_ssi.c struct fsl_ssi *ssi = snd_soc_dai_get_drvdata(dai); dai 1099 sound/soc/fsl/fsl_ssi.c snd_soc_dai_init_dma_data(dai, &ssi->dma_params_tx, dai 29 sound/soc/fsl/fsl_utils.c struct snd_soc_dai_link *dai, dai 60 sound/soc/fsl/fsl_utils.c snprintf((char *)dai->platforms->name, DAI_NAME_SIZE, "%llx.%pOFn", dai 19 sound/soc/fsl/fsl_utils.h struct snd_soc_dai_link *dai, dai 29 sound/soc/fsl/imx-audmix.c struct snd_soc_dai_link *dai; dai 188 sound/soc/fsl/imx-audmix.c priv->dai = devm_kzalloc(&pdev->dev, priv->num_dai * dai 190 sound/soc/fsl/imx-audmix.c if (!priv->dai) dai 243 sound/soc/fsl/imx-audmix.c priv->dai[i].cpus = &dlc[0]; dai 244 sound/soc/fsl/imx-audmix.c priv->dai[i].codecs = &dlc[1]; dai 245 sound/soc/fsl/imx-audmix.c priv->dai[i].platforms = &dlc[2]; dai 247 sound/soc/fsl/imx-audmix.c priv->dai[i].num_cpus = 1; dai 248 sound/soc/fsl/imx-audmix.c priv->dai[i].num_codecs = 1; dai 249 sound/soc/fsl/imx-audmix.c priv->dai[i].num_platforms = 1; dai 251 sound/soc/fsl/imx-audmix.c priv->dai[i].name = dai_name; dai 252 sound/soc/fsl/imx-audmix.c priv->dai[i].stream_name = "HiFi-AUDMIX-FE"; dai 253 sound/soc/fsl/imx-audmix.c priv->dai[i].codecs->dai_name = "snd-soc-dummy-dai"; dai 254 sound/soc/fsl/imx-audmix.c priv->dai[i].codecs->name = "snd-soc-dummy"; dai 255 sound/soc/fsl/imx-audmix.c priv->dai[i].cpus->of_node = args.np; dai 256 sound/soc/fsl/imx-audmix.c priv->dai[i].cpus->dai_name = dev_name(&cpu_pdev->dev); dai 257 sound/soc/fsl/imx-audmix.c priv->dai[i].platforms->of_node = args.np; dai 258 sound/soc/fsl/imx-audmix.c priv->dai[i].dynamic = 1; dai 259 sound/soc/fsl/imx-audmix.c priv->dai[i].dpcm_playback = 1; dai 260 sound/soc/fsl/imx-audmix.c priv->dai[i].dpcm_capture = (i == 0 ? 1 : 0); dai 261 sound/soc/fsl/imx-audmix.c priv->dai[i].ignore_pmdown_time = 1; dai 262 sound/soc/fsl/imx-audmix.c priv->dai[i].ops = &imx_audmix_fe_ops; dai 272 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].cpus = &dlc[3]; dai 273 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].codecs = &dlc[4]; dai 274 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].platforms = &dlc[5]; dai 276 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].num_cpus = 1; dai 277 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].num_codecs = 1; dai 278 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].num_platforms = 1; dai 280 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].name = be_name; dai 281 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].codecs->dai_name = "snd-soc-dummy-dai"; dai 282 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].codecs->name = "snd-soc-dummy"; dai 283 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].cpus->of_node = audmix_np; dai 284 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].cpus->dai_name = be_name; dai 285 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].platforms->name = "snd-soc-dummy"; dai 286 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].no_pcm = 1; dai 287 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].dpcm_playback = 1; dai 288 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].dpcm_capture = 1; dai 289 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].ignore_pmdown_time = 1; dai 290 sound/soc/fsl/imx-audmix.c priv->dai[num_dai + i].ops = &imx_audmix_be_ops; dai 322 sound/soc/fsl/imx-audmix.c priv->card.dai_link = priv->dai; dai 22 sound/soc/fsl/imx-es8328.c struct snd_soc_dai_link dai; dai 161 sound/soc/fsl/imx-es8328.c data->dai.cpus = &comp[0]; dai 162 sound/soc/fsl/imx-es8328.c data->dai.codecs = &comp[1]; dai 163 sound/soc/fsl/imx-es8328.c data->dai.platforms = &comp[2]; dai 165 sound/soc/fsl/imx-es8328.c data->dai.num_cpus = 1; dai 166 sound/soc/fsl/imx-es8328.c data->dai.num_codecs = 1; dai 167 sound/soc/fsl/imx-es8328.c data->dai.num_platforms = 1; dai 169 sound/soc/fsl/imx-es8328.c data->dai.name = "hifi"; dai 170 sound/soc/fsl/imx-es8328.c data->dai.stream_name = "hifi"; dai 171 sound/soc/fsl/imx-es8328.c data->dai.codecs->dai_name = "es8328-hifi-analog"; dai 172 sound/soc/fsl/imx-es8328.c data->dai.codecs->of_node = codec_np; dai 173 sound/soc/fsl/imx-es8328.c data->dai.cpus->of_node = ssi_np; dai 174 sound/soc/fsl/imx-es8328.c data->dai.platforms->of_node = ssi_np; dai 175 sound/soc/fsl/imx-es8328.c data->dai.init = &imx_es8328_dai_init; dai 176 sound/soc/fsl/imx-es8328.c data->dai.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | dai 194 sound/soc/fsl/imx-es8328.c data->card.dai_link = &data->dai; dai 19 sound/soc/fsl/imx-sgtl5000.c struct snd_soc_dai_link dai; dai 140 sound/soc/fsl/imx-sgtl5000.c data->dai.cpus = &comp[0]; dai 141 sound/soc/fsl/imx-sgtl5000.c data->dai.codecs = &comp[1]; dai 142 sound/soc/fsl/imx-sgtl5000.c data->dai.platforms = &comp[2]; dai 144 sound/soc/fsl/imx-sgtl5000.c data->dai.num_cpus = 1; dai 145 sound/soc/fsl/imx-sgtl5000.c data->dai.num_codecs = 1; dai 146 sound/soc/fsl/imx-sgtl5000.c data->dai.num_platforms = 1; dai 148 sound/soc/fsl/imx-sgtl5000.c data->dai.name = "HiFi"; dai 149 sound/soc/fsl/imx-sgtl5000.c data->dai.stream_name = "HiFi"; dai 150 sound/soc/fsl/imx-sgtl5000.c data->dai.codecs->dai_name = "sgtl5000"; dai 151 sound/soc/fsl/imx-sgtl5000.c data->dai.codecs->of_node = codec_np; dai 152 sound/soc/fsl/imx-sgtl5000.c data->dai.cpus->of_node = ssi_np; dai 153 sound/soc/fsl/imx-sgtl5000.c data->dai.platforms->of_node = ssi_np; dai 154 sound/soc/fsl/imx-sgtl5000.c data->dai.init = &imx_sgtl5000_dai_init; dai 155 sound/soc/fsl/imx-sgtl5000.c data->dai.dai_fmt = SND_SOC_DAIFMT_I2S | SND_SOC_DAIFMT_NB_NF | dai 167 sound/soc/fsl/imx-sgtl5000.c data->card.dai_link = &data->dai; dai 10 sound/soc/fsl/imx-spdif.c struct snd_soc_dai_link dai; dai 35 sound/soc/fsl/imx-spdif.c data->dai.cpus = &comp[0]; dai 36 sound/soc/fsl/imx-spdif.c data->dai.codecs = &comp[1]; dai 37 sound/soc/fsl/imx-spdif.c data->dai.platforms = &comp[2]; dai 39 sound/soc/fsl/imx-spdif.c data->dai.num_cpus = 1; dai 40 sound/soc/fsl/imx-spdif.c data->dai.num_codecs = 1; dai 41 sound/soc/fsl/imx-spdif.c data->dai.num_platforms = 1; dai 43 sound/soc/fsl/imx-spdif.c data->dai.name = "S/PDIF PCM"; dai 44 sound/soc/fsl/imx-spdif.c data->dai.stream_name = "S/PDIF PCM"; dai 45 sound/soc/fsl/imx-spdif.c data->dai.codecs->dai_name = "snd-soc-dummy-dai"; dai 46 sound/soc/fsl/imx-spdif.c data->dai.codecs->name = "snd-soc-dummy"; dai 47 sound/soc/fsl/imx-spdif.c data->dai.cpus->of_node = spdif_np; dai 48 sound/soc/fsl/imx-spdif.c data->dai.platforms->of_node = spdif_np; dai 49 sound/soc/fsl/imx-spdif.c data->dai.playback_only = true; dai 50 sound/soc/fsl/imx-spdif.c data->dai.capture_only = true; dai 53 sound/soc/fsl/imx-spdif.c data->dai.capture_only = false; dai 56 sound/soc/fsl/imx-spdif.c data->dai.playback_only = false; dai 58 sound/soc/fsl/imx-spdif.c if (data->dai.playback_only && data->dai.capture_only) { dai 64 sound/soc/fsl/imx-spdif.c data->card.dai_link = &data->dai; dai 269 sound/soc/fsl/imx-ssi.c struct snd_soc_dai *dai) dai 271 sound/soc/fsl/imx-ssi.c struct imx_ssi *ssi = snd_soc_dai_get_drvdata(dai); dai 339 sound/soc/fsl/imx-ssi.c static int imx_ssi_dai_probe(struct snd_soc_dai *dai) dai 341 sound/soc/fsl/imx-ssi.c struct imx_ssi *ssi = dev_get_drvdata(dai->dev); dai 344 sound/soc/fsl/imx-ssi.c snd_soc_dai_set_drvdata(dai, ssi); dai 351 sound/soc/fsl/imx-ssi.c dai->playback_dma_data = &ssi->dma_params_tx; dai 352 sound/soc/fsl/imx-ssi.c dai->capture_dma_data = &ssi->dma_params_rx; dai 509 sound/soc/fsl/imx-ssi.c struct snd_soc_dai_driver *dai; dai 552 sound/soc/fsl/imx-ssi.c dai = &imx_ac97_dai; dai 554 sound/soc/fsl/imx-ssi.c dai = &imx_ssi_dai; dai 588 sound/soc/fsl/imx-ssi.c dai, 1); dai 306 sound/soc/fsl/mpc5200_dma.c struct snd_soc_dai *dai = rtd->cpu_dai; dai 312 sound/soc/fsl/mpc5200_dma.c card, dai, pcm); dai 177 sound/soc/fsl/mpc5200_psc_ac97.c struct snd_soc_dai *dai) dai 179 sound/soc/fsl/mpc5200_psc_ac97.c struct psc_dma *psc_dma = snd_soc_dai_get_drvdata(dai); dai 39 sound/soc/fsl/mpc5200_psc_i2s.c struct snd_soc_dai *dai) dai 31 sound/soc/fsl/mpc8610_hpcd.c struct snd_soc_dai_link dai[2]; dai 216 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].cpus = &comp[0]; dai 217 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].codecs = &comp[1]; dai 218 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].platforms = &comp[2]; dai 220 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].num_cpus = 1; dai 221 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].num_codecs = 1; dai 222 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].num_platforms = 1; dai 224 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].cpus = &comp[3]; dai 225 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].codecs = &comp[4]; dai 226 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].platforms = &comp[5]; dai 228 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].num_cpus = 1; dai 229 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].num_codecs = 1; dai 230 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].num_platforms = 1; dai 232 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].cpus->dai_name = dev_name(&ssi_pdev->dev); dai 233 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].ops = &mpc8610_hpcd_ops; dai 236 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].codecs->of_node = codec_np; dai 239 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].codecs->dai_name = "cs4270-hifi"; dai 245 sound/soc/fsl/mpc8610_hpcd.c memcpy(&machine_data->dai[1], &machine_data->dai[0], dai 332 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].platforms->name = machine_data->platform_name[0]; dai 334 sound/soc/fsl/mpc8610_hpcd.c &machine_data->dai[0], dai 343 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].platforms->name = machine_data->platform_name[1]; dai 345 sound/soc/fsl/mpc8610_hpcd.c &machine_data->dai[1], dai 354 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].stream_name = "playback"; dai 355 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].stream_name = "capture"; dai 356 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[0].name = machine_data->dai[0].stream_name; dai 357 sound/soc/fsl/mpc8610_hpcd.c machine_data->dai[1].name = machine_data->dai[1].stream_name; dai 365 sound/soc/fsl/mpc8610_hpcd.c machine_data->card.dai_link = machine_data->dai; dai 64 sound/soc/fsl/p1022_ds.c struct snd_soc_dai_link dai[2]; dai 226 sound/soc/fsl/p1022_ds.c mdata->dai[0].cpus = &comp[0]; dai 227 sound/soc/fsl/p1022_ds.c mdata->dai[0].codecs = &comp[1]; dai 228 sound/soc/fsl/p1022_ds.c mdata->dai[0].platforms = &comp[2]; dai 230 sound/soc/fsl/p1022_ds.c mdata->dai[0].num_cpus = 1; dai 231 sound/soc/fsl/p1022_ds.c mdata->dai[0].num_codecs = 1; dai 232 sound/soc/fsl/p1022_ds.c mdata->dai[0].num_platforms = 1; dai 234 sound/soc/fsl/p1022_ds.c mdata->dai[1].cpus = &comp[3]; dai 235 sound/soc/fsl/p1022_ds.c mdata->dai[1].codecs = &comp[4]; dai 236 sound/soc/fsl/p1022_ds.c mdata->dai[1].platforms = &comp[5]; dai 238 sound/soc/fsl/p1022_ds.c mdata->dai[1].num_cpus = 1; dai 239 sound/soc/fsl/p1022_ds.c mdata->dai[1].num_codecs = 1; dai 240 sound/soc/fsl/p1022_ds.c mdata->dai[1].num_platforms = 1; dai 243 sound/soc/fsl/p1022_ds.c mdata->dai[0].cpus->dai_name = dev_name(&ssi_pdev->dev); dai 244 sound/soc/fsl/p1022_ds.c mdata->dai[0].ops = &p1022_ds_ops; dai 247 sound/soc/fsl/p1022_ds.c mdata->dai[0].codecs->of_node = codec_np; dai 253 sound/soc/fsl/p1022_ds.c memcpy(&mdata->dai[1], &mdata->dai[0], sizeof(struct snd_soc_dai_link)); dai 256 sound/soc/fsl/p1022_ds.c mdata->dai[0].codecs->dai_name = "wm8776-hifi-playback"; dai 257 sound/soc/fsl/p1022_ds.c mdata->dai[1].codecs->dai_name = "wm8776-hifi-capture"; dai 343 sound/soc/fsl/p1022_ds.c mdata->dai[0].platforms->name = mdata->platform_name[0]; dai 344 sound/soc/fsl/p1022_ds.c ret = fsl_asoc_get_dma_channel(np, "fsl,playback-dma", &mdata->dai[0], dai 353 sound/soc/fsl/p1022_ds.c mdata->dai[1].platforms->name = mdata->platform_name[1]; dai 354 sound/soc/fsl/p1022_ds.c ret = fsl_asoc_get_dma_channel(np, "fsl,capture-dma", &mdata->dai[1], dai 363 sound/soc/fsl/p1022_ds.c mdata->dai[0].stream_name = "playback"; dai 364 sound/soc/fsl/p1022_ds.c mdata->dai[1].stream_name = "capture"; dai 365 sound/soc/fsl/p1022_ds.c mdata->dai[0].name = mdata->dai[0].stream_name; dai 366 sound/soc/fsl/p1022_ds.c mdata->dai[1].name = mdata->dai[1].stream_name; dai 374 sound/soc/fsl/p1022_ds.c mdata->card.dai_link = mdata->dai; dai 71 sound/soc/fsl/p1022_rdk.c struct snd_soc_dai_link dai[2]; dai 229 sound/soc/fsl/p1022_rdk.c mdata->dai[0].cpus = &comp[0]; dai 230 sound/soc/fsl/p1022_rdk.c mdata->dai[0].codecs = &comp[1]; dai 231 sound/soc/fsl/p1022_rdk.c mdata->dai[0].platforms = &comp[2]; dai 233 sound/soc/fsl/p1022_rdk.c mdata->dai[0].num_cpus = 1; dai 234 sound/soc/fsl/p1022_rdk.c mdata->dai[0].num_codecs = 1; dai 235 sound/soc/fsl/p1022_rdk.c mdata->dai[0].num_platforms = 1; dai 237 sound/soc/fsl/p1022_rdk.c mdata->dai[1].cpus = &comp[3]; dai 238 sound/soc/fsl/p1022_rdk.c mdata->dai[1].codecs = &comp[4]; dai 239 sound/soc/fsl/p1022_rdk.c mdata->dai[1].platforms = &comp[5]; dai 241 sound/soc/fsl/p1022_rdk.c mdata->dai[1].num_cpus = 1; dai 242 sound/soc/fsl/p1022_rdk.c mdata->dai[1].num_codecs = 1; dai 243 sound/soc/fsl/p1022_rdk.c mdata->dai[1].num_platforms = 1; dai 245 sound/soc/fsl/p1022_rdk.c mdata->dai[0].cpus->dai_name = dev_name(&ssi_pdev->dev); dai 246 sound/soc/fsl/p1022_rdk.c mdata->dai[0].ops = &p1022_rdk_ops; dai 249 sound/soc/fsl/p1022_rdk.c mdata->dai[0].codecs->of_node = codec_np; dai 256 sound/soc/fsl/p1022_rdk.c memcpy(&mdata->dai[1], &mdata->dai[0], sizeof(struct snd_soc_dai_link)); dai 259 sound/soc/fsl/p1022_rdk.c mdata->dai[0].codecs->dai_name = "wm8960-hifi"; dai 260 sound/soc/fsl/p1022_rdk.c mdata->dai[1].codecs->dai_name = mdata->dai[0].codecs->dai_name; dai 292 sound/soc/fsl/p1022_rdk.c mdata->dai[0].platforms->name = mdata->platform_name[0]; dai 293 sound/soc/fsl/p1022_rdk.c ret = fsl_asoc_get_dma_channel(np, "fsl,playback-dma", &mdata->dai[0], dai 303 sound/soc/fsl/p1022_rdk.c mdata->dai[1].platforms->name = mdata->platform_name[1]; dai 304 sound/soc/fsl/p1022_rdk.c ret = fsl_asoc_get_dma_channel(np, "fsl,capture-dma", &mdata->dai[1], dai 314 sound/soc/fsl/p1022_rdk.c mdata->dai[0].stream_name = "playback"; dai 315 sound/soc/fsl/p1022_rdk.c mdata->dai[1].stream_name = "capture"; dai 316 sound/soc/fsl/p1022_rdk.c mdata->dai[0].name = mdata->dai[0].stream_name; dai 317 sound/soc/fsl/p1022_rdk.c mdata->dai[1].name = mdata->dai[1].stream_name; dai 325 sound/soc/fsl/p1022_rdk.c mdata->card.dai_link = mdata->dai; dai 215 sound/soc/generic/audio-graph-card.c struct asoc_simple_dai *dai; dai 244 sound/soc/generic/audio-graph-card.c dai = dai 251 sound/soc/generic/audio-graph-card.c ret = asoc_simple_parse_clk_cpu(dev, ep, dai_link, dai); dai 275 sound/soc/generic/audio-graph-card.c dai = dai 285 sound/soc/generic/audio-graph-card.c ret = asoc_simple_parse_clk_codec(dev, ep, dai_link, dai); dai 311 sound/soc/generic/audio-graph-card.c ret = asoc_simple_parse_tdm(ep, dai); dai 146 sound/soc/generic/simple-card-utils.c static int asoc_simple_clk_enable(struct asoc_simple_dai *dai) dai 148 sound/soc/generic/simple-card-utils.c if (dai) dai 149 sound/soc/generic/simple-card-utils.c return clk_prepare_enable(dai->clk); dai 154 sound/soc/generic/simple-card-utils.c static void asoc_simple_clk_disable(struct asoc_simple_dai *dai) dai 156 sound/soc/generic/simple-card-utils.c if (dai) dai 157 sound/soc/generic/simple-card-utils.c clk_disable_unprepare(dai->clk); dai 302 sound/soc/generic/simple-card-utils.c static int asoc_simple_init_dai(struct snd_soc_dai *dai, dai 311 sound/soc/generic/simple-card-utils.c ret = snd_soc_dai_set_sysclk(dai, 0, simple_dai->sysclk, dai 314 sound/soc/generic/simple-card-utils.c dev_err(dai->dev, "simple-card: set_sysclk error\n"); dai 320 sound/soc/generic/simple-card-utils.c ret = snd_soc_dai_set_tdm_slot(dai, dai 326 sound/soc/generic/simple-card-utils.c dev_err(dai->dev, "simple-card: set_tdm_slot error\n"); dai 124 sound/soc/generic/simple-card.c struct asoc_simple_dai *dai; dai 161 sound/soc/generic/simple-card.c dai = dai 168 sound/soc/generic/simple-card.c ret = asoc_simple_parse_clk_cpu(dev, np, dai_link, dai); dai 191 sound/soc/generic/simple-card.c dai = dai 201 sound/soc/generic/simple-card.c ret = asoc_simple_parse_clk_codec(dev, np, dai_link, dai); dai 225 sound/soc/generic/simple-card.c ret = asoc_simple_parse_tdm(np, dai); dai 39 sound/soc/hisilicon/hi6210-i2s.c struct snd_soc_dai_driver dai; dai 499 sound/soc/hisilicon/hi6210-i2s.c static int hi6210_i2s_dai_probe(struct snd_soc_dai *dai) dai 501 sound/soc/hisilicon/hi6210-i2s.c struct hi6210_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 503 sound/soc/hisilicon/hi6210-i2s.c snd_soc_dai_init_dma_data(dai, dai 563 sound/soc/hisilicon/hi6210-i2s.c i2s->dai = hi6210_i2s_dai_init; dai 587 sound/soc/hisilicon/hi6210-i2s.c &i2s->dai, 1); dai 161 sound/soc/img/img-i2s-in.c struct snd_soc_dai *dai) dai 163 sound/soc/img/img-i2s-in.c struct img_i2s_in *i2s = snd_soc_dai_get_drvdata(dai); dai 215 sound/soc/img/img-i2s-in.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 217 sound/soc/img/img-i2s-in.c struct img_i2s_in *i2s = snd_soc_dai_get_drvdata(dai); dai 302 sound/soc/img/img-i2s-in.c static int img_i2s_in_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 304 sound/soc/img/img-i2s-in.c struct img_i2s_in *i2s = snd_soc_dai_get_drvdata(dai); dai 379 sound/soc/img/img-i2s-in.c static int img_i2s_in_dai_probe(struct snd_soc_dai *dai) dai 381 sound/soc/img/img-i2s-in.c struct img_i2s_in *i2s = snd_soc_dai_get_drvdata(dai); dai 383 sound/soc/img/img-i2s-in.c snd_soc_dai_init_dma_data(dai, NULL, &i2s->dma_data); dai 186 sound/soc/img/img-i2s-out.c struct snd_soc_dai *dai) dai 188 sound/soc/img/img-i2s-out.c struct img_i2s_out *i2s = snd_soc_dai_get_drvdata(dai); dai 214 sound/soc/img/img-i2s-out.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 216 sound/soc/img/img-i2s-out.c struct img_i2s_out *i2s = snd_soc_dai_get_drvdata(dai); dai 291 sound/soc/img/img-i2s-out.c static int img_i2s_out_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 293 sound/soc/img/img-i2s-out.c struct img_i2s_out *i2s = snd_soc_dai_get_drvdata(dai); dai 385 sound/soc/img/img-i2s-out.c static int img_i2s_out_dai_probe(struct snd_soc_dai *dai) dai 387 sound/soc/img/img-i2s-out.c struct img_i2s_out *i2s = snd_soc_dai_get_drvdata(dai); dai 389 sound/soc/img/img-i2s-out.c snd_soc_dai_init_dma_data(dai, &i2s->dma_data, NULL); dai 92 sound/soc/img/img-parallel-out.c struct snd_soc_dai *dai) dai 94 sound/soc/img/img-parallel-out.c struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); dai 118 sound/soc/img/img-parallel-out.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 120 sound/soc/img/img-parallel-out.c struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); dai 149 sound/soc/img/img-parallel-out.c static int img_prl_out_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 151 sound/soc/img/img-parallel-out.c struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); dai 183 sound/soc/img/img-parallel-out.c static int img_prl_out_dai_probe(struct snd_soc_dai *dai) dai 185 sound/soc/img/img-parallel-out.c struct img_prl_out *prl = snd_soc_dai_get_drvdata(dai); dai 187 sound/soc/img/img-parallel-out.c snd_soc_dai_init_dma_data(dai, &prl->dma_data, NULL); dai 626 sound/soc/img/img-spdif-in.c struct snd_soc_dai *dai) dai 629 sound/soc/img/img-spdif-in.c struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); dai 666 sound/soc/img/img-spdif-in.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 668 sound/soc/img/img-spdif-in.c struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); dai 690 sound/soc/img/img-spdif-in.c static int img_spdif_in_dai_probe(struct snd_soc_dai *dai) dai 692 sound/soc/img/img-spdif-in.c struct img_spdif_in *spdif = snd_soc_dai_get_drvdata(dai); dai 694 sound/soc/img/img-spdif-in.c snd_soc_dai_init_dma_data(dai, NULL, &spdif->dma_data); dai 696 sound/soc/img/img-spdif-in.c snd_soc_add_dai_controls(dai, img_spdif_in_controls, dai 204 sound/soc/img/img-spdif-out.c struct snd_soc_dai *dai) dai 206 sound/soc/img/img-spdif-out.c struct img_spdif_out *spdif = snd_soc_dai_get_drvdata(dai); dai 233 sound/soc/img/img-spdif-out.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 235 sound/soc/img/img-spdif-out.c struct img_spdif_out *spdif = snd_soc_dai_get_drvdata(dai); dai 295 sound/soc/img/img-spdif-out.c static int img_spdif_out_dai_probe(struct snd_soc_dai *dai) dai 297 sound/soc/img/img-spdif-out.c struct img_spdif_out *spdif = snd_soc_dai_get_drvdata(dai); dai 299 sound/soc/img/img-spdif-out.c snd_soc_dai_init_dma_data(dai, &spdif->dma_data, NULL); dai 301 sound/soc/img/img-spdif-out.c snd_soc_add_dai_controls(dai, img_spdif_out_controls, dai 724 sound/soc/intel/atom/sst-atom-controls.c int sst_handle_vb_timer(struct snd_soc_dai *dai, bool enable) dai 728 sound/soc/intel/atom/sst-atom-controls.c struct sst_data *drv = snd_soc_dai_get_drvdata(dai); dai 735 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "enable=%u, usage=%d\n", enable, timer_usage); dai 773 sound/soc/intel/atom/sst-atom-controls.c int sst_fill_ssp_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 776 sound/soc/intel/atom/sst-atom-controls.c struct sst_data *ctx = snd_soc_dai_get_drvdata(dai); dai 786 sound/soc/intel/atom/sst-atom-controls.c static int sst_get_frame_sync_polarity(struct snd_soc_dai *dai, dai 792 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "Enter:%s, format=%x\n", __func__, format); dai 802 sound/soc/intel/atom/sst-atom-controls.c dev_err(dai->dev, "Invalid frame sync polarity %d\n", format); dai 808 sound/soc/intel/atom/sst-atom-controls.c static int sst_get_ssp_mode(struct snd_soc_dai *dai, unsigned int fmt) dai 813 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "Enter:%s, format=%x\n", __func__, format); dai 821 sound/soc/intel/atom/sst-atom-controls.c dev_err(dai->dev, "Invalid ssp protocol: %d\n", format); dai 828 sound/soc/intel/atom/sst-atom-controls.c int sst_fill_ssp_config(struct snd_soc_dai *dai, unsigned int fmt) dai 832 sound/soc/intel/atom/sst-atom-controls.c struct sst_data *ctx = snd_soc_dai_get_drvdata(dai); dai 839 sound/soc/intel/atom/sst-atom-controls.c ctx->ssp_cmd.mode = sst_get_ssp_mode(dai, fmt) | (SSP_PCM_MODE_NETWORK << 1); dai 847 sound/soc/intel/atom/sst-atom-controls.c ctx->ssp_cmd.mode = sst_get_ssp_mode(dai, fmt) | (SSP_PCM_MODE_NETWORK << 1); dai 855 sound/soc/intel/atom/sst-atom-controls.c ctx->ssp_cmd.mode = sst_get_ssp_mode(dai, fmt) | (SSP_PCM_MODE_NORMAL << 1); dai 863 sound/soc/intel/atom/sst-atom-controls.c ctx->ssp_cmd.mode = sst_get_ssp_mode(dai, fmt) | (SSP_PCM_MODE_NORMAL << 1); dai 870 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "using default ssp configs\n"); dai 873 sound/soc/intel/atom/sst-atom-controls.c fs_polarity = sst_get_frame_sync_polarity(dai, fmt); dai 902 sound/soc/intel/atom/sst-atom-controls.c void sst_fill_ssp_defaults(struct snd_soc_dai *dai) dai 905 sound/soc/intel/atom/sst-atom-controls.c struct sst_data *ctx = snd_soc_dai_get_drvdata(dai); dai 925 sound/soc/intel/atom/sst-atom-controls.c int send_ssp_cmd(struct snd_soc_dai *dai, const char *id, bool enable) dai 927 sound/soc/intel/atom/sst-atom-controls.c struct sst_data *drv = snd_soc_dai_get_drvdata(dai); dai 930 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "Enter: enable=%d port_name=%s\n", enable, id); dai 937 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "port %s is not supported\n", id); dai 947 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "ssp_id: %u\n", ssp_id); dai 1306 sound/soc/intel/atom/sst-atom-controls.c int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute) dai 1308 sound/soc/intel/atom/sst-atom-controls.c struct sst_data *drv = snd_soc_dai_get_drvdata(dai); dai 1312 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "enter, dai-name=%s dir=%d\n", dai->name, stream); dai 1315 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "Stream name=%s\n", dai 1316 sound/soc/intel/atom/sst-atom-controls.c dai->playback_widget->name); dai 1317 sound/soc/intel/atom/sst-atom-controls.c w = dai->playback_widget; dai 1326 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "send gains for widget=%s\n", dai 1334 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "Stream name=%s\n", dai 1335 sound/soc/intel/atom/sst-atom-controls.c dai->capture_widget->name); dai 1336 sound/soc/intel/atom/sst-atom-controls.c w = dai->capture_widget; dai 1345 sound/soc/intel/atom/sst-atom-controls.c dev_dbg(dai->dev, "send gain for widget=%s\n", dai 870 sound/soc/intel/atom/sst-atom-controls.h int sst_fill_ssp_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 872 sound/soc/intel/atom/sst-atom-controls.h int sst_fill_ssp_config(struct snd_soc_dai *dai, unsigned int fmt); dai 873 sound/soc/intel/atom/sst-atom-controls.h void sst_fill_ssp_defaults(struct snd_soc_dai *dai); dai 96 sound/soc/intel/atom/sst-mfld-platform-pcm.c static int sst_media_digital_mute(struct snd_soc_dai *dai, int mute, int stream) dai 99 sound/soc/intel/atom/sst-mfld-platform-pcm.c return sst_send_pipe_gains(dai, stream, mute); dai 223 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 231 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct sst_data *ctx = snd_soc_dai_get_drvdata(dai); dai 304 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 319 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_err(dai->dev, "no device available to run\n"); dai 349 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 365 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 377 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret_val = sst_platform_alloc_stream(substream, dai); dai 392 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 406 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 412 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 416 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (!dai->active) { dai 417 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret = sst_handle_vb_timer(dai, true); dai 418 sound/soc/intel/atom/sst-mfld-platform-pcm.c sst_fill_ssp_defaults(dai); dai 425 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 429 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (dai->active == 1) dai 430 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret = send_ssp_cmd(dai, dai->name, 1); dai 434 sound/soc/intel/atom/sst-mfld-platform-pcm.c static int sst_set_format(struct snd_soc_dai *dai, unsigned int fmt) dai 438 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (!dai->active) dai 441 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret = sst_fill_ssp_config(dai, fmt); dai 443 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_err(dai->dev, "sst_set_format failed..\n"); dai 448 sound/soc/intel/atom/sst-mfld-platform-pcm.c static int sst_platform_set_ssp_slot(struct snd_soc_dai *dai, dai 453 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (!dai->active) dai 456 sound/soc/intel/atom/sst-mfld-platform-pcm.c ret = sst_fill_ssp_slot(dai, tx_mask, rx_mask, slots, slot_width); dai 458 sound/soc/intel/atom/sst-mfld-platform-pcm.c dev_err(dai->dev, "sst_fill_ssp_slot failed..%d\n", ret); dai 464 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai) dai 466 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (!dai->active) { dai 467 sound/soc/intel/atom/sst-mfld-platform-pcm.c send_ssp_cmd(dai, dai->name, 0); dai 468 sound/soc/intel/atom/sst-mfld-platform-pcm.c sst_handle_vb_timer(dai, false); dai 680 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; dai 683 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (dai->driver->playback.channels_min || dai 684 sound/soc/intel/atom/sst-mfld-platform-pcm.c dai->driver->capture.channels_min) { dai 770 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; dai 772 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (dai->active) { dai 773 sound/soc/intel/atom/sst-mfld-platform-pcm.c send_ssp_cmd(dai, dai->name, 0); dai 774 sound/soc/intel/atom/sst-mfld-platform-pcm.c sst_handle_vb_timer(dai, false); dai 791 sound/soc/intel/atom/sst-mfld-platform-pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; dai 793 sound/soc/intel/atom/sst-mfld-platform-pcm.c if (dai->active) { dai 794 sound/soc/intel/atom/sst-mfld-platform-pcm.c sst_handle_vb_timer(dai, true); dai 795 sound/soc/intel/atom/sst-mfld-platform-pcm.c send_ssp_cmd(dai, dai->name, 1); dai 153 sound/soc/intel/atom/sst-mfld-platform.h int sst_send_pipe_gains(struct snd_soc_dai *dai, int stream, int mute); dai 154 sound/soc/intel/atom/sst-mfld-platform.h int send_ssp_cmd(struct snd_soc_dai *dai, const char *id, bool enable); dai 155 sound/soc/intel/atom/sst-mfld-platform.h int sst_handle_vb_timer(struct snd_soc_dai *dai, bool enable); dai 227 sound/soc/intel/boards/bxt_da7219_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; dai 234 sound/soc/intel/boards/bxt_da7219_max98357a.c pcm->device = BXT_DPCM_AUDIO_HDMI1_PB + dai->id; dai 235 sound/soc/intel/boards/bxt_da7219_max98357a.c pcm->codec_dai = dai; dai 187 sound/soc/intel/boards/bxt_rt298.c struct snd_soc_dai *dai = rtd->codec_dai; dai 194 sound/soc/intel/boards/bxt_rt298.c pcm->device = BXT_DPCM_AUDIO_HDMI1_PB + dai->id; dai 195 sound/soc/intel/boards/bxt_rt298.c pcm->codec_dai = dai; dai 384 sound/soc/intel/boards/bytcr_rt5640.c struct snd_soc_dai *dai = rtd->codec_dai; dai 386 sound/soc/intel/boards/bytcr_rt5640.c return byt_rt5640_prepare_and_enable_pll1(dai, params_rate(params)); dai 209 sound/soc/intel/boards/glk_rt5682_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; dai 216 sound/soc/intel/boards/glk_rt5682_max98357a.c pcm->device = GLK_DPCM_AUDIO_HDMI1_PB + dai->id; dai 217 sound/soc/intel/boards/glk_rt5682_max98357a.c pcm->codec_dai = dai; dai 206 sound/soc/intel/boards/kbl_da7219_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; dai 214 sound/soc/intel/boards/kbl_da7219_max98357a.c pcm->codec_dai = dai; dai 381 sound/soc/intel/boards/kbl_da7219_max98927.c struct snd_soc_dai *dai = rtd->codec_dai; dai 389 sound/soc/intel/boards/kbl_da7219_max98927.c pcm->codec_dai = dai; dai 213 sound/soc/intel/boards/kbl_rt5660.c struct snd_soc_dai *dai = rtd->codec_dai; dai 221 sound/soc/intel/boards/kbl_rt5660.c pcm->codec_dai = dai; dai 308 sound/soc/intel/boards/kbl_rt5663_max98927.c struct snd_soc_dai *dai = rtd->codec_dai; dai 316 sound/soc/intel/boards/kbl_rt5663_max98927.c pcm->codec_dai = dai; dai 193 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c struct snd_soc_dai *dai = rtd->codec_dai; dai 201 sound/soc/intel/boards/kbl_rt5663_rt5514_max98927.c pcm->codec_dai = dai; dai 185 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; dai 193 sound/soc/intel/boards/skl_nau88l25_max98357a.c pcm->codec_dai = dai; dai 203 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; dai 211 sound/soc/intel/boards/skl_nau88l25_max98357a.c pcm->codec_dai = dai; dai 221 sound/soc/intel/boards/skl_nau88l25_max98357a.c struct snd_soc_dai *dai = rtd->codec_dai; dai 229 sound/soc/intel/boards/skl_nau88l25_max98357a.c pcm->codec_dai = dai; dai 204 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_dai *dai = rtd->codec_dai; dai 212 sound/soc/intel/boards/skl_nau88l25_ssm4567.c pcm->codec_dai = dai; dai 222 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_dai *dai = rtd->codec_dai; dai 230 sound/soc/intel/boards/skl_nau88l25_ssm4567.c pcm->codec_dai = dai; dai 241 sound/soc/intel/boards/skl_nau88l25_ssm4567.c struct snd_soc_dai *dai = rtd->codec_dai; dai 249 sound/soc/intel/boards/skl_nau88l25_ssm4567.c pcm->codec_dai = dai; dai 146 sound/soc/intel/boards/skl_rt286.c struct snd_soc_dai *dai = rtd->codec_dai; dai 153 sound/soc/intel/boards/skl_rt286.c pcm->device = SKL_DPCM_AUDIO_HDMI1_PB + dai->id; dai 154 sound/soc/intel/boards/skl_rt286.c pcm->codec_dai = dai; dai 121 sound/soc/intel/boards/sof_rt5682.c struct snd_soc_dai *dai = rtd->codec_dai; dai 130 sound/soc/intel/boards/sof_rt5682.c pcm->codec_dai = dai; dai 183 sound/soc/intel/haswell/sst-haswell-pcm.c int dai, stream; dai 185 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[mc->reg].dai_id; dai 187 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data = &pdata->pcm[dai][stream]; dai 232 sound/soc/intel/haswell/sst-haswell-pcm.c int dai, stream; dai 234 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[mc->reg].dai_id; dai 236 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data = &pdata->pcm[dai][stream]; dai 477 sound/soc/intel/haswell/sst-haswell-pcm.c int ret, dai; dai 479 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; dai 480 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data = &pdata->pcm[dai][substream->stream]; dai 675 sound/soc/intel/haswell/sst-haswell-pcm.c int dai; dai 677 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; dai 678 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data = &pdata->pcm[dai][substream->stream]; dai 784 sound/soc/intel/haswell/sst-haswell-pcm.c int dai; dai 786 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; dai 787 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data = &pdata->pcm[dai][substream->stream]; dai 805 sound/soc/intel/haswell/sst-haswell-pcm.c int dai; dai 807 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; dai 808 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data = &pdata->pcm[dai][substream->stream]; dai 838 sound/soc/intel/haswell/sst-haswell-pcm.c int ret, dai; dai 840 sound/soc/intel/haswell/sst-haswell-pcm.c dai = mod_map[rtd->cpu_dai->id].dai_id; dai 841 sound/soc/intel/haswell/sst-haswell-pcm.c pcm_data = &pdata->pcm[dai][substream->stream]; dai 115 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai, bool enable) dai 117 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = dev_get_drvdata(dai->dev); dai 122 sound/soc/intel/skylake/skl-pcm.c w = dai->playback_widget; dai 124 sound/soc/intel/skylake/skl-pcm.c w = dai->capture_widget; dai 221 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 223 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = dev_get_drvdata(dai->dev); dai 227 sound/soc/intel/skylake/skl-pcm.c struct skl_dev *skl = get_skl_ctx(dai->dev); dai 230 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "%s: %s\n", __func__, dai->name); dai 255 sound/soc/intel/skylake/skl-pcm.c snd_soc_dai_set_dma_data(dai, substream, dma_params); dai 257 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "stream tag set in dma params=%d\n", dai 259 sound/soc/intel/skylake/skl-pcm.c skl_set_suspend_active(substream, dai, true); dai 262 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); dai 272 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 274 sound/soc/intel/skylake/skl-pcm.c struct skl_dev *skl = get_skl_ctx(dai->dev); dai 278 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "%s: %s\n", __func__, dai->name); dai 280 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); dai 296 sound/soc/intel/skylake/skl-pcm.c ret = skl_pcm_host_dma_prepare(dai->dev, dai 307 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 309 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = dev_get_drvdata(dai->dev); dai 316 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "%s: %s\n", __func__, dai->name); dai 322 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "format_val, rate=%d, ch=%d, format=%d\n", dai 326 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "dma_id=%d\n", dma_id); dai 335 sound/soc/intel/skylake/skl-pcm.c p_params.host_bps = dai->driver->playback.sig_bits; dai 337 sound/soc/intel/skylake/skl-pcm.c p_params.host_bps = dai->driver->capture.sig_bits; dai 340 sound/soc/intel/skylake/skl-pcm.c m_cfg = skl_tplg_fe_get_cpr_module(dai, p_params.stream); dai 342 sound/soc/intel/skylake/skl-pcm.c skl_tplg_update_pipe_params(dai->dev, m_cfg, &p_params); dai 348 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 351 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = dev_get_drvdata(dai->dev); dai 356 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "%s: %s\n", __func__, dai->name); dai 360 sound/soc/intel/skylake/skl-pcm.c dma_params = snd_soc_dai_get_dma_data(dai, substream); dai 365 sound/soc/intel/skylake/skl-pcm.c snd_soc_dai_set_dma_data(dai, substream, NULL); dai 366 sound/soc/intel/skylake/skl-pcm.c skl_set_suspend_active(substream, dai, false); dai 372 sound/soc/intel/skylake/skl-pcm.c if (!strncmp(dai->name, "Reference Pin", 13) && dai 374 sound/soc/intel/skylake/skl-pcm.c skl->enable_miscbdcge(dai->dev, true); dai 378 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); dai 386 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 388 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = dev_get_drvdata(dai->dev); dai 390 sound/soc/intel/skylake/skl-pcm.c struct skl_dev *skl = get_skl_ctx(dai->dev); dai 394 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "%s: %s\n", __func__, dai->name); dai 396 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); dai 401 sound/soc/intel/skylake/skl-pcm.c dev_err(dai->dev, "%s:Reset failed ret =%d", dai 413 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 422 sound/soc/intel/skylake/skl-pcm.c return skl_tplg_be_update_params(dai, &p_params); dai 472 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 474 sound/soc/intel/skylake/skl-pcm.c struct skl_dev *skl = get_skl_ctx(dai->dev); dai 481 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_fe_get_cpr_module(dai, substream->stream); dai 486 sound/soc/intel/skylake/skl-pcm.c w = dai->playback_widget; dai 488 sound/soc/intel/skylake/skl-pcm.c w = dai->capture_widget; dai 556 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 558 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = dev_get_drvdata(dai->dev); dai 571 sound/soc/intel/skylake/skl-pcm.c snd_soc_dai_set_dma_data(dai, substream, (void *)link_dev); dai 598 sound/soc/intel/skylake/skl-pcm.c return skl_tplg_be_update_params(dai, &p_params); dai 602 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 604 sound/soc/intel/skylake/skl-pcm.c struct skl_dev *skl = get_skl_ctx(dai->dev); dai 608 sound/soc/intel/skylake/skl-pcm.c mconfig = skl_tplg_be_get_cpr_module(dai, substream->stream); dai 617 sound/soc/intel/skylake/skl-pcm.c int cmd, struct snd_soc_dai *dai) dai 620 sound/soc/intel/skylake/skl-pcm.c snd_soc_dai_get_dma_data(dai, substream); dai 624 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "In %s cmd=%d\n", __func__, cmd); dai 647 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai) dai 649 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = dev_get_drvdata(dai->dev); dai 652 sound/soc/intel/skylake/skl-pcm.c snd_soc_dai_get_dma_data(dai, substream); dai 656 sound/soc/intel/skylake/skl-pcm.c dev_dbg(dai->dev, "%s: %s\n", __func__, dai->name); dai 1077 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai) dai 1299 sound/soc/intel/skylake/skl-pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; dai 1300 sound/soc/intel/skylake/skl-pcm.c struct hdac_bus *bus = dev_get_drvdata(dai->dev); dai 1305 sound/soc/intel/skylake/skl-pcm.c if (dai->driver->playback.channels_min || dai 1306 sound/soc/intel/skylake/skl-pcm.c dai->driver->capture.channels_min) { dai 1598 sound/soc/intel/skylake/skl-topology.c skl_tplg_fe_get_cpr_module(struct snd_soc_dai *dai, int stream) dai 1604 sound/soc/intel/skylake/skl-topology.c w = dai->playback_widget; dai 1607 sound/soc/intel/skylake/skl-topology.c !is_skl_dsp_widget_type(p->sink, dai->dev)) dai 1611 sound/soc/intel/skylake/skl-topology.c dev_dbg(dai->dev, "set params for %s\n", dai 1617 sound/soc/intel/skylake/skl-topology.c w = dai->capture_widget; dai 1620 sound/soc/intel/skylake/skl-topology.c !is_skl_dsp_widget_type(p->source, dai->dev)) dai 1624 sound/soc/intel/skylake/skl-topology.c dev_dbg(dai->dev, "set params for %s\n", dai 1635 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dai *dai, struct snd_soc_dapm_widget *w) dai 1648 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_pb_cpr(dai, p->source); dai 1657 sound/soc/intel/skylake/skl-topology.c struct snd_soc_dai *dai, struct snd_soc_dapm_widget *w) dai 1670 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_cap_cpr(dai, p->sink); dai 1679 sound/soc/intel/skylake/skl-topology.c skl_tplg_be_get_cpr_module(struct snd_soc_dai *dai, int stream) dai 1685 sound/soc/intel/skylake/skl-topology.c w = dai->playback_widget; dai 1686 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_pb_cpr(dai, w); dai 1688 sound/soc/intel/skylake/skl-topology.c w = dai->capture_widget; dai 1689 sound/soc/intel/skylake/skl-topology.c mconfig = skl_get_mconfig_cap_cpr(dai, w); dai 1730 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_be_fill_pipe_params(struct snd_soc_dai *dai, dai 1735 sound/soc/intel/skylake/skl-topology.c struct skl_dev *skl = get_skl_ctx(dai->dev); dai 1753 sound/soc/intel/skylake/skl-topology.c dev_err(dai->dev, "Blob NULL for id %x type %d dirn %d\n", dai 1756 sound/soc/intel/skylake/skl-topology.c dev_err(dai->dev, "PCM: ch %d, freq %d, fmt %d\n", dai 1764 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_be_set_src_pipe_params(struct snd_soc_dai *dai, dai 1772 sound/soc/intel/skylake/skl-topology.c if (p->connect && is_skl_dsp_widget_type(p->source, dai->dev) && dai 1775 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_be_fill_pipe_params(dai, dai 1780 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_be_set_src_pipe_params(dai, dai 1790 sound/soc/intel/skylake/skl-topology.c static int skl_tplg_be_set_sink_pipe_params(struct snd_soc_dai *dai, dai 1797 sound/soc/intel/skylake/skl-topology.c if (p->connect && is_skl_dsp_widget_type(p->sink, dai->dev) && dai 1800 sound/soc/intel/skylake/skl-topology.c ret = skl_tplg_be_fill_pipe_params(dai, dai 1806 sound/soc/intel/skylake/skl-topology.c dai, p->sink, params); dai 1820 sound/soc/intel/skylake/skl-topology.c int skl_tplg_be_update_params(struct snd_soc_dai *dai, dai 1826 sound/soc/intel/skylake/skl-topology.c w = dai->playback_widget; dai 1828 sound/soc/intel/skylake/skl-topology.c return skl_tplg_be_set_src_pipe_params(dai, w, params); dai 1831 sound/soc/intel/skylake/skl-topology.c w = dai->capture_widget; dai 1833 sound/soc/intel/skylake/skl-topology.c return skl_tplg_be_set_sink_pipe_params(dai, w, params); dai 448 sound/soc/intel/skylake/skl-topology.h int skl_tplg_be_update_params(struct snd_soc_dai *dai, dai 452 sound/soc/intel/skylake/skl-topology.h void skl_tplg_set_be_dmic_config(struct snd_soc_dai *dai, dai 459 sound/soc/intel/skylake/skl-topology.h struct snd_soc_dai *dai, int stream); dai 491 sound/soc/intel/skylake/skl-topology.h struct skl_module_cfg *skl_tplg_be_get_cpr_module(struct snd_soc_dai *dai, dai 501 sound/soc/intel/skylake/skl-topology.h struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai); dai 123 sound/soc/jz4740/jz4740-i2s.c struct snd_soc_dai *dai) dai 125 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 129 sound/soc/jz4740/jz4740-i2s.c if (dai->active) dai 148 sound/soc/jz4740/jz4740-i2s.c struct snd_soc_dai *dai) dai 150 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 153 sound/soc/jz4740/jz4740-i2s.c if (dai->active) dai 164 sound/soc/jz4740/jz4740-i2s.c struct snd_soc_dai *dai) dai 166 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 198 sound/soc/jz4740/jz4740-i2s.c static int jz4740_i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 200 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 250 sound/soc/jz4740/jz4740-i2s.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 252 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 302 sound/soc/jz4740/jz4740-i2s.c static int jz4740_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 305 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 327 sound/soc/jz4740/jz4740-i2s.c static int jz4740_i2s_suspend(struct snd_soc_dai *dai) dai 329 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 332 sound/soc/jz4740/jz4740-i2s.c if (dai->active) { dai 345 sound/soc/jz4740/jz4740-i2s.c static int jz4740_i2s_resume(struct snd_soc_dai *dai) dai 347 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 355 sound/soc/jz4740/jz4740-i2s.c if (dai->active) { dai 387 sound/soc/jz4740/jz4740-i2s.c static int jz4740_i2s_dai_probe(struct snd_soc_dai *dai) dai 389 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 398 sound/soc/jz4740/jz4740-i2s.c snd_soc_dai_init_dma_data(dai, &i2s->playback_dma_data, dai 421 sound/soc/jz4740/jz4740-i2s.c static int jz4740_i2s_dai_remove(struct snd_soc_dai *dai) dai 423 sound/soc/jz4740/jz4740-i2s.c struct jz4740_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 99 sound/soc/kirkwood/kirkwood-i2s.c static void kirkwood_set_rate(struct snd_soc_dai *dai, dai 107 sound/soc/kirkwood/kirkwood-i2s.c dev_dbg(dai->dev, "%s: dco set rate = %lu\n", dai 115 sound/soc/kirkwood/kirkwood-i2s.c dev_dbg(dai->dev, "%s: extclk set rate = %lu -> %lu\n", dai 125 sound/soc/kirkwood/kirkwood-i2s.c struct snd_soc_dai *dai) dai 127 sound/soc/kirkwood/kirkwood-i2s.c struct kirkwood_dma_data *priv = snd_soc_dai_get_drvdata(dai); dai 129 sound/soc/kirkwood/kirkwood-i2s.c snd_soc_dai_set_dma_data(dai, substream, priv); dai 135 sound/soc/kirkwood/kirkwood-i2s.c struct snd_soc_dai *dai) dai 137 sound/soc/kirkwood/kirkwood-i2s.c struct kirkwood_dma_data *priv = snd_soc_dai_get_drvdata(dai); dai 148 sound/soc/kirkwood/kirkwood-i2s.c kirkwood_set_rate(dai, priv, params_rate(params)); dai 229 sound/soc/kirkwood/kirkwood-i2s.c int cmd, struct snd_soc_dai *dai) dai 232 sound/soc/kirkwood/kirkwood-i2s.c struct kirkwood_dma_data *priv = snd_soc_dai_get_drvdata(dai); dai 252 sound/soc/kirkwood/kirkwood-i2s.c dev_notice(dai->dev, "timed out waiting for busy to deassert: %08x\n", dai 260 sound/soc/kirkwood/kirkwood-i2s.c if (dai->id == 0) dai 317 sound/soc/kirkwood/kirkwood-i2s.c int cmd, struct snd_soc_dai *dai) dai 319 sound/soc/kirkwood/kirkwood-i2s.c struct kirkwood_dma_data *priv = snd_soc_dai_get_drvdata(dai); dai 328 sound/soc/kirkwood/kirkwood-i2s.c if (dai->id == 0) dai 383 sound/soc/kirkwood/kirkwood-i2s.c struct snd_soc_dai *dai) dai 386 sound/soc/kirkwood/kirkwood-i2s.c return kirkwood_i2s_play_trigger(substream, cmd, dai); dai 388 sound/soc/kirkwood/kirkwood-i2s.c return kirkwood_i2s_rec_trigger(substream, cmd, dai); dai 36 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_dai *dai) dai 39 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 97 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_dai *dai) dai 100 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 119 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_dai *dai) dai 122 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 173 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_dai *dai) dai 180 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_dai *dai) dai 184 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 238 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct snd_soc_dai *dai) dai 241 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 315 sound/soc/mediatek/common/mtk-afe-fe-dai.c int mtk_afe_dai_suspend(struct snd_soc_dai *dai) dai 317 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 340 sound/soc/mediatek/common/mtk-afe-fe-dai.c int mtk_afe_dai_resume(struct snd_soc_dai *dai) dai 342 sound/soc/mediatek/common/mtk-afe-fe-dai.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 17 sound/soc/mediatek/common/mtk-afe-fe-dai.h struct snd_soc_dai *dai); dai 19 sound/soc/mediatek/common/mtk-afe-fe-dai.h struct snd_soc_dai *dai); dai 22 sound/soc/mediatek/common/mtk-afe-fe-dai.h struct snd_soc_dai *dai); dai 24 sound/soc/mediatek/common/mtk-afe-fe-dai.h struct snd_soc_dai *dai); dai 26 sound/soc/mediatek/common/mtk-afe-fe-dai.h struct snd_soc_dai *dai); dai 28 sound/soc/mediatek/common/mtk-afe-fe-dai.h struct snd_soc_dai *dai); dai 34 sound/soc/mediatek/common/mtk-afe-fe-dai.h int mtk_afe_dai_suspend(struct snd_soc_dai *dai); dai 35 sound/soc/mediatek/common/mtk-afe-fe-dai.h int mtk_afe_dai_resume(struct snd_soc_dai *dai); dai 18 sound/soc/mediatek/common/mtk-afe-platform-driver.c struct mtk_base_afe_dai *dai; dai 22 sound/soc/mediatek/common/mtk-afe-platform-driver.c list_for_each_entry(dai, &afe->sub_dais, list) { dai 23 sound/soc/mediatek/common/mtk-afe-platform-driver.c num_dai_drivers += dai->num_dai_drivers; dai 37 sound/soc/mediatek/common/mtk-afe-platform-driver.c list_for_each_entry(dai, &afe->sub_dais, list) { dai 40 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai->dai_drivers, dai 41 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai->num_dai_drivers * dai 43 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai_idx += dai->num_dai_drivers; dai 52 sound/soc/mediatek/common/mtk-afe-platform-driver.c struct mtk_base_afe_dai *dai; dai 54 sound/soc/mediatek/common/mtk-afe-platform-driver.c list_for_each_entry(dai, &afe->sub_dais, list) { dai 55 sound/soc/mediatek/common/mtk-afe-platform-driver.c if (dai->controls) dai 57 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai->controls, dai 58 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai->num_controls); dai 60 sound/soc/mediatek/common/mtk-afe-platform-driver.c if (dai->dapm_widgets) dai 62 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai->dapm_widgets, dai 63 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai->num_dapm_widgets); dai 66 sound/soc/mediatek/common/mtk-afe-platform-driver.c list_for_each_entry(dai, &afe->sub_dais, list) { dai 67 sound/soc/mediatek/common/mtk-afe-platform-driver.c if (dai->dapm_routes) dai 69 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai->dapm_routes, dai 70 sound/soc/mediatek/common/mtk-afe-platform-driver.c dai->num_dapm_routes); dai 109 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 111 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 113 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c int i2s_num = mt2701_dai_num_to_i2s(afe, dai->id); dai 144 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 146 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 148 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c int i2s_num = mt2701_dai_num_to_i2s(afe, dai->id); dai 232 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 234 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 236 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c int ret, i2s_num = mt2701_dai_num_to_i2s(afe, dai->id); dai 265 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c static int mt2701_afe_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 268 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 270 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c int i2s_num = mt2701_dai_num_to_i2s(afe, dai->id); dai 278 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c dev_warn(dai->dev, "The SoCs doesn't support mclk input\n"); dai 288 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 290 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 305 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 307 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 346 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 348 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 366 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 368 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 381 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c return mtk_afe_fe_startup(substream, dai); dai 386 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 388 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 398 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c return mtk_afe_fe_hw_params(substream, params, dai); dai 402 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 404 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 424 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c return mtk_afe_fe_startup(substream, dai); dai 428 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 430 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 442 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c return mtk_afe_fe_shutdown(substream, dai); dai 447 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct snd_soc_dai *dai) dai 449 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 465 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c return mtk_afe_fe_hw_params(substream, params, dai); dai 469 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c int cmd, struct snd_soc_dai *dai) dai 471 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 480 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c mtk_afe_fe_trigger(substream, cmd, dai); dai 484 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c mtk_afe_fe_trigger(substream, cmd, dai); dai 722 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c struct mtk_base_afe_dai *dai; dai 724 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 725 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c if (!dai) dai 728 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c list_add(&dai->list, &afe->sub_dais); dai 730 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c dai->dai_drivers = mt6797_memif_dai_driver; dai 731 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c dai->num_dai_drivers = ARRAY_SIZE(mt6797_memif_dai_driver); dai 733 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c dai->dapm_widgets = mt6797_memif_widgets; dai 734 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c dai->num_dapm_widgets = ARRAY_SIZE(mt6797_memif_widgets); dai 735 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c dai->dapm_routes = mt6797_memif_routes; dai 736 sound/soc/mediatek/mt6797/mt6797-afe-pcm.c dai->num_dapm_routes = ARRAY_SIZE(mt6797_memif_routes); dai 232 sound/soc/mediatek/mt6797/mt6797-dai-adda.c struct snd_soc_dai *dai) dai 234 sound/soc/mediatek/mt6797/mt6797-dai-adda.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 238 sound/soc/mediatek/mt6797/mt6797-dai-adda.c __func__, dai->id, substream->stream, rate); dai 386 sound/soc/mediatek/mt6797/mt6797-dai-adda.c struct mtk_base_afe_dai *dai; dai 388 sound/soc/mediatek/mt6797/mt6797-dai-adda.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 389 sound/soc/mediatek/mt6797/mt6797-dai-adda.c if (!dai) dai 392 sound/soc/mediatek/mt6797/mt6797-dai-adda.c list_add(&dai->list, &afe->sub_dais); dai 394 sound/soc/mediatek/mt6797/mt6797-dai-adda.c dai->dai_drivers = mtk_dai_adda_driver; dai 395 sound/soc/mediatek/mt6797/mt6797-dai-adda.c dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_adda_driver); dai 397 sound/soc/mediatek/mt6797/mt6797-dai-adda.c dai->dapm_widgets = mtk_dai_adda_widgets; dai 398 sound/soc/mediatek/mt6797/mt6797-dai-adda.c dai->num_dapm_widgets = ARRAY_SIZE(mtk_dai_adda_widgets); dai 399 sound/soc/mediatek/mt6797/mt6797-dai-adda.c dai->dapm_routes = mtk_dai_adda_routes; dai 400 sound/soc/mediatek/mt6797/mt6797-dai-adda.c dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_adda_routes); dai 38 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c struct snd_soc_dai *dai) dai 40 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 103 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c struct mtk_base_afe_dai *dai; dai 105 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 106 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c if (!dai) dai 109 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c list_add(&dai->list, &afe->sub_dais); dai 111 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c dai->dai_drivers = mtk_dai_hostless_driver; dai 112 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_hostless_driver); dai 114 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c dai->dapm_routes = mtk_dai_hostless_routes; dai 115 sound/soc/mediatek/mt6797/mt6797-dai-hostless.c dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_hostless_routes); dai 183 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c struct snd_soc_dai *dai) dai 185 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 187 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c unsigned int rate_reg = mt6797_rate_transform(afe->dev, rate, dai->id); dai 192 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->id, dai 196 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->playback_widget->active, dai 197 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->capture_widget->active); dai 199 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c if (dai->playback_widget->active || dai->capture_widget->active) dai 202 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c switch (dai->id) { dai 233 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c __func__, dai->id); dai 301 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c struct mtk_base_afe_dai *dai; dai 303 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 304 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c if (!dai) dai 307 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c list_add(&dai->list, &afe->sub_dais); dai 309 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->dai_drivers = mtk_dai_pcm_driver; dai 310 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_pcm_driver); dai 312 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->dapm_widgets = mtk_dai_pcm_widgets; dai 313 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->num_dapm_widgets = ARRAY_SIZE(mtk_dai_pcm_widgets); dai 314 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->dapm_routes = mtk_dai_pcm_routes; dai 315 sound/soc/mediatek/mt6797/mt6797-dai-pcm.c dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_pcm_routes); dai 296 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_dai *dai) dai 298 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 300 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c if (dai->active) dai 309 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_dai *dai) dai 311 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 313 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c if (dai->active) dai 323 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_dai *dai) dai 326 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 345 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_dai *dai) dai 347 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 350 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c if (dai->active) dai 359 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_dai *dai) dai 361 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 364 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c if (dai->active) dai 372 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_dai *dai) dai 375 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 435 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct snd_soc_dai *dai) dai 437 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 439 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c dev_info(afe->dev, "%s cmd=%d %s\n", __func__, cmd, dai->name); dai 1059 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c struct mtk_base_afe_dai *dai; dai 1061 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 1062 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c if (!dai) dai 1065 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c list_add(&dai->list, &afe->sub_dais); dai 1067 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c dai->dai_drivers = mt8183_memif_dai_driver; dai 1068 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c dai->num_dai_drivers = ARRAY_SIZE(mt8183_memif_dai_driver); dai 1070 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c dai->dapm_widgets = mt8183_memif_widgets; dai 1071 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c dai->num_dapm_widgets = ARRAY_SIZE(mt8183_memif_widgets); dai 1072 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c dai->dapm_routes = mt8183_memif_routes; dai 1073 sound/soc/mediatek/mt8183/mt8183-afe-pcm.c dai->num_dapm_routes = ARRAY_SIZE(mt8183_memif_routes); dai 354 sound/soc/mediatek/mt8183/mt8183-dai-adda.c struct snd_soc_dai *dai) dai 356 sound/soc/mediatek/mt8183/mt8183-dai-adda.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 360 sound/soc/mediatek/mt8183/mt8183-dai-adda.c __func__, dai->id, substream->stream, rate); dai 491 sound/soc/mediatek/mt8183/mt8183-dai-adda.c struct mtk_base_afe_dai *dai; dai 493 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 494 sound/soc/mediatek/mt8183/mt8183-dai-adda.c if (!dai) dai 497 sound/soc/mediatek/mt8183/mt8183-dai-adda.c list_add(&dai->list, &afe->sub_dais); dai 499 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai->dai_drivers = mtk_dai_adda_driver; dai 500 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_adda_driver); dai 502 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai->controls = mtk_adda_controls; dai 503 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai->num_controls = ARRAY_SIZE(mtk_adda_controls); dai 504 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai->dapm_widgets = mtk_dai_adda_widgets; dai 505 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai->num_dapm_widgets = ARRAY_SIZE(mtk_dai_adda_widgets); dai 506 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai->dapm_routes = mtk_dai_adda_routes; dai 507 sound/soc/mediatek/mt8183/mt8183-dai-adda.c dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_adda_routes); dai 38 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c struct snd_soc_dai *dai) dai 40 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 103 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c struct mtk_base_afe_dai *dai; dai 105 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 106 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c if (!dai) dai 109 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c list_add(&dai->list, &afe->sub_dais); dai 111 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c dai->dai_drivers = mtk_dai_hostless_driver; dai 112 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_hostless_driver); dai 114 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c dai->dapm_routes = mtk_dai_hostless_routes; dai 115 sound/soc/mediatek/mt8183/mt8183-dai-hostless.c dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_hostless_routes); dai 782 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct snd_soc_dai *dai) dai 784 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 786 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c return mtk_dai_i2s_config(afe, params, dai->id); dai 789 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c static int mtk_dai_i2s_set_sysclk(struct snd_soc_dai *dai, dai 792 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); dai 794 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct mtk_afe_i2s_priv *i2s_priv = afe_priv->dai_priv[dai->id]; dai 1010 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c struct mtk_base_afe_dai *dai; dai 1013 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 1014 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c if (!dai) dai 1017 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c list_add(&dai->list, &afe->sub_dais); dai 1019 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai->dai_drivers = mtk_dai_i2s_driver; dai 1020 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_i2s_driver); dai 1022 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai->controls = mtk_dai_i2s_controls; dai 1023 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai->num_controls = ARRAY_SIZE(mtk_dai_i2s_controls); dai 1024 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai->dapm_widgets = mtk_dai_i2s_widgets; dai 1025 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai->num_dapm_widgets = ARRAY_SIZE(mtk_dai_i2s_widgets); dai 1026 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai->dapm_routes = mtk_dai_i2s_routes; dai 1027 sound/soc/mediatek/mt8183/mt8183-dai-i2s.c dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_i2s_routes); dai 183 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c struct snd_soc_dai *dai) dai 185 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 187 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c unsigned int rate_reg = mt8183_rate_transform(afe->dev, rate, dai->id); dai 192 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->id, dai 196 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->playback_widget->active, dai 197 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->capture_widget->active); dai 199 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c if (dai->playback_widget->active || dai->capture_widget->active) dai 202 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c switch (dai->id) { dai 233 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c __func__, dai->id); dai 301 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c struct mtk_base_afe_dai *dai; dai 303 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 304 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c if (!dai) dai 307 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c list_add(&dai->list, &afe->sub_dais); dai 309 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->dai_drivers = mtk_dai_pcm_driver; dai 310 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_pcm_driver); dai 312 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->dapm_widgets = mtk_dai_pcm_widgets; dai 313 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->num_dapm_widgets = ARRAY_SIZE(mtk_dai_pcm_widgets); dai 314 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->dapm_routes = mtk_dai_pcm_routes; dai 315 sound/soc/mediatek/mt8183/mt8183-dai-pcm.c dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_pcm_routes); dai 466 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct snd_soc_dai *dai) dai 468 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 470 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c int tdm_id = dai->id; dai 583 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct snd_soc_dai *dai) dai 585 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct mtk_base_afe *afe = snd_soc_dai_get_drvdata(dai); dai 615 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static int mtk_dai_tdm_set_sysclk(struct snd_soc_dai *dai, dai 618 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); dai 620 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; dai 637 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c static int mtk_dai_tdm_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 639 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct mtk_base_afe *afe = dev_get_drvdata(dai->dev); dai 641 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct mtk_afe_tdm_priv *tdm_priv = afe_priv->dai_priv[dai->id]; dai 721 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c struct mtk_base_afe_dai *dai; dai 723 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c dai = devm_kzalloc(afe->dev, sizeof(*dai), GFP_KERNEL); dai 724 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c if (!dai) dai 727 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c list_add(&dai->list, &afe->sub_dais); dai 729 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c dai->dai_drivers = mtk_dai_tdm_driver; dai 730 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c dai->num_dai_drivers = ARRAY_SIZE(mtk_dai_tdm_driver); dai 732 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c dai->dapm_widgets = mtk_dai_tdm_widgets; dai 733 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c dai->num_dapm_widgets = ARRAY_SIZE(mtk_dai_tdm_widgets); dai 734 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c dai->dapm_routes = mtk_dai_tdm_routes; dai 735 sound/soc/mediatek/mt8183/mt8183-dai-tdm.c dai->num_dapm_routes = ARRAY_SIZE(mtk_dai_tdm_routes); dai 55 sound/soc/meson/axg-fifo.c struct snd_soc_dai *dai = axg_fifo_dai(ss); dai 57 sound/soc/meson/axg-fifo.c return snd_soc_dai_get_drvdata(dai); dai 62 sound/soc/meson/axg-fifo.c struct snd_soc_dai *dai = axg_fifo_dai(ss); dai 64 sound/soc/meson/axg-fifo.c return dai->dev; dai 34 sound/soc/meson/axg-frddr.c struct snd_soc_dai *dai) dai 36 sound/soc/meson/axg-frddr.c struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); dai 50 sound/soc/meson/axg-frddr.c struct snd_soc_dai *dai) dai 52 sound/soc/meson/axg-frddr.c struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); dai 78 sound/soc/meson/axg-frddr.c struct snd_soc_dai *dai) dai 80 sound/soc/meson/axg-frddr.c struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); dai 86 sound/soc/meson/axg-frddr.c struct snd_soc_dai *dai) dai 126 sound/soc/meson/axg-pdm.c struct snd_soc_dai *dai) dai 128 sound/soc/meson/axg-pdm.c struct axg_pdm *priv = snd_soc_dai_get_drvdata(dai); dai 225 sound/soc/meson/axg-pdm.c struct snd_soc_dai *dai) dai 227 sound/soc/meson/axg-pdm.c struct axg_pdm *priv = snd_soc_dai_get_drvdata(dai); dai 241 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "unsupported sample width\n"); dai 249 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "failed to set system clock\n"); dai 255 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "failed to set dclk\n"); dai 261 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "invalid clock setting\n"); dai 271 sound/soc/meson/axg-pdm.c struct snd_soc_dai *dai) dai 273 sound/soc/meson/axg-pdm.c struct axg_pdm *priv = snd_soc_dai_get_drvdata(dai); dai 278 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "enabling dclk failed\n"); dai 289 sound/soc/meson/axg-pdm.c struct snd_soc_dai *dai) dai 291 sound/soc/meson/axg-pdm.c struct axg_pdm *priv = snd_soc_dai_get_drvdata(dai); dai 381 sound/soc/meson/axg-pdm.c static int axg_pdm_dai_probe(struct snd_soc_dai *dai) dai 383 sound/soc/meson/axg-pdm.c struct axg_pdm *priv = snd_soc_dai_get_drvdata(dai); dai 388 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "enabling pclk failed\n"); dai 398 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "setting sysclk failed\n"); dai 404 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "enabling sysclk failed\n"); dai 420 sound/soc/meson/axg-pdm.c dev_err(dai->dev, "invalid filter configuration\n"); dai 433 sound/soc/meson/axg-pdm.c static int axg_pdm_dai_remove(struct snd_soc_dai *dai) dai 435 sound/soc/meson/axg-pdm.c struct axg_pdm *priv = snd_soc_dai_get_drvdata(dai); dai 96 sound/soc/meson/axg-spdifin.c struct snd_soc_dai *dai) dai 98 sound/soc/meson/axg-spdifin.c struct axg_spdifin *priv = snd_soc_dai_get_drvdata(dai); dai 116 sound/soc/meson/axg-spdifin.c struct snd_soc_dai *dai) dai 118 sound/soc/meson/axg-spdifin.c struct axg_spdifin *priv = snd_soc_dai_get_drvdata(dai); dai 123 sound/soc/meson/axg-spdifin.c dev_err(dai->dev, dai 135 sound/soc/meson/axg-spdifin.c struct snd_soc_dai *dai) dai 137 sound/soc/meson/axg-spdifin.c struct axg_spdifin *priv = snd_soc_dai_get_drvdata(dai); dai 186 sound/soc/meson/axg-spdifin.c static int axg_spdifin_sample_mode_config(struct snd_soc_dai *dai, dai 195 sound/soc/meson/axg-spdifin.c dev_err(dai->dev, "reference clock rate set failed\n"); dai 240 sound/soc/meson/axg-spdifin.c static int axg_spdifin_dai_probe(struct snd_soc_dai *dai) dai 242 sound/soc/meson/axg-spdifin.c struct axg_spdifin *priv = snd_soc_dai_get_drvdata(dai); dai 247 sound/soc/meson/axg-spdifin.c dev_err(dai->dev, "failed to enable pclk\n"); dai 251 sound/soc/meson/axg-spdifin.c ret = axg_spdifin_sample_mode_config(dai, priv); dai 253 sound/soc/meson/axg-spdifin.c dev_err(dai->dev, "mode configuration failed\n"); dai 261 sound/soc/meson/axg-spdifin.c static int axg_spdifin_dai_remove(struct snd_soc_dai *dai) dai 263 sound/soc/meson/axg-spdifin.c struct axg_spdifin *priv = snd_soc_dai_get_drvdata(dai); dai 89 sound/soc/meson/axg-spdifout.c struct snd_soc_dai *dai) dai 91 sound/soc/meson/axg-spdifout.c struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); dai 111 sound/soc/meson/axg-spdifout.c static int axg_spdifout_digital_mute(struct snd_soc_dai *dai, int mute) dai 113 sound/soc/meson/axg-spdifout.c struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); dai 123 sound/soc/meson/axg-spdifout.c struct snd_soc_dai *dai) dai 125 sound/soc/meson/axg-spdifout.c struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); dai 137 sound/soc/meson/axg-spdifout.c dev_err(dai->dev, "too many channels for spdif dai: %u\n", dai 160 sound/soc/meson/axg-spdifout.c dev_err(dai->dev, "Unsupported physical width: %u\n", dai 180 sound/soc/meson/axg-spdifout.c struct snd_soc_dai *dai) dai 182 sound/soc/meson/axg-spdifout.c struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); dai 190 sound/soc/meson/axg-spdifout.c dev_err(dai->dev, "Creating IEC958 channel status failed %d\n", dai 217 sound/soc/meson/axg-spdifout.c struct snd_soc_dai *dai) dai 219 sound/soc/meson/axg-spdifout.c struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); dai 226 sound/soc/meson/axg-spdifout.c dev_err(dai->dev, "failed to set spdif clock\n"); dai 230 sound/soc/meson/axg-spdifout.c ret = axg_spdifout_sample_fmt(params, dai); dai 232 sound/soc/meson/axg-spdifout.c dev_err(dai->dev, "failed to setup sample format\n"); dai 236 sound/soc/meson/axg-spdifout.c ret = axg_spdifout_set_chsts(params, dai); dai 238 sound/soc/meson/axg-spdifout.c dev_err(dai->dev, "failed to setup channel status words\n"); dai 246 sound/soc/meson/axg-spdifout.c struct snd_soc_dai *dai) dai 248 sound/soc/meson/axg-spdifout.c struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); dai 254 sound/soc/meson/axg-spdifout.c dev_err(dai->dev, "failed to enable pclk\n"); dai 279 sound/soc/meson/axg-spdifout.c struct snd_soc_dai *dai) dai 281 sound/soc/meson/axg-spdifout.c struct axg_spdifout *priv = snd_soc_dai_get_drvdata(dai); dai 35 sound/soc/meson/axg-tdm-interface.c int axg_tdm_set_tdm_slots(struct snd_soc_dai *dai, u32 *tx_mask, dai 39 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 41 sound/soc/meson/axg-tdm-interface.c dai->playback_dma_data; dai 43 sound/soc/meson/axg-tdm-interface.c dai->capture_dma_data; dai 52 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "interface has no slot\n"); dai 76 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "unsupported slot width: %d\n", slot_width); dai 85 sound/soc/meson/axg-tdm-interface.c dai->driver->playback.channels_max = tx_slots; dai 86 sound/soc/meson/axg-tdm-interface.c dai->driver->playback.formats = fmt; dai 91 sound/soc/meson/axg-tdm-interface.c dai->driver->capture.channels_max = rx_slots; dai 92 sound/soc/meson/axg-tdm-interface.c dai->driver->capture.formats = fmt; dai 99 sound/soc/meson/axg-tdm-interface.c static int axg_tdm_iface_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 102 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 107 sound/soc/meson/axg-tdm-interface.c dev_warn(dai->dev, "master clock not provided\n"); dai 118 sound/soc/meson/axg-tdm-interface.c static int axg_tdm_iface_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 120 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 124 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "only CBS_CFS and CBM_CFM are supported\n"); dai 130 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "cpu clock master: mclk missing\n"); dai 139 sound/soc/meson/axg-tdm-interface.c struct snd_soc_dai *dai) dai 141 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 143 sound/soc/meson/axg-tdm-interface.c snd_soc_dai_get_dma_data(dai, substream); dai 147 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "interface has not slots\n"); dai 152 sound/soc/meson/axg-tdm-interface.c if (dai->component->active) { dai 157 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, dai 168 sound/soc/meson/axg-tdm-interface.c struct snd_soc_dai *dai) dai 170 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 171 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); dai 180 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "not enough slots for channels\n"); dai 185 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "incompatible slots width for stream\n"); dai 197 sound/soc/meson/axg-tdm-interface.c static int axg_tdm_iface_set_lrclk(struct snd_soc_dai *dai, dai 200 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 206 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "setting sample clock failed: %d\n", ret); dai 235 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, dai 244 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, dai 252 sound/soc/meson/axg-tdm-interface.c static int axg_tdm_iface_set_sclk(struct snd_soc_dai *dai, dai 255 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 267 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, dai 276 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "setting bit clock failed: %d\n", ret); dai 284 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "setting bit clock phase failed: %d\n", ret); dai 293 sound/soc/meson/axg-tdm-interface.c struct snd_soc_dai *dai) dai 295 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 303 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "bad slot number for format: %d\n", dai 314 sound/soc/meson/axg-tdm-interface.c dev_err(dai->dev, "unsupported dai format\n"); dai 318 sound/soc/meson/axg-tdm-interface.c ret = axg_tdm_iface_set_stream(substream, params, dai); dai 323 sound/soc/meson/axg-tdm-interface.c ret = axg_tdm_iface_set_sclk(dai, params); dai 327 sound/soc/meson/axg-tdm-interface.c ret = axg_tdm_iface_set_lrclk(dai, params); dai 336 sound/soc/meson/axg-tdm-interface.c struct snd_soc_dai *dai) dai 338 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); dai 347 sound/soc/meson/axg-tdm-interface.c struct snd_soc_dai *dai) dai 349 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_stream *ts = snd_soc_dai_get_dma_data(dai, substream); dai 355 sound/soc/meson/axg-tdm-interface.c static int axg_tdm_iface_remove_dai(struct snd_soc_dai *dai) dai 357 sound/soc/meson/axg-tdm-interface.c if (dai->capture_dma_data) dai 358 sound/soc/meson/axg-tdm-interface.c axg_tdm_stream_free(dai->capture_dma_data); dai 360 sound/soc/meson/axg-tdm-interface.c if (dai->playback_dma_data) dai 361 sound/soc/meson/axg-tdm-interface.c axg_tdm_stream_free(dai->playback_dma_data); dai 366 sound/soc/meson/axg-tdm-interface.c static int axg_tdm_iface_probe_dai(struct snd_soc_dai *dai) dai 368 sound/soc/meson/axg-tdm-interface.c struct axg_tdm_iface *iface = snd_soc_dai_get_drvdata(dai); dai 370 sound/soc/meson/axg-tdm-interface.c if (dai->capture_widget) { dai 371 sound/soc/meson/axg-tdm-interface.c dai->capture_dma_data = axg_tdm_stream_alloc(iface); dai 372 sound/soc/meson/axg-tdm-interface.c if (!dai->capture_dma_data) dai 376 sound/soc/meson/axg-tdm-interface.c if (dai->playback_widget) { dai 377 sound/soc/meson/axg-tdm-interface.c dai->playback_dma_data = axg_tdm_stream_alloc(iface); dai 378 sound/soc/meson/axg-tdm-interface.c if (!dai->playback_dma_data) { dai 379 sound/soc/meson/axg-tdm-interface.c axg_tdm_iface_remove_dai(dai); dai 74 sound/soc/meson/axg-tdm.h int axg_tdm_set_tdm_slots(struct snd_soc_dai *dai, u32 *tx_mask, dai 33 sound/soc/meson/axg-toddr.c struct snd_soc_dai *dai) dai 39 sound/soc/meson/axg-toddr.c struct snd_soc_dai *dai) dai 41 sound/soc/meson/axg-toddr.c struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); dai 56 sound/soc/meson/axg-toddr.c struct snd_soc_dai *dai) dai 58 sound/soc/meson/axg-toddr.c struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); dai 89 sound/soc/meson/axg-toddr.c struct snd_soc_dai *dai) dai 91 sound/soc/meson/axg-toddr.c struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); dai 113 sound/soc/meson/axg-toddr.c struct snd_soc_dai *dai) dai 115 sound/soc/meson/axg-toddr.c struct axg_fifo *fifo = snd_soc_dai_get_drvdata(dai); dai 66 sound/soc/meson/g12a-tohdmitx.c struct snd_soc_dai *dai; dai 71 sound/soc/meson/g12a-tohdmitx.c dai = in->priv; dai 73 sound/soc/meson/g12a-tohdmitx.c return dai->playback_dma_data; dai 204 sound/soc/meson/g12a-tohdmitx.c static int g12a_tohdmitx_input_probe(struct snd_soc_dai *dai) dai 212 sound/soc/meson/g12a-tohdmitx.c dai->playback_dma_data = data; dai 216 sound/soc/meson/g12a-tohdmitx.c static int g12a_tohdmitx_input_remove(struct snd_soc_dai *dai) dai 218 sound/soc/meson/g12a-tohdmitx.c kfree(dai->playback_dma_data); dai 224 sound/soc/meson/g12a-tohdmitx.c struct snd_soc_dai *dai) dai 226 sound/soc/meson/g12a-tohdmitx.c struct g12a_tohdmitx_input *data = dai->playback_dma_data; dai 234 sound/soc/meson/g12a-tohdmitx.c data->params.sig_bits = dai->driver->playback.sig_bits; dai 240 sound/soc/meson/g12a-tohdmitx.c static int g12a_tohdmitx_input_set_fmt(struct snd_soc_dai *dai, dai 243 sound/soc/meson/g12a-tohdmitx.c struct g12a_tohdmitx_input *data = dai->playback_dma_data; dai 251 sound/soc/meson/g12a-tohdmitx.c struct snd_soc_dai *dai) dai 255 sound/soc/meson/g12a-tohdmitx.c g12a_tohdmitx_get_input_data(dai->capture_widget); dai 261 sound/soc/meson/g12a-tohdmitx.c dev_warn(dai->dev, "codec2codec link expected\n"); dai 645 sound/soc/mxs/mxs-saif.c static int mxs_saif_dai_probe(struct snd_soc_dai *dai) dai 647 sound/soc/mxs/mxs-saif.c struct mxs_saif *saif = dev_get_drvdata(dai->dev); dai 649 sound/soc/mxs/mxs-saif.c snd_soc_dai_set_drvdata(dai, saif); dai 90 sound/soc/pxa/mmp-sspa.c struct snd_soc_dai *dai) dai 92 sound/soc/pxa/mmp-sspa.c struct sspa_priv *priv = snd_soc_dai_get_drvdata(dai); dai 101 sound/soc/pxa/mmp-sspa.c struct snd_soc_dai *dai) dai 103 sound/soc/pxa/mmp-sspa.c struct sspa_priv *priv = snd_soc_dai_get_drvdata(dai); dai 251 sound/soc/pxa/mmp-sspa.c struct snd_soc_dai *dai) dai 255 sound/soc/pxa/mmp-sspa.c struct sspa_priv *sspa_priv = snd_soc_dai_get_drvdata(dai); dai 308 sound/soc/pxa/mmp-sspa.c struct snd_soc_dai *dai) dai 310 sound/soc/pxa/mmp-sspa.c struct sspa_priv *sspa_priv = snd_soc_dai_get_drvdata(dai); dai 353 sound/soc/pxa/mmp-sspa.c static int mmp_sspa_probe(struct snd_soc_dai *dai) dai 355 sound/soc/pxa/mmp-sspa.c struct sspa_priv *priv = dev_get_drvdata(dai->dev); dai 357 sound/soc/pxa/mmp-sspa.c snd_soc_dai_set_drvdata(dai, priv); dai 770 sound/soc/pxa/pxa-ssp.c static int pxa_ssp_probe(struct snd_soc_dai *dai) dai 772 sound/soc/pxa/pxa-ssp.c struct device *dev = dai->dev; dai 805 sound/soc/pxa/pxa-ssp.c priv->ssp = pxa_ssp_request(dai->id + 1, "SoC audio"); dai 813 sound/soc/pxa/pxa-ssp.c snd_soc_dai_set_drvdata(dai, priv); dai 822 sound/soc/pxa/pxa-ssp.c static int pxa_ssp_remove(struct snd_soc_dai *dai) dai 824 sound/soc/pxa/pxa-ssp.c struct ssp_priv *priv = snd_soc_dai_get_drvdata(dai); dai 96 sound/soc/pxa/pxa2xx-i2s.c struct snd_soc_dai *dai) dai 158 sound/soc/pxa/pxa2xx-i2s.c struct snd_soc_dai *dai) dai 173 sound/soc/pxa/pxa2xx-i2s.c snd_soc_dai_set_dma_data(dai, substream, dma_data); dai 217 sound/soc/pxa/pxa2xx-i2s.c struct snd_soc_dai *dai) dai 243 sound/soc/pxa/pxa2xx-i2s.c struct snd_soc_dai *dai) dai 264 sound/soc/pxa/pxa2xx-i2s.c static int pxa2xx_i2s_suspend(struct snd_soc_dai *dai) dai 278 sound/soc/pxa/pxa2xx-i2s.c static int pxa2xx_i2s_resume(struct snd_soc_dai *dai) dai 297 sound/soc/pxa/pxa2xx-i2s.c static int pxa2xx_i2s_probe(struct snd_soc_dai *dai) dai 299 sound/soc/pxa/pxa2xx-i2s.c clk_i2s = clk_get(dai->dev, "I2SCLK"); dai 316 sound/soc/pxa/pxa2xx-i2s.c snd_soc_dai_init_dma_data(dai, &pxa2xx_i2s_pcm_stereo_out, dai 322 sound/soc/pxa/pxa2xx-i2s.c static int pxa2xx_i2s_remove(struct snd_soc_dai *dai) dai 94 sound/soc/qcom/apq8016_sbc.c struct snd_soc_dai *dai = rtd->codec_dais[i]; dai 96 sound/soc/qcom/apq8016_sbc.c component = dai->component; dai 22 sound/soc/qcom/lpass-cpu.c static int lpass_cpu_daiops_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 25 sound/soc/qcom/lpass-cpu.c struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); dai 28 sound/soc/qcom/lpass-cpu.c ret = clk_set_rate(drvdata->mi2s_osr_clk[dai->driver->id], freq); dai 30 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error setting mi2s osrclk to %u: %d\n", dai 37 sound/soc/qcom/lpass-cpu.c struct snd_soc_dai *dai) dai 39 sound/soc/qcom/lpass-cpu.c struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); dai 42 sound/soc/qcom/lpass-cpu.c ret = clk_prepare_enable(drvdata->mi2s_osr_clk[dai->driver->id]); dai 44 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error in enabling mi2s osr clk: %d\n", ret); dai 48 sound/soc/qcom/lpass-cpu.c ret = clk_prepare_enable(drvdata->mi2s_bit_clk[dai->driver->id]); dai 50 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error in enabling mi2s bit clk: %d\n", ret); dai 51 sound/soc/qcom/lpass-cpu.c clk_disable_unprepare(drvdata->mi2s_osr_clk[dai->driver->id]); dai 59 sound/soc/qcom/lpass-cpu.c struct snd_soc_dai *dai) dai 61 sound/soc/qcom/lpass-cpu.c struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); dai 63 sound/soc/qcom/lpass-cpu.c clk_disable_unprepare(drvdata->mi2s_bit_clk[dai->driver->id]); dai 65 sound/soc/qcom/lpass-cpu.c clk_disable_unprepare(drvdata->mi2s_osr_clk[dai->driver->id]); dai 69 sound/soc/qcom/lpass-cpu.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 71 sound/soc/qcom/lpass-cpu.c struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); dai 80 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "invalid bit width given: %d\n", bitwidth); dai 98 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "invalid bitwidth given: %d\n", bitwidth); dai 125 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "invalid channels given: %u\n", dai 152 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "invalid channels given: %u\n", dai 159 sound/soc/qcom/lpass-cpu.c LPAIF_I2SCTL_REG(drvdata->variant, dai->driver->id), dai 162 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error writing to i2sctl reg: %d\n", ret); dai 166 sound/soc/qcom/lpass-cpu.c ret = clk_set_rate(drvdata->mi2s_bit_clk[dai->driver->id], dai 169 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error setting mi2s bitclk to %u: %d\n", dai 178 sound/soc/qcom/lpass-cpu.c struct snd_soc_dai *dai) dai 180 sound/soc/qcom/lpass-cpu.c struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); dai 184 sound/soc/qcom/lpass-cpu.c LPAIF_I2SCTL_REG(drvdata->variant, dai->driver->id), dai 187 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error writing to i2sctl reg: %d\n", ret); dai 193 sound/soc/qcom/lpass-cpu.c struct snd_soc_dai *dai) dai 195 sound/soc/qcom/lpass-cpu.c struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); dai 208 sound/soc/qcom/lpass-cpu.c LPAIF_I2SCTL_REG(drvdata->variant, dai->driver->id), dai 211 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error writing to i2sctl reg: %d\n", ret); dai 217 sound/soc/qcom/lpass-cpu.c int cmd, struct snd_soc_dai *dai) dai 219 sound/soc/qcom/lpass-cpu.c struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); dai 237 sound/soc/qcom/lpass-cpu.c dai->driver->id), dai 240 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error writing to i2sctl reg: %d\n", dai 256 sound/soc/qcom/lpass-cpu.c dai->driver->id), dai 259 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error writing to i2sctl reg: %d\n", dai 278 sound/soc/qcom/lpass-cpu.c int asoc_qcom_lpass_cpu_dai_probe(struct snd_soc_dai *dai) dai 280 sound/soc/qcom/lpass-cpu.c struct lpass_data *drvdata = snd_soc_dai_get_drvdata(dai); dai 285 sound/soc/qcom/lpass-cpu.c LPAIF_I2SCTL_REG(drvdata->variant, dai->driver->id), 0); dai 287 sound/soc/qcom/lpass-cpu.c dev_err(dai->dev, "error writing to i2sctl reg: %d\n", ret); dai 94 sound/soc/qcom/lpass.h int asoc_qcom_lpass_cpu_dai_probe(struct snd_soc_dai *dai); dai 77 sound/soc/qcom/qdsp6/q6afe-dai.c struct snd_soc_dai *dai) dai 80 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 81 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; dai 107 sound/soc/qcom/qdsp6/q6afe-dai.c struct snd_soc_dai *dai) dai 109 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 111 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_hdmi_cfg *hdmi = &dai_data->port_config[dai->id].hdmi; dai 147 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "invalid Channels = %u\n", channels); dai 156 sound/soc/qcom/qdsp6/q6afe-dai.c struct snd_soc_dai *dai) dai 158 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 159 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; dai 164 sound/soc/qcom/qdsp6/q6afe-dai.c i2s->sd_line_mask = dai_data->priv[dai->id].sd_line_mask; dai 169 sound/soc/qcom/qdsp6/q6afe-dai.c static int q6i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 171 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 172 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_i2s_cfg *i2s = &dai_data->port_config[dai->id].i2s_cfg; dai 179 sound/soc/qcom/qdsp6/q6afe-dai.c static int q6tdm_set_tdm_slot(struct snd_soc_dai *dai, dai 185 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 186 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; dai 192 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "%s: invalid slot_width %d\n", dai 212 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "%s: invalid slots %d\n", dai 217 sound/soc/qcom/qdsp6/q6afe-dai.c switch (dai->id) { dai 222 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->slot_mask = (dai->id & 0x1 ? tx_mask : rx_mask) & cap_mask; dai 225 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "%s: invalid dai id 0x%x\n", dai 226 sound/soc/qcom/qdsp6/q6afe-dai.c __func__, dai->id); dai 233 sound/soc/qcom/qdsp6/q6afe-dai.c static int q6tdm_set_channel_map(struct snd_soc_dai *dai, dai 238 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 239 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; dai 243 sound/soc/qcom/qdsp6/q6afe-dai.c switch (dai->id) { dai 245 sound/soc/qcom/qdsp6/q6afe-dai.c if (dai->id & 0x1) { dai 247 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "tx slot not found\n"); dai 251 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "invalid tx num %d\n", dai 266 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "rx slot not found\n"); dai 270 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "invalid rx num %d\n", dai 286 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "%s: invalid dai id 0x%x\n", dai 287 sound/soc/qcom/qdsp6/q6afe-dai.c __func__, dai->id); dai 296 sound/soc/qcom/qdsp6/q6afe-dai.c struct snd_soc_dai *dai) dai 298 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 299 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_tdm_cfg *tdm = &dai_data->port_config[dai->id].tdm; dai 304 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->data_align_type = dai_data->priv[dai->id].data_align; dai 305 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->sync_src = dai_data->priv[dai->id].sync_src; dai 306 sound/soc/qcom/qdsp6/q6afe-dai.c tdm->sync_mode = dai_data->priv[dai->id].sync_mode; dai 311 sound/soc/qcom/qdsp6/q6afe-dai.c struct snd_soc_dai *dai) dai 313 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 316 sound/soc/qcom/qdsp6/q6afe-dai.c if (!dai_data->is_port_started[dai->id]) dai 319 sound/soc/qcom/qdsp6/q6afe-dai.c rc = q6afe_port_stop(dai_data->port[dai->id]); dai 321 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "fail to close AFE port (%d)\n", rc); dai 323 sound/soc/qcom/qdsp6/q6afe-dai.c dai_data->is_port_started[dai->id] = false; dai 328 sound/soc/qcom/qdsp6/q6afe-dai.c struct snd_soc_dai *dai) dai 330 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 333 sound/soc/qcom/qdsp6/q6afe-dai.c if (dai_data->is_port_started[dai->id]) { dai 335 sound/soc/qcom/qdsp6/q6afe-dai.c rc = q6afe_port_stop(dai_data->port[dai->id]); dai 337 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "fail to close AFE port (%d)\n", rc); dai 342 sound/soc/qcom/qdsp6/q6afe-dai.c switch (dai->id) { dai 345 sound/soc/qcom/qdsp6/q6afe-dai.c q6afe_hdmi_port_prepare(dai_data->port[dai->id], dai 346 sound/soc/qcom/qdsp6/q6afe-dai.c &dai_data->port_config[dai->id].hdmi); dai 349 sound/soc/qcom/qdsp6/q6afe-dai.c q6afe_slim_port_prepare(dai_data->port[dai->id], dai 350 sound/soc/qcom/qdsp6/q6afe-dai.c &dai_data->port_config[dai->id].slim); dai 353 sound/soc/qcom/qdsp6/q6afe-dai.c rc = q6afe_i2s_port_prepare(dai_data->port[dai->id], dai 354 sound/soc/qcom/qdsp6/q6afe-dai.c &dai_data->port_config[dai->id].i2s_cfg); dai 356 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "fail to prepare AFE port %x\n", dai 357 sound/soc/qcom/qdsp6/q6afe-dai.c dai->id); dai 362 sound/soc/qcom/qdsp6/q6afe-dai.c q6afe_tdm_port_prepare(dai_data->port[dai->id], dai 363 sound/soc/qcom/qdsp6/q6afe-dai.c &dai_data->port_config[dai->id].tdm); dai 369 sound/soc/qcom/qdsp6/q6afe-dai.c rc = q6afe_port_start(dai_data->port[dai->id]); dai 371 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "fail to start AFE port %x\n", dai->id); dai 374 sound/soc/qcom/qdsp6/q6afe-dai.c dai_data->is_port_started[dai->id] = true; dai 379 sound/soc/qcom/qdsp6/q6afe-dai.c static int q6slim_set_channel_map(struct snd_soc_dai *dai, dai 383 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 384 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_port_config *pcfg = &dai_data->port_config[dai->id]; dai 387 sound/soc/qcom/qdsp6/q6afe-dai.c if (dai->id & 0x1) { dai 416 sound/soc/qcom/qdsp6/q6afe-dai.c static int q6afe_mi2s_set_sysclk(struct snd_soc_dai *dai, dai 419 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 420 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_port *port = dai_data->port[dai->id]; dai 597 sound/soc/qcom/qdsp6/q6afe-dai.c static int msm_dai_q6_dai_probe(struct snd_soc_dai *dai) dai 599 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 602 sound/soc/qcom/qdsp6/q6afe-dai.c port = q6afe_port_get_from_id(dai->dev, dai->id); dai 604 sound/soc/qcom/qdsp6/q6afe-dai.c dev_err(dai->dev, "Unable to get afe port\n"); dai 607 sound/soc/qcom/qdsp6/q6afe-dai.c dai_data->port[dai->id] = port; dai 612 sound/soc/qcom/qdsp6/q6afe-dai.c static int msm_dai_q6_dai_remove(struct snd_soc_dai *dai) dai 614 sound/soc/qcom/qdsp6/q6afe-dai.c struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); dai 616 sound/soc/qcom/qdsp6/q6afe-dai.c q6afe_port_put(dai_data->port[dai->id]); dai 617 sound/soc/qcom/qdsp6/q6afe-dai.c dai_data->port[dai->id] = NULL; dai 453 sound/soc/rockchip/rk3399_gru_sound.c struct snd_soc_dai_link *dai; dai 508 sound/soc/rockchip/rk3399_gru_sound.c dai = &card->dai_link[card->num_links++]; dai 509 sound/soc/rockchip/rk3399_gru_sound.c *dai = rockchip_dais[index]; dai 511 sound/soc/rockchip/rk3399_gru_sound.c if (!dai->codecs->name) dai 512 sound/soc/rockchip/rk3399_gru_sound.c dai->codecs->of_node = np_codec; dai 513 sound/soc/rockchip/rk3399_gru_sound.c dai->platforms->of_node = np_cpu; dai 514 sound/soc/rockchip/rk3399_gru_sound.c dai->cpus->of_node = np_cpu; dai 85 sound/soc/rockchip/rockchip_i2s.c static inline struct rk_i2s_dev *to_info(struct snd_soc_dai *dai) dai 87 sound/soc/rockchip/rockchip_i2s.c return snd_soc_dai_get_drvdata(dai); dai 272 sound/soc/rockchip/rockchip_i2s.c struct snd_soc_dai *dai) dai 274 sound/soc/rockchip/rockchip_i2s.c struct rk_i2s_dev *i2s = to_info(dai); dai 376 sound/soc/rockchip/rockchip_i2s.c if (dai->driver->symmetric_rates && rtd->dai_link->symmetric_rates) dai 386 sound/soc/rockchip/rockchip_i2s.c int cmd, struct snd_soc_dai *dai) dai 388 sound/soc/rockchip/rockchip_i2s.c struct rk_i2s_dev *i2s = to_info(dai); dai 432 sound/soc/rockchip/rockchip_i2s.c static int rockchip_i2s_dai_probe(struct snd_soc_dai *dai) dai 434 sound/soc/rockchip/rockchip_i2s.c struct rk_i2s_dev *i2s = snd_soc_dai_get_drvdata(dai); dai 436 sound/soc/rockchip/rockchip_i2s.c dai->capture_dma_data = &i2s->capture_dma_data; dai 437 sound/soc/rockchip/rockchip_i2s.c dai->playback_dma_data = &i2s->playback_dma_data; dai 124 sound/soc/rockchip/rockchip_pdm.c static inline struct rk_pdm_dev *to_info(struct snd_soc_dai *dai) dai 126 sound/soc/rockchip/rockchip_pdm.c return snd_soc_dai_get_drvdata(dai); dai 147 sound/soc/rockchip/rockchip_pdm.c struct snd_soc_dai *dai) dai 149 sound/soc/rockchip/rockchip_pdm.c struct rk_pdm_dev *pdm = to_info(dai); dai 284 sound/soc/rockchip/rockchip_pdm.c struct snd_soc_dai *dai) dai 286 sound/soc/rockchip/rockchip_pdm.c struct rk_pdm_dev *pdm = to_info(dai); dai 310 sound/soc/rockchip/rockchip_pdm.c static int rockchip_pdm_dai_probe(struct snd_soc_dai *dai) dai 312 sound/soc/rockchip/rockchip_pdm.c struct rk_pdm_dev *pdm = to_info(dai); dai 314 sound/soc/rockchip/rockchip_pdm.c dai->capture_dma_data = &pdm->capture_dma_data; dai 107 sound/soc/rockchip/rockchip_spdif.c struct snd_soc_dai *dai) dai 109 sound/soc/rockchip/rockchip_spdif.c struct rk_spdif_dev *spdif = snd_soc_dai_get_drvdata(dai); dai 148 sound/soc/rockchip/rockchip_spdif.c int cmd, struct snd_soc_dai *dai) dai 150 sound/soc/rockchip/rockchip_spdif.c struct rk_spdif_dev *spdif = snd_soc_dai_get_drvdata(dai); dai 192 sound/soc/rockchip/rockchip_spdif.c static int rk_spdif_dai_probe(struct snd_soc_dai *dai) dai 194 sound/soc/rockchip/rockchip_spdif.c struct rk_spdif_dev *spdif = snd_soc_dai_get_drvdata(dai); dai 196 sound/soc/rockchip/rockchip_spdif.c dai->playback_dma_data = &spdif->playback_dma_data; dai 95 sound/soc/samsung/i2s.c struct i2s_dai *dai; dai 219 sound/soc/samsung/i2s.c static inline struct i2s_dai *to_info(struct snd_soc_dai *dai) dai 221 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 223 sound/soc/samsung/i2s.c return &priv->dai[dai->id - 1]; dai 497 sound/soc/samsung/i2s.c static int i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, unsigned int rfs, dai 500 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 501 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 510 sound/soc/samsung/i2s.c pm_runtime_get_sync(dai->dev); dai 615 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 619 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 623 sound/soc/samsung/i2s.c static int i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 625 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 626 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 685 sound/soc/samsung/i2s.c i2s_set_sysclk(dai, SAMSUNG_I2S_RCLKSRC_0, dai 693 sound/soc/samsung/i2s.c pm_runtime_get_sync(dai->dev); dai 703 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 714 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 720 sound/soc/samsung/i2s.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 722 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 723 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 728 sound/soc/samsung/i2s.c WARN_ON(!pm_runtime_active(dai->dev)); dai 804 sound/soc/samsung/i2s.c snd_soc_dai_init_dma_data(dai, &i2s->dma_playback, &i2s->dma_capture); dai 817 sound/soc/samsung/i2s.c struct snd_soc_dai *dai) dai 819 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 820 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 824 sound/soc/samsung/i2s.c pm_runtime_get_sync(dai->dev); dai 844 sound/soc/samsung/i2s.c struct snd_soc_dai *dai) dai 846 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 847 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 865 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 930 sound/soc/samsung/i2s.c int cmd, struct snd_soc_dai *dai) dai 932 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 942 sound/soc/samsung/i2s.c pm_runtime_get_sync(dai->dev); dai 971 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 978 sound/soc/samsung/i2s.c static int i2s_set_clkdiv(struct snd_soc_dai *dai, dai 981 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 986 sound/soc/samsung/i2s.c pm_runtime_get_sync(dai->dev); dai 989 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 995 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 1007 sound/soc/samsung/i2s.c i2s_delay(struct snd_pcm_substream *substream, struct snd_soc_dai *dai) dai 1009 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 1010 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 1014 sound/soc/samsung/i2s.c WARN_ON(!pm_runtime_active(dai->dev)); dai 1027 sound/soc/samsung/i2s.c static int i2s_suspend(struct snd_soc_dai *dai) dai 1029 sound/soc/samsung/i2s.c return pm_runtime_force_suspend(dai->dev); dai 1032 sound/soc/samsung/i2s.c static int i2s_resume(struct snd_soc_dai *dai) dai 1034 sound/soc/samsung/i2s.c return pm_runtime_force_resume(dai->dev); dai 1041 sound/soc/samsung/i2s.c static int samsung_i2s_dai_probe(struct snd_soc_dai *dai) dai 1043 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 1044 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 1048 sound/soc/samsung/i2s.c pm_runtime_get_sync(dai->dev); dai 1052 sound/soc/samsung/i2s.c snd_soc_dai_init_dma_data(dai, &i2s->dma_playback, NULL); dai 1054 sound/soc/samsung/i2s.c snd_soc_dai_init_dma_data(dai, &i2s->dma_playback, dai 1079 sound/soc/samsung/i2s.c i2s_set_sysclk(dai, SAMSUNG_I2S_CDCLK, dai 1081 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 1086 sound/soc/samsung/i2s.c static int samsung_i2s_dai_remove(struct snd_soc_dai *dai) dai 1088 sound/soc/samsung/i2s.c struct samsung_i2s_priv *priv = snd_soc_dai_get_drvdata(dai); dai 1089 sound/soc/samsung/i2s.c struct i2s_dai *i2s = to_info(dai); dai 1092 sound/soc/samsung/i2s.c pm_runtime_get_sync(dai->dev); dai 1102 sound/soc/samsung/i2s.c pm_runtime_put(dai->dev); dai 1156 sound/soc/samsung/i2s.c struct i2s_dai *dai; dai 1159 sound/soc/samsung/i2s.c priv->dai = devm_kcalloc(&priv->pdev->dev, num_dais, dai 1160 sound/soc/samsung/i2s.c sizeof(*dai), GFP_KERNEL); dai 1161 sound/soc/samsung/i2s.c if (!priv->dai) dai 1189 sound/soc/samsung/i2s.c priv->dai[i].drv = &priv->dai_drv[i]; dai 1190 sound/soc/samsung/i2s.c priv->dai[i].pdev = priv->pdev; dai 1424 sound/soc/samsung/i2s.c pri_dai = &priv->dai[SAMSUNG_I2S_ID_PRIMARY - 1]; dai 1480 sound/soc/samsung/i2s.c sec_dai = &priv->dai[SAMSUNG_I2S_ID_SECONDARY - 1]; dai 212 sound/soc/samsung/pcm.c struct snd_soc_dai *dai) dai 438 sound/soc/samsung/pcm.c static int s3c_pcm_dai_probe(struct snd_soc_dai *dai) dai 440 sound/soc/samsung/pcm.c struct s3c_pcm_info *pcm = snd_soc_dai_get_drvdata(dai); dai 442 sound/soc/samsung/pcm.c snd_soc_dai_init_dma_data(dai, pcm->dma_playback, pcm->dma_capture); dai 296 sound/soc/samsung/s3c-i2s-v2.c struct snd_soc_dai *dai) dai 298 sound/soc/samsung/s3c-i2s-v2.c struct s3c_i2sv2_info *i2s = to_info(dai); dai 309 sound/soc/samsung/s3c-i2s-v2.c snd_soc_dai_set_dma_data(dai, substream, dma_data); dai 380 sound/soc/samsung/s3c-i2s-v2.c struct snd_soc_dai *dai) dai 527 sound/soc/samsung/s3c-i2s-v2.c struct snd_soc_dai *dai) dai 529 sound/soc/samsung/s3c-i2s-v2.c struct s3c_i2sv2_info *i2s = to_info(dai); dai 618 sound/soc/samsung/s3c-i2s-v2.c int s3c_i2sv2_probe(struct snd_soc_dai *dai, dai 622 sound/soc/samsung/s3c-i2s-v2.c struct device *dev = dai->dev; dai 628 sound/soc/samsung/s3c-i2s-v2.c snd_soc_dai_set_drvdata(dai, i2s); dai 650 sound/soc/samsung/s3c-i2s-v2.c void s3c_i2sv2_cleanup(struct snd_soc_dai *dai, dai 660 sound/soc/samsung/s3c-i2s-v2.c static int s3c2412_i2s_suspend(struct snd_soc_dai *dai) dai 662 sound/soc/samsung/s3c-i2s-v2.c struct s3c_i2sv2_info *i2s = to_info(dai); dai 665 sound/soc/samsung/s3c-i2s-v2.c if (dai->active) { dai 687 sound/soc/samsung/s3c-i2s-v2.c static int s3c2412_i2s_resume(struct snd_soc_dai *dai) dai 689 sound/soc/samsung/s3c-i2s-v2.c struct s3c_i2sv2_info *i2s = to_info(dai); dai 692 sound/soc/samsung/s3c-i2s-v2.c dai->active, i2s->suspend_iismod, i2s->suspend_iiscon); dai 694 sound/soc/samsung/s3c-i2s-v2.c if (dai->active) { dai 85 sound/soc/samsung/s3c-i2s-v2.h extern int s3c_i2sv2_probe(struct snd_soc_dai *dai, dai 94 sound/soc/samsung/s3c-i2s-v2.h extern void s3c_i2sv2_cleanup(struct snd_soc_dai *dai, dai 43 sound/soc/samsung/s3c2412-i2s.c static int s3c2412_i2s_probe(struct snd_soc_dai *dai) dai 49 sound/soc/samsung/s3c2412-i2s.c snd_soc_dai_init_dma_data(dai, &s3c2412_i2s_pcm_stereo_out, dai 52 sound/soc/samsung/s3c2412-i2s.c ret = s3c_i2sv2_probe(dai, &s3c2412_i2s, S3C2410_PA_IIS); dai 59 sound/soc/samsung/s3c2412-i2s.c s3c2412_i2s.iis_cclk = devm_clk_get(dai->dev, "i2sclk"); dai 80 sound/soc/samsung/s3c2412-i2s.c s3c_i2sv2_cleanup(dai, &s3c2412_i2s); dai 85 sound/soc/samsung/s3c2412-i2s.c static int s3c2412_i2s_remove(struct snd_soc_dai *dai) dai 88 sound/soc/samsung/s3c2412-i2s.c s3c_i2sv2_cleanup(dai, &s3c2412_i2s); dai 205 sound/soc/samsung/s3c24xx-i2s.c struct snd_soc_dai *dai) dai 210 sound/soc/samsung/s3c24xx-i2s.c dma_data = snd_soc_dai_get_dma_data(dai, substream); dai 236 sound/soc/samsung/s3c24xx-i2s.c struct snd_soc_dai *dai) dai 336 sound/soc/samsung/s3c24xx-i2s.c static int s3c24xx_i2s_probe(struct snd_soc_dai *dai) dai 339 sound/soc/samsung/s3c24xx-i2s.c snd_soc_dai_init_dma_data(dai, &s3c24xx_i2s_pcm_stereo_out, dai 342 sound/soc/samsung/s3c24xx-i2s.c s3c24xx_i2s.iis_clk = devm_clk_get(dai->dev, "iis"); dai 136 sound/soc/samsung/spdif.c struct snd_soc_dai *dai) dai 274 sound/soc/samsung/spdif.c struct snd_soc_dai *dai) dai 134 sound/soc/samsung/speyside.c struct snd_soc_dai *dai = rtd->codec_dai; dai 137 sound/soc/samsung/speyside.c ret = snd_soc_dai_set_sysclk(dai, 0, MCLK_AUDIO_RATE, 0); dai 146 sound/soc/samsung/speyside.c struct snd_soc_dai *dai = rtd->codec_dai; dai 147 sound/soc/samsung/speyside.c struct snd_soc_component *component = dai->component; dai 150 sound/soc/samsung/speyside.c ret = snd_soc_dai_set_sysclk(dai, WM8996_SYSCLK_MCLK2, 32768, 0); dai 414 sound/soc/sh/fsi.c static struct fsi_priv *fsi_get_priv_frm_dai(struct snd_soc_dai *dai) dai 416 sound/soc/sh/fsi.c struct fsi_master *master = snd_soc_dai_get_drvdata(dai); dai 418 sound/soc/sh/fsi.c if (dai->id == 0) dai 542 sound/soc/sh/fsi.c struct snd_soc_dai *dai = fsi_get_dai(io->substream); dai 549 sound/soc/sh/fsi.c dev_err(dai->dev, "over_run = %d\n", io->oerr_num); dai 552 sound/soc/sh/fsi.c dev_err(dai->dev, "under_run = %d\n", io->uerr_num); dai 1286 sound/soc/sh/fsi.c struct snd_soc_dai *dai = fsi_get_dai(io->substream); dai 1305 sound/soc/sh/fsi.c dev_err(dai->dev, "dmaengine_prep_dma_cyclic() fail\n"); dai 1313 sound/soc/sh/fsi.c dev_err(dai->dev, "tx_submit() fail\n"); dai 1554 sound/soc/sh/fsi.c struct snd_soc_dai *dai) dai 1564 sound/soc/sh/fsi.c struct snd_soc_dai *dai) dai 1572 sound/soc/sh/fsi.c struct snd_soc_dai *dai) dai 1582 sound/soc/sh/fsi.c ret = fsi_hw_startup(fsi, io, dai->dev); dai 1590 sound/soc/sh/fsi.c ret = fsi_hw_shutdown(fsi, dai->dev); dai 1630 sound/soc/sh/fsi.c static int fsi_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 1632 sound/soc/sh/fsi.c struct fsi_priv *fsi = fsi_get_priv_frm_dai(dai); dai 1669 sound/soc/sh/fsi.c fsi_clk_init(dai->dev, fsi, 0, 1, 1, dai 1672 sound/soc/sh/fsi.c fsi_clk_init(dai->dev, fsi, 1, 1, 0, dai 1687 sound/soc/sh/fsi.c struct snd_soc_dai *dai) dai 237 sound/soc/sh/hac.c struct snd_soc_dai *dai) dai 239 sound/soc/sh/hac.c struct hac_priv *hac = &hac_cpu_data[dai->id]; dai 663 sound/soc/sh/rcar/core.c #define rsnd_dai_to_priv(dai) snd_soc_dai_get_drvdata(dai) dai 664 sound/soc/sh/rcar/core.c static struct rsnd_dai *rsnd_dai_to_rdai(struct snd_soc_dai *dai) dai 666 sound/soc/sh/rcar/core.c struct rsnd_priv *priv = rsnd_dai_to_priv(dai); dai 668 sound/soc/sh/rcar/core.c return rsnd_rdai_get(priv, dai->id); dai 718 sound/soc/sh/rcar/core.c struct snd_soc_dai *dai) dai 720 sound/soc/sh/rcar/core.c struct rsnd_priv *priv = rsnd_dai_to_priv(dai); dai 721 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 763 sound/soc/sh/rcar/core.c static int rsnd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 765 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 825 sound/soc/sh/rcar/core.c static int rsnd_soc_set_dai_tdm_slot(struct snd_soc_dai *dai, dai 829 sound/soc/sh/rcar/core.c struct rsnd_priv *priv = rsnd_dai_to_priv(dai); dai 830 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 974 sound/soc/sh/rcar/core.c struct snd_soc_dai *dai) dai 976 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 1028 sound/soc/sh/rcar/core.c struct snd_soc_dai *dai) dai 1030 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 1043 sound/soc/sh/rcar/core.c struct snd_soc_dai *dai) dai 1045 sound/soc/sh/rcar/core.c struct rsnd_priv *priv = rsnd_dai_to_priv(dai); dai 1046 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 1229 sound/soc/sh/rcar/core.c struct snd_soc_dai *dai) dai 1231 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 1396 sound/soc/sh/rcar/core.c struct snd_soc_dai *dai = rsnd_substream_to_dai(substream); dai 1397 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 1443 sound/soc/sh/rcar/core.c struct snd_soc_dai *dai = rsnd_substream_to_dai(substream); dai 1444 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 1457 sound/soc/sh/rcar/core.c struct snd_soc_dai *dai = rsnd_substream_to_dai(substream); dai 1458 sound/soc/sh/rcar/core.c struct rsnd_dai *rdai = rsnd_dai_to_rdai(dai); dai 494 sound/soc/sh/siu_dai.c struct snd_soc_dai *dai) dai 496 sound/soc/sh/siu_dai.c struct siu_info *info = snd_soc_dai_get_drvdata(dai); dai 516 sound/soc/sh/siu_dai.c struct snd_soc_dai *dai) dai 518 sound/soc/sh/siu_dai.c struct siu_info *info = snd_soc_dai_get_drvdata(dai); dai 541 sound/soc/sh/siu_dai.c struct snd_soc_dai *dai) dai 543 sound/soc/sh/siu_dai.c struct siu_info *info = snd_soc_dai_get_drvdata(dai); dai 589 sound/soc/sh/siu_dai.c static int siu_dai_set_fmt(struct snd_soc_dai *dai, dai 592 sound/soc/sh/siu_dai.c struct siu_info *info = snd_soc_dai_get_drvdata(dai); dai 596 sound/soc/sh/siu_dai.c dev_dbg(dai->dev, "%s: fmt 0x%x on port %d\n", dai 625 sound/soc/sh/siu_dai.c static int siu_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 635 sound/soc/sh/siu_dai.c dev_dbg(dai->dev, "%s: using clock %d\n", __func__, clk_id); dai 658 sound/soc/sh/siu_dai.c siu_clk = clk_get(dai->dev, siu_name); dai 660 sound/soc/sh/siu_dai.c dev_err(dai->dev, "%s: cannot get a SIU clock: %ld\n", __func__, dai 665 sound/soc/sh/siu_dai.c parent_clk = clk_get(dai->dev, parent_name); dai 668 sound/soc/sh/siu_dai.c dev_err(dai->dev, "cannot get a SIU clock parent: %d\n", ret); dai 674 sound/soc/sh/siu_dai.c dev_err(dai->dev, "cannot reparent the SIU clock: %d\n", ret); dai 680 sound/soc/sh/siu_dai.c dev_err(dai->dev, "cannot set SIU clock rate: %d\n", ret); dai 90 sound/soc/sh/ssi.c struct snd_soc_dai *dai) dai 92 sound/soc/sh/ssi.c struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; dai 102 sound/soc/sh/ssi.c struct snd_soc_dai *dai) dai 104 sound/soc/sh/ssi.c struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; dai 110 sound/soc/sh/ssi.c struct snd_soc_dai *dai) dai 112 sound/soc/sh/ssi.c struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; dai 130 sound/soc/sh/ssi.c struct snd_soc_dai *dai) dai 132 sound/soc/sh/ssi.c struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; dai 222 sound/soc/sh/ssi.c static int ssi_set_clkdiv(struct snd_soc_dai *dai, int did, int div) dai 224 sound/soc/sh/ssi.c struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; dai 245 sound/soc/sh/ssi.c static int ssi_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 247 sound/soc/sh/ssi.c struct ssi_priv *ssi = &ssi_cpu_data[dai->id]; dai 18 sound/soc/sirf/sirf-audio-port.c static int sirf_audio_port_dai_probe(struct snd_soc_dai *dai) dai 20 sound/soc/sirf/sirf-audio-port.c struct sirf_audio_port *port = snd_soc_dai_get_drvdata(dai); dai 22 sound/soc/sirf/sirf-audio-port.c snd_soc_dai_init_dma_data(dai, &port->playback_dma_data, dai 70 sound/soc/sirf/sirf-usp.c static int sirf_usp_pcm_dai_probe(struct snd_soc_dai *dai) dai 72 sound/soc/sirf/sirf-usp.c struct sirf_usp *usp = snd_soc_dai_get_drvdata(dai); dai 74 sound/soc/sirf/sirf-usp.c snd_soc_dai_init_dma_data(dai, &usp->playback_dma_data, dai 79 sound/soc/sirf/sirf-usp.c static int sirf_usp_pcm_set_dai_fmt(struct snd_soc_dai *dai, dai 82 sound/soc/sirf/sirf-usp.c struct sirf_usp *usp = snd_soc_dai_get_drvdata(dai); dai 89 sound/soc/sirf/sirf-usp.c dev_err(dai->dev, "Only CBM and CFM supported\n"); dai 99 sound/soc/sirf/sirf-usp.c dev_err(dai->dev, "Only I2S and DSP_A format supported\n"); dai 165 sound/soc/sirf/sirf-usp.c struct snd_pcm_hw_params *params, struct snd_soc_dai *dai) dai 167 sound/soc/sirf/sirf-usp.c struct sirf_usp *usp = snd_soc_dai_get_drvdata(dai); dai 184 sound/soc/sirf/sirf-usp.c dev_err(dai->dev, "Format unsupported\n"); dai 202 sound/soc/sirf/sirf-usp.c dev_err(dai->dev, "Only support I2S and DSP_A mode\n"); dai 239 sound/soc/sirf/sirf-usp.c struct snd_soc_dai *dai) dai 241 sound/soc/sirf/sirf-usp.c struct sirf_usp *usp = snd_soc_dai_get_drvdata(dai); dai 185 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 190 sound/soc/soc-core.c for_each_component_dais(component, dai) dai 191 sound/soc/soc-core.c seq_printf(m, "%s\n", dai->name); dai 458 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 463 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, dai) { dai 464 sound/soc/soc-core.c if (dai->playback_active) dai 465 sound/soc/soc-core.c snd_soc_dai_digital_mute(dai, 1, dai 630 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 635 sound/soc/soc-core.c for_each_rtd_codec_dai(rtd, i, dai) { dai 636 sound/soc/soc-core.c if (dai->playback_active) dai 637 sound/soc/soc-core.c snd_soc_dai_digital_mute(dai, 0, dai 799 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 807 sound/soc/soc-core.c for_each_component_dais(component, dai) { dai 808 sound/soc/soc-core.c if (dlc->dai_name && strcmp(dai->name, dlc->dai_name) dai 809 sound/soc/soc-core.c && (!dai->driver->name dai 810 sound/soc/soc-core.c || strcmp(dai->driver->name, dlc->dai_name))) dai 813 sound/soc/soc-core.c return dai; dai 1003 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 1040 sound/soc/soc-core.c for_each_component_dais(component, dai) { dai 1041 sound/soc/soc-core.c ret = snd_soc_dapm_new_dai_widgets(dapm, dai); dai 1102 sound/soc/soc-core.c static void soc_remove_dai(struct snd_soc_dai *dai, int order) dai 1106 sound/soc/soc-core.c if (!dai || !dai->probed || !dai->driver || dai 1107 sound/soc/soc-core.c dai->driver->remove_order != order) dai 1110 sound/soc/soc-core.c err = snd_soc_dai_remove(dai); dai 1112 sound/soc/soc-core.c dev_err(dai->dev, dai 1114 sound/soc/soc-core.c dai->name, err); dai 1116 sound/soc/soc-core.c dai->probed = 0; dai 1119 sound/soc/soc-core.c static int soc_probe_dai(struct snd_soc_dai *dai, int order) dai 1123 sound/soc/soc-core.c if (dai->probed || dai 1124 sound/soc/soc-core.c dai->driver->probe_order != order) dai 1127 sound/soc/soc-core.c ret = snd_soc_dai_probe(dai); dai 1129 sound/soc/soc-core.c dev_err(dai->dev, "ASoC: failed to probe DAI %s: %d\n", dai 1130 sound/soc/soc-core.c dai->name, ret); dai 1134 sound/soc/soc-core.c dai->probed = 1; dai 2364 sound/soc/soc-core.c int snd_soc_add_dai_controls(struct snd_soc_dai *dai, dai 2367 sound/soc/soc-core.c struct snd_card *card = dai->component->card->snd_card; dai 2369 sound/soc/soc-core.c return snd_soc_add_controls(card, dai->dev, controls, num_controls, dai 2370 sound/soc/soc-core.c NULL, dai); dai 2540 sound/soc/soc-core.c struct snd_soc_dai *dai, *_dai; dai 2542 sound/soc/soc-core.c for_each_component_dais_safe(component, dai, _dai) { dai 2544 sound/soc/soc-core.c dai->name); dai 2545 sound/soc/soc-core.c list_del(&dai->list); dai 2546 sound/soc/soc-core.c kfree(dai->name); dai 2547 sound/soc/soc-core.c kfree(dai); dai 2557 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 2561 sound/soc/soc-core.c dai = kzalloc(sizeof(struct snd_soc_dai), GFP_KERNEL); dai 2562 sound/soc/soc-core.c if (dai == NULL) dai 2575 sound/soc/soc-core.c dai->name = fmt_single_name(dev, &dai->id); dai 2577 sound/soc/soc-core.c dai->name = fmt_multiple_name(dev, dai_drv); dai 2579 sound/soc/soc-core.c dai->id = dai_drv->id; dai 2581 sound/soc/soc-core.c dai->id = component->num_dai; dai 2583 sound/soc/soc-core.c if (dai->name == NULL) { dai 2584 sound/soc/soc-core.c kfree(dai); dai 2588 sound/soc/soc-core.c dai->component = component; dai 2589 sound/soc/soc-core.c dai->dev = dev; dai 2590 sound/soc/soc-core.c dai->driver = dai_drv; dai 2591 sound/soc/soc-core.c if (!dai->driver->ops) dai 2592 sound/soc/soc-core.c dai->driver->ops = &null_dai_ops; dai 2595 sound/soc/soc-core.c list_add_tail(&dai->list, &component->dai_list); dai 2598 sound/soc/soc-core.c dev_dbg(dev, "ASoC: Registered DAI '%s'\n", dai->name); dai 2599 sound/soc/soc-core.c return dai; dai 2614 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 2622 sound/soc/soc-core.c dai = soc_add_dai(component, dai_drv + i, count == 1 && dai 2624 sound/soc/soc-core.c if (dai == NULL) { dai 2653 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 2663 sound/soc/soc-core.c dai = soc_add_dai(component, dai_drv, false); dai 2664 sound/soc/soc-core.c if (!dai) dai 2671 sound/soc/soc-core.c ret = snd_soc_dapm_new_dai_widgets(dapm, dai); dai 3354 sound/soc/soc-core.c struct snd_soc_dai *dai; dai 3377 sound/soc/soc-core.c for_each_component_dais(pos, dai) { dai 3383 sound/soc/soc-core.c *dai_name = dai->driver->name; dai 21 sound/soc/soc-dai.c int snd_soc_dai_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 24 sound/soc/soc-dai.c if (dai->driver->ops->set_sysclk) dai 25 sound/soc/soc-dai.c return dai->driver->ops->set_sysclk(dai, clk_id, freq, dir); dai 27 sound/soc/soc-dai.c return snd_soc_component_set_sysclk(dai->component, clk_id, 0, dai 42 sound/soc/soc-dai.c int snd_soc_dai_set_clkdiv(struct snd_soc_dai *dai, dai 45 sound/soc/soc-dai.c if (dai->driver->ops->set_clkdiv) dai 46 sound/soc/soc-dai.c return dai->driver->ops->set_clkdiv(dai, div_id, div); dai 62 sound/soc/soc-dai.c int snd_soc_dai_set_pll(struct snd_soc_dai *dai, int pll_id, int source, dai 65 sound/soc/soc-dai.c if (dai->driver->ops->set_pll) dai 66 sound/soc/soc-dai.c return dai->driver->ops->set_pll(dai, pll_id, source, dai 69 sound/soc/soc-dai.c return snd_soc_component_set_pll(dai->component, pll_id, source, dai 81 sound/soc/soc-dai.c int snd_soc_dai_set_bclk_ratio(struct snd_soc_dai *dai, unsigned int ratio) dai 83 sound/soc/soc-dai.c if (dai->driver->ops->set_bclk_ratio) dai 84 sound/soc/soc-dai.c return dai->driver->ops->set_bclk_ratio(dai, ratio); dai 97 sound/soc/soc-dai.c int snd_soc_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 99 sound/soc/soc-dai.c if (dai->driver->ops->set_fmt == NULL) dai 101 sound/soc/soc-dai.c return dai->driver->ops->set_fmt(dai, fmt); dai 152 sound/soc/soc-dai.c int snd_soc_dai_set_tdm_slot(struct snd_soc_dai *dai, dai 156 sound/soc/soc-dai.c if (dai->driver->ops->xlate_tdm_slot_mask) dai 157 sound/soc/soc-dai.c dai->driver->ops->xlate_tdm_slot_mask(slots, dai 162 sound/soc/soc-dai.c dai->tx_mask = tx_mask; dai 163 sound/soc/soc-dai.c dai->rx_mask = rx_mask; dai 165 sound/soc/soc-dai.c if (dai->driver->ops->set_tdm_slot) dai 166 sound/soc/soc-dai.c return dai->driver->ops->set_tdm_slot(dai, tx_mask, rx_mask, dai 185 sound/soc/soc-dai.c int snd_soc_dai_set_channel_map(struct snd_soc_dai *dai, dai 189 sound/soc/soc-dai.c if (dai->driver->ops->set_channel_map) dai 190 sound/soc/soc-dai.c return dai->driver->ops->set_channel_map(dai, tx_num, tx_slot, dai 207 sound/soc/soc-dai.c int snd_soc_dai_get_channel_map(struct snd_soc_dai *dai, dai 211 sound/soc/soc-dai.c if (dai->driver->ops->get_channel_map) dai 212 sound/soc/soc-dai.c return dai->driver->ops->get_channel_map(dai, tx_num, tx_slot, dai 226 sound/soc/soc-dai.c int snd_soc_dai_set_tristate(struct snd_soc_dai *dai, int tristate) dai 228 sound/soc/soc-dai.c if (dai->driver->ops->set_tristate) dai 229 sound/soc/soc-dai.c return dai->driver->ops->set_tristate(dai, tristate); dai 243 sound/soc/soc-dai.c int snd_soc_dai_digital_mute(struct snd_soc_dai *dai, int mute, dai 246 sound/soc/soc-dai.c if (dai->driver->ops->mute_stream) dai 247 sound/soc/soc-dai.c return dai->driver->ops->mute_stream(dai, mute, direction); dai 249 sound/soc/soc-dai.c dai->driver->ops->digital_mute) dai 250 sound/soc/soc-dai.c return dai->driver->ops->digital_mute(dai, mute); dai 256 sound/soc/soc-dai.c int snd_soc_dai_hw_params(struct snd_soc_dai *dai, dai 274 sound/soc/soc-dai.c if (dai->driver->ops->hw_params) { dai 275 sound/soc/soc-dai.c ret = dai->driver->ops->hw_params(substream, params, dai); dai 277 sound/soc/soc-dai.c dev_err(dai->dev, "ASoC: can't set %s hw params: %d\n", dai 278 sound/soc/soc-dai.c dai->name, ret); dai 286 sound/soc/soc-dai.c void snd_soc_dai_hw_free(struct snd_soc_dai *dai, dai 289 sound/soc/soc-dai.c if (dai->driver->ops->hw_free) dai 290 sound/soc/soc-dai.c dai->driver->ops->hw_free(substream, dai); dai 293 sound/soc/soc-dai.c int snd_soc_dai_startup(struct snd_soc_dai *dai, dai 298 sound/soc/soc-dai.c if (dai->driver->ops->startup) dai 299 sound/soc/soc-dai.c ret = dai->driver->ops->startup(substream, dai); dai 304 sound/soc/soc-dai.c void snd_soc_dai_shutdown(struct snd_soc_dai *dai, dai 307 sound/soc/soc-dai.c if (dai->driver->ops->shutdown) dai 308 sound/soc/soc-dai.c dai->driver->ops->shutdown(substream, dai); dai 311 sound/soc/soc-dai.c int snd_soc_dai_prepare(struct snd_soc_dai *dai, dai 316 sound/soc/soc-dai.c if (dai->driver->ops->prepare) dai 317 sound/soc/soc-dai.c ret = dai->driver->ops->prepare(substream, dai); dai 322 sound/soc/soc-dai.c int snd_soc_dai_trigger(struct snd_soc_dai *dai, dai 328 sound/soc/soc-dai.c if (dai->driver->ops->trigger) dai 329 sound/soc/soc-dai.c ret = dai->driver->ops->trigger(substream, cmd, dai); dai 334 sound/soc/soc-dai.c int snd_soc_dai_bespoke_trigger(struct snd_soc_dai *dai, dai 340 sound/soc/soc-dai.c if (dai->driver->ops->bespoke_trigger) dai 341 sound/soc/soc-dai.c ret = dai->driver->ops->bespoke_trigger(substream, cmd, dai); dai 346 sound/soc/soc-dai.c snd_pcm_sframes_t snd_soc_dai_delay(struct snd_soc_dai *dai, dai 351 sound/soc/soc-dai.c if (dai->driver->ops->delay) dai 352 sound/soc/soc-dai.c delay = dai->driver->ops->delay(substream, dai); dai 357 sound/soc/soc-dai.c void snd_soc_dai_suspend(struct snd_soc_dai *dai) dai 359 sound/soc/soc-dai.c if (dai->driver->suspend) dai 360 sound/soc/soc-dai.c dai->driver->suspend(dai); dai 363 sound/soc/soc-dai.c void snd_soc_dai_resume(struct snd_soc_dai *dai) dai 365 sound/soc/soc-dai.c if (dai->driver->resume) dai 366 sound/soc/soc-dai.c dai->driver->resume(dai); dai 369 sound/soc/soc-dai.c int snd_soc_dai_probe(struct snd_soc_dai *dai) dai 371 sound/soc/soc-dai.c if (dai->driver->probe) dai 372 sound/soc/soc-dai.c return dai->driver->probe(dai); dai 376 sound/soc/soc-dai.c int snd_soc_dai_remove(struct snd_soc_dai *dai) dai 378 sound/soc/soc-dai.c if (dai->driver->remove) dai 379 sound/soc/soc-dai.c return dai->driver->remove(dai); dai 383 sound/soc/soc-dai.c int snd_soc_dai_compress_new(struct snd_soc_dai *dai, dai 386 sound/soc/soc-dai.c if (dai->driver->compress_new) dai 387 sound/soc/soc-dai.c return dai->driver->compress_new(rtd, num); dai 396 sound/soc/soc-dai.c bool snd_soc_dai_stream_valid(struct snd_soc_dai *dai, int dir) dai 401 sound/soc/soc-dai.c stream = &dai->driver->playback; dai 403 sound/soc/soc-dai.c stream = &dai->driver->capture; dai 1295 sound/soc/soc-dapm.c int snd_soc_dapm_dai_get_connected_widgets(struct snd_soc_dai *dai, int stream, dai 1300 sound/soc/soc-dapm.c struct snd_soc_card *card = dai->component->card; dai 1309 sound/soc/soc-dapm.c w = dai->playback_widget; dai 1314 sound/soc/soc-dapm.c w = dai->capture_widget; dai 2639 sound/soc/soc-dapm.c struct snd_soc_dai *dai) dai 2648 sound/soc/soc-dapm.c w = dai->playback_widget; dai 2650 sound/soc/soc-dapm.c w = dai->capture_widget; dai 2655 sound/soc/soc-dapm.c dev_dbg(dai->dev, "Update DAI routes for %s %s\n", dai->name, dai 2675 sound/soc/soc-dapm.c struct snd_soc_dai *dai) dai 2681 sound/soc/soc-dapm.c ret = dapm_update_dai_unlocked(substream, params, dai); dai 4193 sound/soc/soc-dapm.c struct snd_soc_dai *dai) dai 4198 sound/soc/soc-dapm.c WARN_ON(dapm->dev != dai->dev); dai 4203 sound/soc/soc-dapm.c if (dai->driver->playback.stream_name) { dai 4205 sound/soc/soc-dapm.c template.name = dai->driver->playback.stream_name; dai 4206 sound/soc/soc-dapm.c template.sname = dai->driver->playback.stream_name; dai 4208 sound/soc/soc-dapm.c dev_dbg(dai->dev, "ASoC: adding %s widget\n", dai 4215 sound/soc/soc-dapm.c w->priv = dai; dai 4216 sound/soc/soc-dapm.c dai->playback_widget = w; dai 4219 sound/soc/soc-dapm.c if (dai->driver->capture.stream_name) { dai 4221 sound/soc/soc-dapm.c template.name = dai->driver->capture.stream_name; dai 4222 sound/soc/soc-dapm.c template.sname = dai->driver->capture.stream_name; dai 4224 sound/soc/soc-dapm.c dev_dbg(dai->dev, "ASoC: adding %s widget\n", dai 4231 sound/soc/soc-dapm.c w->priv = dai; dai 4232 sound/soc/soc-dapm.c dai->capture_widget = w; dai 4242 sound/soc/soc-dapm.c struct snd_soc_dai *dai; dai 4261 sound/soc/soc-dapm.c dai = dai_w->priv; dai 4286 sound/soc/soc-dapm.c dev_dbg(dai->dev, "%s -> %s\n", src->name, sink->name); dai 4376 sound/soc/soc-dapm.c static void soc_dapm_dai_stream_event(struct snd_soc_dai *dai, int stream, dai 4383 sound/soc/soc-dapm.c w = dai->playback_widget; dai 4385 sound/soc/soc-dapm.c w = dai->capture_widget; dai 1257 sound/soc/soc-pcm.c struct snd_soc_dai *dai; dai 1275 sound/soc/soc-pcm.c for_each_rtd_codec_dai(be, i, dai) { dai 1276 sound/soc/soc-pcm.c if (dai->playback_widget == widget) dai 1294 sound/soc/soc-pcm.c for_each_rtd_codec_dai(be, i, dai) { dai 1295 sound/soc/soc-pcm.c if (dai->capture_widget == widget) dai 1308 sound/soc/soc-pcm.c dai_get_widget(struct snd_soc_dai *dai, int stream) dai 1311 sound/soc/soc-pcm.c return dai->playback_widget; dai 1313 sound/soc/soc-pcm.c return dai->capture_widget; dai 1334 sound/soc/soc-pcm.c struct snd_soc_dai *dai; dai 1345 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, dai) { dai 1346 sound/soc/soc-pcm.c if (dai->playback_widget == widget) dai 1358 sound/soc/soc-pcm.c for_each_rtd_codec_dai(rtd, i, dai) { dai 1359 sound/soc/soc-pcm.c if (dai->capture_widget == widget) dai 1390 sound/soc/soc-pcm.c struct snd_soc_dai *dai; dai 1407 sound/soc/soc-pcm.c for_each_rtd_codec_dai(dpcm->be, i, dai) { dai 1408 sound/soc/soc-pcm.c widget = dai_get_widget(dai, stream); dai 1647 sound/soc/soc-pcm.c struct snd_soc_dai *dai; dai 1664 sound/soc/soc-pcm.c for_each_rtd_codec_dai(be, i, dai) { dai 1669 sound/soc/soc-pcm.c if (!snd_soc_dai_stream_valid(dai, stream)) dai 1672 sound/soc/soc-pcm.c codec_dai_drv = dai->driver; dai 1757 sound/soc/soc-pcm.c struct snd_soc_dai *dai; dai 1769 sound/soc/soc-pcm.c for_each_rtd_codec_dai(be, i, dai) { dai 1774 sound/soc/soc-pcm.c if (!snd_soc_dai_stream_valid(dai, stream)) dai 1777 sound/soc/soc-pcm.c codec_dai_drv = dai->driver; dai 2779 sound/soc/soc-pcm.c struct snd_soc_dai *dai; dai 2789 sound/soc/soc-pcm.c for_each_rtd_codec_dai(be, i, dai) { dai 2790 sound/soc/soc-pcm.c struct snd_soc_dai_driver *drv = dai->driver; dai 2796 sound/soc/soc-pcm.c dai->playback_active) dai 2797 sound/soc/soc-pcm.c drv->ops->digital_mute(dai, mute); dai 308 sound/soc/soc-topology.c struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai) dai 312 sound/soc/soc-topology.c pcm, dai); dai 519 sound/soc/soc-topology.c struct snd_soc_dai *dai; dai 527 sound/soc/soc-topology.c for_each_component_dais(comp, dai) dai 528 sound/soc/soc-topology.c if (dai->driver == dai_drv) dai 529 sound/soc/soc-topology.c dai->driver = NULL; dai 2375 sound/soc/soc-topology.c struct snd_soc_dai *dai; dai 2384 sound/soc/soc-topology.c dai = snd_soc_find_dai(&dai_component); dai 2385 sound/soc/soc-topology.c if (!dai) { dai 2391 sound/soc/soc-topology.c if (le32_to_cpu(d->dai_id) != dai->id) { dai 2397 sound/soc/soc-topology.c dai_drv = dai->driver; dai 2419 sound/soc/soc-topology.c ret = soc_tplg_dai_load(tplg, dai_drv, NULL, dai); dai 2432 sound/soc/soc-topology.c struct snd_soc_tplg_dai *dai; dai 2443 sound/soc/soc-topology.c dai = (struct snd_soc_tplg_dai *)tplg->pos; dai 2444 sound/soc/soc-topology.c if (le32_to_cpu(dai->size) != sizeof(*dai)) { dai 2449 sound/soc/soc-topology.c ret = soc_tplg_dai_config(tplg, dai); dai 2455 sound/soc/soc-topology.c tplg->pos += (sizeof(*dai) + le32_to_cpu(dai->priv.size)); dai 130 sound/soc/soc-utils.c int snd_soc_dai_is_dummy(struct snd_soc_dai *dai) dai 132 sound/soc/soc-utils.c if (dai->driver == &dummy_dai) dai 120 sound/soc/sof/core.c struct snd_sof_dai *dai; dai 122 sound/soc/sof/core.c list_for_each_entry(dai, &sdev->dai_list, list) { dai 123 sound/soc/sof/core.c if (dai->name && (strcmp(name, dai->name) == 0)) dai 124 sound/soc/sof/core.c return dai; dai 200 sound/soc/sof/intel/hda-dai.c struct snd_soc_dai *dai) dai 214 sound/soc/sof/intel/hda-dai.c link_dev = snd_soc_dai_get_dma_data(dai, substream); dai 220 sound/soc/sof/intel/hda-dai.c snd_soc_dai_set_dma_data(dai, substream, (void *)link_dev); dai 228 sound/soc/sof/intel/hda-dai.c ret = hda_link_config_ipc(hda_stream, dai->name, stream_tag - 1, dai 260 sound/soc/sof/intel/hda-dai.c struct snd_soc_dai *dai) dai 263 sound/soc/sof/intel/hda-dai.c snd_soc_dai_get_dma_data(dai, substream); dai 265 sound/soc/sof/intel/hda-dai.c snd_soc_component_get_drvdata(dai->component); dai 275 sound/soc/sof/intel/hda-dai.c dai); dai 279 sound/soc/sof/intel/hda-dai.c int cmd, struct snd_soc_dai *dai) dai 282 sound/soc/sof/intel/hda-dai.c snd_soc_dai_get_dma_data(dai, substream); dai 301 sound/soc/sof/intel/hda-dai.c dev_dbg(dai->dev, "In %s cmd=%d\n", __func__, cmd); dai 305 sound/soc/sof/intel/hda-dai.c ret = hda_link_pcm_prepare(substream, dai); dai 307 sound/soc/sof/intel/hda-dai.c dev_err(dai->dev, dai 323 sound/soc/sof/intel/hda-dai.c ret = hda_link_config_ipc(hda_stream, dai->name, dai 346 sound/soc/sof/intel/hda-dai.c struct snd_soc_dai *dai) dai 360 sound/soc/sof/intel/hda-dai.c link_dev = snd_soc_dai_get_dma_data(dai, substream); dai 363 sound/soc/sof/intel/hda-dai.c dev_dbg(dai->dev, dai 371 sound/soc/sof/intel/hda-dai.c ret = hda_link_config_ipc(hda_stream, dai->name, DMA_CHAN_INVALID, dai 385 sound/soc/sof/intel/hda-dai.c snd_soc_dai_set_dma_data(dai, substream, NULL); dai 405 sound/soc/sof/pcm.c snd_pcm_uframes_t host, dai; dai 422 sound/soc/sof/pcm.c dai = bytes_to_frames(substream->runtime, dai 426 sound/soc/sof/pcm.c spcm->pcm.pcm_id, substream->stream, host, dai); dai 625 sound/soc/sof/pcm.c struct snd_sof_dai *dai = dai 629 sound/soc/sof/pcm.c if (!dai) { dai 649 sound/soc/sof/pcm.c switch (dai->comp_dai.config.frame_fmt) { dai 665 sound/soc/sof/pcm.c switch (dai->dai_config->type) { dai 667 sound/soc/sof/pcm.c rate->min = dai->dai_config->ssp.fsync_rate; dai 668 sound/soc/sof/pcm.c rate->max = dai->dai_config->ssp.fsync_rate; dai 669 sound/soc/sof/pcm.c channels->min = dai->dai_config->ssp.tdm_slots; dai 670 sound/soc/sof/pcm.c channels->max = dai->dai_config->ssp.tdm_slots; dai 681 sound/soc/sof/pcm.c if (dai->comp_dai.config.frame_fmt == SOF_IPC_FRAME_S24_4LE) { dai 684 sound/soc/sof/pcm.c dai->comp_dai.config.frame_fmt, dai 685 sound/soc/sof/pcm.c dai->dai_config->type); dai 696 sound/soc/sof/pcm.c dai->dai_config->type); dai 67 sound/soc/sof/pm.c struct snd_sof_dai *dai; dai 83 sound/soc/sof/pm.c dai = swidget->private; dai 84 sound/soc/sof/pm.c comp_dai = &dai->comp_dai; dai 146 sound/soc/sof/pm.c list_for_each_entry_reverse(dai, &sdev->dai_list, list) { dai 148 sound/soc/sof/pm.c struct sof_ipc_dai_config *config = dai->dai_config; dai 152 sound/soc/sof/pm.c dai->name); dai 173 sound/soc/sof/pm.c dai->name); dai 1132 sound/soc/sof/topology.c struct snd_sof_dai *dai) dai 1152 sound/soc/sof/topology.c dai->name = rtd->dai_link->name; dai 1158 sound/soc/sof/topology.c dai->name = rtd->dai_link->name; dai 1168 sound/soc/sof/topology.c if (!dai->name) { dai 1181 sound/soc/sof/topology.c struct snd_sof_dai *dai) dai 1222 sound/soc/sof/topology.c if (ret == 0 && dai) { dai 1223 sound/soc/sof/topology.c dai->sdev = sdev; dai 1224 sound/soc/sof/topology.c memcpy(&dai->comp_dai, &comp_dai, sizeof(comp_dai)); dai 2039 sound/soc/sof/topology.c struct snd_sof_dai *dai; dai 2066 sound/soc/sof/topology.c dai = kzalloc(sizeof(*dai), GFP_KERNEL); dai 2067 sound/soc/sof/topology.c if (!dai) { dai 2073 sound/soc/sof/topology.c dai); dai 2075 sound/soc/sof/topology.c sof_connect_dai_widget(scomp, w, tw, dai); dai 2076 sound/soc/sof/topology.c list_add(&dai->list, &sdev->dai_list); dai 2077 sound/soc/sof/topology.c swidget->private = dai; dai 2079 sound/soc/sof/topology.c kfree(dai); dai 2189 sound/soc/sof/topology.c struct snd_sof_dai *dai; dai 2203 sound/soc/sof/topology.c dai = swidget->private; dai 2205 sound/soc/sof/topology.c if (dai) { dai 2207 sound/soc/sof/topology.c kfree(dai->dai_config); dai 2208 sound/soc/sof/topology.c list_del(&dai->list); dai 2271 sound/soc/sof/topology.c struct snd_soc_tplg_pcm *pcm, struct snd_soc_dai *dai) dai 2414 sound/soc/sof/topology.c struct snd_sof_dai *dai; dai 2417 sound/soc/sof/topology.c list_for_each_entry(dai, &sdev->dai_list, list) { dai 2418 sound/soc/sof/topology.c if (!dai->name) dai 2421 sound/soc/sof/topology.c if (strcmp(link->name, dai->name) == 0) { dai 2422 sound/soc/sof/topology.c dai->dai_config = kmemdup(config, size, GFP_KERNEL); dai 2423 sound/soc/sof/topology.c if (!dai->dai_config) dai 2427 sound/soc/sof/topology.c dai->cpu_dai_name = link->cpus->dai_name; dai 2738 sound/soc/sof/topology.c struct snd_soc_dai *dai; dai 2756 sound/soc/sof/topology.c dai = snd_soc_find_dai(link->cpus); dai 2757 sound/soc/sof/topology.c if (!dai) { dai 2931 sound/soc/sof/topology.c struct snd_soc_dai *dai; dai 2934 sound/soc/sof/topology.c dai = snd_soc_find_dai(link->cpus); dai 2935 sound/soc/sof/topology.c if (!dai) { dai 56 sound/soc/spear/spdif_in.c static int spdif_in_dai_probe(struct snd_soc_dai *dai) dai 58 sound/soc/spear/spdif_in.c struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); dai 61 sound/soc/spear/spdif_in.c dai->capture_dma_data = &host->dma_params_rx; dai 67 sound/soc/spear/spdif_in.c struct snd_soc_dai *dai) dai 69 sound/soc/spear/spdif_in.c struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); dai 96 sound/soc/spear/spdif_in.c struct snd_soc_dai *dai) dai 98 sound/soc/spear/spdif_in.c struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); dai 111 sound/soc/spear/spdif_in.c struct snd_soc_dai *dai) dai 113 sound/soc/spear/spdif_in.c struct spdif_in_dev *host = snd_soc_dai_get_drvdata(dai); dai 80 sound/soc/spear/spdif_out.c struct snd_soc_dai *dai) dai 82 sound/soc/spear/spdif_out.c struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); dai 107 sound/soc/spear/spdif_out.c struct snd_soc_dai *dai) dai 109 sound/soc/spear/spdif_out.c struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); dai 152 sound/soc/spear/spdif_out.c struct snd_soc_dai *dai) dai 154 sound/soc/spear/spdif_out.c struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); dai 191 sound/soc/spear/spdif_out.c static int spdif_digital_mute(struct snd_soc_dai *dai, int mute) dai 193 sound/soc/spear/spdif_out.c struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); dai 241 sound/soc/spear/spdif_out.c static int spdif_soc_dai_probe(struct snd_soc_dai *dai) dai 243 sound/soc/spear/spdif_out.c struct spdif_out_dev *host = snd_soc_dai_get_drvdata(dai); dai 246 sound/soc/spear/spdif_out.c dai->playback_dma_data = &host->dma_params_tx; dai 248 sound/soc/spear/spdif_out.c return snd_soc_add_dai_controls(dai, spdif_out_controls, dai 123 sound/soc/sti/sti_uniperif.c int sti_uniperiph_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 127 sound/soc/sti/sti_uniperif.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 255 sound/soc/sti/sti_uniperif.c static int sti_uniperiph_dai_create_ctrl(struct snd_soc_dai *dai) dai 257 sound/soc/sti/sti_uniperif.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 275 sound/soc/sti/sti_uniperif.c return snd_soc_add_dai_controls(dai, uni->snd_ctrls, uni->num_ctrls); dai 283 sound/soc/sti/sti_uniperif.c struct snd_soc_dai *dai) dai 285 sound/soc/sti/sti_uniperif.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 296 sound/soc/sti/sti_uniperif.c dma_data = snd_soc_dai_get_dma_data(dai, substream); dai 302 sound/soc/sti/sti_uniperif.c int sti_uniperiph_dai_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 304 sound/soc/sti/sti_uniperif.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 311 sound/soc/sti/sti_uniperif.c static int sti_uniperiph_dai_suspend(struct snd_soc_dai *dai) dai 313 sound/soc/sti/sti_uniperif.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 333 sound/soc/sti/sti_uniperif.c static int sti_uniperiph_dai_resume(struct snd_soc_dai *dai) dai 335 sound/soc/sti/sti_uniperif.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 354 sound/soc/sti/sti_uniperif.c static int sti_uniperiph_dai_probe(struct snd_soc_dai *dai) dai 356 sound/soc/sti/sti_uniperif.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 361 sound/soc/sti/sti_uniperif.c snd_soc_dai_init_dma_data(dai, &dai_data->dma_data, NULL); dai 363 sound/soc/sti/sti_uniperif.c snd_soc_dai_init_dma_data(dai, NULL, &dai_data->dma_data); dai 368 sound/soc/sti/sti_uniperif.c return sti_uniperiph_dai_create_ctrl(dai); dai 386 sound/soc/sti/sti_uniperif.c struct snd_soc_dai_driver *dai = priv->dai; dai 409 sound/soc/sti/sti_uniperif.c *dai = sti_uniperiph_dai_template; dai 410 sound/soc/sti/sti_uniperif.c dai->name = dev_data->dai_names; dai 447 sound/soc/sti/sti_uniperif.c stream = &dai->playback; dai 450 sound/soc/sti/sti_uniperif.c stream = &dai->capture; dai 455 sound/soc/sti/sti_uniperif.c dai->ops = uni->dai_ops; dai 457 sound/soc/sti/sti_uniperif.c stream->stream_name = dai->name; dai 480 sound/soc/sti/sti_uniperif.c priv->dai = devm_kzalloc(&pdev->dev, sizeof(*priv->dai), GFP_KERNEL); dai 481 sound/soc/sti/sti_uniperif.c if (!priv->dai) dai 492 sound/soc/sti/sti_uniperif.c priv->dai, 1); dai 1347 sound/soc/sti/uniperif.h struct snd_soc_dai_driver *dai; dai 1383 sound/soc/sti/uniperif.h int sti_uniperiph_dai_set_fmt(struct snd_soc_dai *dai, dai 1388 sound/soc/sti/uniperif.h struct snd_soc_dai *dai); dai 1403 sound/soc/sti/uniperif.h int sti_uniperiph_set_tdm_slot(struct snd_soc_dai *dai, unsigned int tx_mask, dai 573 sound/soc/sti/uniperif_player.c struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); dai 574 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 590 sound/soc/sti/uniperif_player.c struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); dai 591 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 641 sound/soc/sti/uniperif_player.c struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); dai 642 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 655 sound/soc/sti/uniperif_player.c struct snd_soc_dai *dai = snd_kcontrol_chip(kcontrol); dai 656 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 692 sound/soc/sti/uniperif_player.c struct snd_soc_dai *dai) dai 694 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 724 sound/soc/sti/uniperif_player.c static int uni_player_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 727 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 747 sound/soc/sti/uniperif_player.c struct snd_soc_dai *dai) dai 749 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 977 sound/soc/sti/uniperif_player.c int cmd, struct snd_soc_dai *dai) dai 979 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 995 sound/soc/sti/uniperif_player.c struct snd_soc_dai *dai) dai 997 sound/soc/sti/uniperif_player.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 187 sound/soc/sti/uniperif_reader.c struct snd_soc_dai *dai) dai 189 sound/soc/sti/uniperif_reader.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 338 sound/soc/sti/uniperif_reader.c int cmd, struct snd_soc_dai *dai) dai 340 sound/soc/sti/uniperif_reader.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 354 sound/soc/sti/uniperif_reader.c struct snd_soc_dai *dai) dai 356 sound/soc/sti/uniperif_reader.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 385 sound/soc/sti/uniperif_reader.c struct snd_soc_dai *dai) dai 387 sound/soc/sti/uniperif_reader.c struct sti_uniperiph_data *priv = snd_soc_dai_get_drvdata(dai); dai 64 sound/soc/stm/stm32_adfsdm.c struct snd_soc_dai *dai) dai 66 sound/soc/stm/stm32_adfsdm.c struct stm32_adfsdm_priv *priv = snd_soc_dai_get_drvdata(dai); dai 77 sound/soc/stm/stm32_adfsdm.c struct snd_soc_dai *dai) dai 79 sound/soc/stm/stm32_adfsdm.c struct stm32_adfsdm_priv *priv = snd_soc_dai_get_drvdata(dai); dai 92 sound/soc/stm/stm32_adfsdm.c dev_err(dai->dev, "%s: Failed to set %d sampling rate\n", dai 102 sound/soc/stm/stm32_adfsdm.c dev_err(dai->dev, "%s: IIO channel start failed (%d)\n", dai 112 sound/soc/stm/stm32_adfsdm.c static int stm32_adfsdm_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 115 sound/soc/stm/stm32_adfsdm.c struct stm32_adfsdm_priv *priv = snd_soc_dai_get_drvdata(dai); dai 119 sound/soc/stm/stm32_adfsdm.c dev_dbg(dai->dev, "%s: Enter for freq %d\n", __func__, freq); dai 127 sound/soc/stm/stm32_adfsdm.c dev_err(dai->dev, "%s: Failed to set SPI clock\n", dai 287 sound/soc/sunxi/sun4i-codec.c struct snd_soc_dai *dai) dai 319 sound/soc/sunxi/sun4i-codec.c struct snd_soc_dai *dai) dai 361 sound/soc/sunxi/sun4i-codec.c struct snd_soc_dai *dai) dai 397 sound/soc/sunxi/sun4i-codec.c struct snd_soc_dai *dai) dai 400 sound/soc/sunxi/sun4i-codec.c return sun4i_codec_prepare_playback(substream, dai); dai 402 sound/soc/sunxi/sun4i-codec.c return sun4i_codec_prepare_capture(substream, dai); dai 574 sound/soc/sunxi/sun4i-codec.c struct snd_soc_dai *dai) dai 615 sound/soc/sunxi/sun4i-codec.c struct snd_soc_dai *dai) dai 635 sound/soc/sunxi/sun4i-codec.c struct snd_soc_dai *dai) dai 1262 sound/soc/sunxi/sun4i-codec.c static int sun4i_codec_dai_probe(struct snd_soc_dai *dai) dai 1264 sound/soc/sunxi/sun4i-codec.c struct snd_soc_card *card = snd_soc_dai_get_drvdata(dai); dai 1267 sound/soc/sunxi/sun4i-codec.c snd_soc_dai_init_dma_data(dai, &scodec->playback_dma_data, dai 289 sound/soc/sunxi/sun4i-i2s.c static int sun4i_i2s_set_clk_rate(struct snd_soc_dai *dai, dai 294 sound/soc/sunxi/sun4i-i2s.c struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 322 sound/soc/sunxi/sun4i-i2s.c dev_err(dai->dev, "Unsupported sample rate: %u\n", rate); dai 332 sound/soc/sunxi/sun4i-i2s.c dev_err(dai->dev, "Unsupported oversample rate: %d\n", dai 341 sound/soc/sunxi/sun4i-i2s.c dev_err(dai->dev, "Unsupported BCLK divider: %d\n", bclk_div); dai 347 sound/soc/sunxi/sun4i-i2s.c dev_err(dai->dev, "Unsupported MCLK divider: %d\n", mclk_div); dai 471 sound/soc/sunxi/sun4i-i2s.c struct snd_soc_dai *dai) dai 473 sound/soc/sunxi/sun4i-i2s.c struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 489 sound/soc/sunxi/sun4i-i2s.c dev_err(dai->dev, "Invalid channel configuration\n"); dai 498 sound/soc/sunxi/sun4i-i2s.c dev_err(dai->dev, "Unsupported physical sample width: %d\n", dai 515 sound/soc/sunxi/sun4i-i2s.c return sun4i_i2s_set_clk_rate(dai, params_rate(params), dai 694 sound/soc/sunxi/sun4i-i2s.c static int sun4i_i2s_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 696 sound/soc/sunxi/sun4i-i2s.c struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 701 sound/soc/sunxi/sun4i-i2s.c dev_err(dai->dev, "Unsupported format configuration\n"); dai 786 sound/soc/sunxi/sun4i-i2s.c struct snd_soc_dai *dai) dai 788 sound/soc/sunxi/sun4i-i2s.c struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 816 sound/soc/sunxi/sun4i-i2s.c static int sun4i_i2s_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 819 sound/soc/sunxi/sun4i-i2s.c struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 829 sound/soc/sunxi/sun4i-i2s.c static int sun4i_i2s_set_tdm_slot(struct snd_soc_dai *dai, dai 833 sound/soc/sunxi/sun4i-i2s.c struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 852 sound/soc/sunxi/sun4i-i2s.c static int sun4i_i2s_dai_probe(struct snd_soc_dai *dai) dai 854 sound/soc/sunxi/sun4i-i2s.c struct sun4i_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 856 sound/soc/sunxi/sun4i-i2s.c snd_soc_dai_init_dma_data(dai, dai 860 sound/soc/sunxi/sun4i-i2s.c snd_soc_dai_set_drvdata(dai, i2s); dai 360 sound/soc/sunxi/sun4i-spdif.c struct snd_soc_dai *dai) dai 363 sound/soc/sunxi/sun4i-spdif.c struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(dai); dai 388 sound/soc/sunxi/sun4i-spdif.c static int sun4i_spdif_soc_dai_probe(struct snd_soc_dai *dai) dai 390 sound/soc/sunxi/sun4i-spdif.c struct sun4i_spdif_dev *host = snd_soc_dai_get_drvdata(dai); dai 392 sound/soc/sunxi/sun4i-spdif.c snd_soc_dai_init_dma_data(dai, &host->dma_params_tx, NULL); dai 177 sound/soc/sunxi/sun8i-codec.c static int sun8i_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 179 sound/soc/sunxi/sun8i-codec.c struct sun8i_codec *scodec = snd_soc_component_get_drvdata(dai->component); dai 308 sound/soc/sunxi/sun8i-codec.c struct snd_soc_dai *dai) dai 310 sound/soc/sunxi/sun8i-codec.c struct sun8i_codec *scodec = snd_soc_component_get_drvdata(dai->component); dai 178 sound/soc/tegra/tegra20_ac97.c struct snd_soc_dai *dai) dai 180 sound/soc/tegra/tegra20_ac97.c struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); dai 210 sound/soc/tegra/tegra20_ac97.c static int tegra20_ac97_probe(struct snd_soc_dai *dai) dai 212 sound/soc/tegra/tegra20_ac97.c struct tegra20_ac97 *ac97 = snd_soc_dai_get_drvdata(dai); dai 214 sound/soc/tegra/tegra20_ac97.c dai->capture_dma_data = &ac97->capture_dma_data; dai 215 sound/soc/tegra/tegra20_ac97.c dai->playback_dma_data = &ac97->playback_dma_data; dai 59 sound/soc/tegra/tegra20_i2s.c static int tegra20_i2s_set_fmt(struct snd_soc_dai *dai, dai 62 sound/soc/tegra/tegra20_i2s.c struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 117 sound/soc/tegra/tegra20_i2s.c struct snd_soc_dai *dai) dai 119 sound/soc/tegra/tegra20_i2s.c struct device *dev = dai->dev; dai 120 sound/soc/tegra/tegra20_i2s.c struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 202 sound/soc/tegra/tegra20_i2s.c struct snd_soc_dai *dai) dai 204 sound/soc/tegra/tegra20_i2s.c struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 230 sound/soc/tegra/tegra20_i2s.c static int tegra20_i2s_probe(struct snd_soc_dai *dai) dai 232 sound/soc/tegra/tegra20_i2s.c struct tegra20_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 234 sound/soc/tegra/tegra20_i2s.c dai->capture_dma_data = &i2s->capture_dma_data; dai 235 sound/soc/tegra/tegra20_i2s.c dai->playback_dma_data = &i2s->playback_dma_data; dai 339 sound/soc/tegra/tegra20_i2s.c i2s->dai = tegra20_i2s_dai_template; dai 340 sound/soc/tegra/tegra20_i2s.c i2s->dai.name = dev_name(&pdev->dev); dai 380 sound/soc/tegra/tegra20_i2s.c &i2s->dai, 1); dai 142 sound/soc/tegra/tegra20_i2s.h struct snd_soc_dai_driver dai; dai 52 sound/soc/tegra/tegra20_spdif.c struct snd_soc_dai *dai) dai 54 sound/soc/tegra/tegra20_spdif.c struct device *dev = dai->dev; dai 55 sound/soc/tegra/tegra20_spdif.c struct tegra20_spdif *spdif = snd_soc_dai_get_drvdata(dai); dai 121 sound/soc/tegra/tegra20_spdif.c struct snd_soc_dai *dai) dai 123 sound/soc/tegra/tegra20_spdif.c struct tegra20_spdif *spdif = snd_soc_dai_get_drvdata(dai); dai 143 sound/soc/tegra/tegra20_spdif.c static int tegra20_spdif_probe(struct snd_soc_dai *dai) dai 145 sound/soc/tegra/tegra20_spdif.c struct tegra20_spdif *spdif = snd_soc_dai_get_drvdata(dai); dai 147 sound/soc/tegra/tegra20_spdif.c dai->capture_dma_data = NULL; dai 148 sound/soc/tegra/tegra20_spdif.c dai->playback_dma_data = &spdif->playback_dma_data; dai 65 sound/soc/tegra/tegra30_i2s.c static int tegra30_i2s_set_fmt(struct snd_soc_dai *dai, dai 68 sound/soc/tegra/tegra30_i2s.c struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 116 sound/soc/tegra/tegra30_i2s.c pm_runtime_get_sync(dai->dev); dai 118 sound/soc/tegra/tegra30_i2s.c pm_runtime_put(dai->dev); dai 125 sound/soc/tegra/tegra30_i2s.c struct snd_soc_dai *dai) dai 127 sound/soc/tegra/tegra30_i2s.c struct device *dev = dai->dev; dai 128 sound/soc/tegra/tegra30_i2s.c struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 229 sound/soc/tegra/tegra30_i2s.c struct snd_soc_dai *dai) dai 231 sound/soc/tegra/tegra30_i2s.c struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 257 sound/soc/tegra/tegra30_i2s.c static int tegra30_i2s_probe(struct snd_soc_dai *dai) dai 259 sound/soc/tegra/tegra30_i2s.c struct tegra30_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 261 sound/soc/tegra/tegra30_i2s.c dai->capture_dma_data = &i2s->capture_dma_data; dai 262 sound/soc/tegra/tegra30_i2s.c dai->playback_dma_data = &i2s->playback_dma_data; dai 389 sound/soc/tegra/tegra30_i2s.c i2s->dai = tegra30_i2s_dai_template; dai 390 sound/soc/tegra/tegra30_i2s.c i2s->dai.name = dev_name(&pdev->dev); dai 465 sound/soc/tegra/tegra30_i2s.c &i2s->dai, 1); dai 225 sound/soc/tegra/tegra30_i2s.h struct snd_soc_dai_driver dai; dai 423 sound/soc/ti/ams-delta.c static int ams_delta_digital_mute(struct snd_soc_dai *dai, int mute) dai 388 sound/soc/ti/davinci-evm.c struct snd_soc_dai_link *dai; dai 399 sound/soc/ti/davinci-evm.c dai = (struct snd_soc_dai_link *) match->data; dai 401 sound/soc/ti/davinci-evm.c evm_soc_card.dai_link = dai; dai 403 sound/soc/ti/davinci-evm.c dai->codecs->of_node = of_parse_phandle(np, "ti,audio-codec", 0); dai 404 sound/soc/ti/davinci-evm.c if (!dai->codecs->of_node) dai 407 sound/soc/ti/davinci-evm.c dai->cpus->of_node = of_parse_phandle(np, "ti,mcasp-controller", 0); dai 408 sound/soc/ti/davinci-evm.c if (!dai->cpus->of_node) dai 411 sound/soc/ti/davinci-evm.c dai->platforms->of_node = dai->cpus->of_node; dai 378 sound/soc/ti/davinci-i2s.c struct snd_soc_dai *dai) dai 380 sound/soc/ti/davinci-i2s.c struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); dai 526 sound/soc/ti/davinci-i2s.c struct snd_soc_dai *dai) dai 528 sound/soc/ti/davinci-i2s.c struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); dai 569 sound/soc/ti/davinci-i2s.c struct snd_soc_dai *dai) dai 571 sound/soc/ti/davinci-i2s.c struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); dai 593 sound/soc/ti/davinci-i2s.c struct snd_soc_dai *dai) dai 595 sound/soc/ti/davinci-i2s.c struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); dai 614 sound/soc/ti/davinci-i2s.c static int davinci_i2s_dai_probe(struct snd_soc_dai *dai) dai 616 sound/soc/ti/davinci-i2s.c struct davinci_mcbsp_dev *dev = snd_soc_dai_get_drvdata(dai); dai 618 sound/soc/ti/davinci-i2s.c dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; dai 619 sound/soc/ti/davinci-i2s.c dai->capture_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]; dai 653 sound/soc/ti/davinci-mcasp.c static int davinci_mcasp_set_clkdiv(struct snd_soc_dai *dai, int div_id, dai 656 sound/soc/ti/davinci-mcasp.c struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai); dai 661 sound/soc/ti/davinci-mcasp.c static int davinci_mcasp_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 664 sound/soc/ti/davinci-mcasp.c struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai); dai 728 sound/soc/ti/davinci-mcasp.c static int davinci_mcasp_set_tdm_slot(struct snd_soc_dai *dai, dai 733 sound/soc/ti/davinci-mcasp.c struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai); dai 1576 sound/soc/ti/davinci-mcasp.c static int davinci_mcasp_dai_probe(struct snd_soc_dai *dai) dai 1578 sound/soc/ti/davinci-mcasp.c struct davinci_mcasp *mcasp = snd_soc_dai_get_drvdata(dai); dai 1580 sound/soc/ti/davinci-mcasp.c dai->playback_dma_data = &mcasp->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; dai 1581 sound/soc/ti/davinci-mcasp.c dai->capture_dma_data = &mcasp->dma_data[SNDRV_PCM_STREAM_CAPTURE]; dai 81 sound/soc/ti/davinci-vcif.c struct snd_soc_dai *dai) dai 83 sound/soc/ti/davinci-vcif.c struct davinci_vcif_dev *davinci_vcif_dev = snd_soc_dai_get_drvdata(dai); dai 132 sound/soc/ti/davinci-vcif.c struct snd_soc_dai *dai) dai 161 sound/soc/ti/davinci-vcif.c static int davinci_vcif_dai_probe(struct snd_soc_dai *dai) dai 163 sound/soc/ti/davinci-vcif.c struct davinci_vcif_dev *dev = snd_soc_dai_get_drvdata(dai); dai 165 sound/soc/ti/davinci-vcif.c dai->playback_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_PLAYBACK]; dai 166 sound/soc/ti/davinci-vcif.c dai->capture_dma_data = &dev->dma_data[SNDRV_PCM_STREAM_CAPTURE]; dai 91 sound/soc/ti/omap-dmic.c struct snd_soc_dai *dai) dai 93 sound/soc/ti/omap-dmic.c struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); dai 98 sound/soc/ti/omap-dmic.c if (!dai->active) dai 109 sound/soc/ti/omap-dmic.c struct snd_soc_dai *dai) dai 111 sound/soc/ti/omap-dmic.c struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); dai 117 sound/soc/ti/omap-dmic.c if (!dai->active) dai 188 sound/soc/ti/omap-dmic.c struct snd_soc_dai *dai) dai 190 sound/soc/ti/omap-dmic.c struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); dai 219 sound/soc/ti/omap-dmic.c dma_data = snd_soc_dai_get_dma_data(dai, substream); dai 228 sound/soc/ti/omap-dmic.c struct snd_soc_dai *dai) dai 230 sound/soc/ti/omap-dmic.c struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); dai 260 sound/soc/ti/omap-dmic.c int cmd, struct snd_soc_dai *dai) dai 262 sound/soc/ti/omap-dmic.c struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); dai 389 sound/soc/ti/omap-dmic.c static int omap_dmic_set_dai_sysclk(struct snd_soc_dai *dai, int clk_id, dai 392 sound/soc/ti/omap-dmic.c struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); dai 412 sound/soc/ti/omap-dmic.c static int omap_dmic_probe(struct snd_soc_dai *dai) dai 414 sound/soc/ti/omap-dmic.c struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); dai 426 sound/soc/ti/omap-dmic.c snd_soc_dai_init_dma_data(dai, NULL, &dmic->dma_data); dai 431 sound/soc/ti/omap-dmic.c static int omap_dmic_remove(struct snd_soc_dai *dai) dai 433 sound/soc/ti/omap-dmic.c struct omap_dmic *dmic = snd_soc_dai_get_drvdata(dai); dai 64 sound/soc/ti/omap-hdmi.c struct snd_soc_dai *dai) dai 75 sound/soc/ti/omap-hdmi.c dev_err(dai->dev, "Could not apply period constraint: %d\n", dai 82 sound/soc/ti/omap-hdmi.c dev_err(dai->dev, "Could not apply buffer constraint: %d\n", dai 87 sound/soc/ti/omap-hdmi.c snd_soc_dai_set_dma_data(dai, substream, &ad->dma_data); dai 106 sound/soc/ti/omap-hdmi.c struct snd_soc_dai *dai) dai 122 sound/soc/ti/omap-hdmi.c dev_err(dai->dev, "format not supported!\n"); dai 173 sound/soc/ti/omap-hdmi.c dev_err(dai->dev, "rate not supported!\n"); dai 195 sound/soc/ti/omap-hdmi.c dev_err(dai->dev, "format not supported!\n"); dai 231 sound/soc/ti/omap-hdmi.c struct snd_soc_dai *dai) dai 256 sound/soc/ti/omap-hdmi.c struct snd_soc_dai *dai) dai 902 sound/soc/ti/omap-mcbsp.c struct snd_soc_dai *dai) dai 1285 sound/soc/ti/omap-mcbsp.c static int omap_mcbsp_probe(struct snd_soc_dai *dai) dai 1287 sound/soc/ti/omap-mcbsp.c struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(dai); dai 1291 sound/soc/ti/omap-mcbsp.c snd_soc_dai_init_dma_data(dai, dai 1298 sound/soc/ti/omap-mcbsp.c static int omap_mcbsp_remove(struct snd_soc_dai *dai) dai 1300 sound/soc/ti/omap-mcbsp.c struct omap_mcbsp *mcbsp = snd_soc_dai_get_drvdata(dai); dai 250 sound/soc/ti/omap-mcpdm.c struct snd_soc_dai *dai) dai 252 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(dai); dai 256 sound/soc/ti/omap-mcpdm.c if (!dai->active) dai 265 sound/soc/ti/omap-mcpdm.c struct snd_soc_dai *dai) dai 267 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(dai); dai 274 sound/soc/ti/omap-mcpdm.c if (!dai->active) { dai 296 sound/soc/ti/omap-mcpdm.c struct snd_soc_dai *dai) dai 298 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(dai); dai 333 sound/soc/ti/omap-mcpdm.c dma_data = snd_soc_dai_get_dma_data(dai, substream); dai 376 sound/soc/ti/omap-mcpdm.c struct snd_soc_dai *dai) dai 378 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(dai); dai 414 sound/soc/ti/omap-mcpdm.c static int omap_mcpdm_probe(struct snd_soc_dai *dai) dai 416 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(dai); dai 440 sound/soc/ti/omap-mcpdm.c snd_soc_dai_init_dma_data(dai, dai 447 sound/soc/ti/omap-mcpdm.c static int omap_mcpdm_remove(struct snd_soc_dai *dai) dai 449 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(dai); dai 461 sound/soc/ti/omap-mcpdm.c static int omap_mcpdm_suspend(struct snd_soc_dai *dai) dai 463 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(dai); dai 465 sound/soc/ti/omap-mcpdm.c if (dai->active) { dai 479 sound/soc/ti/omap-mcpdm.c static int omap_mcpdm_resume(struct snd_soc_dai *dai) dai 481 sound/soc/ti/omap-mcpdm.c struct omap_mcpdm *mcpdm = snd_soc_dai_get_drvdata(dai); dai 487 sound/soc/ti/omap-mcpdm.c if (dai->active) { dai 134 sound/soc/txx9/txx9aclc-ac97.c static int txx9aclc_ac97_probe(struct snd_soc_dai *dai) dai 136 sound/soc/txx9/txx9aclc-ac97.c txx9aclc_drvdata = snd_soc_dai_get_drvdata(dai); dai 140 sound/soc/txx9/txx9aclc-ac97.c static int txx9aclc_ac97_remove(struct snd_soc_dai *dai) dai 142 sound/soc/txx9/txx9aclc-ac97.c struct txx9aclc_plat_drvdata *drvdata = snd_soc_dai_get_drvdata(dai); dai 288 sound/soc/txx9/txx9aclc.c struct snd_soc_dai *dai = rtd->cpu_dai; dai 298 sound/soc/txx9/txx9aclc.c dev = snd_soc_dai_get_drvdata(dai); dai 66 sound/soc/txx9/txx9aclc.h struct snd_soc_dai *dai) dai 68 sound/soc/txx9/txx9aclc.h return dev_get_drvdata(dai->dev); dai 146 sound/soc/uniphier/aio-cpu.c static int uniphier_aio_set_sysclk(struct snd_soc_dai *dai, int clk_id, dai 149 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 217 sound/soc/uniphier/aio-cpu.c static int uniphier_aio_set_pll(struct snd_soc_dai *dai, int pll_id, dai 221 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 234 sound/soc/uniphier/aio-cpu.c static int uniphier_aio_set_fmt(struct snd_soc_dai *dai, unsigned int fmt) dai 236 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 255 sound/soc/uniphier/aio-cpu.c struct snd_soc_dai *dai) dai 257 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 273 sound/soc/uniphier/aio-cpu.c struct snd_soc_dai *dai) dai 275 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 283 sound/soc/uniphier/aio-cpu.c struct snd_soc_dai *dai) dai 285 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 305 sound/soc/uniphier/aio-cpu.c ret = snd_soc_dai_set_sysclk(dai, AUD_CLK_A, dai 321 sound/soc/uniphier/aio-cpu.c struct snd_soc_dai *dai) dai 323 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 332 sound/soc/uniphier/aio-cpu.c struct snd_soc_dai *dai) dai 334 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 386 sound/soc/uniphier/aio-cpu.c int uniphier_aio_dai_probe(struct snd_soc_dai *dai) dai 388 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 395 sound/soc/uniphier/aio-cpu.c spec = find_spec(aio, dai->name, i); dai 413 sound/soc/uniphier/aio-cpu.c int uniphier_aio_dai_remove(struct snd_soc_dai *dai) dai 415 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 423 sound/soc/uniphier/aio-cpu.c int uniphier_aio_dai_suspend(struct snd_soc_dai *dai) dai 425 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 437 sound/soc/uniphier/aio-cpu.c int uniphier_aio_dai_resume(struct snd_soc_dai *dai) dai 439 sound/soc/uniphier/aio-cpu.c struct uniphier_aio *aio = uniphier_priv(dai); dai 191 sound/soc/uniphier/aio-ld11.c static int uniphier_aio_ld11_probe(struct snd_soc_dai *dai) dai 195 sound/soc/uniphier/aio-ld11.c ret = uniphier_aio_dai_probe(dai); dai 199 sound/soc/uniphier/aio-ld11.c ret = snd_soc_dai_set_pll(dai, AUD_PLL_A1, 0, 0, 36864000); dai 202 sound/soc/uniphier/aio-ld11.c ret = snd_soc_dai_set_pll(dai, AUD_PLL_F1, 0, 0, 36864000); dai 206 sound/soc/uniphier/aio-ld11.c ret = snd_soc_dai_set_pll(dai, AUD_PLL_A2, 0, 0, 33868800); dai 209 sound/soc/uniphier/aio-ld11.c ret = snd_soc_dai_set_pll(dai, AUD_PLL_F2, 0, 0, 33868800); dai 144 sound/soc/uniphier/aio-pxs2.c static int uniphier_aio_pxs2_probe(struct snd_soc_dai *dai) dai 148 sound/soc/uniphier/aio-pxs2.c ret = uniphier_aio_dai_probe(dai); dai 152 sound/soc/uniphier/aio-pxs2.c ret = snd_soc_dai_set_pll(dai, AUD_PLL_A1, 0, 0, 36864000); dai 155 sound/soc/uniphier/aio-pxs2.c ret = snd_soc_dai_set_pll(dai, AUD_PLL_F1, 0, 0, 36864000); dai 159 sound/soc/uniphier/aio-pxs2.c ret = snd_soc_dai_set_pll(dai, AUD_PLL_A2, 0, 0, 33868800); dai 162 sound/soc/uniphier/aio-pxs2.c ret = snd_soc_dai_set_pll(dai, AUD_PLL_F2, 0, 0, 33868800); dai 299 sound/soc/uniphier/aio.h static inline struct uniphier_aio *uniphier_priv(struct snd_soc_dai *dai) dai 301 sound/soc/uniphier/aio.h struct uniphier_aio_chip *chip = snd_soc_dai_get_drvdata(dai); dai 303 sound/soc/uniphier/aio.h return &chip->aios[dai->id]; dai 309 sound/soc/uniphier/aio.h int uniphier_aio_dai_probe(struct snd_soc_dai *dai); dai 310 sound/soc/uniphier/aio.h int uniphier_aio_dai_remove(struct snd_soc_dai *dai); dai 311 sound/soc/uniphier/aio.h int uniphier_aio_dai_suspend(struct snd_soc_dai *dai); dai 312 sound/soc/uniphier/aio.h int uniphier_aio_dai_resume(struct snd_soc_dai *dai); dai 30 sound/soc/ux500/ux500_msp_dai.c static int setup_pcm_multichan(struct snd_soc_dai *dai, dai 33 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 54 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, dai 63 sound/soc/ux500/ux500_msp_dai.c static int setup_frameper(struct snd_soc_dai *dai, unsigned int rate, dai 66 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 92 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 111 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 120 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: Clocks per frame: %u\n", dai 127 sound/soc/ux500/ux500_msp_dai.c static int setup_pcm_framing(struct snd_soc_dai *dai, unsigned int rate, dai 130 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 153 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 169 sound/soc/ux500/ux500_msp_dai.c return setup_frameper(dai, rate, prot_desc); dai 172 sound/soc/ux500/ux500_msp_dai.c static int setup_clocking(struct snd_soc_dai *dai, dai 187 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 196 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: Codec is master.\n", __func__); dai 208 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: Codec is slave.\n", __func__); dai 219 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, "%s: Error: Unsupported master (fmt = 0x%x)!\n", dai 228 sound/soc/ux500/ux500_msp_dai.c static int setup_pcm_protdesc(struct snd_soc_dai *dai, dai 242 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: DSP_A.\n", __func__); dai 249 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: DSP_B.\n", __func__); dai 302 sound/soc/ux500/ux500_msp_dai.c struct snd_soc_dai *dai, dai 305 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 323 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: f_inputclk = %u, frame_freq = %u.\n", dai 328 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: rate: %u, channels: %d.\n", __func__, dai 333 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: SND_SOC_DAIFMT_I2S.\n", __func__); dai 340 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: SND_SOC_DAIFMT_I2S.\n", __func__); dai 355 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: PCM format.\n", __func__); dai 360 sound/soc/ux500/ux500_msp_dai.c ret = setup_pcm_protdesc(dai, fmt, prot_desc); dai 364 sound/soc/ux500/ux500_msp_dai.c ret = setup_pcm_multichan(dai, msp_config); dai 368 sound/soc/ux500/ux500_msp_dai.c ret = setup_pcm_framing(dai, runtime->rate, prot_desc); dai 375 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, "%s: Error: Unsupported format (%d)!\n", dai 380 sound/soc/ux500/ux500_msp_dai.c return setup_clocking(dai, fmt, msp_config); dai 384 sound/soc/ux500/ux500_msp_dai.c struct snd_soc_dai *dai) dai 387 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 389 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: MSP %d (%s): Enter.\n", __func__, dai->id, dai 401 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: Enabling MSP-clocks.\n", __func__); dai 425 sound/soc/ux500/ux500_msp_dai.c struct snd_soc_dai *dai) dai 428 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 431 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: MSP %d (%s): Enter.\n", __func__, dai->id, dai 442 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 444 sound/soc/ux500/ux500_msp_dai.c __func__, dai->id, snd_pcm_stream_str(substream)); dai 454 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 460 sound/soc/ux500/ux500_msp_dai.c struct snd_soc_dai *dai) dai 463 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 467 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: MSP %d (%s): Enter (rate = %d).\n", __func__, dai 468 sound/soc/ux500/ux500_msp_dai.c dai->id, snd_pcm_stream_str(substream), runtime->rate); dai 470 sound/soc/ux500/ux500_msp_dai.c setup_msp_config(substream, dai, &msp_config); dai 474 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, "%s: Error: msp_setup failed (ret = %d)!\n", dai 499 sound/soc/ux500/ux500_msp_dai.c struct snd_soc_dai *dai) dai 503 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 505 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: MSP %d (%s): Enter.\n", dai 506 sound/soc/ux500/ux500_msp_dai.c __func__, dai->id, snd_pcm_stream_str(substream)); dai 522 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "TDM-slots active: %d", slots_active); dai 530 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 539 sound/soc/ux500/ux500_msp_dai.c static int ux500_msp_dai_set_dai_fmt(struct snd_soc_dai *dai, dai 542 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 544 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: MSP %d: Enter.\n", __func__, dai->id); dai 557 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 570 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, dai 580 sound/soc/ux500/ux500_msp_dai.c static int ux500_msp_dai_set_tdm_slot(struct snd_soc_dai *dai, dai 585 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 602 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, "%s: Error: Unsupported slot-count (%d)!\n", dai 609 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, "%s: Error: Unsupported slot-width (%d)!\n", dai 621 sound/soc/ux500/ux500_msp_dai.c static int ux500_msp_dai_set_dai_sysclk(struct snd_soc_dai *dai, dai 624 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 626 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: MSP %d: Enter. clk-id: %d, freq: %u.\n", dai 627 sound/soc/ux500/ux500_msp_dai.c __func__, dai->id, clk_id, freq); dai 635 sound/soc/ux500/ux500_msp_dai.c dev_err(dai->dev, "%s: MSP %d: Invalid clk-id (%d)!\n", dai 636 sound/soc/ux500/ux500_msp_dai.c __func__, dai->id, clk_id); dai 644 sound/soc/ux500/ux500_msp_dai.c int cmd, struct snd_soc_dai *dai) dai 647 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 649 sound/soc/ux500/ux500_msp_dai.c dev_dbg(dai->dev, "%s: MSP %d (%s): Enter (msp->id = %d, cmd = %d).\n", dai 650 sound/soc/ux500/ux500_msp_dai.c __func__, dai->id, snd_pcm_stream_str(substream), dai 658 sound/soc/ux500/ux500_msp_dai.c static int ux500_msp_dai_of_probe(struct snd_soc_dai *dai) dai 660 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 664 sound/soc/ux500/ux500_msp_dai.c playback_dma_data = devm_kzalloc(dai->dev, dai 670 sound/soc/ux500/ux500_msp_dai.c capture_dma_data = devm_kzalloc(dai->dev, dai 682 sound/soc/ux500/ux500_msp_dai.c snd_soc_dai_init_dma_data(dai, playback_dma_data, capture_dma_data); dai 687 sound/soc/ux500/ux500_msp_dai.c static int ux500_msp_dai_probe(struct snd_soc_dai *dai) dai 689 sound/soc/ux500/ux500_msp_dai.c struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(dai->dev); dai 690 sound/soc/ux500/ux500_msp_dai.c struct msp_i2s_platform_data *pdata = dai->dev->platform_data; dai 694 sound/soc/ux500/ux500_msp_dai.c ret = ux500_msp_dai_of_probe(dai); dai 701 sound/soc/ux500/ux500_msp_dai.c snd_soc_dai_init_dma_data(dai, dai 66 sound/soc/ux500/ux500_msp_dai.h int ux500_msp_dai_set_data_delay(struct snd_soc_dai *dai, int delay); dai 49 sound/soc/ux500/ux500_pcm.c struct snd_soc_dai *dai = rtd->cpu_dai; dai 54 sound/soc/ux500/ux500_pcm.c dma_params = snd_soc_dai_get_dma_data(dai, substream); dai 78 sound/soc/xilinx/xlnx_spdif.c struct snd_soc_dai *dai) dai 81 sound/soc/xilinx/xlnx_spdif.c struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); dai 98 sound/soc/xilinx/xlnx_spdif.c struct snd_soc_dai *dai) dai 100 sound/soc/xilinx/xlnx_spdif.c struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); dai 107 sound/soc/xilinx/xlnx_spdif.c struct snd_soc_dai *dai) dai 110 sound/soc/xilinx/xlnx_spdif.c struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); dai 149 sound/soc/xilinx/xlnx_spdif.c static int rx_stream_detect(struct snd_soc_dai *dai) dai 152 sound/soc/xilinx/xlnx_spdif.c struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); dai 160 sound/soc/xilinx/xlnx_spdif.c dev_err(dai->dev, "No streaming audio detected!\n"); dai 169 sound/soc/xilinx/xlnx_spdif.c struct snd_soc_dai *dai) dai 173 sound/soc/xilinx/xlnx_spdif.c struct spdif_dev_data *ctx = dev_get_drvdata(dai->dev); dai 183 sound/soc/xilinx/xlnx_spdif.c ret = rx_stream_detect(dai); dai 271 sound/soc/xtensa/xtfpga-i2s.c struct snd_soc_dai *dai) dai 273 sound/soc/xtensa/xtfpga-i2s.c struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 275 sound/soc/xtensa/xtfpga-i2s.c snd_soc_dai_set_dma_data(dai, substream, i2s); dai 281 sound/soc/xtensa/xtfpga-i2s.c struct snd_soc_dai *dai) dai 283 sound/soc/xtensa/xtfpga-i2s.c struct xtfpga_i2s *i2s = snd_soc_dai_get_drvdata(dai); dai 161 sound/soc/zte/zx-i2s.c static int zx_i2s_dai_probe(struct snd_soc_dai *dai) dai 163 sound/soc/zte/zx-i2s.c struct zx_i2s_info *zx_i2s = dev_get_drvdata(dai->dev); dai 165 sound/soc/zte/zx-i2s.c snd_soc_dai_set_drvdata(dai, zx_i2s); dai 170 sound/soc/zte/zx-i2s.c snd_soc_dai_init_dma_data(dai, &zx_i2s->dma_playback, dai 285 sound/soc/zte/zx-i2s.c struct snd_soc_dai *dai) dai 287 sound/soc/zte/zx-i2s.c struct zx_i2s_info *zx_i2s = dev_get_drvdata(dai->dev); dai 329 sound/soc/zte/zx-i2s.c struct snd_soc_dai *dai) dai 331 sound/soc/zte/zx-i2s.c struct zx_i2s_info *zx_i2s = dev_get_drvdata(dai->dev); dai 348 sound/soc/zte/zx-i2s.c struct snd_soc_dai *dai) dai 350 sound/soc/zte/zx-i2s.c struct zx_i2s_info *zx_i2s = dev_get_drvdata(dai->dev); dai 82 sound/soc/zte/zx-spdif.c static int zx_spdif_dai_probe(struct snd_soc_dai *dai) dai 84 sound/soc/zte/zx-spdif.c struct zx_spdif_info *zx_spdif = dev_get_drvdata(dai->dev); dai 86 sound/soc/zte/zx-spdif.c snd_soc_dai_set_drvdata(dai, zx_spdif); dai 89 sound/soc/zte/zx-spdif.c snd_soc_dai_init_dma_data(dai, &zx_spdif->dma_data, NULL); dai 210 sound/soc/zte/zx-spdif.c struct snd_soc_dai *dai) dai 213 sound/soc/zte/zx-spdif.c struct zx_spdif_info *zx_spdif = dev_get_drvdata(dai->dev); dai 242 sound/soc/zte/zx-spdif.c struct snd_soc_dai *dai) dai 244 sound/soc/zte/zx-spdif.c struct zx_spdif_info *zx_spdif = dev_get_drvdata(dai->dev); dai 250 sound/soc/zte/zx-spdif.c struct snd_soc_dai *dai) dai 252 sound/soc/zte/zx-spdif.c struct zx_spdif_info *zx_spdif = dev_get_drvdata(dai->dev); dai 149 sound/soc/zte/zx-tdm.c static int zx_tdm_dai_probe(struct snd_soc_dai *dai) dai 151 sound/soc/zte/zx-tdm.c struct zx_tdm_info *zx_tdm = dev_get_drvdata(dai->dev); dai 153 sound/soc/zte/zx-tdm.c snd_soc_dai_set_drvdata(dai, zx_tdm); dai 158 sound/soc/zte/zx-tdm.c snd_soc_dai_init_dma_data(dai, &zx_tdm->dma_playback, dai 231 sound/soc/zte/zx-tdm.c struct snd_soc_dai *dai) dai 234 sound/soc/zte/zx-tdm.c struct zx_tdm_info *zx_tdm = dev_get_drvdata(dai->dev); dai 283 sound/soc/zte/zx-tdm.c struct snd_soc_dai *dai) dai 285 sound/soc/zte/zx-tdm.c struct zx_tdm_info *zx_tdm = dev_get_drvdata(dai->dev); dai 302 sound/soc/zte/zx-tdm.c struct snd_soc_dai *dai) dai 304 sound/soc/zte/zx-tdm.c struct zx_tdm_info *zx_tdm = dev_get_drvdata(dai->dev);