Lines Matching refs:snd_soc_pcm_runtime
47 void snd_soc_runtime_activate(struct snd_soc_pcm_runtime *rtd, int stream) in snd_soc_runtime_activate()
82 void snd_soc_runtime_deactivate(struct snd_soc_pcm_runtime *rtd, int stream) in snd_soc_runtime_deactivate()
116 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()
177 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_apply_symmetry()
236 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_params_symmetry()
286 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_has_symmetry()
306 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_set_msb()
320 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_apply_msb()
356 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_init_runtime_hw()
420 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_open()
593 struct snd_soc_pcm_runtime *rtd = in close_delayed_work()
594 container_of(work, struct snd_soc_pcm_runtime, delayed_work.work); in close_delayed_work()
621 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_close()
700 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_prepare()
806 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_hw_params()
901 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_hw_free()
958 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_trigger()
998 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_bespoke_trigger()
1035 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_pointer()
1073 static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, in dpcm_be_connect()
1074 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_connect()
1108 static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, in dpcm_be_reparent()
1109 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_reparent()
1136 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_disconnect()
1165 static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, in dpcm_get_be()
1168 struct snd_soc_pcm_runtime *be; in dpcm_get_be()
1233 int dpcm_path_get(struct snd_soc_pcm_runtime *fe, in dpcm_path_get()
1255 static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_prune_paths()
1296 static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_add_paths()
1301 struct snd_soc_pcm_runtime *be; in dpcm_add_paths()
1353 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, in dpcm_process_paths()
1362 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_clear_pending_state()
1371 static void dpcm_be_dai_startup_unwind(struct snd_soc_pcm_runtime *fe, in dpcm_be_dai_startup_unwind()
1379 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup_unwind()
1400 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_startup()
1408 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1461 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1504 struct snd_soc_pcm_runtime *rtd = substream->private_data; in dpcm_set_fe_runtime()
1521 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, in dpcm_set_fe_update_state()
1539 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_startup()
1575 int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_shutdown()
1582 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_shutdown()
1615 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_shutdown()
1636 int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_free()
1644 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_free()
1681 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_hw_free()
1706 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_params()
1713 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
1763 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
1789 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_hw_params()
1836 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_be_dai_trigger()
1844 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_trigger()
1932 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_do_trigger()
2006 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_trigger()
2021 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_prepare()
2028 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_prepare()
2057 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_prepare()
2100 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_ioctl()
2108 static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_shutdown()
2149 static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_startup()
2226 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_run_update_startup()
2234 static int dpcm_run_new_update(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_new_update()
2247 static int dpcm_run_old_update(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_old_update()
2270 struct snd_soc_pcm_runtime *fe = &card->rtd[i]; in soc_dpcm_runtime_update()
2360 int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute) in soc_dpcm_be_digital_mute()
2368 struct snd_soc_pcm_runtime *be = dpcm->be; in soc_dpcm_be_digital_mute()
2392 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_open()
2431 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_close()
2450 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) in soc_new_pcm()
2582 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) in snd_soc_dpcm_fe_can_update()
2591 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_be_can_update()
2592 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_can_update()
2604 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_get_substream()
2612 snd_soc_dpcm_be_get_state(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_get_state()
2619 void snd_soc_dpcm_be_set_state(struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_be_set_state()
2630 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop()
2631 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop()
2657 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_params()
2658 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params()
2719 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state()
2753 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state()
2780 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file()
2808 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add()