/sound/soc/ti/ |
D | j721e-evm.c | 176 struct j721e_audio_domain *domain = &priv->audio_domains[audio_domain]; in j721e_configure_refclk() local 203 if (domain->parent_clk_id == -1 || priv->hsdiv_rates[domain->parent_clk_id] != scki) { in j721e_configure_refclk() 210 if (domain->parent_clk_id != clk_id) { in j721e_configure_refclk() 211 ret = clk_set_parent(domain->codec.target, in j721e_configure_refclk() 212 domain->codec.parent[clk_id]); in j721e_configure_refclk() 216 ret = clk_set_parent(domain->mcasp.target, in j721e_configure_refclk() 217 domain->mcasp.parent[clk_id]); in j721e_configure_refclk() 221 domain->parent_clk_id = clk_id; in j721e_configure_refclk() 224 ret = clk_set_rate(domain->codec.target, scki); in j721e_configure_refclk() 231 ret = clk_set_rate(domain->mcasp.target, scki); in j721e_configure_refclk() [all …]
|
/sound/firewire/fireface/ |
D | ff-stream.c | 88 err = amdtp_domain_init(&ff->domain); in snd_ff_stream_init_duplex() 103 amdtp_domain_destroy(&ff->domain); in snd_ff_stream_destroy_duplex() 125 amdtp_domain_stop(&ff->domain); in snd_ff_stream_reserve_duplex() 156 err = amdtp_domain_set_events_per_period(&ff->domain, in snd_ff_stream_reserve_duplex() 177 amdtp_domain_stop(&ff->domain); in snd_ff_stream_start_duplex() 192 err = amdtp_domain_add_stream(&ff->domain, &ff->rx_stream, in snd_ff_stream_start_duplex() 197 err = amdtp_domain_add_stream(&ff->domain, &ff->tx_stream, in snd_ff_stream_start_duplex() 206 err = amdtp_domain_start(&ff->domain, 0, true, true); in snd_ff_stream_start_duplex() 210 if (!amdtp_domain_wait_ready(&ff->domain, READY_TIMEOUT_MS)) { in snd_ff_stream_start_duplex() 222 amdtp_domain_stop(&ff->domain); in snd_ff_stream_start_duplex() [all …]
|
D | ff-pcm.c | 142 struct amdtp_domain *d = &ff->domain; in pcm_open() 339 return amdtp_domain_stream_pcm_pointer(&ff->domain, &ff->tx_stream); in pcm_capture_pointer() 346 return amdtp_domain_stream_pcm_pointer(&ff->domain, &ff->rx_stream); in pcm_playback_pointer() 353 return amdtp_domain_stream_pcm_ack(&ff->domain, &ff->tx_stream); in pcm_capture_ack() 360 return amdtp_domain_stream_pcm_ack(&ff->domain, &ff->rx_stream); in pcm_playback_ack()
|
D | ff.h | 99 struct amdtp_domain domain; member
|
/sound/firewire/fireworks/ |
D | fireworks_stream.c | 82 err = amdtp_domain_add_stream(&efw->domain, stream, in start_stream() 142 err = amdtp_domain_init(&efw->domain); in snd_efw_stream_init_duplex() 205 amdtp_domain_stop(&efw->domain); in snd_efw_stream_reserve_duplex() 235 err = amdtp_domain_set_events_per_period(&efw->domain, in snd_efw_stream_reserve_duplex() 258 amdtp_domain_stop(&efw->domain); in snd_efw_stream_start_duplex() 288 err = amdtp_domain_start(&efw->domain, tx_init_skip_cycles, true, false); in snd_efw_stream_start_duplex() 292 if (!amdtp_domain_wait_ready(&efw->domain, READY_TIMEOUT_MS)) { in snd_efw_stream_start_duplex() 300 amdtp_domain_stop(&efw->domain); in snd_efw_stream_start_duplex() 311 amdtp_domain_stop(&efw->domain); in snd_efw_stream_stop_duplex() 323 amdtp_domain_stop(&efw->domain); in snd_efw_stream_update_duplex() [all …]
|
D | fireworks_pcm.c | 176 struct amdtp_domain *d = &efw->domain; in pcm_open() 347 return amdtp_domain_stream_pcm_pointer(&efw->domain, &efw->tx_stream); in pcm_capture_pointer() 353 return amdtp_domain_stream_pcm_pointer(&efw->domain, &efw->rx_stream); in pcm_playback_pointer() 360 return amdtp_domain_stream_pcm_ack(&efw->domain, &efw->tx_stream); in pcm_capture_ack() 367 return amdtp_domain_stream_pcm_ack(&efw->domain, &efw->rx_stream); in pcm_playback_ack()
|
/sound/firewire/digi00x/ |
D | digi00x-stream.c | 267 err = amdtp_domain_init(&dg00x->domain); in snd_dg00x_stream_init_duplex() 282 amdtp_domain_destroy(&dg00x->domain); in snd_dg00x_stream_destroy_duplex() 302 amdtp_domain_stop(&dg00x->domain); in snd_dg00x_stream_reserve_duplex() 323 err = amdtp_domain_set_events_per_period(&dg00x->domain, in snd_dg00x_stream_reserve_duplex() 345 amdtp_domain_stop(&dg00x->domain); in snd_dg00x_stream_start_duplex() 370 err = amdtp_domain_add_stream(&dg00x->domain, &dg00x->rx_stream, in snd_dg00x_stream_start_duplex() 375 err = amdtp_domain_add_stream(&dg00x->domain, &dg00x->tx_stream, in snd_dg00x_stream_start_duplex() 384 err = amdtp_domain_start(&dg00x->domain, 0, true, true); in snd_dg00x_stream_start_duplex() 388 if (!amdtp_domain_wait_ready(&dg00x->domain, READY_TIMEOUT_MS)) { in snd_dg00x_stream_start_duplex() 396 amdtp_domain_stop(&dg00x->domain); in snd_dg00x_stream_start_duplex() [all …]
|
D | digi00x-pcm.c | 103 struct amdtp_domain *d = &dg00x->domain; in pcm_open() 299 return amdtp_domain_stream_pcm_pointer(&dg00x->domain, &dg00x->tx_stream); in pcm_capture_pointer() 306 return amdtp_domain_stream_pcm_pointer(&dg00x->domain, &dg00x->rx_stream); in pcm_playback_pointer() 313 return amdtp_domain_stream_pcm_ack(&dg00x->domain, &dg00x->tx_stream); in pcm_capture_ack() 320 return amdtp_domain_stream_pcm_ack(&dg00x->domain, &dg00x->rx_stream); in pcm_playback_ack()
|
D | digi00x.h | 60 struct amdtp_domain domain; member
|
/sound/firewire/motu/ |
D | motu-stream.c | 150 amdtp_domain_stop(&motu->domain); in snd_motu_stream_reserve_duplex() 180 err = amdtp_domain_set_events_per_period(&motu->domain, in snd_motu_stream_reserve_duplex() 237 amdtp_domain_stop(&motu->domain); in snd_motu_stream_start_duplex() 275 err = amdtp_domain_add_stream(&motu->domain, &motu->tx_stream, in snd_motu_stream_start_duplex() 280 err = amdtp_domain_add_stream(&motu->domain, &motu->rx_stream, in snd_motu_stream_start_duplex() 293 err = amdtp_domain_start(&motu->domain, 0, true, false); in snd_motu_stream_start_duplex() 297 if (!amdtp_domain_wait_ready(&motu->domain, READY_TIMEOUT_MS)) { in snd_motu_stream_start_duplex() 313 amdtp_domain_stop(&motu->domain); in snd_motu_stream_start_duplex() 321 amdtp_domain_stop(&motu->domain); in snd_motu_stream_stop_duplex() 381 err = amdtp_domain_init(&motu->domain); in snd_motu_stream_init_duplex() [all …]
|
D | motu-pcm.c | 133 struct amdtp_domain *d = &motu->domain; in pcm_open() 311 return amdtp_domain_stream_pcm_pointer(&motu->domain, &motu->tx_stream); in capture_pointer() 317 return amdtp_domain_stream_pcm_pointer(&motu->domain, &motu->rx_stream); in playback_pointer() 324 return amdtp_domain_stream_pcm_ack(&motu->domain, &motu->tx_stream); in capture_ack() 331 return amdtp_domain_stream_pcm_ack(&motu->domain, &motu->rx_stream); in playback_ack()
|
/sound/firewire/tascam/ |
D | tascam-stream.c | 358 err = amdtp_domain_init(&tscm->domain); in snd_tscm_stream_init_duplex() 370 amdtp_domain_stop(&tscm->domain); in snd_tscm_stream_update_duplex() 380 amdtp_domain_destroy(&tscm->domain); in snd_tscm_stream_destroy_duplex() 398 amdtp_domain_stop(&tscm->domain); in snd_tscm_stream_reserve_duplex() 419 err = amdtp_domain_set_events_per_period(&tscm->domain, in snd_tscm_stream_reserve_duplex() 443 amdtp_domain_stop(&tscm->domain); in snd_tscm_stream_start_duplex() 469 err = amdtp_domain_add_stream(&tscm->domain, &tscm->rx_stream, in snd_tscm_stream_start_duplex() 474 err = amdtp_domain_add_stream(&tscm->domain, &tscm->tx_stream, in snd_tscm_stream_start_duplex() 491 err = amdtp_domain_start(&tscm->domain, tx_init_skip_cycles, true, true); in snd_tscm_stream_start_duplex() 495 if (!amdtp_domain_wait_ready(&tscm->domain, READY_TIMEOUT_MS)) { in snd_tscm_stream_start_duplex() [all …]
|
D | tascam-pcm.c | 46 struct amdtp_domain *d = &tscm->domain; in pcm_open() 228 return amdtp_domain_stream_pcm_pointer(&tscm->domain, &tscm->tx_stream); in pcm_capture_pointer() 235 return amdtp_domain_stream_pcm_pointer(&tscm->domain, &tscm->rx_stream); in pcm_playback_pointer() 242 return amdtp_domain_stream_pcm_ack(&tscm->domain, &tscm->tx_stream); in pcm_capture_ack() 249 return amdtp_domain_stream_pcm_ack(&tscm->domain, &tscm->rx_stream); in pcm_playback_ack()
|
D | tascam.h | 99 struct amdtp_domain domain; member
|
/sound/firewire/oxfw/ |
D | oxfw-stream.c | 117 err = amdtp_domain_add_stream(&oxfw->domain, stream, in start_stream() 285 amdtp_domain_stop(&oxfw->domain); in snd_oxfw_stream_reserve_duplex() 317 err = amdtp_domain_set_events_per_period(&oxfw->domain, in snd_oxfw_stream_reserve_duplex() 339 amdtp_domain_stop(&oxfw->domain); in snd_oxfw_stream_start_duplex() 383 err = amdtp_domain_start(&oxfw->domain, tx_init_skip_cycles, replay_seq, false); in snd_oxfw_stream_start_duplex() 387 if (!amdtp_domain_wait_ready(&oxfw->domain, READY_TIMEOUT_MS)) { in snd_oxfw_stream_start_duplex() 395 amdtp_domain_stop(&oxfw->domain); in snd_oxfw_stream_start_duplex() 407 amdtp_domain_stop(&oxfw->domain); in snd_oxfw_stream_stop_duplex() 448 err = amdtp_domain_init(&oxfw->domain); in snd_oxfw_stream_init_duplex() 462 amdtp_domain_destroy(&oxfw->domain); in snd_oxfw_stream_destroy_duplex() [all …]
|
D | oxfw-pcm.c | 173 struct amdtp_domain *d = &oxfw->domain; in pcm_open() 386 return amdtp_domain_stream_pcm_pointer(&oxfw->domain, &oxfw->tx_stream); in pcm_capture_pointer() 392 return amdtp_domain_stream_pcm_pointer(&oxfw->domain, &oxfw->rx_stream); in pcm_playback_pointer() 399 return amdtp_domain_stream_pcm_ack(&oxfw->domain, &oxfw->tx_stream); in pcm_capture_ack() 406 return amdtp_domain_stream_pcm_ack(&oxfw->domain, &oxfw->rx_stream); in pcm_playback_ack()
|
D | oxfw.h | 87 struct amdtp_domain domain; member
|
/sound/firewire/dice/ |
D | dice-stream.c | 282 amdtp_domain_stop(&dice->domain); in snd_dice_stream_reserve_duplex() 314 err = amdtp_domain_set_events_per_period(&dice->domain, in snd_dice_stream_reserve_duplex() 368 err = amdtp_domain_add_stream(&dice->domain, stream, in start_streams() 402 amdtp_domain_stop(&dice->domain); in snd_dice_stream_start_duplex() 453 err = amdtp_domain_start(&dice->domain, 0, true, false); in snd_dice_stream_start_duplex() 457 if (!amdtp_domain_wait_ready(&dice->domain, READY_TIMEOUT_MS)) { in snd_dice_stream_start_duplex() 465 amdtp_domain_stop(&dice->domain); in snd_dice_stream_start_duplex() 483 amdtp_domain_stop(&dice->domain); in snd_dice_stream_stop_duplex() 564 err = amdtp_domain_init(&dice->domain); in snd_dice_stream_init_duplex() 584 amdtp_domain_destroy(&dice->domain); in snd_dice_stream_destroy_duplex() [all …]
|
D | dice-pcm.c | 167 struct amdtp_domain *d = &dice->domain; in pcm_open() 377 return amdtp_domain_stream_pcm_pointer(&dice->domain, stream); in capture_pointer() 384 return amdtp_domain_stream_pcm_pointer(&dice->domain, stream); in playback_pointer() 392 return amdtp_domain_stream_pcm_ack(&dice->domain, stream); in capture_ack() 400 return amdtp_domain_stream_pcm_ack(&dice->domain, stream); in playback_ack()
|
/sound/firewire/bebob/ |
D | bebob_stream.c | 427 return amdtp_domain_add_stream(&bebob->domain, stream, in start_stream() 491 err = amdtp_domain_init(&bebob->domain); in snd_bebob_stream_init_duplex() 544 amdtp_domain_stop(&bebob->domain); in snd_bebob_stream_reserve_duplex() 581 err = amdtp_domain_set_events_per_period(&bebob->domain, in snd_bebob_stream_reserve_duplex() 604 amdtp_domain_stop(&bebob->domain); in snd_bebob_stream_start_duplex() 644 err = amdtp_domain_start(&bebob->domain, tx_init_skip_cycles, true, false); in snd_bebob_stream_start_duplex() 663 if (!amdtp_domain_wait_ready(&bebob->domain, READY_TIMEOUT_MS)) { in snd_bebob_stream_start_duplex() 671 amdtp_domain_stop(&bebob->domain); in snd_bebob_stream_start_duplex() 679 amdtp_domain_stop(&bebob->domain); in snd_bebob_stream_stop_duplex() 693 amdtp_domain_destroy(&bebob->domain); in snd_bebob_stream_destroy_duplex()
|
D | bebob_pcm.c | 136 struct amdtp_domain *d = &bebob->domain; in pcm_open() 315 return amdtp_domain_stream_pcm_pointer(&bebob->domain, in pcm_capture_pointer() 322 return amdtp_domain_stream_pcm_pointer(&bebob->domain, in pcm_playback_pointer() 330 return amdtp_domain_stream_pcm_ack(&bebob->domain, &bebob->tx_stream); in pcm_capture_ack() 337 return amdtp_domain_stream_pcm_ack(&bebob->domain, &bebob->rx_stream); in pcm_playback_ack()
|
/sound/firewire/ |
D | amdtp-stream.c | 573 struct amdtp_domain *d = s->domain; in pool_seq_descs() 1051 const struct amdtp_domain *d = s->domain; in process_rx_packets() 1099 if (s == s->domain->irq_target) { in process_rx_packets() 1120 struct amdtp_domain *d = s->domain; in skip_rx_packets() 1155 struct amdtp_domain *d = s->domain; in process_rx_packets_intermediately() 1226 struct amdtp_domain *d = s->domain; in process_tx_packets() 1276 struct amdtp_domain *d = s->domain; in process_tx_packets_intermediately() 1327 struct amdtp_domain *d = s->domain; in drop_tx_packets_initially() 1443 struct amdtp_domain *d = s->domain; in irq_target_callback() 1453 struct amdtp_domain *d = s->domain; in irq_target_callback_intermediately() [all …]
|
/sound/soc/intel/avs/ |
D | path.c | 261 t->core_id, t->domain, cfg, cfg_size, in avs_copier_create() 285 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_updown_mix_create() 302 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_src_create() 321 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_asrc_create() 340 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_aec_create() 358 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_mux_create() 375 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_wov_create() 392 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_micsel_create() 408 t->core_id, t->domain, &cfg, sizeof(cfg), in avs_modbase_create() 446 t->core_id, t->domain, cfg, cfg_size, in avs_modext_create()
|
D | dsp.c | 227 u8 core_id, u8 domain, void *param, u32 param_size, in avs_dsp_init_module() argument 257 core_id, domain, param, param_size); in avs_dsp_init_module()
|
D | topology.h | 181 u8 domain; member
|