Lines Matching refs:snd_soc_pcm_runtime

31 static inline int _soc_pcm_ret(struct snd_soc_pcm_runtime *rtd,  in _soc_pcm_ret()
52 static inline void snd_soc_dpcm_mutex_lock(struct snd_soc_pcm_runtime *rtd) in snd_soc_dpcm_mutex_lock()
57 static inline void snd_soc_dpcm_mutex_unlock(struct snd_soc_pcm_runtime *rtd) in snd_soc_dpcm_mutex_unlock()
65 static inline void snd_soc_dpcm_stream_lock_irq(struct snd_soc_pcm_runtime *rtd, in snd_soc_dpcm_stream_lock_irq()
74 static inline void snd_soc_dpcm_stream_unlock_irq(struct snd_soc_pcm_runtime *rtd, in snd_soc_dpcm_stream_unlock_irq()
85 static inline const char *soc_cpu_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_cpu_dai_name()
89 static inline const char *soc_codec_dai_name(struct snd_soc_pcm_runtime *rtd) in soc_codec_dai_name()
123 static ssize_t dpcm_show_state(struct snd_soc_pcm_runtime *fe, in dpcm_show_state()
157 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state()
183 struct snd_soc_pcm_runtime *fe = file->private_data; in dpcm_state_read_file()
218 void soc_dpcm_debugfs_add(struct snd_soc_pcm_runtime *rtd) in soc_dpcm_debugfs_add()
270 static void dpcm_set_fe_update_state(struct snd_soc_pcm_runtime *fe, in dpcm_set_fe_update_state()
286 static void dpcm_set_be_update_state(struct snd_soc_pcm_runtime *be, in dpcm_set_be_update_state()
305 void snd_soc_runtime_action(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_action()
327 bool snd_soc_runtime_ignore_pmdown_time(struct snd_soc_pcm_runtime *rtd) in snd_soc_runtime_ignore_pmdown_time()
359 int dpcm_dapm_stream_event(struct snd_soc_pcm_runtime *fe, int dir, in dpcm_dapm_stream_event()
368 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_dapm_stream_event()
402 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_apply_symmetry()
435 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_params_symmetry()
468 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_update_symmetry()
489 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_set_msb()
503 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_apply_msb()
579 int snd_soc_runtime_calc_hw(struct snd_soc_pcm_runtime *rtd, in snd_soc_runtime_calc_hw()
652 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_init_runtime_hw()
668 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_components_open()
688 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_components_close()
703 static int soc_pcm_clean(struct snd_soc_pcm_runtime *rtd, in soc_pcm_clean()
736 static int __soc_pcm_close(struct snd_soc_pcm_runtime *rtd, in __soc_pcm_close()
745 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_close()
755 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_hw_sanity_check()
796 static int __soc_pcm_open(struct snd_soc_pcm_runtime *rtd, in __soc_pcm_open()
861 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_open()
875 static int __soc_pcm_prepare(struct snd_soc_pcm_runtime *rtd, in __soc_pcm_prepare()
915 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_prepare()
935 static int soc_pcm_hw_clean(struct snd_soc_pcm_runtime *rtd, in soc_pcm_hw_clean()
972 static int __soc_pcm_hw_free(struct snd_soc_pcm_runtime *rtd, in __soc_pcm_hw_free()
981 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_hw_free()
995 static int __soc_pcm_hw_params(struct snd_soc_pcm_runtime *rtd, in __soc_pcm_hw_params()
1085 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_hw_params()
1096 struct snd_soc_pcm_runtime *rtd = asoc_substream_to_rtd(substream); in soc_pcm_trigger()
1188 static int dpcm_be_connect(struct snd_soc_pcm_runtime *fe, in dpcm_be_connect()
1189 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_connect()
1239 static void dpcm_be_reparent(struct snd_soc_pcm_runtime *fe, in dpcm_be_reparent()
1240 struct snd_soc_pcm_runtime *be, int stream) in dpcm_be_reparent()
1269 void dpcm_be_disconnect(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_disconnect()
1307 static struct snd_soc_pcm_runtime *dpcm_get_be(struct snd_soc_card *card, in dpcm_get_be()
1310 struct snd_soc_pcm_runtime *be; in dpcm_get_be()
1356 struct snd_soc_pcm_runtime *rtd; in dpcm_end_walk_at_be()
1373 int dpcm_path_get(struct snd_soc_pcm_runtime *fe, in dpcm_path_get()
1426 static int dpcm_prune_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_prune_paths()
1449 static int dpcm_add_paths(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_add_paths()
1454 struct snd_soc_pcm_runtime *be; in dpcm_add_paths()
1518 int dpcm_process_paths(struct snd_soc_pcm_runtime *fe, in dpcm_process_paths()
1527 void dpcm_clear_pending_state(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_clear_pending_state()
1535 void dpcm_be_dai_stop(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_be_dai_stop()
1542 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_stop()
1579 int dpcm_be_dai_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_startup()
1581 struct snd_soc_pcm_runtime *be; in dpcm_be_dai_startup()
1647 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_setup_fe()
1677 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_setup_be_format()
1693 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_setup_be_format()
1714 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_setup_be_chan()
1729 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_setup_be_chan()
1762 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_runtime_setup_be_rate()
1777 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_runtime_setup_be_rate()
1801 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_apply_symmetry()
1818 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_apply_symmetry()
1821 struct snd_soc_pcm_runtime *rtd; in dpcm_apply_symmetry()
1847 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_startup()
1884 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_shutdown()
1907 void dpcm_be_dai_hw_free(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_free()
1915 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_hw_free()
1950 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_hw_free()
1972 int dpcm_be_dai_hw_params(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_hw_params()
1974 struct snd_soc_pcm_runtime *be; in dpcm_be_dai_hw_params()
2051 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_hw_params()
2081 int dpcm_be_dai_trigger(struct snd_soc_pcm_runtime *fe, int stream, in dpcm_be_dai_trigger()
2084 struct snd_soc_pcm_runtime *be; in dpcm_be_dai_trigger()
2254 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_dai_trigger_fe_be()
2285 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_do_trigger()
2372 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_trigger()
2387 int dpcm_be_dai_prepare(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_be_dai_prepare()
2394 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_be_dai_prepare()
2423 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(substream); in dpcm_fe_dai_prepare()
2458 static int dpcm_run_update_shutdown(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_shutdown()
2491 static int dpcm_run_update_startup(struct snd_soc_pcm_runtime *fe, int stream) in dpcm_run_update_startup()
2567 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_run_update_startup()
2581 static int soc_dpcm_fe_runtime_update(struct snd_soc_pcm_runtime *fe, int new) in soc_dpcm_fe_runtime_update()
2645 struct snd_soc_pcm_runtime *fe; in snd_soc_dpcm_runtime_update()
2671 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_cleanup()
2688 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_close()
2702 struct snd_soc_pcm_runtime *fe = asoc_substream_to_rtd(fe_substream); in dpcm_fe_dai_open()
2728 static int soc_get_playback_capture(struct snd_soc_pcm_runtime *rtd, in soc_get_playback_capture()
2819 struct snd_soc_pcm_runtime *rtd, in soc_create_pcm()
2861 int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num) in soc_new_pcm()
2951 int snd_soc_dpcm_fe_can_update(struct snd_soc_pcm_runtime *fe, int stream) in snd_soc_dpcm_fe_can_update()
2960 int snd_soc_dpcm_be_can_update(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_be_can_update()
2961 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_be_can_update()
2973 snd_soc_dpcm_get_substream(struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_get_substream()
2979 static int snd_soc_dpcm_check_state(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_check_state()
2980 struct snd_soc_pcm_runtime *be, in snd_soc_dpcm_check_state()
3012 int snd_soc_dpcm_can_be_free_stop(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_free_stop()
3013 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_free_stop()
3029 int snd_soc_dpcm_can_be_params(struct snd_soc_pcm_runtime *fe, in snd_soc_dpcm_can_be_params()
3030 struct snd_soc_pcm_runtime *be, int stream) in snd_soc_dpcm_can_be_params()