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

12

/linux-master/drivers/scsi/esas2r/
H A Desas2r_targdb.c53 t->target_state = TS_NOT_PRESENT;
65 if (t->target_state != TS_PRESENT)
98 if (t->buffered_target_state != t->target_state)
99 state = t->buffered_target_state = t->target_state;
135 if (t->target_state == TS_PRESENT) {
167 t->target_state = TS_PRESENT;
195 || t->target_state == TS_PRESENT) {
216 t->target_state = TS_PRESENT;
225 t->target_state = TS_NOT_PRESENT;
267 if (t->target_state
[all...]
H A Desas2r_io.c73 if (unlikely(t->target_state != TS_PRESENT &&
541 && t->target_state == TS_PRESENT
H A Desas2r_ioctl.c562 || t->target_state != TS_PRESENT
581 || t->target_state != TS_PRESENT
1078 if (t->target_state != TS_PRESENT) {
1180 if (t->target_state != TS_PRESENT) {
/linux-master/sound/soc/sof/intel/
H A Dhda-dsp.c456 const struct sof_dsp_power_state *target_state)
478 sdev->dsp_power_state.state, target_state->state);
483 if (target_state->substate == SOF_HDA_DSP_PM_D0I3) {
578 const struct sof_dsp_power_state *target_state)
582 switch (target_state->state) {
584 ret = hda_dsp_set_D0_state(sdev, target_state);
594 sdev->dsp_power_state.state, target_state->state);
598 target_state->state);
604 target_state->state, target_state
455 hda_dsp_set_D0_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument
577 hda_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument
613 hda_dsp_set_power_state_ipc3(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument
638 hda_dsp_set_power_state_ipc4(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument
810 const struct sof_dsp_power_state target_state = { local
859 const struct sof_dsp_power_state target_state = { local
888 const struct sof_dsp_power_state target_state = { local
906 hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) argument
1063 struct sof_dsp_power_state target_state = { local
[all...]
H A Dbyt.c86 static int byt_suspend(struct snd_sof_dev *sdev, u32 target_state) argument
H A Dhda.h600 const struct sof_dsp_power_state *target_state);
602 const struct sof_dsp_power_state *target_state);
604 int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state);
/linux-master/drivers/cpuidle/
H A Dcpuidle.c143 struct cpuidle_state *target_state = &drv->states[index]; local
157 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) {
162 target_state->enter_s2idle(dev, drv, index);
165 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) {
217 struct cpuidle_state *target_state = &drv->states[index]; local
218 bool broadcast = !!(target_state->flags & CPUIDLE_FLAG_TIMER_STOP);
229 index = find_deepest_state(drv, dev, target_state->exit_latency_ns,
235 target_state = &drv->states[index];
239 if (target_state->flags & CPUIDLE_FLAG_TLB_FLUSHED)
243 sched_idle_set_state(target_state);
[all...]
/linux-master/tools/testing/selftests/kvm/aarch64/
H A Dpsci_test.c118 uint64_t target_state; local
123 target_state = psci_affinity_info(target_cpu, 0);
125 GUEST_ASSERT((target_state == PSCI_0_2_AFFINITY_LEVEL_ON) ||
126 (target_state == PSCI_0_2_AFFINITY_LEVEL_OFF));
127 } while (target_state != PSCI_0_2_AFFINITY_LEVEL_ON);
/linux-master/drivers/acpi/
H A Dprocessor_throttling.c35 int target_state; /* target T-state */ member in struct:throttling_tstate
40 int target_state; member in struct:acpi_processor_throttling_arg
203 int target_state; local
219 target_state = p_tstate->target_state;
228 if (p_limit->thermal.tx > target_state)
229 target_state = p_limit->thermal.tx;
230 if (p_limit->user.tx > target_state)
231 target_state = p_limit->user.tx;
232 if (pr->throttling_platform_limit > target_state)
294 int target_state; local
[all...]
H A Ddevice_pm.c164 int target_state = state; local
189 target_state = state;
240 result = acpi_power_transition(device, target_state);
280 acpi_power_state_string(target_state));
282 device->power.state = target_state;
284 acpi_power_state_string(target_state));
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)
671 char method[] = { '_', 'S', '0' + target_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) argument
849 __acpi_device_wakeup_enable(struct acpi_device *adev, u32 target_state) argument
912 acpi_device_wakeup_enable(struct acpi_device *adev, u32 target_state) argument
1018 u32 target_state = acpi_target_system_state(); local
[all...]
/linux-master/sound/soc/sof/
H A Dpm.c202 u32 target_state = snd_sof_dsp_power_target(sdev); local
235 pm_state.event = target_state;
244 if (target_state == SOF_DSP_PM_D0)
279 ret = snd_sof_dsp_suspend(sdev, target_state);
286 if (target_state == SOF_DSP_PM_D0)
H A Dipc4.c378 const struct sof_dsp_power_state target_state = { local
383 ret = snd_sof_dsp_set_power_state(sdev, &target_state);
414 const struct sof_dsp_power_state target_state = { local
448 ret = snd_sof_dsp_set_power_state(sdev, &target_state);
H A Dops.h239 u32 target_state)
242 return sof_ops(sdev)->suspend(sdev, target_state);
288 const struct sof_dsp_power_state *target_state)
295 ret = sof_ops(sdev)->set_power_state(sdev, target_state);
238 snd_sof_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state) argument
287 snd_sof_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument
H A Dsof-priv.h305 u32 target_state); /* optional */
312 const struct sof_dsp_power_state *target_state); /* optional */
/linux-master/sound/soc/sof/imx/
H A Dimx8m.c326 const struct sof_dsp_power_state *target_state)
328 sdev->dsp_power_state = *target_state;
407 static int imx8m_dsp_suspend(struct snd_sof_dev *sdev, unsigned int target_state) argument
410 .state = target_state,
325 imx8m_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument
H A Dimx8ulp.c348 static int imx8ulp_dsp_suspend(struct snd_sof_dev *sdev, unsigned int target_state) argument
351 .state = target_state,
407 const struct sof_dsp_power_state *target_state)
409 sdev->dsp_power_state = *target_state;
406 imx8ulp_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument
H A Dimx8.c420 static int imx8_dsp_suspend(struct snd_sof_dev *sdev, unsigned int target_state) argument
423 .state = target_state,
480 const struct sof_dsp_power_state *target_state)
482 sdev->dsp_power_state = *target_state;
479 imx8_dsp_set_power_state(struct snd_sof_dev *sdev, const struct sof_dsp_power_state *target_state) argument
/linux-master/sound/soc/intel/skylake/
H A Dbxt-sst.c292 int target_state; local
303 target_state = bxt_d0i3_target_state(ctx);
304 if (target_state == SKL_DSP_D0I3_NONE)
311 if (target_state == SKL_DSP_D0I3_STREAMING)
325 d0i3->state = target_state;
/linux-master/sound/pci/hda/
H A Dhda_local.h612 unsigned int target_state)
614 return snd_hdac_check_power_state(&codec->core, nid, target_state);
619 unsigned int target_state)
621 return snd_hdac_sync_power_state(&codec->core, nid, target_state);
611 snd_hda_check_power_state(struct hda_codec *codec, hda_nid_t nid, unsigned int target_state) argument
617 snd_hda_sync_power_state(struct hda_codec *codec, hda_nid_t nid, unsigned int target_state) argument
/linux-master/drivers/media/platform/ti/cal/
H A Dcal-camerarx.c170 u32 target_state; local
173 target_state = enable ? CAL_CSI2_COMPLEXIO_CFG_PWR_CMD_STATE_ON :
177 target_state, CAL_CSI2_COMPLEXIO_CFG_PWR_CMD_MASK);
186 if (current_state == target_state)
/linux-master/drivers/pci/
H A Dpci.c2713 pci_power_t target_state = pci_target_state(dev, wakeup); local
2716 if (target_state == PCI_POWER_ERROR)
2719 pci_enable_wake(dev, target_state, wakeup);
2721 error = pci_set_power_state(dev, target_state);
2724 pci_enable_wake(dev, target_state, false);
2758 pci_power_t target_state; local
2761 target_state = pci_target_state(dev, device_can_wakeup(&dev->dev));
2762 if (target_state == PCI_POWER_ERROR)
2765 __pci_enable_wake(dev, target_state, pci_dev_run_wake(dev));
2767 error = pci_set_power_state(dev, target_state);
2826 pci_power_t target_state; local
[all...]
/linux-master/drivers/usb/typec/tipd/
H A Dcore.c769 static int cd321x_switch_power_state(struct tps6598x *tps, u8 target_state) argument
778 if (state == target_state)
781 ret = tps6598x_exec_cmd(tps, "SSPS", sizeof(u8), &target_state, 0, NULL);
789 if (state != target_state)
/linux-master/sound/soc/sof/amd/
H A Dacp.h334 int amd_sof_acp_suspend(struct snd_sof_dev *sdev, u32 target_state);
/linux-master/include/scsi/
H A Dscsi_transport_iscsi.h275 int target_state; /* session target bind state */ member in struct:iscsi_cls_session
/linux-master/include/sound/
H A Dhdaudio.h159 hda_nid_t nid, unsigned int target_state);
161 hda_nid_t nid, unsigned int target_state);

Completed in 493 milliseconds

12