Lines Matching refs:snd_soc_pcm_runtime
41 void snd_soc_runtime_activate(struct snd_soc_pcm_runtime *rtd, int stream) in snd_soc_runtime_activate()
77 void snd_soc_runtime_deactivate(struct snd_soc_pcm_runtime *rtd, int stream) in snd_soc_runtime_deactivate()
112 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) in snd_soc_runtime_ignore_pmdown_time()
154 int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, in dpcm_dapm_stream_event()
161 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_dapm_stream_event()
181 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_apply_symmetry()
238 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_params_symmetry()
289 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_has_symmetry()
310 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_set_msb()
324 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_apply_msb()
358 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_init_runtime_hw()
433 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_components_open()
465 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_components_close()
490 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_open()
652 struct snd_soc_pcm_runtime *rtd = in close_delayed_work()
653 container_of(work, struct snd_soc_pcm_runtime, delayed_work.work); in close_delayed_work()
690 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_close()
767 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_prepare()
847 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_components_hw_free()
872 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_hw_params()
998 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_hw_free()
1052 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_trigger()
1089 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_bespoke_trigger()
1113 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_pointer()
1144 static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, in dpcm_be_connect()
1145 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_connect()
1189 static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, in dpcm_be_reparent()
1190 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_reparent()
1217 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_disconnect()
1249 static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, in dpcm_get_be()
1252 struct snd_soc_pcm_runtime *be; in dpcm_get_be()
1329 struct snd_soc_pcm_runtime *rtd; in dpcm_end_walk_at_be()
1364 int dpcm_path_get(struct snd_soc_pcm_runtime *fe, in dpcm_path_get()
1380 static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_prune_paths()
1421 static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_add_paths()
1426 struct snd_soc_pcm_runtime *be; in dpcm_add_paths()
1483 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, in dpcm_process_paths()
1492 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_clear_pending_state()
1504 static void dpcm_be_dai_startup_unwind(struct snd_soc_pcm_runtime *fe, in dpcm_be_dai_startup_unwind()
1512 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup_unwind()
1533 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_startup()
1541 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1594 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1637 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_runtime_merge_format()
1651 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_format()
1679 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_runtime_merge_chan()
1692 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_chan()
1731 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_runtime_merge_rate()
1744 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_rate()
1787 struct snd_soc_pcm_runtime *rtd = substream->private_data; in dpcm_set_fe_runtime()
1810 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, in dpcm_set_fe_update_state()
1830 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_apply_symmetry()
1847 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_apply_symmetry()
1850 struct snd_soc_pcm_runtime *rtd; in dpcm_apply_symmetry()
1888 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_startup()
1931 int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_shutdown()
1938 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_shutdown()
1973 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_shutdown()
1994 int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_free()
2002 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_free()
2039 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_hw_free()
2064 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_params()
2071 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2125 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2151 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_hw_params()
2198 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_be_dai_trigger()
2206 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_trigger()
2294 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_do_trigger()
2370 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_trigger()
2385 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_prepare()
2392 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_prepare()
2423 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_prepare()
2463 static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_shutdown()
2504 static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_startup()
2583 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_run_update_startup()
2592 static int dpcm_run_new_update(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_new_update()
2605 static int dpcm_run_old_update(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_old_update()
2618 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) in soc_dpcm_fe_runtime_update()
2703 struct snd_soc_pcm_runtime *fe; in soc_dpcm_runtime_update()
2725 int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute) in soc_dpcm_be_digital_mute()
2732 struct snd_soc_pcm_runtime *be = dpcm->be; in soc_dpcm_be_digital_mute()
2755 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_open()
2794 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_close()
2814 struct snd_soc_pcm_runtime *rtd = pcm->private_data; in soc_pcm_private_free()
2822 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) in soc_new_pcm()
2974 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) in snd_soc_dpcm_fe_can_update()
2983 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_be_can_update()
2984 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_can_update()
2996 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_get_substream()
3004 snd_soc_dpcm_be_get_state(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_get_state()
3011 void snd_soc_dpcm_be_set_state(struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_be_set_state()
3022 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop()
3023 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop()
3055 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_params()
3056 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params()
3114 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state()
3150 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state()
3177 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file()
3205 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add()