Lines Matching refs:snd_soc_pcm_runtime

30 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd,
52 static inline void snd_soc_dpcm_stream_lock_irq(struct snd_soc_pcm_runtime *rtd,
61 static inline void snd_soc_dpcm_stream_unlock_irq(struct snd_soc_pcm_runtime *rtd,
72 static inline const char *soc_cpu_dai_name(struct snd_soc_pcm_runtime *rtd)
76 static inline const char *soc_codec_dai_name(struct snd_soc_pcm_runtime *rtd)
110 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe,
144 struct snd_soc_pcm_runtime *be = dpcm->be;
170 struct snd_soc_pcm_runtime *fe = file->private_data;
205 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd)
257 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe,
273 static void dpcm_set_be_update_state(struct snd_soc_pcm_runtime *be,
292 void snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd,
314 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd)
346 int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir,
355 struct snd_soc_pcm_runtime *be = dpcm->be;
389 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
422 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
455 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
476 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
490 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
566 int snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd,
639 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
655 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
675 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
690 static int soc_pcm_clean(struct snd_soc_pcm_runtime *rtd,
730 static int __soc_pcm_close(struct snd_soc_pcm_runtime *rtd,
739 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
749 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
790 static int __soc_pcm_open(struct snd_soc_pcm_runtime *rtd,
855 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
869 static int __soc_pcm_prepare(struct snd_soc_pcm_runtime *rtd,
911 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
931 static int soc_pcm_hw_clean(struct snd_soc_pcm_runtime *rtd,
970 static int __soc_pcm_hw_free(struct snd_soc_pcm_runtime *rtd,
979 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
993 static int __soc_pcm_hw_params(struct snd_soc_pcm_runtime *rtd,
1099 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
1124 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream);
1223 static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe,
1224 struct snd_soc_pcm_runtime *be, int stream)
1273 static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe,
1274 struct snd_soc_pcm_runtime *be, int stream)
1303 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream)
1341 static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card,
1344 struct snd_soc_pcm_runtime *be;
1391 struct snd_soc_pcm_runtime *rtd;
1408 int dpcm_path_get(struct snd_soc_pcm_runtime *fe,
1461 static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream,
1484 static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream,
1489 struct snd_soc_pcm_runtime *be;
1554 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe,
1563 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream)
1571 void dpcm_be_dai_stop(struct snd_soc_pcm_runtime *fe, int stream,
1578 struct snd_soc_pcm_runtime *be = dpcm->be;
1615 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream)
1618 struct snd_soc_pcm_runtime *be;
1684 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
1718 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
1734 struct snd_soc_pcm_runtime *be = dpcm->be;
1755 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
1770 struct snd_soc_pcm_runtime *be = dpcm->be;
1803 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
1818 struct snd_soc_pcm_runtime *be = dpcm->be;
1842 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
1859 struct snd_soc_pcm_runtime *be = dpcm->be;
1862 struct snd_soc_pcm_runtime *rtd;
1888 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
1925 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
1948 void dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream)
1956 struct snd_soc_pcm_runtime *be = dpcm->be;
1991 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
2013 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream)
2015 struct snd_soc_pcm_runtime *be;
2094 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
2124 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream,
2127 struct snd_soc_pcm_runtime *be;
2297 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
2328 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
2415 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
2430 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream)
2437 struct snd_soc_pcm_runtime *be = dpcm->be;
2469 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream);
2507 static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream)
2540 static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream)
2616 struct snd_soc_pcm_runtime *be = dpcm->be;
2630 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new)
2694 struct snd_soc_pcm_runtime *fe;
2720 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2735 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2749 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream);
2774 static int soc_get_playback_capture(struct snd_soc_pcm_runtime *rtd,
2884 struct snd_soc_pcm_runtime *rtd,
2926 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
3016 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream)
3025 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe,
3026 struct snd_soc_pcm_runtime *be, int stream)
3038 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream)
3044 static int snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe,
3045 struct snd_soc_pcm_runtime *be,
3077 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe,
3078 struct snd_soc_pcm_runtime *be, int stream)
3094 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe,
3095 struct snd_soc_pcm_runtime *be, int stream)
3112 int snd_soc_dpcm_can_be_prepared(struct snd_soc_pcm_runtime *fe,
3113 struct snd_soc_pcm_runtime *be, int stream)