Lines Matching refs:snd_soc_pcm_runtime
62 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state()
98 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state()
125 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file()
158 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add()
220 void snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_action()
242 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) in snd_soc_runtime_ignore_pmdown_time()
281 int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, in dpcm_dapm_stream_event()
288 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_dapm_stream_event()
308 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_apply_symmetry()
365 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_params_symmetry()
427 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_has_symmetry()
447 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_set_msb()
461 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_apply_msb()
502 int snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_calc_hw()
596 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_init_runtime_hw()
612 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_components_open()
632 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_components_close()
649 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_clean()
697 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_open()
793 static void codec2codec_close_delayed_work(struct snd_soc_pcm_runtime *rtd) in codec2codec_close_delayed_work()
810 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_prepare()
867 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_hw_params()
995 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_hw_free()
1076 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_pointer()
1112 static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, in dpcm_be_connect()
1113 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_connect()
1147 static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, in dpcm_be_reparent()
1148 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_reparent()
1177 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_disconnect()
1208 static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, in dpcm_get_be()
1211 struct snd_soc_pcm_runtime *be; in dpcm_get_be()
1255 struct snd_soc_pcm_runtime *rtd; in dpcm_end_walk_at_be()
1271 int dpcm_path_get(struct snd_soc_pcm_runtime *fe, in dpcm_path_get()
1323 static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_prune_paths()
1346 static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_add_paths()
1351 struct snd_soc_pcm_runtime *be; in dpcm_add_paths()
1405 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, in dpcm_process_paths()
1414 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_clear_pending_state()
1426 static void dpcm_be_dai_startup_unwind(struct snd_soc_pcm_runtime *fe, in dpcm_be_dai_startup_unwind()
1434 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup_unwind()
1455 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_startup()
1463 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1516 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1559 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_format()
1573 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_format()
1596 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_chan()
1609 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_chan()
1651 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_merge_rate()
1664 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_rate()
1689 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in dpcm_set_fe_runtime()
1720 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, in dpcm_set_fe_update_state()
1740 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_apply_symmetry()
1760 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_apply_symmetry()
1763 struct snd_soc_pcm_runtime *rtd; in dpcm_apply_symmetry()
1793 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_startup()
1832 int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_shutdown()
1839 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_shutdown()
1874 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_shutdown()
1895 int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_free()
1903 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_free()
1940 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_hw_free()
1965 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_params()
1972 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2019 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2045 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_hw_params()
2092 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_be_dai_trigger()
2100 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_trigger()
2191 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_dai_trigger_fe_be()
2222 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_do_trigger()
2309 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_trigger()
2324 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_prepare()
2331 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_prepare()
2362 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_prepare()
2402 static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_shutdown()
2443 static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_startup()
2522 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_run_update_startup()
2531 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) in soc_dpcm_fe_runtime_update()
2603 struct snd_soc_pcm_runtime *fe; in snd_soc_dpcm_runtime_update()
2629 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_cleanup()
2644 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_close()
2658 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_open()
2689 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) in soc_new_pcm()
2887 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) in snd_soc_dpcm_fe_can_update()
2896 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_be_can_update()
2897 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_can_update()
2909 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_get_substream()
2915 static int snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_check_state()
2916 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state()
2951 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop()
2952 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop()
2968 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_params()
2969 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params()