Lines Matching refs:snd_soc_pcm_runtime
59 void snd_soc_runtime_activate(struct snd_soc_pcm_runtime *rtd, int stream) in snd_soc_runtime_activate()
94 void snd_soc_runtime_deactivate(struct snd_soc_pcm_runtime *rtd, int stream) in snd_soc_runtime_deactivate()
128 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) in snd_soc_runtime_ignore_pmdown_time()
170 int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, in dpcm_dapm_stream_event()
177 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_dapm_stream_event()
197 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_apply_symmetry()
254 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_params_symmetry()
304 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_has_symmetry()
324 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_set_msb()
338 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_apply_msb()
374 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_init_runtime_hw()
448 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_components_close()
475 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_open()
661 struct snd_soc_pcm_runtime *rtd = in close_delayed_work()
662 container_of(work, struct snd_soc_pcm_runtime, delayed_work.work); in close_delayed_work()
689 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_close()
771 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_prepare()
862 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_dai_hw_params()
891 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_components_hw_free()
919 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_hw_params()
1040 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_hw_free()
1095 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_trigger()
1142 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_bespoke_trigger()
1171 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_pointer()
1217 static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, in dpcm_be_connect()
1218 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_connect()
1252 static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, in dpcm_be_reparent()
1253 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_reparent()
1280 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_disconnect()
1309 static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, in dpcm_get_be()
1312 struct snd_soc_pcm_runtime *be; in dpcm_get_be()
1390 struct snd_soc_pcm_runtime *rtd; in dpcm_end_walk_at_be()
1426 int dpcm_path_get(struct snd_soc_pcm_runtime *fe, in dpcm_path_get()
1442 static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_prune_paths()
1483 static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_add_paths()
1488 struct snd_soc_pcm_runtime *be; in dpcm_add_paths()
1545 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, in dpcm_process_paths()
1554 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_clear_pending_state()
1563 static void dpcm_be_dai_startup_unwind(struct snd_soc_pcm_runtime *fe, in dpcm_be_dai_startup_unwind()
1571 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup_unwind()
1592 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_startup()
1600 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1653 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_startup()
1696 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_runtime_merge_format()
1709 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_format()
1738 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_runtime_merge_chan()
1751 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_chan()
1790 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_runtime_merge_rate()
1803 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_merge_rate()
1846 struct snd_soc_pcm_runtime *rtd = substream->private_data; in dpcm_set_fe_runtime()
1869 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, in dpcm_set_fe_update_state()
1889 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_apply_symmetry()
1906 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_apply_symmetry()
1909 struct snd_soc_pcm_runtime *rtd = be_substream->private_data; in dpcm_apply_symmetry()
1941 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_startup()
1984 int dpcm_be_dai_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_shutdown()
1991 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_shutdown()
2026 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_shutdown()
2047 int dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_free()
2055 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_free()
2092 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_hw_free()
2117 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_params()
2124 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2174 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_params()
2200 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_hw_params()
2247 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_be_dai_trigger()
2255 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_trigger()
2343 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_do_trigger()
2419 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_trigger()
2434 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_prepare()
2441 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_prepare()
2471 struct snd_soc_pcm_runtime *fe = substream->private_data; in dpcm_fe_dai_prepare()
2514 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_pcm_ioctl()
2532 static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_shutdown()
2573 static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_startup()
2650 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_run_update_startup()
2658 static int dpcm_run_new_update(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_new_update()
2671 static int dpcm_run_old_update(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_old_update()
2684 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) in soc_dpcm_fe_runtime_update()
2769 struct snd_soc_pcm_runtime *fe; in soc_dpcm_runtime_update()
2791 int soc_dpcm_be_digital_mute(struct snd_soc_pcm_runtime *fe, int mute) in soc_dpcm_be_digital_mute()
2799 struct snd_soc_pcm_runtime *be = dpcm->be; in soc_dpcm_be_digital_mute()
2823 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_open()
2862 struct snd_soc_pcm_runtime *fe = fe_substream->private_data; in dpcm_fe_dai_close()
2882 struct snd_soc_pcm_runtime *rtd = pcm->private_data; in soc_pcm_private_free()
2898 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_rtdcom_ack()
2920 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_rtdcom_copy_user()
2942 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_rtdcom_copy_kernel()
2964 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_rtdcom_fill_silence()
2986 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_rtdcom_page()
3010 struct snd_soc_pcm_runtime *rtd = substream->private_data; in soc_rtdcom_mmap()
3029 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) in soc_new_pcm()
3179 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) in snd_soc_dpcm_fe_can_update()
3188 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_be_can_update()
3189 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_can_update()
3201 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_get_substream()
3209 snd_soc_dpcm_be_get_state(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_get_state()
3216 void snd_soc_dpcm_be_set_state(struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_be_set_state()
3227 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop()
3228 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop()
3254 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_params()
3255 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params()
3307 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state()
3341 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state()
3368 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file()
3396 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add()