Home
last modified time | relevance | path

Searched refs:target_state (Results 1 - 25 of 58) sorted by relevance

123

/kernel/linux/linux-6.6/sound/soc/sof/intel/
H A Dhda-dsp.c456 const struct sof_dsp_power_state *target_state) in hda_dsp_set_D0_state()
478 sdev->dsp_power_state.state, target_state->state); in hda_dsp_set_D0_state()
483 if (target_state->substate == SOF_HDA_DSP_PM_D0I3) { in hda_dsp_set_D0_state()
578 const struct sof_dsp_power_state *target_state) in hda_dsp_set_power_state()
582 switch (target_state->state) { in hda_dsp_set_power_state()
584 ret = hda_dsp_set_D0_state(sdev, target_state); in hda_dsp_set_power_state()
594 sdev->dsp_power_state.state, target_state->state); in hda_dsp_set_power_state()
598 target_state->state); in hda_dsp_set_power_state()
604 target_state->state, target_state in hda_dsp_set_power_state()
455 hda_dsp_set_D0_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) hda_dsp_set_D0_state() argument
577 hda_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) hda_dsp_set_power_state() argument
613 hda_dsp_set_power_state_ipc3(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) hda_dsp_set_power_state_ipc3() argument
638 hda_dsp_set_power_state_ipc4(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) hda_dsp_set_power_state_ipc4() argument
792 const struct sof_dsp_power_state target_state = { hda_dsp_resume() local
841 const struct sof_dsp_power_state target_state = { hda_dsp_runtime_resume() local
870 const struct sof_dsp_power_state target_state = { hda_dsp_runtime_suspend() local
888 hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) hda_dsp_suspend() argument
1045 struct sof_dsp_power_state target_state = { hda_dsp_d0i3_work() local
[all...]
/kernel/linux/linux-5.10/sound/soc/sof/intel/
H A Dhda-dsp.c401 const struct sof_dsp_power_state *target_state) in hda_dsp_set_D0_state()
423 sdev->dsp_power_state.state, target_state->state); in hda_dsp_set_D0_state()
428 if (target_state->substate == SOF_HDA_DSP_PM_D0I3) { in hda_dsp_set_D0_state()
526 const struct sof_dsp_power_state *target_state) in hda_dsp_set_power_state()
537 if (target_state->substate == SOF_HDA_DSP_PM_D0I3 && in hda_dsp_set_power_state()
545 if (target_state->state == sdev->dsp_power_state.state && in hda_dsp_set_power_state()
546 target_state->substate == sdev->dsp_power_state.substate) in hda_dsp_set_power_state()
550 switch (target_state->state) { in hda_dsp_set_power_state()
552 ret = hda_dsp_set_D0_state(sdev, target_state); in hda_dsp_set_power_state()
562 sdev->dsp_power_state.state, target_state in hda_dsp_set_power_state()
400 hda_dsp_set_D0_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) hda_dsp_set_D0_state() argument
525 hda_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) hda_dsp_set_power_state() argument
720 const struct sof_dsp_power_state target_state = { hda_dsp_resume() local
783 const struct sof_dsp_power_state target_state = { hda_dsp_runtime_resume() local
812 const struct sof_dsp_power_state target_state = { hda_dsp_runtime_suspend() local
828 hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) hda_dsp_suspend() argument
943 struct sof_dsp_power_state target_state; hda_dsp_d0i3_work() local
[all...]
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
H A Desas2r_targdb.c53 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize()
65 if (t->target_state != TS_PRESENT) in esas2r_targ_db_remove_all()
98 if (t->buffered_target_state != t->target_state) in esas2r_targ_db_report_changes()
99 state = t->buffered_target_state = t->target_state; in esas2r_targ_db_report_changes()
135 if (t->target_state == TS_PRESENT) { in esas2r_targ_db_add_raid()
167 t->target_state = TS_PRESENT; in esas2r_targ_db_add_raid()
195 || t->target_state == TS_PRESENT) { in esas2r_targ_db_add_pthru()
216 t->target_state = TS_PRESENT; in esas2r_targ_db_add_pthru()
225 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_remove()
267 if (t->target_state in esas2r_targ_db_find_next_present()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/esas2r/
H A Desas2r_targdb.c53 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_initialize()
65 if (t->target_state != TS_PRESENT) in esas2r_targ_db_remove_all()
98 if (t->buffered_target_state != t->target_state) in esas2r_targ_db_report_changes()
99 state = t->buffered_target_state = t->target_state; in esas2r_targ_db_report_changes()
135 if (t->target_state == TS_PRESENT) { in esas2r_targ_db_add_raid()
167 t->target_state = TS_PRESENT; in esas2r_targ_db_add_raid()
195 || t->target_state == TS_PRESENT) { in esas2r_targ_db_add_pthru()
216 t->target_state = TS_PRESENT; in esas2r_targ_db_add_pthru()
225 t->target_state = TS_NOT_PRESENT; in esas2r_targ_db_remove()
267 if (t->target_state in esas2r_targ_db_find_next_present()
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dprocessor_throttling.c39 int target_state; /* target T-state */ member
44 int target_state; member
213 int target_state; in acpi_processor_throttling_notifier() local
228 target_state = p_tstate->target_state; in acpi_processor_throttling_notifier()
237 if (p_limit->thermal.tx > target_state) in acpi_processor_throttling_notifier()
238 target_state = p_limit->thermal.tx; in acpi_processor_throttling_notifier()
239 if (p_limit->user.tx > target_state) in acpi_processor_throttling_notifier()
240 target_state = p_limit->user.tx; in acpi_processor_throttling_notifier()
241 if (pr->throttling_platform_limit > target_state) in acpi_processor_throttling_notifier()
305 int target_state; acpi_processor_tstate_has_changed() local
[all...]
H A Ddevice_pm.c163 int target_state = state; in acpi_device_set_power() local
192 target_state = state; in acpi_device_set_power()
238 result = acpi_power_transition(device, target_state); in acpi_device_set_power()
277 acpi_power_state_string(target_state)); in acpi_device_set_power()
279 device->power.state = target_state; in acpi_device_set_power()
283 acpi_power_state_string(target_state))); in acpi_device_set_power()
569 * @target_state: System state to match the resultant device state.
575 * state represented by @target_state. Store the integer numbers representing
587 u32 target_state, int *d_min_p, int *d_max_p) in acpi_dev_pm_get_state()
589 char method[] = { '_', 'S', '0' + target_state, ' in acpi_dev_pm_get_state()
586 acpi_dev_pm_get_state(struct device *dev, struct acpi_device *adev, u32 target_state, int *d_min_p, int *d_max_p) acpi_dev_pm_get_state() argument
752 __acpi_device_wakeup_enable(struct acpi_device *adev, u32 target_state) __acpi_device_wakeup_enable() argument
802 acpi_device_wakeup_enable(struct acpi_device *adev, u32 target_state) acpi_device_wakeup_enable() argument
908 u32 target_state = acpi_target_system_state(); acpi_dev_suspend() local
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Dprocessor_throttling.c35 int target_state; /* target T-state */ member
40 int target_state; member
203 int target_state; in acpi_processor_throttling_notifier() local
219 target_state = p_tstate->target_state; in acpi_processor_throttling_notifier()
228 if (p_limit->thermal.tx > target_state) in acpi_processor_throttling_notifier()
229 target_state = p_limit->thermal.tx; in acpi_processor_throttling_notifier()
230 if (p_limit->user.tx > target_state) in acpi_processor_throttling_notifier()
231 target_state = p_limit->user.tx; in acpi_processor_throttling_notifier()
232 if (pr->throttling_platform_limit > target_state) in acpi_processor_throttling_notifier()
294 int target_state; acpi_processor_tstate_has_changed() local
[all...]
H A Ddevice_pm.c164 int target_state = state; in acpi_device_set_power() local
189 target_state = state; in acpi_device_set_power()
240 result = acpi_power_transition(device, target_state); in acpi_device_set_power()
280 acpi_power_state_string(target_state)); in acpi_device_set_power()
282 device->power.state = target_state; in acpi_device_set_power()
284 acpi_power_state_string(target_state)); in acpi_device_set_power()
651 * @target_state: System state to match the resultant device state.
657 * state represented by @target_state. Store the integer numbers representing
669 u32 target_state, int *d_min_p, int *d_max_p) in acpi_dev_pm_get_state()
671 char method[] = { '_', 'S', '0' + target_state, ' in acpi_dev_pm_get_state()
668 acpi_dev_pm_get_state(struct device *dev, struct acpi_device *adev, u32 target_state, int *d_min_p, int *d_max_p) acpi_dev_pm_get_state() argument
849 __acpi_device_wakeup_enable(struct acpi_device *adev, u32 target_state) __acpi_device_wakeup_enable() argument
912 acpi_device_wakeup_enable(struct acpi_device *adev, u32 target_state) acpi_device_wakeup_enable() argument
1018 u32 target_state = acpi_target_system_state(); acpi_dev_suspend() local
[all...]
/kernel/linux/linux-6.6/drivers/cpuidle/
H A Dcpuidle.c143 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper() local
157 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) { in enter_s2idle_proper()
162 target_state->enter_s2idle(dev, drv, index); in enter_s2idle_proper()
165 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) { in enter_s2idle_proper()
217 struct cpuidle_state *target_state = &drv->states[index]; in cpuidle_enter_state() local
218 bool broadcast = !!(target_state->flags & CPUIDLE_FLAG_TIMER_STOP); in cpuidle_enter_state()
229 index = find_deepest_state(drv, dev, target_state->exit_latency_ns, in cpuidle_enter_state()
235 target_state = &drv->states[index]; in cpuidle_enter_state()
239 if (target_state->flags & CPUIDLE_FLAG_TLB_FLUSHED) in cpuidle_enter_state()
243 sched_idle_set_state(target_state); in cpuidle_enter_state()
[all...]
/kernel/linux/linux-5.10/drivers/cpuidle/
H A Dcpuidle.c141 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper() local
152 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) in enter_s2idle_proper()
154 target_state->enter_s2idle(dev, drv, index); in enter_s2idle_proper()
157 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) in enter_s2idle_proper()
205 struct cpuidle_state *target_state = &drv->states[index]; in cpuidle_enter_state() local
206 bool broadcast = !!(target_state->flags & CPUIDLE_FLAG_TIMER_STOP); in cpuidle_enter_state()
215 index = find_deepest_state(drv, dev, target_state->exit_latency_ns, in cpuidle_enter_state()
221 target_state = &drv->states[index]; in cpuidle_enter_state()
225 if (target_state->flags & CPUIDLE_FLAG_TLB_FLUSHED) in cpuidle_enter_state()
229 sched_idle_set_state(target_state); in cpuidle_enter_state()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/kvm/aarch64/
H A Dpsci_test.c118 uint64_t target_state; in guest_test_cpu_on() local
123 target_state = psci_affinity_info(target_cpu, 0); in guest_test_cpu_on()
125 GUEST_ASSERT((target_state == PSCI_0_2_AFFINITY_LEVEL_ON) || in guest_test_cpu_on()
126 (target_state == PSCI_0_2_AFFINITY_LEVEL_OFF)); in guest_test_cpu_on()
127 } while (target_state != PSCI_0_2_AFFINITY_LEVEL_ON); in guest_test_cpu_on()
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dpm.c181 u32 target_state = 0; in sof_suspend() local
205 target_state = snd_sof_dsp_power_target(sdev); in sof_suspend()
208 if (target_state == SOF_DSP_PM_D0) in sof_suspend()
247 ret = snd_sof_dsp_suspend(sdev, target_state); in sof_suspend()
254 if (target_state == SOF_DSP_PM_D0) in sof_suspend()
H A Dops.h150 u32 target_state) in snd_sof_dsp_suspend()
153 return sof_ops(sdev)->suspend(sdev, target_state); in snd_sof_dsp_suspend()
199 const struct sof_dsp_power_state *target_state) in snd_sof_dsp_set_power_state()
202 return sof_ops(sdev)->set_power_state(sdev, target_state); in snd_sof_dsp_set_power_state()
149 snd_sof_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) snd_sof_dsp_suspend() argument
198 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) snd_sof_dsp_set_power_state() argument
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dpm.c202 u32 target_state = snd_sof_dsp_power_target(sdev); in sof_suspend() local
235 pm_state.event = target_state; in sof_suspend()
244 if (target_state == SOF_DSP_PM_D0) in sof_suspend()
279 ret = snd_sof_dsp_suspend(sdev, target_state); in sof_suspend()
286 if (target_state == SOF_DSP_PM_D0) in sof_suspend()
H A Dops.h227 u32 target_state) in snd_sof_dsp_suspend()
230 return sof_ops(sdev)->suspend(sdev, target_state); in snd_sof_dsp_suspend()
276 const struct sof_dsp_power_state *target_state) in snd_sof_dsp_set_power_state()
283 ret = sof_ops(sdev)->set_power_state(sdev, target_state); in snd_sof_dsp_set_power_state()
226 snd_sof_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) snd_sof_dsp_suspend() argument
275 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) snd_sof_dsp_set_power_state() argument
H A Dipc4.c369 const struct sof_dsp_power_state target_state = { in sof_ipc4_tx_msg() local
374 ret = snd_sof_dsp_set_power_state(sdev, &target_state); in sof_ipc4_tx_msg()
405 const struct sof_dsp_power_state target_state = { in sof_ipc4_set_get_data() local
439 ret = snd_sof_dsp_set_power_state(sdev, &target_state); in sof_ipc4_set_get_data()
/kernel/linux/linux-5.10/sound/soc/intel/skylake/
H A Dbxt-sst.c292 int target_state; in bxt_set_dsp_D0i3() local
303 target_state = bxt_d0i3_target_state(ctx); in bxt_set_dsp_D0i3()
304 if (target_state == SKL_DSP_D0I3_NONE) in bxt_set_dsp_D0i3()
311 if (target_state == SKL_DSP_D0I3_STREAMING) in bxt_set_dsp_D0i3()
325 d0i3->state = target_state; in bxt_set_dsp_D0i3()
/kernel/linux/linux-6.6/sound/soc/intel/skylake/
H A Dbxt-sst.c292 int target_state; in bxt_set_dsp_D0i3() local
303 target_state = bxt_d0i3_target_state(ctx); in bxt_set_dsp_D0i3()
304 if (target_state == SKL_DSP_D0I3_NONE) in bxt_set_dsp_D0i3()
311 if (target_state == SKL_DSP_D0I3_STREAMING) in bxt_set_dsp_D0i3()
325 d0i3->state = target_state; in bxt_set_dsp_D0i3()
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/
H A Dcal-camerarx.c172 u32 target_state; in cal_camerarx_power() local
175 target_state = enable ? CAL_CSI2_COMPLEXIO_CFG_PWR_CMD_STATE_ON : in cal_camerarx_power()
179 target_state, CAL_CSI2_COMPLEXIO_CFG_PWR_CMD_MASK); in cal_camerarx_power()
188 if (current_state == target_state) in cal_camerarx_power()
/kernel/linux/linux-6.6/sound/soc/sof/imx/
H A Dimx8.c422 static int imx8_dsp_suspend(struct snd_sof_dev *sdev, unsigned int target_state) in imx8_dsp_suspend() argument
425 .state = target_state, in imx8_dsp_suspend()
482 const struct sof_dsp_power_state *target_state) in imx8_dsp_set_power_state()
484 sdev->dsp_power_state = *target_state; in imx8_dsp_set_power_state()
481 imx8_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) imx8_dsp_set_power_state() argument
H A Dimx8ulp.c350 static int imx8ulp_dsp_suspend(struct snd_sof_dev *sdev, unsigned int target_state) in imx8ulp_dsp_suspend() argument
353 .state = target_state, in imx8ulp_dsp_suspend()
409 const struct sof_dsp_power_state *target_state) in imx8ulp_dsp_set_power_state()
411 sdev->dsp_power_state = *target_state; in imx8ulp_dsp_set_power_state()
408 imx8ulp_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) imx8ulp_dsp_set_power_state() argument
H A Dimx8m.c321 const struct sof_dsp_power_state *target_state) in imx8m_dsp_set_power_state()
323 sdev->dsp_power_state = *target_state; in imx8m_dsp_set_power_state()
402 static int imx8m_dsp_suspend(struct snd_sof_dev *sdev, unsigned int target_state) in imx8m_dsp_suspend() argument
405 .state = target_state, in imx8m_dsp_suspend()
320 imx8m_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) imx8m_dsp_set_power_state() argument
/kernel/linux/linux-5.10/drivers/pci/
H A Dpci.c2541 pci_power_t target_state = PCI_D3hot; in pci_target_state() local
2559 target_state = state; in pci_target_state()
2562 return target_state; in pci_target_state()
2566 target_state = PCI_D0; in pci_target_state()
2574 target_state = PCI_D3cold; in pci_target_state()
2577 pci_power_t state = target_state; in pci_target_state()
2592 return target_state; in pci_target_state()
2607 pci_power_t target_state = pci_target_state(dev, wakeup); in pci_prepare_to_sleep() local
2610 if (target_state == PCI_POWER_ERROR) in pci_prepare_to_sleep()
2613 pci_enable_wake(dev, target_state, wakeu in pci_prepare_to_sleep()
2647 pci_power_t target_state; pci_finish_runtime_suspend() local
2719 pci_power_t target_state; pci_dev_need_resume() local
[all...]
/kernel/linux/linux-5.10/sound/pci/hda/
H A Dhda_local.h612 unsigned int target_state) in snd_hda_check_power_state()
614 return snd_hdac_check_power_state(&codec->core, nid, target_state); in snd_hda_check_power_state()
619 unsigned int target_state) in snd_hda_sync_power_state()
621 return snd_hdac_sync_power_state(&codec->core, nid, target_state); in snd_hda_sync_power_state()
611 snd_hda_check_power_state(struct hda_codec *codec, hda_nid_t nid, unsigned int target_state) snd_hda_check_power_state() argument
617 snd_hda_sync_power_state(struct hda_codec *codec, hda_nid_t nid, unsigned int target_state) snd_hda_sync_power_state() argument
/kernel/linux/linux-6.6/sound/pci/hda/
H A Dhda_local.h612 unsigned int target_state) in snd_hda_check_power_state()
614 return snd_hdac_check_power_state(&codec->core, nid, target_state); in snd_hda_check_power_state()
619 unsigned int target_state) in snd_hda_sync_power_state()
621 return snd_hdac_sync_power_state(&codec->core, nid, target_state); in snd_hda_sync_power_state()
611 snd_hda_check_power_state(struct hda_codec *codec, hda_nid_t nid, unsigned int target_state) snd_hda_check_power_state() argument
617 snd_hda_sync_power_state(struct hda_codec *codec, hda_nid_t nid, unsigned int target_state) snd_hda_sync_power_state() argument

Completed in 25 milliseconds

123