/kernel/linux/linux-5.10/sound/drivers/ |
H A D | aloop.c | 73 int (*open)(struct loopback_pcm *dpcm); 77 int (*start)(struct loopback_pcm *dpcm); 81 int (*stop)(struct loopback_pcm *dpcm); 83 int (*stop_sync)(struct loopback_pcm *dpcm); 85 int (*close_substream)(struct loopback_pcm *dpcm); 89 int (*close_cable)(struct loopback_pcm *dpcm); 95 void (*dpcm_info)(struct loopback_pcm *dpcm, 166 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() argument 168 if (dpcm->pcm_rate_shift == NO_PITCH) { in byte_pos() 172 HZ * (unsigned long long)dpcm in byte_pos() 177 frac_pos(struct loopback_pcm *dpcm, unsigned int x) frac_pos() argument 188 get_setup(struct loopback_pcm *dpcm) get_setup() argument 197 get_notify(struct loopback_pcm *dpcm) get_notify() argument 202 get_rate_shift(struct loopback_pcm *dpcm) get_rate_shift() argument 208 loopback_jiffies_timer_start(struct loopback_pcm *dpcm) loopback_jiffies_timer_start() argument 229 loopback_snd_timer_start(struct loopback_pcm *dpcm) loopback_snd_timer_start() argument 258 loopback_jiffies_timer_stop(struct loopback_pcm *dpcm) loopback_jiffies_timer_stop() argument 267 loopback_snd_timer_stop(struct loopback_pcm *dpcm) loopback_snd_timer_stop() argument 289 loopback_jiffies_timer_stop_sync(struct loopback_pcm *dpcm) loopback_jiffies_timer_stop_sync() argument 297 loopback_snd_timer_close_cable(struct loopback_pcm *dpcm) loopback_snd_timer_close_cable() argument 371 loopback_active_notify(struct loopback_pcm *dpcm) loopback_active_notify() argument 381 struct loopback_pcm *dpcm = runtime->private_data; loopback_trigger() local 438 struct loopback_pcm *dpcm = runtime->private_data; params_change() local 458 struct loopback_pcm *dpcm = runtime->private_data; loopback_prepare() local 500 clear_capture_buf(struct loopback_pcm *dpcm, unsigned int bytes) clear_capture_buf() argument 575 bytepos_delta(struct loopback_pcm *dpcm, unsigned int jiffies_delta) bytepos_delta() argument 594 bytepos_finish(struct loopback_pcm *dpcm, unsigned int delta) bytepos_finish() argument 659 struct loopback_pcm *dpcm = from_timer(dpcm, t, timer); loopback_jiffies_timer_function() local 682 struct loopback_pcm *dpcm = runtime->private_data; loopback_snd_timer_check_resolution() local 838 loopback_jiffies_timer_dpcm_info(struct loopback_pcm *dpcm, struct snd_info_buffer *buffer) loopback_jiffies_timer_dpcm_info() argument 850 loopback_snd_timer_dpcm_info(struct loopback_pcm *dpcm, struct snd_info_buffer *buffer) loopback_snd_timer_dpcm_info() argument 867 struct loopback_pcm *dpcm = runtime->private_data; loopback_pointer() local 905 struct loopback_pcm *dpcm = runtime->private_data; loopback_runtime_free() local 912 struct loopback_pcm *dpcm = runtime->private_data; loopback_hw_free() local 932 struct loopback_pcm *dpcm = rule->private; rule_format() local 947 struct loopback_pcm *dpcm = rule->private; rule_rate() local 963 struct loopback_pcm *dpcm = rule->private; rule_channels() local 979 struct loopback_pcm *dpcm = rule->private; rule_period_bytes() local 1008 struct loopback_pcm *dpcm = substream->runtime->private_data; free_cable() local 1018 loopback_jiffies_timer_open(struct loopback_pcm *dpcm) loopback_jiffies_timer_open() argument 1096 loopback_snd_timer_open(struct loopback_pcm *dpcm) loopback_snd_timer_open() argument 1188 struct loopback_pcm *dpcm; loopback_open() local 1288 struct loopback_pcm *dpcm = substream->runtime->private_data; loopback_close() local 1606 print_dpcm_info(struct snd_info_buffer *buffer, struct loopback_pcm *dpcm, const char *id) print_dpcm_info() argument [all...] |
H A D | dummy.c | 236 static void dummy_systimer_rearm(struct dummy_systimer_pcm *dpcm) in dummy_systimer_rearm() argument 238 mod_timer(&dpcm->timer, jiffies + in dummy_systimer_rearm() 239 (dpcm->frac_period_rest + dpcm->rate - 1) / dpcm->rate); in dummy_systimer_rearm() 242 static void dummy_systimer_update(struct dummy_systimer_pcm *dpcm) in dummy_systimer_update() argument 246 delta = jiffies - dpcm->base_time; in dummy_systimer_update() 249 dpcm->base_time += delta; in dummy_systimer_update() 250 delta *= dpcm->rate; in dummy_systimer_update() 251 dpcm in dummy_systimer_update() 263 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_start() local 273 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_stop() local 283 struct dummy_systimer_pcm *dpcm = runtime->private_data; dummy_systimer_prepare() local 297 struct dummy_systimer_pcm *dpcm = from_timer(dpcm, t, timer); dummy_systimer_callback() local 314 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_pointer() local 326 struct dummy_systimer_pcm *dpcm; dummy_systimer_create() local 369 struct dummy_hrtimer_pcm *dpcm; dummy_hrtimer_callback() local 388 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_start() local 398 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_stop() local 406 dummy_hrtimer_sync(struct dummy_hrtimer_pcm *dpcm) dummy_hrtimer_sync() argument 415 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; dummy_hrtimer_pointer() local 429 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; dummy_hrtimer_prepare() local 447 struct dummy_hrtimer_pcm *dpcm; dummy_hrtimer_create() local 462 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_free() local [all...] |
/kernel/linux/linux-6.6/sound/drivers/ |
H A D | aloop.c | 72 int (*open)(struct loopback_pcm *dpcm); 76 int (*start)(struct loopback_pcm *dpcm); 80 int (*stop)(struct loopback_pcm *dpcm); 82 int (*stop_sync)(struct loopback_pcm *dpcm); 84 int (*close_substream)(struct loopback_pcm *dpcm); 88 int (*close_cable)(struct loopback_pcm *dpcm); 94 void (*dpcm_info)(struct loopback_pcm *dpcm, 165 static inline unsigned int byte_pos(struct loopback_pcm *dpcm, unsigned int x) in byte_pos() argument 167 if (dpcm->pcm_rate_shift == NO_PITCH) { in byte_pos() 171 HZ * (unsigned long long)dpcm in byte_pos() 176 frac_pos(struct loopback_pcm *dpcm, unsigned int x) frac_pos() argument 187 get_setup(struct loopback_pcm *dpcm) get_setup() argument 196 get_notify(struct loopback_pcm *dpcm) get_notify() argument 201 get_rate_shift(struct loopback_pcm *dpcm) get_rate_shift() argument 207 loopback_jiffies_timer_start(struct loopback_pcm *dpcm) loopback_jiffies_timer_start() argument 228 loopback_snd_timer_start(struct loopback_pcm *dpcm) loopback_snd_timer_start() argument 257 loopback_jiffies_timer_stop(struct loopback_pcm *dpcm) loopback_jiffies_timer_stop() argument 266 loopback_snd_timer_stop(struct loopback_pcm *dpcm) loopback_snd_timer_stop() argument 288 loopback_jiffies_timer_stop_sync(struct loopback_pcm *dpcm) loopback_jiffies_timer_stop_sync() argument 296 loopback_snd_timer_close_cable(struct loopback_pcm *dpcm) loopback_snd_timer_close_cable() argument 370 loopback_active_notify(struct loopback_pcm *dpcm) loopback_active_notify() argument 380 struct loopback_pcm *dpcm = runtime->private_data; loopback_trigger() local 437 struct loopback_pcm *dpcm = runtime->private_data; params_change() local 457 struct loopback_pcm *dpcm = runtime->private_data; loopback_prepare() local 499 clear_capture_buf(struct loopback_pcm *dpcm, unsigned int bytes) clear_capture_buf() argument 574 bytepos_delta(struct loopback_pcm *dpcm, unsigned int jiffies_delta) bytepos_delta() argument 593 bytepos_finish(struct loopback_pcm *dpcm, unsigned int delta) bytepos_finish() argument 658 struct loopback_pcm *dpcm = from_timer(dpcm, t, timer); loopback_jiffies_timer_function() local 681 struct loopback_pcm *dpcm = runtime->private_data; loopback_snd_timer_check_resolution() local 837 loopback_jiffies_timer_dpcm_info(struct loopback_pcm *dpcm, struct snd_info_buffer *buffer) loopback_jiffies_timer_dpcm_info() argument 849 loopback_snd_timer_dpcm_info(struct loopback_pcm *dpcm, struct snd_info_buffer *buffer) loopback_snd_timer_dpcm_info() argument 866 struct loopback_pcm *dpcm = runtime->private_data; loopback_pointer() local 904 struct loopback_pcm *dpcm = runtime->private_data; loopback_runtime_free() local 911 struct loopback_pcm *dpcm = runtime->private_data; loopback_hw_free() local 931 struct loopback_pcm *dpcm = rule->private; rule_format() local 946 struct loopback_pcm *dpcm = rule->private; rule_rate() local 962 struct loopback_pcm *dpcm = rule->private; rule_channels() local 978 struct loopback_pcm *dpcm = rule->private; rule_period_bytes() local 1007 struct loopback_pcm *dpcm = substream->runtime->private_data; free_cable() local 1017 loopback_jiffies_timer_open(struct loopback_pcm *dpcm) loopback_jiffies_timer_open() argument 1095 loopback_snd_timer_open(struct loopback_pcm *dpcm) loopback_snd_timer_open() argument 1187 struct loopback_pcm *dpcm; loopback_open() local 1287 struct loopback_pcm *dpcm = substream->runtime->private_data; loopback_close() local 1605 print_dpcm_info(struct snd_info_buffer *buffer, struct loopback_pcm *dpcm, const char *id) print_dpcm_info() argument [all...] |
H A D | dummy.c | 243 static void dummy_systimer_rearm(struct dummy_systimer_pcm *dpcm) in dummy_systimer_rearm() argument 245 mod_timer(&dpcm->timer, jiffies + in dummy_systimer_rearm() 246 DIV_ROUND_UP(dpcm->frac_period_rest, dpcm->rate)); in dummy_systimer_rearm() 249 static void dummy_systimer_update(struct dummy_systimer_pcm *dpcm) in dummy_systimer_update() argument 253 delta = jiffies - dpcm->base_time; in dummy_systimer_update() 256 dpcm->base_time += delta; in dummy_systimer_update() 257 delta *= dpcm->rate; in dummy_systimer_update() 258 dpcm->frac_pos += delta; in dummy_systimer_update() 259 while (dpcm in dummy_systimer_update() 270 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_start() local 280 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_stop() local 290 struct dummy_systimer_pcm *dpcm = runtime->private_data; dummy_systimer_prepare() local 304 struct dummy_systimer_pcm *dpcm = from_timer(dpcm, t, timer); dummy_systimer_callback() local 321 struct dummy_systimer_pcm *dpcm = substream->runtime->private_data; dummy_systimer_pointer() local 333 struct dummy_systimer_pcm *dpcm; dummy_systimer_create() local 376 struct dummy_hrtimer_pcm *dpcm; dummy_hrtimer_callback() local 395 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_start() local 405 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_stop() local 413 dummy_hrtimer_sync(struct dummy_hrtimer_pcm *dpcm) dummy_hrtimer_sync() argument 422 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; dummy_hrtimer_pointer() local 436 struct dummy_hrtimer_pcm *dpcm = runtime->private_data; dummy_hrtimer_prepare() local 454 struct dummy_hrtimer_pcm *dpcm; dummy_hrtimer_create() local 469 struct dummy_hrtimer_pcm *dpcm = substream->runtime->private_data; dummy_hrtimer_free() local [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-pcm.c | 25 #include <sound/soc-dpcm.h> 113 struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; in dpcm_show_state() 114 struct snd_soc_dpcm *dpcm; in dpcm_show_state() local 123 dpcm_state_string(fe->dpcm[stream].state)); in dpcm_show_state() 125 if ((fe->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && in dpcm_show_state() 126 (fe->dpcm[stream].state <= SND_SOC_DPCM_STATE_STOP)) in dpcm_show_state() 137 if (list_empty(&fe->dpcm[stream].be_clients)) { in dpcm_show_state() 143 for_each_dpcm_be(fe, stream, dpcm) { in dpcm_show_state() 144 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state() 145 params = &be->dpcm[strea in dpcm_show_state() 220 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) dpcm_create_debugfs_state() argument 235 dpcm_remove_debugfs_state(struct snd_soc_dpcm *dpcm) dpcm_remove_debugfs_state() argument 241 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) dpcm_create_debugfs_state() argument 246 dpcm_remove_debugfs_state(struct snd_soc_dpcm *dpcm) dpcm_remove_debugfs_state() argument 349 struct snd_soc_dpcm *dpcm; dpcm_dapm_stream_event() local 1228 struct snd_soc_dpcm *dpcm; dpcm_be_connect() local 1276 struct snd_soc_dpcm *dpcm; dpcm_be_reparent() local 1305 struct snd_soc_dpcm *dpcm, *d; dpcm_be_disconnect() local 1440 dpcm_be_is_active(struct snd_soc_dpcm *dpcm, int stream, struct snd_soc_dapm_widget_list *list) dpcm_be_is_active() argument 1464 struct snd_soc_dpcm *dpcm; dpcm_prune_paths() local 1565 struct snd_soc_dpcm *dpcm; dpcm_clear_pending_state() local 1574 struct snd_soc_dpcm *dpcm; dpcm_be_dai_stop() local 1619 struct snd_soc_dpcm *dpcm; dpcm_be_dai_startup() local 1721 struct snd_soc_dpcm *dpcm; dpcm_runtime_setup_be_format() local 1758 struct snd_soc_dpcm *dpcm; dpcm_runtime_setup_be_chan() local 1806 struct snd_soc_dpcm *dpcm; dpcm_runtime_setup_be_rate() local 1841 struct snd_soc_dpcm *dpcm; dpcm_apply_symmetry() local 1950 struct snd_soc_dpcm *dpcm; dpcm_be_dai_hw_free() local 2017 struct snd_soc_dpcm *dpcm; dpcm_be_dai_hw_params() local 2129 struct snd_soc_dpcm *dpcm; dpcm_be_dai_trigger() local 2432 struct snd_soc_dpcm *dpcm; dpcm_be_dai_prepare() local 2544 struct snd_soc_dpcm *dpcm; dpcm_run_update_startup() local 2721 struct snd_soc_dpcm *dpcm; dpcm_fe_dai_cleanup() local 3050 struct snd_soc_dpcm *dpcm; snd_soc_dpcm_check_state() local [all...] |
H A D | soc-compress.c | 21 #include <sound/soc-dpcm.h> 137 struct snd_soc_dpcm *dpcm; in soc_compr_open_fe() local 153 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; in soc_compr_open_fe() 158 for_each_dpcm_be(fe, stream, dpcm) in soc_compr_open_fe() 159 dpcm->state = SND_SOC_DPCM_LINK_STATE_FREE; in soc_compr_open_fe() 180 fe->dpcm[stream].state = SND_SOC_DPCM_STATE_OPEN; in soc_compr_open_fe() 181 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; in soc_compr_open_fe() 198 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_NO; in soc_compr_open_fe() 207 struct snd_soc_dpcm *dpcm; in soc_compr_free_fe() local 215 fe->dpcm[strea in soc_compr_free_fe() [all...] |
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-pcm.c | 26 #include <sound/soc-dpcm.h> 64 struct snd_pcm_hw_params *params = &fe->dpcm[stream].hw_params; in dpcm_show_state() 65 struct snd_soc_dpcm *dpcm; in dpcm_show_state() local 75 dpcm_state_string(fe->dpcm[stream].state)); in dpcm_show_state() 77 if ((fe->dpcm[stream].state >= SND_SOC_DPCM_STATE_HW_PARAMS) && in dpcm_show_state() 78 (fe->dpcm[stream].state <= SND_SOC_DPCM_STATE_STOP)) in dpcm_show_state() 89 if (list_empty(&fe->dpcm[stream].be_clients)) { in dpcm_show_state() 96 for_each_dpcm_be(fe, stream, dpcm) { in dpcm_show_state() 97 struct snd_soc_pcm_runtime *be = dpcm->be; in dpcm_show_state() 98 params = &dpcm in dpcm_show_state() 175 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) dpcm_create_debugfs_state() argument 190 dpcm_remove_debugfs_state(struct snd_soc_dpcm *dpcm) dpcm_remove_debugfs_state() argument 196 dpcm_create_debugfs_state(struct snd_soc_dpcm *dpcm, int stream) dpcm_create_debugfs_state() argument 201 dpcm_remove_debugfs_state(struct snd_soc_dpcm *dpcm) dpcm_remove_debugfs_state() argument 283 struct snd_soc_dpcm *dpcm; dpcm_dapm_stream_event() local 1114 struct snd_soc_dpcm *dpcm; dpcm_be_connect() local 1149 struct snd_soc_dpcm *dpcm; dpcm_be_reparent() local 1178 struct snd_soc_dpcm *dpcm, *d; dpcm_be_disconnect() local 1297 dpcm_be_is_active(struct snd_soc_dpcm *dpcm, int stream, struct snd_soc_dapm_widget_list *list) dpcm_be_is_active() argument 1322 struct snd_soc_dpcm *dpcm; dpcm_prune_paths() local 1412 struct snd_soc_dpcm *dpcm; dpcm_clear_pending_state() local 1425 struct snd_soc_dpcm *dpcm; dpcm_be_dai_startup_unwind() local 1453 struct snd_soc_dpcm *dpcm; dpcm_be_dai_startup() local 1556 struct snd_soc_dpcm *dpcm; dpcm_runtime_merge_format() local 1593 struct snd_soc_dpcm *dpcm; dpcm_runtime_merge_chan() local 1648 struct snd_soc_dpcm *dpcm; dpcm_runtime_merge_rate() local 1735 struct snd_soc_dpcm *dpcm; dpcm_apply_symmetry() local 1830 struct snd_soc_dpcm *dpcm; dpcm_be_dai_shutdown() local 1893 struct snd_soc_dpcm *dpcm; dpcm_be_dai_hw_free() local 1963 struct snd_soc_dpcm *dpcm; dpcm_be_dai_hw_params() local 2073 dpcm_do_trigger(struct snd_soc_dpcm *dpcm, struct snd_pcm_substream *substream, int cmd) dpcm_do_trigger() argument 2091 struct snd_soc_dpcm *dpcm; dpcm_be_dai_trigger() local 2322 struct snd_soc_dpcm *dpcm; dpcm_be_dai_prepare() local 2446 struct snd_soc_dpcm *dpcm; dpcm_run_update_startup() local 2629 struct snd_soc_dpcm *dpcm; dpcm_fe_dai_cleanup() local 2918 struct snd_soc_dpcm *dpcm; snd_soc_dpcm_check_state() local [all...] |
H A D | soc-compress.c | 21 #include <sound/soc-dpcm.h> 123 struct snd_soc_dpcm *dpcm; in soc_compr_open_fe() local 134 fe->dpcm[stream].runtime = fe_substream->runtime; in soc_compr_open_fe() 144 fe->dpcm[stream].runtime = fe_substream->runtime; in soc_compr_open_fe() 146 fe->dpcm[stream].runtime_update = SND_SOC_DPCM_UPDATE_FE; in soc_compr_open_fe() 151 for_each_dpcm_be(fe, stream, dpcm) in soc_compr_open_fe() 152 dpcm->state = SND_SOC_DPCM_LINK_STATE_FREE; in soc_compr_open_fe() 155 fe->dpcm[stream].runtime = NULL; in soc_compr_open_fe() 174 fe->dpcm[stream].state = SND_SOC_DPCM_STATE_OPEN; in soc_compr_open_fe() 175 fe->dpcm[strea in soc_compr_open_fe() 238 struct snd_soc_dpcm *dpcm; soc_compr_free_fe() local [all...] |
/kernel/linux/linux-5.10/sound/pci/asihpi/ |
H A D | asihpi.c | 434 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; in snd_card_asihpi_pcm_hw_params() local 446 hpi_handle_error(hpi_format_create(&dpcm->format, in snd_card_asihpi_pcm_hw_params() 451 if (hpi_instream_reset(dpcm->h_stream) != 0) in snd_card_asihpi_pcm_hw_params() 455 dpcm->h_stream, &dpcm->format) != 0) in snd_card_asihpi_pcm_hw_params() 459 dpcm->hpi_buffer_attached = 0; in snd_card_asihpi_pcm_hw_params() 461 err = hpi_stream_host_buffer_attach(dpcm->h_stream, in snd_card_asihpi_pcm_hw_params() 474 err = hpi_stream_get_info_ex(dpcm->h_stream, NULL, in snd_card_asihpi_pcm_hw_params() 475 &dpcm->hpi_buffer_attached, NULL, NULL, NULL); in snd_card_asihpi_pcm_hw_params() 484 dpcm in snd_card_asihpi_pcm_hw_params() 495 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_hw_free() local 504 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_runtime_free() local 512 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_pcm_timer_start() local 525 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_pcm_timer_stop() local 533 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_pcm_int_start() local 562 struct snd_card_asihpi_pcm *dpcm = substream->runtime->private_data; snd_card_asihpi_trigger() local 719 struct snd_card_asihpi_pcm *dpcm = from_timer(dpcm, t, timer); snd_card_asihpi_timer_function() local 922 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_prepare() local 937 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_pointer() local 983 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_playback_open() local 1073 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_close() local 1096 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_capture_pointer() local 1111 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_capture_prepare() local 1159 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_capture_open() local 1234 struct snd_card_asihpi_pcm *dpcm = substream->runtime->private_data; snd_card_asihpi_capture_close() local [all...] |
/kernel/linux/linux-6.6/sound/pci/asihpi/ |
H A D | asihpi.c | 434 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; in snd_card_asihpi_pcm_hw_params() local 446 hpi_handle_error(hpi_format_create(&dpcm->format, in snd_card_asihpi_pcm_hw_params() 451 if (hpi_instream_reset(dpcm->h_stream) != 0) in snd_card_asihpi_pcm_hw_params() 455 dpcm->h_stream, &dpcm->format) != 0) in snd_card_asihpi_pcm_hw_params() 459 dpcm->hpi_buffer_attached = 0; in snd_card_asihpi_pcm_hw_params() 461 err = hpi_stream_host_buffer_attach(dpcm->h_stream, in snd_card_asihpi_pcm_hw_params() 474 err = hpi_stream_get_info_ex(dpcm->h_stream, NULL, in snd_card_asihpi_pcm_hw_params() 475 &dpcm->hpi_buffer_attached, NULL, NULL, NULL); in snd_card_asihpi_pcm_hw_params() 484 dpcm in snd_card_asihpi_pcm_hw_params() 495 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_hw_free() local 504 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_runtime_free() local 512 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_pcm_timer_start() local 525 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_pcm_timer_stop() local 533 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_pcm_int_start() local 562 struct snd_card_asihpi_pcm *dpcm = substream->runtime->private_data; snd_card_asihpi_trigger() local 719 struct snd_card_asihpi_pcm *dpcm = from_timer(dpcm, t, timer); snd_card_asihpi_timer_function() local 920 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_prepare() local 935 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_pointer() local 981 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_playback_open() local 1071 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_playback_close() local 1094 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_capture_pointer() local 1109 struct snd_card_asihpi_pcm *dpcm = runtime->private_data; snd_card_asihpi_capture_prepare() local 1157 struct snd_card_asihpi_pcm *dpcm; snd_card_asihpi_capture_open() local 1232 struct snd_card_asihpi_pcm *dpcm = substream->runtime->private_data; snd_card_asihpi_capture_close() local [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A D | soc-dpcm.h | 3 * linux/sound/soc-dpcm.h -- ALSA SoC Dynamic PCM Support 107 list_for_each_entry(_dpcm, &(be)->dpcm[stream].fe_clients, list_fe) 110 list_for_each_entry(_dpcm, &(fe)->dpcm[stream].be_clients, list_be) 112 list_for_each_entry_safe(_dpcm, __dpcm, &(fe)->dpcm[stream].be_clients, list_be) 114 list_for_each_entry_continue_reverse(_dpcm, &(fe)->dpcm[stream].be_clients, list_be)
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | soc-dpcm.h | 3 * linux/sound/soc-dpcm.h -- ALSA SoC Dynamic PCM Support 108 list_for_each_entry(_dpcm, &(be)->dpcm[stream].fe_clients, list_fe) 111 list_for_each_entry(_dpcm, &(fe)->dpcm[stream].be_clients, list_be) 113 list_for_each_entry_safe(_dpcm, __dpcm, &(fe)->dpcm[stream].be_clients, list_be) 115 list_for_each_entry_continue_reverse(_dpcm, &(fe)->dpcm[stream].be_clients, list_be)
|
/kernel/linux/linux-5.10/sound/soc/intel/boards/ |
H A D | kbl_rt5663_rt5514_max98927.c | 339 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 345 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 346 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 354 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 355 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
H A D | kbl_da7219_max98927.c | 285 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 291 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 292 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 300 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 301 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
H A D | kbl_rt5663_max98927.c | 404 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 410 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 411 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 419 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 420 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
/kernel/linux/linux-6.6/sound/soc/intel/boards/ |
H A D | kbl_rt5663_rt5514_max98927.c | 352 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 358 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 359 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 367 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 368 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
H A D | kbl_da7219_max98927.c | 304 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 310 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 311 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 319 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 320 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
H A D | kbl_rt5663_max98927.c | 423 struct snd_soc_dpcm *dpcm, *rtd_dpcm = NULL; in kabylake_ssp_fixup() local 429 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in kabylake_ssp_fixup() 430 rtd_dpcm = dpcm; in kabylake_ssp_fixup() 438 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_CAPTURE, dpcm) { in kabylake_ssp_fixup() 439 rtd_dpcm = dpcm; in kabylake_ssp_fixup()
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 146 struct snd_soc_dpcm *dpcm; in fsl_asrc_dma_hw_params() local 153 for_each_dpcm_be(rtd, stream, dpcm) { in fsl_asrc_dma_hw_params() 154 struct snd_soc_pcm_runtime *be = dpcm->be; in fsl_asrc_dma_hw_params() 158 if (dpcm->fe != rtd) in fsl_asrc_dma_hw_params()
|
/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
H A D | hda-dai.c | 43 struct snd_soc_dpcm *dpcm; in hda_check_fes() local 45 for_each_dpcm_fe(rtd, dir, dpcm) { in hda_check_fes() 46 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir); in hda_check_fes() 273 return hda_link_hw_params(substream, &rtd->dpcm[stream].hw_params, in hda_link_pcm_prepare()
|
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_asrc_dma.c | 149 struct snd_soc_dpcm *dpcm; in fsl_asrc_dma_hw_params() local 156 for_each_dpcm_be(rtd, stream, dpcm) { in fsl_asrc_dma_hw_params() 157 struct snd_soc_pcm_runtime *be = dpcm->be; in fsl_asrc_dma_hw_params() 161 if (dpcm->fe != rtd) in fsl_asrc_dma_hw_params()
|
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | pcm.c | 128 struct snd_soc_dpcm *dpcm; in avs_dai_be_hw_params() local 131 for_each_dpcm_fe(be, substream->stream, dpcm) { in avs_dai_be_hw_params() 132 fe = dpcm->fe; in avs_dai_be_hw_params() 133 fe_hw_params = &fe->dpcm[substream->stream].hw_params; in avs_dai_be_hw_params() 522 struct snd_soc_dpcm *dpcm; in avs_dai_fe_hw_params() local 538 for_each_dpcm_be(fe, substream->stream, dpcm) { in avs_dai_fe_hw_params() 539 be = dpcm->be; in avs_dai_fe_hw_params() 540 be_hw_params = &be->dpcm[substream->stream].hw_params; in avs_dai_fe_hw_params() 874 ret = dai->driver->ops->hw_params(substream, &rtd->dpcm[substream->stream].hw_params, dai); in avs_dai_resume_hw_params() 1440 struct snd_soc_dpcm *dpcm; in avs_component_hda_open() local [all...] |
/kernel/linux/linux-6.6/sound/soc/apple/ |
H A D | mca.c | 551 struct snd_soc_dpcm *dpcm; in mca_fe_get_port() local 554 for_each_dpcm_be(fe, substream->stream, dpcm) { in mca_fe_get_port() 555 be = dpcm->be; in mca_fe_get_port() 708 struct snd_soc_dpcm *dpcm; in mca_be_startup() local 712 for_each_dpcm_fe(be, substream->stream, dpcm) { in mca_be_startup() 713 if (fe && dpcm->fe != fe) { in mca_be_startup() 718 fe = dpcm->fe; in mca_be_startup()
|
/kernel/linux/linux-6.6/sound/soc/sof/ |
H A D | ipc3-pcm.c | 219 struct snd_soc_dpcm *dpcm; in sof_ipc3_pcm_dai_link_fixup() local 281 for_each_dpcm_fe(rtd, SNDRV_PCM_STREAM_PLAYBACK, dpcm) { in sof_ipc3_pcm_dai_link_fixup() 282 struct snd_soc_pcm_runtime *fe = dpcm->fe; in sof_ipc3_pcm_dai_link_fixup()
|
/kernel/linux/linux-6.6/sound/soc/sof/intel/ |
H A D | hda-dai-ops.c | 31 struct snd_soc_dpcm *dpcm; in hda_check_fes() local 33 for_each_dpcm_fe(rtd, dir, dpcm) { in hda_check_fes() 34 fe_substream = snd_soc_dpcm_get_substream(dpcm->fe, dir); in hda_check_fes()
|