Lines Matching refs:snd_soc_pcm_runtime
61 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state()
97 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state()
124 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file()
157 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add()
219 void snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_action()
241 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) in snd_soc_runtime_ignore_pmdown_time()
280 int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, in dpcm_dapm_stream_event()
287 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_dapm_stream_event()
307 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_apply_symmetry()
364 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_params_symmetry()
426 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_has_symmetry()
446 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_set_msb()
460 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_apply_msb()
501 int snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_calc_hw()
595 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_init_runtime_hw()
611 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_components_open()
631 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_components_close()
648 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_clean()
696 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_open()
792 static void codec2codec_close_delayed_work(struct snd_soc_pcm_runtime *rtd) in codec2codec_close_delayed_work()
809 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_prepare()
866 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_hw_params()
994 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_hw_free()
1075 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_pointer()
1111 static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, in dpcm_be_connect()
1112 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_connect()
1146 static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, in dpcm_be_reparent()
1147 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_reparent()
1176 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_disconnect()
1207 static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, in dpcm_get_be()
1210 struct snd_soc_pcm_runtime *be; in dpcm_get_be()
1254 struct snd_soc_pcm_runtime *rtd; in dpcm_end_walk_at_be()
1270 int dpcm_path_get(struct snd_soc_pcm_runtime *fe, in dpcm_path_get()
1319 static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_prune_paths()
1342 static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_add_paths()
1347 struct snd_soc_pcm_runtime *be; in dpcm_add_paths()
1401 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, in dpcm_process_paths()
1410 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_clear_pending_state()
1422 static void dpcm_be_dai_startup_unwind(struct snd_soc_pcm_runtime *fe, in dpcm_be_dai_startup_unwind()
1430 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup_unwind()
1451 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_startup()
1459 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1512 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1555 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_format()
1569 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_format()
1592 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_chan()
1605 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_chan()
1647 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_rate()
1660 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_rate()
1685 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in dpcm_set_fe_runtime()
1716 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, in dpcm_set_fe_update_state()
1736 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_apply_symmetry()
1756 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_apply_symmetry()
1759 struct snd_soc_pcm_runtime *rtd; in dpcm_apply_symmetry()
1789 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_startup()
1828 int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_shutdown()
1835 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_shutdown()
1870 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_shutdown()
1891 int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_free()
1899 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_free()
1936 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_hw_free()
1961 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_params()
1968 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2015 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2041 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_hw_params()
2088 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_be_dai_trigger()
2096 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_trigger()
2187 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_dai_trigger_fe_be()
2218 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_do_trigger()
2305 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_trigger()
2320 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_prepare()
2327 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_prepare()
2358 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_prepare()
2398 static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_shutdown()
2439 static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_startup()
2518 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_run_update_startup()
2527 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) in soc_dpcm_fe_runtime_update()
2599 struct snd_soc_pcm_runtime *fe; in snd_soc_dpcm_runtime_update()
2625 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_cleanup()
2640 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_close()
2654 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_open()
2685 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) in soc_new_pcm()
2881 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) in snd_soc_dpcm_fe_can_update()
2890 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_be_can_update()
2891 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_can_update()
2903 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_get_substream()
2909 static int snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_check_state()
2910 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state()
2945 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop()
2946 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop()
2962 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_params()
2963 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params()