/kernel/linux/linux-5.10/sound/soc/sof/intel/ |
D | hda-dsp.c | 401 const struct sof_dsp_power_state *target_state) in hda_dsp_set_D0_state() argument 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() argument 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->state); in hda_dsp_set_power_state() [all …]
|
D | hda.h | 505 const struct sof_dsp_power_state *target_state); 507 int hda_dsp_suspend(struct snd_sof_dev *sdev, u32 target_state);
|
D | byt.c | 674 static int byt_suspend(struct snd_sof_dev *sdev, u32 target_state) in byt_suspend() argument
|
/kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
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() 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 == TS_PRESENT) in esas2r_targ_db_find_next_present() [all …]
|
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()
|
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()
|
D | esas2r_disc.c | 1174 if (t->target_state == TS_PRESENT) in esas2r_disc_fix_curr_requests()
|
D | esas2r.h | 631 u8 target_state; member
|
/kernel/linux/linux-5.10/drivers/acpi/ |
D | processor_throttling.c | 39 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() 242 target_state = pr->throttling_platform_limit; in acpi_processor_throttling_notifier() [all …]
|
D | device_pm.c | 163 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() 587 u32 target_state, int *d_min_p, int *d_max_p) in acpi_dev_pm_get_state() argument 589 char method[] = { '_', 'S', '0' + target_state, 'D', '\0' }; in acpi_dev_pm_get_state() 611 if (target_state > ACPI_STATE_S0) { in acpi_dev_pm_get_state() 639 && adev->wakeup.sleep_state >= target_state; in acpi_dev_pm_get_state() [all …]
|
/kernel/linux/linux-5.10/drivers/cpuidle/ |
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 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-5.10/sound/soc/sof/ |
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() 247 ret = snd_sof_dsp_suspend(sdev, target_state); in sof_suspend() 254 if (target_state == SOF_DSP_PM_D0) in sof_suspend()
|
D | ops.h | 150 u32 target_state) in snd_sof_dsp_suspend() argument 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() argument 202 return sof_ops(sdev)->set_power_state(sdev, target_state); in snd_sof_dsp_set_power_state()
|
D | sof-priv.h | 213 u32 target_state); /* optional */ 220 const struct sof_dsp_power_state *target_state); /* optional */
|
D | ipc.c | 299 const struct sof_dsp_power_state target_state = { in sof_ipc_tx_message() local 305 ret = snd_sof_dsp_set_power_state(ipc->sdev, &target_state); in sof_ipc_tx_message()
|
/kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
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()
|
/kernel/linux/linux-5.10/drivers/media/platform/ti-vpe/ |
D | cal-camerarx.c | 172 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-5.10/drivers/pci/ |
D | pci.c | 2544 pci_power_t target_state = PCI_D3hot; in pci_target_state() local 2562 target_state = state; in pci_target_state() 2565 return target_state; in pci_target_state() 2569 target_state = PCI_D0; in pci_target_state() 2577 target_state = PCI_D3cold; in pci_target_state() 2580 pci_power_t state = target_state; in pci_target_state() 2595 return target_state; in pci_target_state() 2610 pci_power_t target_state = pci_target_state(dev, wakeup); in pci_prepare_to_sleep() local 2613 if (target_state == PCI_POWER_ERROR) in pci_prepare_to_sleep() 2616 pci_enable_wake(dev, target_state, wakeup); in pci_prepare_to_sleep() [all …]
|
/kernel/linux/linux-5.10/sound/pci/hda/ |
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()
|
/kernel/linux/linux-5.10/include/sound/ |
D | hdaudio.h | 154 hda_nid_t nid, unsigned int target_state); 156 hda_nid_t nid, unsigned int target_state);
|
/kernel/linux/linux-5.10/sound/hda/ |
D | hdac_device.c | 1057 hda_nid_t nid, unsigned int target_state) in snd_hdac_check_power_state() argument 1065 return (state == target_state); in snd_hdac_check_power_state()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | pmcraid.c | 2322 u8 target_state in pmcraid_reset_reload() argument 2346 if (pinstance->ioa_state == target_state) { in pmcraid_reset_reload() 2375 return pinstance->ioa_state != target_state; in pmcraid_reset_reload()
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0009_linux_sound.patch | 20346 +int imx8_dsp_suspend(struct snd_sof_dev *sdev, unsigned int target_state) 20349 + .state = target_state, 20387 + const struct sof_dsp_power_state *target_state) 20389 + sdev->dsp_power_state = *target_state;
|