/linux/sound/soc/ |
H A D | soc-link.c | 11 #define soc_link_ret(rtd, ret) _soc_link_ret(rtd, __func__, ret) argument 12 static inline int _soc_link_ret(struct snd_soc_pcm_runtime *rtd, in _soc_link_ret() argument 15 return snd_soc_ret(rtd->dev, ret, in _soc_link_ret() 16 "at %s() on %s\n", func, rtd->dai_link->name); in _soc_link_ret() 23 #define soc_link_mark_push(rtd, substream, tgt) ((rtd)->mark_##tgt = substream) argument 24 #define soc_link_mark_pop(rtd, tgt) ((rtd)->mark_##tgt = NULL) argument 25 #define soc_link_mark_match(rtd, substrea argument 27 snd_soc_link_init(struct snd_soc_pcm_runtime * rtd) snd_soc_link_init() argument 37 snd_soc_link_exit(struct snd_soc_pcm_runtime * rtd) snd_soc_link_exit() argument 43 snd_soc_link_be_hw_params_fixup(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_hw_params * params) snd_soc_link_be_hw_params_fixup() argument 56 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_link_startup() local 73 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_link_shutdown() local 88 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_link_prepare() local 101 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_link_hw_params() local 117 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_link_hw_free() local 132 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_link_trigger() local 145 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_link_trigger() local 172 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_link_compr_startup() local 189 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_link_compr_shutdown() local 204 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_link_compr_set_params() local [all...] |
H A D | soc-compress.c | 26 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_compr_components_open() local 31 for_each_rtd_components(rtd, i, component) { in snd_soc_compr_components_open() 47 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_compr_components_free() local 51 for_each_rtd_components(rtd, i, component) { in snd_soc_compr_components_free() 59 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_clean() local 60 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in soc_compr_clean() 61 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in soc_compr_clean() 64 snd_soc_dpcm_mutex_lock(rtd); in soc_compr_clean() 67 snd_soc_runtime_deactivate(rtd, stream); in soc_compr_clean() 84 snd_soc_dapm_stream_stop(rtd, strea in soc_compr_clean() 100 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_open() local 246 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_trigger() local 325 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_set_params() local 425 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_params() local 443 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_ack() local 462 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_pointer() local 481 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_set_metadata() local 495 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_metadata() local 543 snd_soc_new_compress(struct snd_soc_pcm_runtime * rtd) snd_soc_new_compress() argument [all...] |
H A D | soc-pcm.c | 29 #define soc_pcm_ret(rtd, ret) _soc_pcm_ret(rtd, __func__, ret) argument 30 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd, in _soc_pcm_ret() argument 33 return snd_soc_ret(rtd->dev, ret, in _soc_pcm_ret() 34 "at %s() on %s\n", func, rtd->dai_link->name); in _soc_pcm_ret() 138 static inline const char *soc_cpu_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_cpu_dai_name() argument 140 return (rtd)->dai_link->num_cpus == 1 ? snd_soc_rtd_to_cpu(rtd, 0)->name : "multicpu"; in soc_cpu_dai_name() 142 static inline const char *soc_codec_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_codec_dai_name() argument 144 return (rtd) in soc_codec_dai_name() 269 soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime * rtd) soc_dpcm_debugfs_add() argument 356 snd_soc_runtime_action(struct snd_soc_pcm_runtime * rtd,int stream,int action) snd_soc_runtime_action() argument 386 snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime * rtd) snd_soc_runtime_ignore_pmdown_time() argument 443 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_apply_symmetry() local 473 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_params_symmetry() local 507 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_update_symmetry() local 528 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_set_msb() local 542 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_apply_msb() local 619 snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_hardware * hw,int stream) snd_soc_runtime_calc_hw() argument 692 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_init_runtime_hw() local 708 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_components_open() local 728 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_components_close() local 743 soc_pcm_clean(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_substream * substream,int rollback) soc_pcm_clean() argument 783 __soc_pcm_close(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_substream * substream) __soc_pcm_close() argument 792 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_close() local 802 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_hw_sanity_check() local 842 __soc_pcm_open(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_substream * substream) __soc_pcm_open() argument 907 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_open() local 921 __soc_pcm_prepare(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_substream * substream) __soc_pcm_prepare() argument 969 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_prepare() local 996 soc_pcm_hw_clean(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_substream * substream,int rollback) soc_pcm_hw_clean() argument 1035 __soc_pcm_hw_free(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_substream * substream) __soc_pcm_hw_free() argument 1044 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_hw_free() local 1061 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); __soc_pcm_hw_params() local 1163 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_hw_params() local 1188 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); soc_pcm_trigger() local 1455 struct snd_soc_pcm_runtime *rtd; dpcm_end_walk_at_be() local 1914 struct snd_soc_pcm_runtime *rtd; dpcm_apply_symmetry() local 2791 soc_get_playback_capture(struct snd_soc_pcm_runtime * rtd,int * playback,int * capture) soc_get_playback_capture() argument 2860 soc_create_pcm(struct snd_pcm ** pcm,struct snd_soc_pcm_runtime * rtd,int playback,int capture) soc_create_pcm() argument 2901 soc_new_pcm(struct snd_soc_pcm_runtime * rtd) soc_new_pcm() argument [all...] |
H A D | soc-core.c | 74 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in pmdown_time_show() local 76 return sysfs_emit(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show() 83 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in pmdown_time_store() local 86 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_store() 104 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in soc_dev_attr_is_visible() local 106 if (!rtd) in soc_dev_attr_is_visible() 111 return rtd->dai_link->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible() 317 static int snd_soc_rtd_add_component(struct snd_soc_pcm_runtime *rtd, in snd_soc_rtd_add_component() argument 323 for_each_rtd_components(rtd, i, comp) { in snd_soc_rtd_add_component() 330 rtd in snd_soc_rtd_add_component() 336 snd_soc_rtdcom_lookup(struct snd_soc_pcm_runtime * rtd,const char * driver_name) snd_soc_rtdcom_lookup() argument 406 struct snd_soc_pcm_runtime *rtd; snd_soc_get_pcm_runtime() local 422 snd_soc_close_delayed_work(struct snd_soc_pcm_runtime * rtd) snd_soc_close_delayed_work() argument 453 soc_free_pcm_runtime(struct snd_soc_pcm_runtime * rtd) soc_free_pcm_runtime() argument 486 struct snd_soc_pcm_runtime *rtd = close_delayed_work() local 497 struct snd_soc_pcm_runtime *rtd; soc_new_pcm_runtime() local 603 struct snd_soc_pcm_runtime *rtd; snd_soc_flush_all_delayed_work() local 612 struct snd_soc_pcm_runtime *rtd; soc_playback_digital_mute() local 631 struct snd_soc_pcm_runtime *rtd; soc_dapm_suspend_resume() local 649 struct snd_soc_pcm_runtime *rtd; snd_soc_suspend() local 1140 snd_soc_remove_pcm_runtime(struct snd_soc_card * card,struct snd_soc_pcm_runtime * rtd) snd_soc_remove_pcm_runtime() argument 1170 struct snd_soc_pcm_runtime *rtd; snd_soc_add_pcm_runtime() local 1281 snd_soc_runtime_get_dai_fmt(struct snd_soc_pcm_runtime * rtd) snd_soc_runtime_get_dai_fmt() argument 1451 snd_soc_runtime_set_dai_fmt(struct snd_soc_pcm_runtime * rtd,unsigned int dai_fmt) snd_soc_runtime_set_dai_fmt() argument 1505 soc_init_pcm_runtime(struct snd_soc_card * card,struct snd_soc_pcm_runtime * rtd) soc_init_pcm_runtime() argument 1689 struct snd_soc_pcm_runtime *rtd; soc_remove_link_dais() local 1702 struct snd_soc_pcm_runtime *rtd; soc_probe_link_dais() local 1720 struct snd_soc_pcm_runtime *rtd; soc_remove_link_components() local 1738 struct snd_soc_pcm_runtime *rtd; soc_probe_link_components() local 2106 struct snd_soc_pcm_runtime *rtd, *n; soc_cleanup_card_resources() local 2152 struct snd_soc_pcm_runtime *rtd; snd_soc_bind_card() local [all...] |
H A D | soc-component.c | 512 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_trigger() local 516 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_trigger() 533 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_set_params() local 537 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_set_params() 554 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_params() local 558 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_params() 574 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in snd_soc_component_compr_get_caps() local 578 snd_soc_dpcm_mutex_lock(rtd); in snd_soc_component_compr_get_caps() 580 for_each_rtd_components(rtd, i, component) { in snd_soc_component_compr_get_caps() 589 snd_soc_dpcm_mutex_unlock(rtd); in snd_soc_component_compr_get_caps() 598 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_component_compr_get_codec_caps() local 621 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_component_compr_ack() local 642 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_component_compr_pointer() local 662 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_component_compr_copy() local 686 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_component_compr_set_metadata() local 707 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_component_compr_get_metadata() local 968 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_pointer() local 980 snd_soc_component_is_codec_on_rtd(struct snd_soc_pcm_runtime * rtd,struct snd_soc_component * component) snd_soc_component_is_codec_on_rtd() argument 998 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_delay() local 1025 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_ioctl() local 1042 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_sync_stop() local 1062 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_copy() local 1079 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_page() local 1100 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_mmap() local 1115 snd_soc_pcm_component_new(struct snd_soc_pcm_runtime * rtd) snd_soc_pcm_component_new() argument 1132 snd_soc_pcm_component_free(struct snd_soc_pcm_runtime * rtd) snd_soc_pcm_component_free() argument 1147 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_prepare() local 1165 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_hw_params() local 1186 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_hw_free() local 1220 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_trigger() local 1252 snd_soc_pcm_component_pm_runtime_get(struct snd_soc_pcm_runtime * rtd,void * stream) snd_soc_pcm_component_pm_runtime_get() argument 1271 snd_soc_pcm_component_pm_runtime_put(struct snd_soc_pcm_runtime * rtd,void * stream,int rollback) snd_soc_pcm_component_pm_runtime_put() argument 1290 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); snd_soc_pcm_component_ack() local [all...] |
/linux/drivers/rtc/ |
H A D | rtc-test.c | 26 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_read_alarm() local 29 alarm = (rtd->alarm.expires - jiffies) / HZ; in test_rtc_read_alarm() 30 alarm += ktime_get_real_seconds() + rtd->offset; in test_rtc_read_alarm() 33 alrm->enabled = rtd->alarm_en; in test_rtc_read_alarm() 40 struct rtc_test_data *rtd = dev_get_drvdata(dev); in test_rtc_set_alarm() local 45 timeout -= rtd->offset; in test_rtc_set_alarm() 47 timer_delete(&rtd->alarm); in test_rtc_set_alarm() 53 rtd->alarm.expires = expires; in test_rtc_set_alarm() 56 add_timer(&rtd->alarm); in test_rtc_set_alarm() 58 rtd in test_rtc_set_alarm() 65 struct rtc_test_data *rtd = dev_get_drvdata(dev); test_rtc_read_time() local 74 struct rtc_test_data *rtd = dev_get_drvdata(dev); test_rtc_set_time() local 83 struct rtc_test_data *rtd = dev_get_drvdata(dev); test_rtc_alarm_irq_enable() local 110 struct rtc_test_data *rtd = timer_container_of(rtd, t, alarm); test_rtc_alarm_handler() local 117 struct rtc_test_data *rtd; test_probe() local [all...] |
/linux/sound/soc/amd/ |
H A D | acp-pcm-dma.c | 331 struct audio_substream_data *rtd, in config_acp_dma() argument 336 acp_pte_config(acp_mmio, rtd->dma_addr, rtd->num_of_pages, in config_acp_dma() 337 rtd->pte_offset); in config_acp_dma() 339 if (rtd->direction == SNDRV_PCM_STREAM_PLAYBACK) { in config_acp_dma() 340 ch_acp_sysmem = rtd->ch1; in config_acp_dma() 341 ch_acp_i2s = rtd->ch2; in config_acp_dma() 343 ch_acp_i2s = rtd->ch1; in config_acp_dma() 344 ch_acp_sysmem = rtd->ch2; in config_acp_dma() 347 set_acp_sysmem_dma_descriptors(acp_mmio, rtd in config_acp_dma() 851 struct audio_substream_data *rtd; acp_dma_hw_params() local 1019 acp_get_byte_count(struct audio_substream_data * rtd) acp_get_byte_count() argument 1040 struct audio_substream_data *rtd = runtime->private_data; acp_dma_pointer() local 1089 struct audio_substream_data *rtd = runtime->private_data; acp_dma_prepare() local 1119 struct audio_substream_data *rtd = runtime->private_data; acp_dma_trigger() local 1161 acp_dma_new(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd) acp_dma_new() argument 1190 struct audio_substream_data *rtd = runtime->private_data; acp_dma_close() local 1341 struct audio_substream_data *rtd; acp_pcm_resume() local [all...] |
/linux/sound/soc/amd/raven/ |
H A D | acp3x-i2s.c | 75 struct i2s_stream_instance *rtd; in acp3x_i2s_hwparams() local 84 rtd = substream->runtime->private_data; in acp3x_i2s_hwparams() 90 rtd->i2s_instance = pinfo->play_i2s_instance; in acp3x_i2s_hwparams() 92 rtd->i2s_instance = pinfo->cap_i2s_instance; in acp3x_i2s_hwparams() 99 rtd->xfer_resolution = 0x0; in acp3x_i2s_hwparams() 102 rtd->xfer_resolution = 0x02; in acp3x_i2s_hwparams() 105 rtd->xfer_resolution = 0x04; in acp3x_i2s_hwparams() 108 rtd->xfer_resolution = 0x05; in acp3x_i2s_hwparams() 114 switch (rtd->i2s_instance) { in acp3x_i2s_hwparams() 125 switch (rtd in acp3x_i2s_hwparams() 151 struct i2s_stream_instance *rtd; acp3x_i2s_trigger() local [all...] |
H A D | acp3x-pcm-dma.c | 107 static void config_acp3x_dma(struct i2s_stream_instance *rtd, int direction) in config_acp3x_dma() argument 114 addr = rtd->dma_addr; in config_acp3x_dma() 117 switch (rtd->i2s_instance) { in config_acp3x_dma() 126 switch (rtd->i2s_instance) { in config_acp3x_dma() 136 rv_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp3x_base + in config_acp3x_dma() 138 rv_writel(PAGE_SIZE_4K_ENABLE, rtd->acp3x_base + in config_acp3x_dma() 141 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in config_acp3x_dma() 146 rv_writel(low, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val); in config_acp3x_dma() 148 rv_writel(high, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val in config_acp3x_dma() 156 switch (rtd in config_acp3x_dma() 248 struct i2s_stream_instance *rtd; acp3x_dma_hw_params() local 298 struct i2s_stream_instance *rtd; acp3x_dma_pointer() local 315 acp3x_dma_new(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd) acp3x_dma_new() argument 440 struct i2s_stream_instance *rtd = acp3x_resume() local 457 struct i2s_stream_instance *rtd = acp3x_resume() local [all...] |
/linux/sound/soc/qcom/ |
H A D | sc7180.c | 57 static int sc7180_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7180_headset_init() argument 59 struct snd_soc_card *card = rtd->card; in sc7180_headset_init() 61 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7180_headset_init() 93 static int sc7180_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7180_hdmi_init() argument 95 struct snd_soc_card *card = rtd->card; in sc7180_hdmi_init() 97 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7180_hdmi_init() 119 static int sc7180_init(struct snd_soc_pcm_runtime *rtd) in sc7180_init() argument 121 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7180_init() 125 return sc7180_headset_init(rtd); in sc7180_init() 129 return sc7180_hdmi_init(rtd); in sc7180_init() 138 sc7180_qdsp_init(struct snd_soc_pcm_runtime * rtd) sc7180_qdsp_init() argument 158 sc7180_startup_realtek_codec(struct snd_soc_pcm_runtime * rtd) sc7180_startup_realtek_codec() argument 203 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7180_snd_startup() local 237 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7180_qdsp_snd_startup() local 310 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7180_snd_shutdown() local 337 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7180_qdsp_snd_shutdown() local 371 sc7180_adau7002_init(struct snd_soc_pcm_runtime * rtd) sc7180_adau7002_init() argument 392 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7180_adau7002_snd_startup() local 419 sc7180_qdsp_be_hw_params_fixup(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_hw_params * params) sc7180_qdsp_be_hw_params_fixup() argument [all...] |
H A D | sc7280.c | 60 static int sc7280_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7280_headset_init() argument 62 struct snd_soc_card *card = rtd->card; in sc7280_headset_init() 64 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7280_headset_init() 65 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_headset_init() 102 for_each_rtd_codec_dais(rtd, i, codec_dai) { in sc7280_headset_init() 117 static int sc7280_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7280_hdmi_init() argument 119 struct snd_soc_card *card = rtd->card; in sc7280_hdmi_init() 121 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7280_hdmi_init() 141 static int sc7280_rt5682_init(struct snd_soc_pcm_runtime *rtd) in sc7280_rt5682_init() argument 143 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, in sc7280_rt5682_init() 180 sc7280_init(struct snd_soc_pcm_runtime * rtd) sc7280_init() argument 209 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7280_snd_hw_params() local 241 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7280_snd_swr_prepare() local 272 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7280_snd_prepare() local 291 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7280_snd_hw_free() local 316 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7280_snd_shutdown() local 347 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc7280_snd_startup() local 392 sc7280_snd_be_hw_params_fixup(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_hw_params * params) sc7280_snd_be_hw_params_fixup() argument [all...] |
H A D | sm8250.c | 32 static int sm8250_snd_init(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_init() argument 34 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_init() 35 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_init() 39 return qcom_snd_dp_jack_setup(rtd, &data->dp_jack, 0); in sm8250_snd_init() 41 return qcom_snd_usb_offload_jack_setup(rtd, &data->usb_offload_jack, in sm8250_snd_init() 44 return qcom_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup); in sm8250_snd_init() 48 static void sm8250_snd_exit(struct snd_soc_pcm_runtime *rtd) in sm8250_snd_exit() argument 50 struct sm8250_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sm8250_snd_exit() 51 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sm8250_snd_exit() 54 qcom_snd_usb_offload_jack_remove(rtd, in sm8250_snd_exit() 59 sm8250_be_hw_params_fixup(struct snd_soc_pcm_runtime * rtd,struct snd_pcm_hw_params * params) sm8250_be_hw_params_fixup() argument 79 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sm8250_snd_startup() local 117 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sm8250_snd_shutdown() local 129 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sm8250_snd_hw_params() local 138 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sm8250_snd_prepare() local 149 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sm8250_snd_hw_free() local [all...] |
H A D | sc8280xp.c | 26 static int sc8280xp_snd_init(struct snd_soc_pcm_runtime *rtd) in sc8280xp_snd_init() argument 28 struct sc8280xp_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in sc8280xp_snd_init() 29 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_init() 30 struct snd_soc_card *card = rtd->card; in sc8280xp_snd_init() 61 return qcom_snd_dp_jack_setup(rtd, dp_jack, dp_pcm_id); in sc8280xp_snd_init() 63 return qcom_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup); in sc8280xp_snd_init() 68 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sc8280xp_snd_shutdown() local 69 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc8280xp_snd_shutdown() 70 struct sc8280xp_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sc8280xp_snd_shutdown() 77 static int sc8280xp_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in sc8280xp_be_hw_params_fixup() argument 107 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc8280xp_snd_hw_params() local 116 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc8280xp_snd_prepare() local 127 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sc8280xp_snd_hw_free() local [all...] |
H A D | x1e80100.c | 27 static int x1e80100_snd_init(struct snd_soc_pcm_runtime *rtd) in x1e80100_snd_init() argument 29 struct x1e80100_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in x1e80100_snd_init() 30 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in x1e80100_snd_init() 48 return qcom_snd_dp_jack_setup(rtd, dp_jack, dp_pcm_id); in x1e80100_snd_init() 50 return qcom_snd_wcd_jack_setup(rtd, &data->jack, &data->jack_setup); in x1e80100_snd_init() 55 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in x1e80100_snd_shutdown() local 56 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in x1e80100_snd_shutdown() 57 struct x1e80100_snd_data *data = snd_soc_card_get_drvdata(rtd->card); in x1e80100_snd_shutdown() 64 static int x1e80100_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, in x1e80100_be_hw_params_fixup() argument 67 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, in x1e80100_be_hw_params_fixup() 91 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); x1e80100_snd_hw_params() local 128 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); x1e80100_snd_prepare() local 158 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); x1e80100_snd_hw_free() local [all...] |
/linux/sound/soc/amd/vangogh/ |
H A D | acp5x-pcm-dma.c | 103 static void config_acp5x_dma(struct i2s_stream_instance *rtd, int direction) in config_acp5x_dma() argument 110 addr = rtd->dma_addr; in config_acp5x_dma() 112 switch (rtd->i2s_instance) { in config_acp5x_dma() 121 switch (rtd->i2s_instance) { in config_acp5x_dma() 131 acp_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp5x_base + in config_acp5x_dma() 133 acp_writel(PAGE_SIZE_4K_ENABLE, rtd->acp5x_base + in config_acp5x_dma() 136 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in config_acp5x_dma() 141 acp_writel(low, rtd->acp5x_base + ACP_SCRATCH_REG_0 + val); in config_acp5x_dma() 143 acp_writel(high, rtd->acp5x_base + ACP_SCRATCH_REG_0 + val + 4); in config_acp5x_dma() 150 switch (rtd in config_acp5x_dma() 241 struct i2s_stream_instance *rtd; acp5x_dma_hw_params() local 293 struct i2s_stream_instance *rtd; acp5x_dma_pointer() local 309 acp5x_dma_new(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd) acp5x_dma_new() argument 426 struct i2s_stream_instance *rtd; acp5x_pcm_resume() local [all...] |
H A D | acp5x.h | 152 static inline u64 acp_get_byte_count(struct i2s_stream_instance *rtd, in acp_get_byte_count() argument 158 switch (rtd->i2s_instance) { in acp_get_byte_count() 161 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 164 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 170 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 173 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 177 switch (rtd->i2s_instance) { in acp_get_byte_count() 180 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 183 acp_readl(rtd->acp5x_base + in acp_get_byte_count() 189 acp_readl(rtd in acp_get_byte_count() 200 acp5x_set_i2s_clk(struct i2s_dev_data * adata,struct i2s_stream_instance * rtd) acp5x_set_i2s_clk() argument [all...] |
/linux/sound/soc/intel/boards/ |
H A D | sof_realtek_common.c | 139 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in rt1011_hw_params() local 145 for_each_rtd_codec_dais(rtd, i, codec_dai) { in rt1011_hw_params() 186 static int rt1011_init(struct snd_soc_pcm_runtime *rtd) in rt1011_init() argument 188 struct snd_soc_card *card = rtd->card; in rt1011_init() 198 dev_err(rtd->dev, "fail to add rt1011 widgets, ret %d\n", in rt1011_init() 206 dev_err(rtd->dev, "fail to add rt1011 kcontrols, ret %d\n", in rt1011_init() 214 dev_err(rtd->dev, "fail to add rt1011 routes, ret %d\n", in rt1011_init() 231 dev_err(rtd->dev, "fail to add rt1011 widgets, ret %d\n", in rt1011_init() 239 dev_err(rtd->dev, "fail to add rt1011 controls, ret %d\n", in rt1011_init() 247 dev_err(rtd in rt1011_init() 344 rt1015p_init(struct snd_soc_pcm_runtime * rtd) rt1015p_init() argument 399 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); rt1015_hw_params() local 481 speaker_codec_init_lr(struct snd_soc_pcm_runtime * rtd) speaker_codec_init_lr() argument 561 rt1308_init(struct snd_soc_pcm_runtime * rtd) rt1308_init() argument 592 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); rt1308_hw_params() local 650 rt1019p_init(struct snd_soc_pcm_runtime * rtd) rt1019p_init() argument [all...] |
H A D | sof_maxim_common.c | 113 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in max_98373_hw_params() local 114 struct snd_soc_dai_link *dai_link = rtd->dai_link; in max_98373_hw_params() 122 for_each_rtd_codec_dais(rtd, i, codec_dai) { in max_98373_hw_params() 132 tdm_slots = sof_dai_get_tdm_slots(rtd); in max_98373_hw_params() 134 dev_err(rtd->dev, "invalid tdm slots %d\n", in max_98373_hw_params() 192 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in max_98373_trigger() local 202 cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in max_98373_trigger() 203 for_each_rtd_codec_dais(rtd, j, codec_dai) { in max_98373_trigger() 239 static int max_98373_spk_codec_init(struct snd_soc_pcm_runtime *rtd) in max_98373_spk_codec_init() argument 241 struct snd_soc_card *card = rtd in max_98373_spk_codec_init() 382 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); max_98390_hw_params() local 416 max_98390_init(struct snd_soc_pcm_runtime * rtd) max_98390_init() argument 564 max_98357a_init(struct snd_soc_pcm_runtime * rtd) max_98357a_init() argument [all...] |
/linux/sound/soc/amd/ps/ |
H A D | ps-pdm-dma.c | 157 static void acp63_config_dma(struct pdm_stream_instance *rtd, int direction) in acp63_config_dma() argument 163 addr = rtd->dma_addr; in acp63_config_dma() 167 writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp63_base + ACPAXI2AXI_ATU_BASE_ADDR_GRP_1); in acp63_config_dma() 168 writel(PAGE_SIZE_4K_ENABLE, rtd->acp63_base + ACPAXI2AXI_ATU_PAGE_SIZE_GRP_1); in acp63_config_dma() 169 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in acp63_config_dma() 174 writel(low, rtd->acp63_base + ACP_SCRATCH_REG_0 + val); in acp63_config_dma() 176 writel(high, rtd->acp63_base + ACP_SCRATCH_REG_0 + val + 4); in acp63_config_dma() 221 struct pdm_stream_instance *rtd; in acp63_pdm_dma_hw_params() local 224 rtd = substream->runtime->private_data; in acp63_pdm_dma_hw_params() 225 if (!rtd) in acp63_pdm_dma_hw_params() 237 acp63_pdm_get_byte_count(struct pdm_stream_instance * rtd,int direction) acp63_pdm_get_byte_count() argument 253 struct pdm_stream_instance *rtd; acp63_pdm_dma_pointer() local 268 acp63_pdm_dma_new(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd) acp63_pdm_dma_new() argument 292 struct pdm_stream_instance *rtd; acp63_pdm_dai_trigger() local 409 struct pdm_stream_instance *rtd; acp63_pdm_resume() local [all...] |
/linux/sound/soc/amd/yc/ |
H A D | acp6x-pdm-dma.c | 153 static void acp6x_config_dma(struct pdm_stream_instance *rtd, int direction) in acp6x_config_dma() argument 159 addr = rtd->dma_addr; in acp6x_config_dma() 163 acp6x_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp6x_base + in acp6x_config_dma() 165 acp6x_writel(PAGE_SIZE_4K_ENABLE, rtd->acp6x_base + in acp6x_config_dma() 167 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in acp6x_config_dma() 172 acp6x_writel(low, rtd->acp6x_base + ACP_SCRATCH_REG_0 + val); in acp6x_config_dma() 174 acp6x_writel(high, rtd->acp6x_base + ACP_SCRATCH_REG_0 + val + 4); in acp6x_config_dma() 219 struct pdm_stream_instance *rtd; in acp6x_pdm_dma_hw_params() local 222 rtd = substream->runtime->private_data; in acp6x_pdm_dma_hw_params() 223 if (!rtd) in acp6x_pdm_dma_hw_params() 235 acp6x_pdm_get_byte_count(struct pdm_stream_instance * rtd,int direction) acp6x_pdm_get_byte_count() argument 250 struct pdm_stream_instance *rtd; acp6x_pdm_dma_pointer() local 265 acp6x_pdm_dma_new(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd) acp6x_pdm_dma_new() argument 287 struct pdm_stream_instance *rtd; acp6x_pdm_dai_trigger() local 401 struct pdm_stream_instance *rtd; acp6x_pdm_resume() local [all...] |
/linux/sound/soc/amd/renoir/ |
H A D | acp3x-pdm-dma.c | 176 static void config_acp_dma(struct pdm_stream_instance *rtd, int direction) in config_acp_dma() argument 182 addr = rtd->dma_addr; in config_acp_dma() 186 rn_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp_base + in config_acp_dma() 188 rn_writel(PAGE_SIZE_4K_ENABLE, rtd->acp_base + in config_acp_dma() 191 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in config_acp_dma() 196 rn_writel(low, rtd->acp_base + ACP_SCRATCH_REG_0 + val); in config_acp_dma() 198 rn_writel(high, rtd->acp_base + ACP_SCRATCH_REG_0 + val + 4); in config_acp_dma() 243 struct pdm_stream_instance *rtd; in acp_pdm_dma_hw_params() local 246 rtd = substream->runtime->private_data; in acp_pdm_dma_hw_params() 247 if (!rtd) in acp_pdm_dma_hw_params() 259 acp_pdm_get_byte_count(struct pdm_stream_instance * rtd,int direction) acp_pdm_get_byte_count() argument 276 struct pdm_stream_instance *rtd; acp_pdm_dma_pointer() local 291 acp_pdm_dma_new(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd) acp_pdm_dma_new() argument 313 struct pdm_stream_instance *rtd; acp_pdm_dai_trigger() local 448 struct pdm_stream_instance *rtd; acp_pdm_resume() local [all...] |
/linux/sound/soc/sof/ |
H A D | compress.c | 50 struct snd_soc_pcm_runtime *rtd; in snd_sof_compr_fragment_elapsed() local 59 rtd = cstream->private_data; in snd_sof_compr_fragment_elapsed() 62 component = snd_soc_rtdcom_lookup(rtd, SOF_AUDIO_PCM_DRV_NAME); in snd_sof_compr_fragment_elapsed() 64 spcm = snd_sof_find_spcm_dai(component, rtd); in snd_sof_compr_fragment_elapsed() 83 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in create_page_table() local 87 spcm = snd_sof_find_spcm_dai(component, rtd); in create_page_table() 98 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in sof_compr_open() local 108 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_compr_open() 136 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in sof_compr_free() local 141 spcm = snd_sof_find_spcm_dai(component, rtd); in sof_compr_free() 166 struct snd_soc_pcm_runtime *rtd = cstream->private_data; sof_compr_set_params() local 272 struct snd_soc_pcm_runtime *rtd = cstream->private_data; sof_compr_trigger() local 305 sof_compr_copy_playback(struct snd_compr_runtime * rtd,char __user * buf,size_t count) sof_compr_copy_playback() argument 326 sof_compr_copy_capture(struct snd_compr_runtime * rtd,char __user * buf,size_t count) sof_compr_copy_capture() argument 351 struct snd_compr_runtime *rtd = cstream->runtime; sof_compr_copy() local 367 struct snd_soc_pcm_runtime *rtd = cstream->private_data; sof_compr_pointer() local [all...] |
/linux/sound/soc/tegra/ |
H A D | tegra_pcm.c | 79 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in tegra_pcm_open() local 82 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in tegra_pcm_open() 85 if (rtd->dai_link->no_pcm) in tegra_pcm_open() 97 dev_err(rtd->dev, "failed to set constraint %d\n", ret); in tegra_pcm_open() 111 dev_err(rtd->dev, in tegra_pcm_open() 130 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in tegra_pcm_close() local 132 if (rtd->dai_link->no_pcm) in tegra_pcm_close() 145 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in tegra_pcm_hw_params() local 151 if (rtd->dai_link->no_pcm) in tegra_pcm_hw_params() 154 dmap = snd_soc_dai_get_dma_data(snd_soc_rtd_to_cpu(rtd, in tegra_pcm_hw_params() 194 tegra_pcm_dma_allocate(struct device * dev,struct snd_soc_pcm_runtime * rtd,size_t size) tegra_pcm_dma_allocate() argument 208 tegra_pcm_construct(struct snd_soc_component * component,struct snd_soc_pcm_runtime * rtd) tegra_pcm_construct() argument [all...] |
/linux/sound/soc/amd/acp/ |
H A D | acp-mach-common.c | 116 static int acp_card_rt5682_init(struct snd_soc_pcm_runtime *rtd) in acp_card_rt5682_init() argument 118 struct snd_soc_card *card = rtd->card; in acp_card_rt5682_init() 120 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in acp_card_rt5682_init() 124 dev_info(rtd->dev, "codec dai name = %s\n", codec_dai->name); in acp_card_rt5682_init() 135 dev_err(rtd->dev, "unable to add widget dapm controls, ret %d\n", ret); in acp_card_rt5682_init() 142 dev_err(rtd->dev, "unable to add card controls, ret %d\n", ret); in acp_card_rt5682_init() 165 dev_err(rtd->dev, "Headset Jack call-back failed: %d\n", ret); in acp_card_rt5682_init() 169 return snd_soc_dapm_add_routes(&rtd->card->dapm, rt5682_map, ARRAY_SIZE(rt5682_map)); in acp_card_rt5682_init() 175 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in acp_card_hs_startup() local 176 struct snd_soc_card *card = rtd in acp_card_hs_startup() 209 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); acp_card_shutdown() local 220 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); acp_card_rt5682_hw_params() local 357 acp_card_rt5682s_init(struct snd_soc_pcm_runtime * rtd) acp_card_rt5682s_init() argument 418 struct snd_soc_pcm_runtime *rtd = substream->private_data; acp_card_rt5682s_hw_params() local 581 acp_card_rt1019_init(struct snd_soc_pcm_runtime * rtd) acp_card_rt1019_init() argument 611 struct snd_soc_pcm_runtime *rtd = substream->private_data; acp_card_rt1019_hw_params() local 746 acp_card_maxim_init(struct snd_soc_pcm_runtime * rtd) acp_card_maxim_init() argument 776 struct snd_soc_pcm_runtime *rtd = substream->private_data; acp_card_maxim_hw_params() local 882 acp_card_max98388_init(struct snd_soc_pcm_runtime * rtd) acp_card_max98388_init() argument 914 struct snd_soc_pcm_runtime *rtd = substream->private_data; acp_max98388_hw_params() local 966 acp_card_nau8825_init(struct snd_soc_pcm_runtime * rtd) acp_card_nau8825_init() argument 1022 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); acp_nau8825_hw_params() local 1181 acp_8821_init(struct snd_soc_pcm_runtime * rtd) acp_8821_init() argument 1246 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); acp_nau8821_hw_params() local [all...] |
/linux/include/sound/ |
H A D | soc_sdw_utils.h | 61 int (*rtd_init)(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 157 int (*init)(struct snd_soc_pcm_runtime *rtd), 164 int no_pcm, int (*init)(struct snd_soc_pcm_runtime *rtd), 177 int asoc_sdw_rtd_init(struct snd_soc_pcm_runtime *rtd); 180 int asoc_sdw_dmic_init(struct snd_soc_pcm_runtime *rtd); 227 int asoc_sdw_cs_spk_feedback_rtd_init(struct snd_soc_pcm_runtime *rtd, 238 int asoc_sdw_rt_dmic_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 239 int asoc_sdw_rt_sdca_jack_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 240 int asoc_sdw_rt_amp_spk_rtd_init(struct snd_soc_pcm_runtime *rtd, struct snd_soc_dai *dai); 241 int asoc_sdw_rt700_rtd_init(struct snd_soc_pcm_runtime *rtd, struc [all...] |