| /linux/sound/soc/sof/intel/ |
| A D | hda-dsp.c | 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() 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() 758 target_state.state, target_state.substate); in hda_dsp_resume() 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 [all …]
|
| A D | hda.h | 503 const struct sof_dsp_power_state *target_state); 505 int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state);
|
| A D | byt.c | 86 static int byt_suspend(struct snd_sof_dev *sdev, u32 target_state) in byt_suspend() argument
|
| /linux/drivers/scsi/esas2r/ |
| A D | esas2r_targdb.c | 53 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() 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 == TS_PRESENT) in esas2r_targ_db_find_next_present() 282 if (t->target_state != TS_PRESENT) in esas2r_targ_db_find_by_virt_id() [all …]
|
| A D | esas2r_io.c | 73 if (unlikely(t->target_state != TS_PRESENT && in esas2r_start_request() 541 && t->target_state == TS_PRESENT in esas2r_build_sg_list_prd()
|
| A D | esas2r_ioctl.c | 560 || t->target_state != TS_PRESENT in csmi_ioctl_callback() 579 || t->target_state != TS_PRESENT in csmi_ioctl_callback() 1083 if (t->target_state != TS_PRESENT) { in hba_ioctl_callback() 1185 if (t->target_state != TS_PRESENT) { in hba_ioctl_callback()
|
| A D | esas2r_disc.c | 1175 if (t->target_state == TS_PRESENT) in esas2r_disc_fix_curr_requests()
|
| A D | esas2r.h | 631 u8 target_state; member
|
| /linux/drivers/acpi/ |
| A D | processor_throttling.c | 40 int target_state; member 205 int target_state; in acpi_processor_throttling_notifier() local 221 target_state = p_tstate->target_state; in acpi_processor_throttling_notifier() 240 p_tstate->target_state = target_state; in acpi_processor_throttling_notifier() 243 cpu, target_state); in acpi_processor_throttling_notifier() 253 cpu, target_state); in acpi_processor_throttling_notifier() 296 int target_state; in acpi_processor_tstate_has_changed() local 327 target_state = limit->user.tx; in acpi_processor_tstate_has_changed() 1080 t_state.target_state = state; in __acpi_processor_set_throttling() 1101 arg.target_state = state; in __acpi_processor_set_throttling() [all …]
|
| A D | device_pm.c | 162 int target_state = state; in acpi_device_set_power() local 190 target_state = state; in acpi_device_set_power() 275 acpi_power_state_string(target_state)); in acpi_device_set_power() 277 device->power.state = target_state; in acpi_device_set_power() 279 acpi_power_state_string(target_state)); in acpi_device_set_power() 583 u32 target_state, int *d_min_p, int *d_max_p) in acpi_dev_pm_get_state() argument 607 if (target_state > ACPI_STATE_S0) { in acpi_dev_pm_get_state() 635 && adev->wakeup.sleep_state >= target_state; in acpi_dev_pm_get_state() 655 if (has_sxd && target_state > ACPI_STATE_S0) in acpi_dev_pm_get_state() 749 u32 target_state) in __acpi_device_wakeup_enable() argument [all …]
|
| /linux/drivers/cpuidle/ |
| A D | cpuidle.c | 141 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 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() 235 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) in cpuidle_enter_state() 237 entered_state = target_state->enter(dev, drv, index); in cpuidle_enter_state() [all …]
|
| /linux/tools/testing/selftests/kvm/aarch64/ |
| A D | psci_cpu_on_test.c | 60 uint64_t target_state; in guest_main() local 63 target_state = psci_affinity_info(target_cpu, 0); in guest_main() 65 GUEST_ASSERT((target_state == PSCI_0_2_AFFINITY_LEVEL_ON) || in guest_main() 66 (target_state == PSCI_0_2_AFFINITY_LEVEL_OFF)); in guest_main() 67 } while (target_state != PSCI_0_2_AFFINITY_LEVEL_ON); in guest_main()
|
| /linux/sound/soc/sof/ |
| A D | pm.c | 181 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() 249 ret = snd_sof_dsp_suspend(sdev, target_state); in sof_suspend() 256 if (target_state == SOF_DSP_PM_D0) in sof_suspend()
|
| A D | ops.h | 180 u32 target_state) in snd_sof_dsp_suspend() argument 183 return sof_ops(sdev)->suspend(sdev, target_state); in snd_sof_dsp_suspend() 229 const struct sof_dsp_power_state *target_state) in snd_sof_dsp_set_power_state() argument 236 ret = sof_ops(sdev)->set_power_state(sdev, target_state); in snd_sof_dsp_set_power_state()
|
| A D | sof-priv.h | 250 u32 target_state); /* optional */ 257 const struct sof_dsp_power_state *target_state); /* optional */
|
| A D | ipc.c | 338 const struct sof_dsp_power_state target_state = { in sof_ipc_tx_message() local 344 ret = snd_sof_dsp_set_power_state(ipc->sdev, &target_state); in sof_ipc_tx_message()
|
| /linux/sound/soc/intel/skylake/ |
| A D | bxt-sst.c | 292 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()
|
| /linux/sound/pci/hda/ |
| A D | hda_local.h | 612 unsigned int target_state) in snd_hda_check_power_state() argument 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() argument 621 return snd_hdac_sync_power_state(&codec->core, nid, target_state); in snd_hda_sync_power_state()
|
| /linux/drivers/media/platform/ti-vpe/ |
| A D | cal-camerarx.c | 164 u32 target_state; in cal_camerarx_power() local 167 target_state = enable ? CAL_CSI2_COMPLEXIO_CFG_PWR_CMD_STATE_ON : in cal_camerarx_power() 171 target_state, CAL_CSI2_COMPLEXIO_CFG_PWR_CMD_MASK); in cal_camerarx_power() 180 if (current_state == target_state) in cal_camerarx_power()
|
| /linux/drivers/usb/typec/tipd/ |
| A D | core.c | 644 static int cd321x_switch_power_state(struct tps6598x *tps, u8 target_state) in cd321x_switch_power_state() argument 653 if (state == target_state) in cd321x_switch_power_state() 656 ret = tps6598x_exec_cmd(tps, "SSPS", sizeof(u8), &target_state, 0, NULL); in cd321x_switch_power_state() 664 if (state != target_state) in cd321x_switch_power_state()
|
| /linux/drivers/pci/ |
| A D | pci.c | 2665 if (target_state == PCI_POWER_ERROR) in pci_prepare_to_sleep() 2678 pci_enable_wake(dev, target_state, wakeup); in pci_prepare_to_sleep() 2680 error = pci_set_power_state(dev, target_state); in pci_prepare_to_sleep() 2683 pci_enable_wake(dev, target_state, false); in pci_prepare_to_sleep() 2719 pci_power_t target_state; in pci_finish_runtime_suspend() local 2723 if (target_state == PCI_POWER_ERROR) in pci_finish_runtime_suspend() 2740 error = pci_set_power_state(dev, target_state); in pci_finish_runtime_suspend() 2743 pci_enable_wake(dev, target_state, false); in pci_finish_runtime_suspend() 2802 pci_power_t target_state; in pci_dev_need_resume() local 2814 return target_state != pci_dev->current_state && in pci_dev_need_resume() [all …]
|
| /linux/include/sound/ |
| A D | hdaudio.h | 154 hda_nid_t nid, unsigned int target_state); 156 hda_nid_t nid, unsigned int target_state);
|
| /linux/sound/hda/ |
| A D | hdac_device.c | 1056 hda_nid_t nid, unsigned int target_state) in snd_hdac_check_power_state() argument 1064 return (state == target_state); in snd_hdac_check_power_state()
|
| /linux/drivers/scsi/ |
| A D | pmcraid.c | 2315 u8 target_state in pmcraid_reset_reload() argument 2339 if (pinstance->ioa_state == target_state) { in pmcraid_reset_reload() 2368 return pinstance->ioa_state != target_state; in pmcraid_reset_reload()
|