| /OK3568_Linux_fs/kernel/sound/soc/sof/intel/ |
| H A 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 …]
|
| H A 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);
|
| H A D | byt.c | 674 static int byt_suspend(struct snd_sof_dev *sdev, u32 target_state) in byt_suspend() argument
|
| /OK3568_Linux_fs/kernel/drivers/scsi/esas2r/ |
| H 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() 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 …]
|
| H 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()
|
| H 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()
|
| H A D | esas2r_disc.c | 1174 if (t->target_state == TS_PRESENT) in esas2r_disc_fix_curr_requests()
|
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/cpuidle/ |
| H A D | cpuidle.c | 142 struct cpuidle_state *target_state = &drv->states[index]; in enter_s2idle_proper() local 153 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) in enter_s2idle_proper() 155 target_state->enter_s2idle(dev, drv, index); in enter_s2idle_proper() 158 if (!(target_state->flags & CPUIDLE_FLAG_RCU_IDLE)) in enter_s2idle_proper() 206 struct cpuidle_state *target_state; in cpuidle_enter_state() local 218 target_state = &drv->states[index]; in cpuidle_enter_state() 219 broadcast = !!(target_state->flags & CPUIDLE_FLAG_TIMER_STOP); in cpuidle_enter_state() 227 index = find_deepest_state(drv, dev, target_state->exit_latency_ns, in cpuidle_enter_state() 233 target_state = &drv->states[index]; in cpuidle_enter_state() 237 if (target_state->flags & CPUIDLE_FLAG_TLB_FLUSHED) in cpuidle_enter_state() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/sof/ |
| H 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() 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 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()
|
| H A D | sof-priv.h | 213 u32 target_state); /* optional */ 220 const struct sof_dsp_power_state *target_state); /* optional */
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/skylake/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | pci.c | 2551 pci_power_t target_state = PCI_D3hot; in pci_target_state() local 2569 target_state = state; in pci_target_state() 2572 return target_state; in pci_target_state() 2576 target_state = PCI_D0; in pci_target_state() 2584 target_state = PCI_D3cold; in pci_target_state() 2587 pci_power_t state = target_state; in pci_target_state() 2602 return target_state; in pci_target_state() 2617 pci_power_t target_state = pci_target_state(dev, wakeup); in pci_prepare_to_sleep() local 2620 if (target_state == PCI_POWER_ERROR) in pci_prepare_to_sleep() 2623 pci_enable_wake(dev, target_state, wakeup); in pci_prepare_to_sleep() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/sound/pci/hda/ |
| H 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()
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0_1.22/ |
| H A D | 0004-gst-launch-Fix-random-hang-when-EOS.patch | 44 + if (target_state == GST_STATE_PAUSED)
|
| /OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0_1.20/ |
| H A D | 0004-gst-launch-Fix-random-hang-when-EOS.patch | 44 + if (target_state == GST_STATE_PAUSED)
|
| /OK3568_Linux_fs/buildroot/package/gstreamer1/gstreamer1/ |
| H A D | 0004-gst-launch-Fix-random-hang-when-EOS.patch | 44 + if (target_state == GST_STATE_PAUSED)
|
| /OK3568_Linux_fs/kernel/include/sound/ |
| H A D | hdaudio.h | 154 hda_nid_t nid, unsigned int target_state); 156 hda_nid_t nid, unsigned int target_state);
|
| /OK3568_Linux_fs/kernel/sound/hda/ |
| H A 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()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/ |
| H A D | phl_cmd_ps.c | 181 _lps_state_judge_changed(struct cmd_ps *ps, u16 macid, u8 cur_state, u8 target_state) in _lps_state_judge_changed() argument 198 if (target_state == PS_STATE_ENTERED) { in _lps_state_judge_changed() 220 __func__, _ps_state_to_str(cur_state), _ps_state_to_str(target_state), in _lps_state_judge_changed()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/ |
| H A D | phl_cmd_ps.c | 202 _lps_state_judge_changed(struct cmd_ps *ps, u16 macid, u8 cur_state, u8 target_state) in _lps_state_judge_changed() argument 219 if (target_state == PS_STATE_ENTERED) { in _lps_state_judge_changed() 241 __func__, _ps_state_to_str(cur_state), _ps_state_to_str(target_state), in _lps_state_judge_changed()
|