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()
797 static void codec2codec_close_delayed_work(struct snd_soc_pcm_runtime *rtd) in codec2codec_close_delayed_work()
814 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_prepare()
871 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_hw_params()
999 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_hw_free()
1080 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_pointer()
1116 static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, in dpcm_be_connect()
1117 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_connect()
1151 static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, in dpcm_be_reparent()
1152 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_reparent()
1179 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_disconnect()
1210 static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, in dpcm_get_be()
1213 struct snd_soc_pcm_runtime *be; in dpcm_get_be()
1257 struct snd_soc_pcm_runtime *rtd; in dpcm_end_walk_at_be()
1273 int dpcm_path_get(struct snd_soc_pcm_runtime *fe, in dpcm_path_get()
1322 static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_prune_paths()
1345 static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_add_paths()
1350 struct snd_soc_pcm_runtime *be; in dpcm_add_paths()
1404 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, in dpcm_process_paths()
1413 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_clear_pending_state()
1425 static void dpcm_be_dai_startup_unwind(struct snd_soc_pcm_runtime *fe, in dpcm_be_dai_startup_unwind()
1433 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup_unwind()
1454 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_startup()
1462 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1515 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1558 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_format()
1572 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_format()
1595 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_chan()
1608 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_chan()
1650 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_rate()
1663 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_rate()
1688 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in dpcm_set_fe_runtime()
1719 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, in dpcm_set_fe_update_state()
1739 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_apply_symmetry()
1759 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_apply_symmetry()
1762 struct snd_soc_pcm_runtime *rtd; in dpcm_apply_symmetry()
1792 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_startup()
1831 int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_shutdown()
1838 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_shutdown()
1873 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_shutdown()
1894 int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_free()
1902 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_free()
1939 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_hw_free()
1964 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_params()
1971 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2018 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2044 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_hw_params()
2091 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_be_dai_trigger()
2099 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_trigger()
2190 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_dai_trigger_fe_be()
2221 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_do_trigger()
2306 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_trigger()
2321 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_prepare()
2328 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_prepare()
2359 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_prepare()
2399 static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_shutdown()
2440 static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_startup()
2519 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_run_update_startup()
2528 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) in soc_dpcm_fe_runtime_update()
2600 struct snd_soc_pcm_runtime *fe; in snd_soc_dpcm_runtime_update()
2626 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_cleanup()
2641 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_close()
2655 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_open()
2686 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) in soc_new_pcm()
2882 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) in snd_soc_dpcm_fe_can_update()
2891 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_be_can_update()
2892 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_can_update()
2904 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_get_substream()
2910 static int snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_check_state()
2911 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state()
2946 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop()
2947 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop()
2963 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_params()
2964 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params()