Lines Matching refs:target_state

400 				const struct sof_dsp_power_state *target_state)  in hda_dsp_set_D0_state()  argument
422 sdev->dsp_power_state.state, target_state->state); in hda_dsp_set_D0_state()
427 if (target_state->substate == SOF_HDA_DSP_PM_D0I3) { in hda_dsp_set_D0_state()
525 const struct sof_dsp_power_state *target_state) in hda_dsp_set_power_state() argument
536 if (target_state->substate == SOF_HDA_DSP_PM_D0I3 && in hda_dsp_set_power_state()
544 if (target_state->state == sdev->dsp_power_state.state && in hda_dsp_set_power_state()
545 target_state->substate == sdev->dsp_power_state.substate) in hda_dsp_set_power_state()
549 switch (target_state->state) { in hda_dsp_set_power_state()
551 ret = hda_dsp_set_D0_state(sdev, target_state); in hda_dsp_set_power_state()
561 sdev->dsp_power_state.state, target_state->state); in hda_dsp_set_power_state()
565 target_state->state); in hda_dsp_set_power_state()
571 target_state->state, target_state->substate); in hda_dsp_set_power_state()
575 sdev->dsp_power_state = *target_state; in hda_dsp_set_power_state()
723 const struct sof_dsp_power_state target_state = { in hda_dsp_resume() local
755 ret = snd_sof_dsp_set_power_state(sdev, &target_state); in hda_dsp_resume()
758 target_state.state, target_state.substate); in hda_dsp_resume()
779 return snd_sof_dsp_set_power_state(sdev, &target_state); in hda_dsp_resume()
784 const struct sof_dsp_power_state target_state = { in hda_dsp_runtime_resume() local
794 return snd_sof_dsp_set_power_state(sdev, &target_state); in hda_dsp_runtime_resume()
813 const struct sof_dsp_power_state target_state = { in hda_dsp_runtime_suspend() local
826 return snd_sof_dsp_set_power_state(sdev, &target_state); in hda_dsp_runtime_suspend()
829 int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) in hda_dsp_suspend() argument
835 .state = target_state, in hda_dsp_suspend()
836 .substate = target_state == SOF_DSP_PM_D0 ? in hda_dsp_suspend()
844 if (target_state == SOF_DSP_PM_D0) { in hda_dsp_suspend()
947 struct sof_dsp_power_state target_state = { in hda_dsp_d0i3_work() local
959 ret = snd_sof_dsp_set_power_state(sdev, &target_state); in hda_dsp_d0i3_work()
963 target_state.state, target_state.substate); in hda_dsp_d0i3_work()