Home
last modified time | relevance | path

Searched refs:COMP_STATE_ACTIVE (Results 1 – 25 of 32) sorted by relevance

12

/sof-2.7.6/test/cmocka/src/audio/component/
Dcomp_set_state.c52 TEST_CASE(SUCCEED, COMP_STATE_ACTIVE,
56 TEST_CASE(SUCCEED, COMP_STATE_ACTIVE,
66 TEST_CASE(SUCCEED, COMP_STATE_ACTIVE,
108 TEST_CASE(FAIL, COMP_STATE_ACTIVE, COMP_TRIGGER_PREPARE,
113 COMP_TRIGGER_START, COMP_STATE_ACTIVE),
115 COMP_TRIGGER_RELEASE, COMP_STATE_ACTIVE),
116 TEST_CASE(CORRECT_OUTPUT_STATE, COMP_STATE_ACTIVE,
128 TEST_CASE(CORRECT_OUTPUT_STATE, COMP_STATE_ACTIVE,
129 COMP_TRIGGER_XRUN, COMP_STATE_ACTIVE),
130 TEST_CASE(CORRECT_OUTPUT_STATE, COMP_STATE_ACTIVE,
[all …]
/sof-2.7.6/src/audio/
Dcomponent.c70 dev->state = COMP_STATE_ACTIVE; in comp_set_state()
79 dev->state = COMP_STATE_ACTIVE; in comp_set_state()
87 if (dev->state == COMP_STATE_ACTIVE || in comp_set_state()
98 if (dev->state == COMP_STATE_ACTIVE) { in comp_set_state()
108 if (dev->state == COMP_STATE_ACTIVE || in comp_set_state()
Dmixer.c258 (mixer_source_status_count(dev, COMP_STATE_ACTIVE) || in mixer_trigger()
260 dev->state = COMP_STATE_ACTIVE; in mixer_trigger()
411 if (dev->state != COMP_STATE_ACTIVE) { in mixer_prepare()
448 source->source->state == COMP_STATE_ACTIVE) { in mixer_prepare()
Dcopier.c349 if (dev->state == COMP_STATE_ACTIVE) { in copier_prepare()
385 if (dev->state == COMP_STATE_ACTIVE) { in copier_reset()
/sof-2.7.6/src/ipc/ipc4/
Ddai.c81 if (dev->state == COMP_STATE_ACTIVE) { in ipc_dai_data_config()
151 if (dev->state == COMP_STATE_ACTIVE) { in dai_config()
/sof-2.7.6/test/cmocka/src/audio/mixer/
Dmixer_test.c171 tc->sources[src_idx].comp->state = COMP_STATE_ACTIVE; in activate_periph_comps()
173 post_mixer_comp->state = COMP_STATE_ACTIVE; in activate_periph_comps()
226 mixer_dev_mock->state = COMP_STATE_ACTIVE; in test_setup()
/sof-2.7.6/src/drivers/amd/renoir/
Dacp_sp_dma.c92 channel->status = COMP_STATE_ACTIVE; in acp_dai_sp_dma_start()
103 channel->status = COMP_STATE_ACTIVE; in acp_dai_sp_dma_start()
145 case COMP_STATE_ACTIVE: in acp_dai_sp_dma_stop()
160 case COMP_STATE_ACTIVE: in acp_dai_sp_dma_stop()
Dacp_bt_dma.c96 channel->status = COMP_STATE_ACTIVE; in acp_dai_bt_dma_start()
108 channel->status = COMP_STATE_ACTIVE; in acp_dai_bt_dma_start()
149 case COMP_STATE_ACTIVE: in acp_dai_bt_dma_stop()
164 case COMP_STATE_ACTIVE: in acp_dai_bt_dma_stop()
Dacp_dmic_dma.c89 channel->status = COMP_STATE_ACTIVE; in acp_dmic_dma_start()
156 case COMP_STATE_ACTIVE: in acp_dmic_dma_stop()
Dacp_dma.c231 case COMP_STATE_ACTIVE: in acp_dma_stop()
278 channel->status = COMP_STATE_ACTIVE; in acp_dma_start()
317 channel->status = COMP_STATE_ACTIVE; in acp_dma_release()
325 if (channel->status != COMP_STATE_ACTIVE) in acp_dma_pause()
/sof-2.7.6/src/drivers/imx/
Dedma.c151 channel->status = COMP_STATE_ACTIVE; in edma_start()
169 channel->status = COMP_STATE_ACTIVE; in edma_release()
178 if (channel->status != COMP_STATE_ACTIVE) in edma_pause()
199 case COMP_STATE_ACTIVE: in edma_stop()
Dsdma.c502 channel->status = COMP_STATE_ACTIVE; in sdma_start()
512 if (channel->status != COMP_STATE_ACTIVE && in sdma_stop()
529 if (channel->status != COMP_STATE_ACTIVE) in sdma_pause()
547 channel->status = COMP_STATE_ACTIVE; in sdma_release()
/sof-2.7.6/src/ipc/ipc3/
Ddai.c99 if (dev->state == COMP_STATE_ACTIVE) { in ipc_dai_data_config()
258 if (dev->state == COMP_STATE_ACTIVE) { in dai_config()
/sof-2.7.6/src/schedule/
Ddma_single_chan_domain.c81 if (dmas[i].chan[j].status != COMP_STATE_ACTIVE) in dma_chan_min_period()
283 if (dmas[i].chan[j].status == COMP_STATE_ACTIVE) { in dma_chan_is_any_running()
312 if (data->channel->status == COMP_STATE_ACTIVE) in dma_domain_unregister_owner()
Ddma_multi_chan_domain.c139 if (dmas[i].chan[j].status != COMP_STATE_ACTIVE) in dma_multi_chan_domain_register()
229 if (dmas[i].chan[j].status == COMP_STATE_ACTIVE) in dma_multi_chan_domain_unregister()
/sof-2.7.6/src/audio/pipeline/
Dpipeline-xrun.c152 if (dev->state != COMP_STATE_ACTIVE) in pipeline_xrun()
Dpipeline-schedule.c137 p->status = COMP_STATE_ACTIVE; in pipeline_schedule_triggered()
Dpipeline-stream.c56 if (rsrc->state != COMP_STATE_ACTIVE) in pipeline_should_report_enodata_on_trigger()
Dpipeline-params.c110 if (current->state == COMP_STATE_ACTIVE) in pipeline_comp_params()
/sof-2.7.6/src/drivers/intel/haswell/
Dssp.c78 if (ssp->state[DAI_DIR_PLAYBACK] == COMP_STATE_ACTIVE || in ssp_set_config()
79 ssp->state[DAI_DIR_CAPTURE] == COMP_STATE_ACTIVE) { in ssp_set_config()
448 ssp->state[direction] = COMP_STATE_ACTIVE; in ssp_start()
/sof-2.7.6/src/drivers/intel/baytrail/
Dssp.c102 if (ssp->state[DAI_DIR_PLAYBACK] == COMP_STATE_ACTIVE || in ssp_set_config()
103 ssp->state[DAI_DIR_CAPTURE] == COMP_STATE_ACTIVE) { in ssp_set_config()
520 ssp->state[direction] = COMP_STATE_ACTIVE; in ssp_start()
/sof-2.7.6/src/include/sof/audio/
Dcomponent_ext.h320 return current->state == COMP_STATE_ACTIVE; in comp_is_active()
335 state = COMP_STATE_ACTIVE; in comp_get_requested_state()
/sof-2.7.6/src/audio/mux/
Dmux.c649 if (dev->state != COMP_STATE_ACTIVE) { in mux_prepare()
673 source->source->state == COMP_STATE_ACTIVE) { in mux_prepare()
717 if (mux_source_status_count(dev, COMP_STATE_ACTIVE) && in mux_trigger()
719 dev->state = COMP_STATE_ACTIVE; in mux_trigger()
/sof-2.7.6/src/drivers/dw/
Ddma.c155 if (channel->status != COMP_STATE_ACTIVE) in dw_dma_chan_reload_lli_cb()
333 channel->status = COMP_STATE_ACTIVE; in dw_dma_start()
374 if (channel->status != COMP_STATE_ACTIVE) in dw_dma_pause()
411 if (channel->status != COMP_STATE_ACTIVE && in dw_dma_stop()
/sof-2.7.6/src/drivers/intel/hda/
Dhda-dma.c549 channel->status = COMP_STATE_ACTIVE; in hda_dma_start()
591 if (channel->status != COMP_STATE_ACTIVE) in hda_dma_pause()
661 if (channel->status == COMP_STATE_ACTIVE) in hda_dma_set_config()

12