/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-link.c | 11 #define soc_link_ret(rtd, ret) _soc_link_ret(rtd, __func__, ret) 12 static inline int _soc_link_ret(struct snd_soc_pcm_runtime *rtd, in _soc_link_ret() argument 25 dev_err(rtd->dev, in _soc_link_ret() 27 func, rtd->dai_link->name, ret); in _soc_link_ret() 37 #define soc_link_mark_push(rtd, substream, tgt) ((rtd)->mark_##tgt = substream) 38 #define soc_link_mark_pop(rtd, substream, tgt) ((rtd)->mark_##tgt = NULL) 39 #define soc_link_mark_match(rtd, substrea 41 snd_soc_link_init(struct snd_soc_pcm_runtime *rtd) snd_soc_link_init() argument 51 snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd) snd_soc_link_exit() argument 57 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 70 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_startup() local 87 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_shutdown() local 102 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_prepare() local 115 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_hw_params() local 127 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_hw_free() local 136 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_trigger() local 148 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_link_compr_startup() local 161 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_link_compr_shutdown() local 171 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_link_compr_set_params() local [all...] |
H A D | soc-compress.c | 28 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_components_open() local 32 for_each_rtd_components(rtd, i, component) { in soc_compr_components_open() 55 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_components_free() local 59 for_each_rtd_components(rtd, i, component) { in soc_compr_components_free() 75 struct snd_soc_pcm_runtime *rtd = cstream->private_data; in soc_compr_open() local 77 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in soc_compr_open() 80 ret = snd_soc_pcm_component_pm_runtime_get(rtd, cstream); in soc_compr_open() 84 mutex_lock_nested(&rtd->card->pcm_mutex, rtd->card->pcm_subclass); in soc_compr_open() 98 snd_soc_runtime_activate(rtd, cstrea in soc_compr_open() 197 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_free() local 284 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_components_trigger() local 304 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_trigger() local 386 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_components_set_params() local 407 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_set_params() local 510 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_params() local 539 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_caps() local 562 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_codec_caps() local 584 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_ack() local 614 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_pointer() local 642 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_copy() local 665 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_set_metadata() local 691 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_metadata() local 750 snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) snd_soc_new_compress() argument [all...] |
H A D | soc-pcm.c | 157 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add() argument 159 if (!rtd->dai_link) in soc_dpcm_debugfs_add() 162 if (!rtd->dai_link->dynamic) in soc_dpcm_debugfs_add() 165 if (!rtd->card->debugfs_card_root) in soc_dpcm_debugfs_add() 168 rtd->debugfs_dpcm_root = debugfs_create_dir(rtd->dai_link->name, in soc_dpcm_debugfs_add() 169 rtd->card->debugfs_card_root); in soc_dpcm_debugfs_add() 171 debugfs_create_file("state", 0444, rtd->debugfs_dpcm_root, in soc_dpcm_debugfs_add() 172 rtd, &dpcm_state_fops); in soc_dpcm_debugfs_add() 209 * @rtd 219 snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, int stream, int action) snd_soc_runtime_action() argument 241 snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) snd_soc_runtime_ignore_pmdown_time() argument 307 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_apply_symmetry() local 364 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_params_symmetry() local 426 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_has_symmetry() local 446 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_set_msb() local 460 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_apply_msb() local 501 snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hardware *hw, int stream) snd_soc_runtime_calc_hw() argument 595 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_init_runtime_hw() local 611 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_components_open() local 631 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_components_close() local 648 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_clean() local 696 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_open() local 792 codec2codec_close_delayed_work(struct snd_soc_pcm_runtime *rtd) codec2codec_close_delayed_work() argument 809 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_prepare() local 866 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_hw_params() local 994 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_hw_free() local 1075 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_pointer() local 1254 struct snd_soc_pcm_runtime *rtd; dpcm_end_walk_at_be() local 1685 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); dpcm_set_fe_runtime() local 1759 struct snd_soc_pcm_runtime *rtd; dpcm_apply_symmetry() local 2688 soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) 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 sprintf(buf, "%ld\n", rtd->pmdown_time); in pmdown_time_show() 83 struct snd_soc_pcm_runtime *rtd = dev_get_drvdata(dev); in pmdown_time_set() local 86 ret = kstrtol(buf, 10, &rtd->pmdown_time); in pmdown_time_set() 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->num_codecs ? attr->mode : 0; /* enabled only with codec */ in soc_dev_attr_is_visible() 261 static int snd_soc_rtd_add_component(struct snd_soc_pcm_runtime *rtd, in snd_soc_rtd_add_component() argument 267 for_each_rtd_components(rtd, i, comp) { in snd_soc_rtd_add_component() 274 rtd in snd_soc_rtd_add_component() 280 snd_soc_rtdcom_lookup(struct snd_soc_pcm_runtime *rtd, const char *driver_name) snd_soc_rtdcom_lookup() argument 350 struct snd_soc_pcm_runtime *rtd; snd_soc_get_pcm_runtime() local 366 snd_soc_close_delayed_work(struct snd_soc_pcm_runtime *rtd) snd_soc_close_delayed_work() argument 397 soc_free_pcm_runtime(struct snd_soc_pcm_runtime *rtd) soc_free_pcm_runtime() argument 422 struct snd_soc_pcm_runtime *rtd = close_delayed_work() local 433 struct snd_soc_pcm_runtime *rtd; soc_new_pcm_runtime() local 517 struct snd_soc_pcm_runtime *rtd; snd_soc_flush_all_delayed_work() local 529 struct snd_soc_pcm_runtime *rtd; snd_soc_suspend() local 652 struct snd_soc_pcm_runtime *rtd; soc_resume_deferred() local 958 snd_soc_remove_pcm_runtime(struct snd_soc_card *card, struct snd_soc_pcm_runtime *rtd) snd_soc_remove_pcm_runtime() argument 989 struct snd_soc_pcm_runtime *rtd; snd_soc_add_pcm_runtime() local 1056 soc_init_pcm_runtime(struct snd_soc_card *card, struct snd_soc_pcm_runtime *rtd) soc_init_pcm_runtime() argument 1272 struct snd_soc_pcm_runtime *rtd; soc_remove_link_dais() local 1285 struct snd_soc_pcm_runtime *rtd; soc_probe_link_dais() local 1308 struct snd_soc_pcm_runtime *rtd; soc_remove_link_components() local 1326 struct snd_soc_pcm_runtime *rtd; soc_probe_link_components() local 1422 snd_soc_runtime_set_dai_fmt(struct snd_soc_pcm_runtime *rtd, unsigned int dai_fmt) snd_soc_runtime_set_dai_fmt() argument 1767 struct snd_soc_pcm_runtime *rtd, *n; soc_cleanup_card_resources() local 1814 struct snd_soc_pcm_runtime *rtd; snd_soc_bind_card() local [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-link.c | 11 #define soc_link_ret(rtd, ret) _soc_link_ret(rtd, __func__, ret) 12 static inline int _soc_link_ret(struct snd_soc_pcm_runtime *rtd, in _soc_link_ret() argument 25 dev_err(rtd->dev, in _soc_link_ret() 27 func, rtd->dai_link->name, ret); in _soc_link_ret() 37 #define soc_link_mark_push(rtd, substream, tgt) ((rtd)->mark_##tgt = substream) 38 #define soc_link_mark_pop(rtd, substream, tgt) ((rtd)->mark_##tgt = NULL) 39 #define soc_link_mark_match(rtd, substrea 41 snd_soc_link_init(struct snd_soc_pcm_runtime *rtd) snd_soc_link_init() argument 51 snd_soc_link_exit(struct snd_soc_pcm_runtime *rtd) snd_soc_link_exit() argument 57 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 70 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_startup() local 87 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_shutdown() local 102 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_prepare() local 115 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_hw_params() local 131 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_hw_free() local 146 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_link_trigger() local 159 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); snd_soc_link_trigger() local 186 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_link_compr_startup() local 203 struct snd_soc_pcm_runtime *rtd = cstream->private_data; snd_soc_link_compr_shutdown() local 218 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 = asoc_rtd_to_cpu(rtd, 0); in soc_compr_clean() 61 struct snd_soc_dai *codec_dai = asoc_rtd_to_codec(rtd, 0); in soc_compr_clean() 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 421 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_params() local 439 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_ack() local 458 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_pointer() local 477 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_set_metadata() local 491 struct snd_soc_pcm_runtime *rtd = cstream->private_data; soc_compr_get_metadata() local 540 snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num) 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) 30 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd, in _soc_pcm_ret() argument 44 dev_err(rtd->dev, in _soc_pcm_ret() 46 func, rtd->dai_link->name, ret); in _soc_pcm_ret() 52 static inline void snd_soc_dpcm_stream_lock_irq(struct snd_soc_pcm_runtime *rtd, in snd_soc_dpcm_stream_lock_irq() argument 55 snd_pcm_stream_lock_irq(snd_soc_dpcm_get_substream(rtd, stream)); in snd_soc_dpcm_stream_lock_irq() 58 #define snd_soc_dpcm_stream_lock_irqsave_nested(rtd, stream, flags) \ 59 snd_pcm_stream_lock_irqsave_nested(snd_soc_dpcm_get_substream(rtd, stream), flags) 61 static inline void snd_soc_dpcm_stream_unlock_irq(struct snd_soc_pcm_runtime *rtd, in snd_soc_dpcm_stream_unlock_irq() argument 72 soc_cpu_dai_name(struct snd_soc_pcm_runtime *rtd) soc_cpu_dai_name() argument 76 soc_codec_dai_name(struct snd_soc_pcm_runtime *rtd) soc_codec_dai_name() argument 205 soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) soc_dpcm_debugfs_add() argument 292 snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, int stream, int action) snd_soc_runtime_action() argument 314 snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) snd_soc_runtime_ignore_pmdown_time() argument 389 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_apply_symmetry() local 422 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_params_symmetry() local 455 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_update_symmetry() local 476 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_set_msb() local 490 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_apply_msb() local 566 snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hardware *hw, int stream) snd_soc_runtime_calc_hw() argument 639 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_init_runtime_hw() local 655 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_components_open() local 675 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_components_close() local 690 soc_pcm_clean(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream, int rollback) soc_pcm_clean() argument 730 __soc_pcm_close(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) __soc_pcm_close() argument 739 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_close() local 749 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_hw_sanity_check() local 790 __soc_pcm_open(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) __soc_pcm_open() argument 855 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_open() local 869 __soc_pcm_prepare(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) __soc_pcm_prepare() argument 911 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_prepare() local 931 soc_pcm_hw_clean(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream, int rollback) soc_pcm_hw_clean() argument 970 __soc_pcm_hw_free(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream) __soc_pcm_hw_free() argument 979 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_hw_free() local 993 __soc_pcm_hw_params(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_substream *substream, struct snd_pcm_hw_params *params) __soc_pcm_hw_params() argument 1099 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_hw_params() local 1124 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); soc_pcm_trigger() local 1391 struct snd_soc_pcm_runtime *rtd; dpcm_end_walk_at_be() local 1862 struct snd_soc_pcm_runtime *rtd; dpcm_apply_symmetry() local 2774 soc_get_playback_capture(struct snd_soc_pcm_runtime *rtd, int *playback, int *capture) soc_get_playback_capture() argument 2883 soc_create_pcm(struct snd_pcm **pcm, struct snd_soc_pcm_runtime *rtd, int playback, int capture, int num) soc_create_pcm() argument 2926 soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) soc_new_pcm() argument [all...] |
/kernel/linux/linux-5.10/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 del_timer(&rtd->alarm); in test_rtc_set_alarm() 54 rtd->alarm.expires = expires; in test_rtc_set_alarm() 57 add_timer(&rtd->alarm); in test_rtc_set_alarm() 59 rtd in test_rtc_set_alarm() 66 struct rtc_test_data *rtd = dev_get_drvdata(dev); test_rtc_read_time() local 75 struct rtc_test_data *rtd = dev_get_drvdata(dev); test_rtc_set_time() local 84 struct rtc_test_data *rtd = dev_get_drvdata(dev); test_rtc_alarm_irq_enable() local 111 struct rtc_test_data *rtd = from_timer(rtd, t, alarm); test_rtc_alarm_handler() local 118 struct rtc_test_data *rtd; test_probe() local [all...] |
/kernel/linux/linux-6.6/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 del_timer(&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 = from_timer(rtd, t, alarm); test_rtc_alarm_handler() local 117 struct rtc_test_data *rtd; test_probe() local [all...] |
/kernel/linux/linux-6.6/sound/soc/amd/ |
H A D | acp-pcm-dma.c | 331 struct audio_substream_data *rtd, in config_acp_dma() 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() 330 config_acp_dma(void __iomem *acp_mmio, struct audio_substream_data *rtd, u32 asic_type) config_acp_dma() argument 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 1160 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...] |
/kernel/linux/linux-5.10/sound/soc/amd/ |
H A D | acp-pcm-dma.c | 331 struct audio_substream_data *rtd, in config_acp_dma() 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() 330 config_acp_dma(void __iomem *acp_mmio, struct audio_substream_data *rtd, u32 asic_type) config_acp_dma() argument 842 struct audio_substream_data *rtd; acp_dma_hw_params() local 984 acp_get_byte_count(struct audio_substream_data *rtd) acp_get_byte_count() argument 1005 struct audio_substream_data *rtd = runtime->private_data; acp_dma_pointer() local 1049 struct audio_substream_data *rtd = runtime->private_data; acp_dma_prepare() local 1079 struct audio_substream_data *rtd = runtime->private_data; acp_dma_trigger() local 1120 acp_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) acp_dma_new() argument 1150 struct audio_substream_data *rtd = runtime->private_data; acp_dma_close() local 1300 struct audio_substream_data *rtd; acp_pcm_resume() local [all...] |
/kernel/linux/linux-6.6/sound/soc/amd/vangogh/ |
H A D | acp5x-i2s.c | 86 struct i2s_stream_instance *rtd; in acp5x_i2s_hwparams() local 99 rtd = substream->runtime->private_data; in acp5x_i2s_hwparams() 105 rtd->i2s_instance = pinfo->play_i2s_instance; in acp5x_i2s_hwparams() 107 rtd->i2s_instance = pinfo->cap_i2s_instance; in acp5x_i2s_hwparams() 114 rtd->xfer_resolution = 0x0; in acp5x_i2s_hwparams() 117 rtd->xfer_resolution = 0x02; in acp5x_i2s_hwparams() 120 rtd->xfer_resolution = 0x04; in acp5x_i2s_hwparams() 123 rtd->xfer_resolution = 0x05; in acp5x_i2s_hwparams() 129 switch (rtd->i2s_instance) { in acp5x_i2s_hwparams() 140 switch (rtd in acp5x_i2s_hwparams() 235 struct i2s_stream_instance *rtd; acp5x_i2s_trigger() local [all...] |
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 308 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...] |
/kernel/linux/linux-5.10/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 | 109 static void config_acp3x_dma(struct i2s_stream_instance *rtd, int direction) in config_acp3x_dma() argument 116 addr = rtd->dma_addr; in config_acp3x_dma() 119 switch (rtd->i2s_instance) { in config_acp3x_dma() 128 switch (rtd->i2s_instance) { in config_acp3x_dma() 138 rv_writel(ACP_SRAM_PTE_OFFSET | BIT(31), rtd->acp3x_base + in config_acp3x_dma() 140 rv_writel(PAGE_SIZE_4K_ENABLE, rtd->acp3x_base + in config_acp3x_dma() 143 for (page_idx = 0; page_idx < rtd->num_pages; page_idx++) { in config_acp3x_dma() 148 rv_writel(low, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val); in config_acp3x_dma() 150 rv_writel(high, rtd->acp3x_base + mmACP_SCRATCH_REG_0 + val in config_acp3x_dma() 158 switch (rtd in config_acp3x_dma() 250 struct i2s_stream_instance *rtd; acp3x_dma_hw_params() local 300 struct i2s_stream_instance *rtd; acp3x_dma_pointer() local 316 acp3x_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) acp3x_dma_new() argument 453 struct i2s_stream_instance *rtd = acp3x_resume() local 470 struct i2s_stream_instance *rtd = acp3x_resume() local [all...] |
/kernel/linux/linux-6.6/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 314 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...] |
/kernel/linux/linux-6.6/sound/soc/qcom/ |
H A D | sdm845.c | 61 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_slim_snd_hw_params() local 62 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_slim_snd_hw_params() 64 struct sdm845_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sdm845_slim_snd_hw_params() 70 for_each_rtd_codec_dais(rtd, i, codec_dai) { in sdm845_slim_snd_hw_params() 101 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); in sdm845_tdm_snd_hw_params() local 102 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sdm845_tdm_snd_hw_params() 112 dev_err(rtd->dev, "%s: invalid param format 0x%x\n", in sdm845_tdm_snd_hw_params() 122 dev_err(rtd->dev, "%s: failed to set tdm slot, err:%d\n", in sdm845_tdm_snd_hw_params() 130 dev_err(rtd->dev, "%s: failed to set channel map, err:%d\n", in sdm845_tdm_snd_hw_params() 138 dev_err(rtd in sdm845_tdm_snd_hw_params() 186 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sdm845_snd_hw_params() local 232 sdm845_dai_init(struct snd_soc_pcm_runtime *rtd) sdm845_dai_init() argument 334 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sdm845_snd_startup() local 424 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sdm845_snd_shutdown() local 470 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sdm845_snd_prepare() local 509 struct snd_soc_pcm_runtime *rtd = snd_soc_substream_to_rtd(substream); sdm845_snd_hw_free() local 531 sdm845_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) sdm845_be_hw_params_fixup() argument [all...] |
H A D | sc7280.c | 57 static int sc7280_headset_init(struct snd_soc_pcm_runtime *rtd) in sc7280_headset_init() argument 59 struct snd_soc_card *card = rtd->card; in sc7280_headset_init() 61 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7280_headset_init() 62 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, 0); in sc7280_headset_init() 99 for_each_rtd_codec_dais(rtd, i, codec_dai) { in sc7280_headset_init() 114 static int sc7280_hdmi_init(struct snd_soc_pcm_runtime *rtd) in sc7280_hdmi_init() argument 116 struct snd_soc_card *card = rtd->card; in sc7280_hdmi_init() 118 struct snd_soc_dai *codec_dai = snd_soc_rtd_to_codec(rtd, 0); in sc7280_hdmi_init() 138 static int sc7280_rt5682_init(struct snd_soc_pcm_runtime *rtd) in sc7280_rt5682_init() argument 140 struct snd_soc_dai *cpu_dai = snd_soc_rtd_to_cpu(rtd, in sc7280_rt5682_init() 177 sc7280_init(struct snd_soc_pcm_runtime *rtd) sc7280_init() argument 206 struct snd_soc_pcm_runtime *rtd = substream->private_data; sc7280_snd_hw_params() local 238 struct snd_soc_pcm_runtime *rtd = substream->private_data; sc7280_snd_swr_prepare() local 269 struct snd_soc_pcm_runtime *rtd = substream->private_data; sc7280_snd_prepare() local 288 struct snd_soc_pcm_runtime *rtd = substream->private_data; sc7280_snd_hw_free() local 313 struct snd_soc_pcm_runtime *rtd = substream->private_data; sc7280_snd_shutdown() local 340 struct snd_soc_pcm_runtime *rtd = substream->private_data; sc7280_snd_startup() local 382 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...] |
/kernel/linux/linux-5.10/sound/soc/qcom/ |
H A D | sdm845.c | 49 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sdm845_slim_snd_hw_params() local 50 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_slim_snd_hw_params() 52 struct sdm845_snd_data *pdata = snd_soc_card_get_drvdata(rtd->card); in sdm845_slim_snd_hw_params() 58 for_each_rtd_codec_dais(rtd, i, codec_dai) { in sdm845_slim_snd_hw_params() 89 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in sdm845_tdm_snd_hw_params() local 90 struct snd_soc_dai *cpu_dai = asoc_rtd_to_cpu(rtd, 0); in sdm845_tdm_snd_hw_params() 100 dev_err(rtd->dev, "%s: invalid param format 0x%x\n", in sdm845_tdm_snd_hw_params() 110 dev_err(rtd->dev, "%s: failed to set tdm slot, err:%d\n", in sdm845_tdm_snd_hw_params() 118 dev_err(rtd->dev, "%s: failed to set channel map, err:%d\n", in sdm845_tdm_snd_hw_params() 126 dev_err(rtd in sdm845_tdm_snd_hw_params() 174 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); sdm845_snd_hw_params() local 220 sdm845_dai_init(struct snd_soc_pcm_runtime *rtd) sdm845_dai_init() argument 305 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); sdm845_snd_startup() local 395 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); sdm845_snd_shutdown() local 441 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); sdm845_snd_prepare() local 480 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); sdm845_snd_hw_free() local 502 sdm845_be_hw_params_fixup(struct snd_soc_pcm_runtime *rtd, struct snd_pcm_hw_params *params) sdm845_be_hw_params_fixup() argument [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | sof_realtek_common.c | 71 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1011_hw_params() local 77 for_each_rtd_codec_dais(rtd, i, codec_dai) { in rt1011_hw_params() 118 static int rt1011_init(struct snd_soc_pcm_runtime *rtd) in rt1011_init() argument 120 struct snd_soc_card *card = rtd->card; in rt1011_init() 126 dev_err(rtd->dev, "Speaker map addition failed: %d\n", ret); in rt1011_init() 217 static int rt1015p_init(struct snd_soc_pcm_runtime *rtd) in rt1015p_init() argument 219 struct snd_soc_card *card = rtd->card; in rt1015p_init() 229 dev_err(rtd->dev, "Speaker map addition failed: %d\n", ret); in rt1015p_init() 267 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in rt1015_hw_params() local 268 struct snd_soc_dai_link *dai_link = rtd in rt1015_hw_params() 349 speaker_codec_init_lr(struct snd_soc_pcm_runtime *rtd) speaker_codec_init_lr() argument 395 rt1308_init(struct snd_soc_pcm_runtime *rtd) rt1308_init() argument 426 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); rt1308_hw_params() local 484 rt1019p_init(struct snd_soc_pcm_runtime *rtd) rt1019p_init() argument [all...] |
/kernel/linux/linux-5.10/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 290 acp_pdm_dma_new(struct snd_soc_component *component, struct snd_soc_pcm_runtime *rtd) acp_pdm_dma_new() argument 320 struct pdm_stream_instance *rtd; acp_pdm_dai_trigger() local 457 struct pdm_stream_instance *rtd; acp_pdm_resume() local [all...] |
/kernel/linux/linux-6.6/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 264 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...] |
/kernel/linux/linux-6.6/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 290 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...] |
/kernel/linux/linux-6.6/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 267 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...] |