Home
last modified time | relevance | path

Searched refs:in_suspend (Results 1 – 25 of 40) sorted by relevance

12

/linux-6.3-rc2/drivers/gpu/drm/amd/pm/
A Damdgpu_pm.c141 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_state()
172 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_power_dpm_state()
269 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_power_dpm_force_performance_level()
308 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_power_dpm_force_performance_level()
370 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_num_states()
408 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_cur_state()
447 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_force_state()
470 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_pp_force_state()
540 if (adev->in_suspend && !adev->in_runpm) in amdgpu_get_pp_table()
576 if (adev->in_suspend && !adev->in_runpm) in amdgpu_set_pp_table()
[all …]
/linux-6.3-rc2/kernel/power/
A Dhibernate.c47 __visible int in_suspend __nosavedata;
323 in_suspend = 1; in create_image()
333 if (!in_suspend) { in create_image()
351 if (!in_suspend) in create_image()
357 dpm_resume_start(in_suspend ? in create_image()
421 if (error || !in_suspend) in hibernation_snapshot()
424 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot()
427 if (error || !in_suspend) in hibernation_snapshot()
757 if (in_suspend) { in hibernate()
776 in_suspend = 0; in hibernate()
A Dpower.h103 extern int in_suspend;
A Duser.c313 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/linux-6.3-rc2/drivers/ufs/host/
A Dufs-hisi.c418 if (host->in_suspend) { in ufs_hisi_suspend()
428 host->in_suspend = true; in ufs_hisi_suspend()
437 if (!host->in_suspend) in ufs_hisi_resume()
445 host->in_suspend = false; in ufs_hisi_resume()
A Dufs-hisi.h90 bool in_suspend; member
/linux-6.3-rc2/arch/arm64/kernel/
A Dhibernate.c45 extern int in_suspend;
376 in_suspend = 0; in swsusp_arch_suspend()
/linux-6.3-rc2/arch/x86/power/
A Dhibernate_asm_32.S109 movl %eax, in_suspend
A Dhibernate_asm_64.S67 movq %rax, in_suspend(%rip)
/linux-6.3-rc2/drivers/thermal/
A Dthermal_core.c40 static atomic_t in_suspend; variable
409 if (atomic_read(&in_suspend)) in __thermal_zone_device_update()
1493 atomic_set(&in_suspend, 1); in thermal_pm_notify()
1498 atomic_set(&in_suspend, 0); in thermal_pm_notify()
/linux-6.3-rc2/sound/pci/trident/
A Dtrident.h367 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
A Dtrident_main.c3210 r = trident->in_suspend ? 0 : 2; /* count of retries */ in snd_trident_sis_reset()
3847 trident->in_suspend = 1; in snd_trident_suspend()
3880 trident->in_suspend = 0; in snd_trident_resume()
/linux-6.3-rc2/drivers/mfd/
A Dsm501.c75 unsigned int in_suspend; member
242 if (sm->in_suspend) in sm501_mdelay()
1463 sm->in_suspend = 1; in sm501_plat_suspend()
1506 sm->in_suspend = 0; in sm501_plat_resume()
/linux-6.3-rc2/drivers/net/ethernet/davicom/
A Ddm9000.c105 unsigned int in_suspend:1; member
267 if (db->in_suspend || db->in_timeout) in dm9000_msleep()
1731 db->in_suspend = 1; in dm9000_drv_suspend()
1763 db->in_suspend = 0; in dm9000_drv_resume()
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dhardwaremanager.c85 && !amdgpu_passthrough(adev) && adev->in_suspend in phm_enable_dynamic_state_management()
/linux-6.3-rc2/sound/pci/
A Dmaestro3.c770 unsigned int in_suspend; member
1545 if (chip->in_suspend) in snd_m3_update_hw_volume()
2385 chip->in_suspend = 1; in m3_suspend()
2445 chip->in_suspend = 0; in m3_resume()
A Des1968.c514 unsigned int in_suspend; member
1891 if (chip->in_suspend) in es1968_update_hw_volume()
2378 chip->in_suspend = 1; in es1968_suspend()
2424 chip->in_suspend = 0; in es1968_resume()
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/swsmu/smu11/
A Dcyan_skillfish_ppt.c356 if (adev->in_suspend) in cyan_skillfish_is_dpm_running()
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/
A Damdgpu_object.c425 WARN_ON(amdgpu_ttm_adev((*bo)->tbo.bdev)->in_suspend); in amdgpu_bo_free_kernel()
1318 adev->in_suspend || drm_dev_is_unplugged(adev_to_drm(adev))) in amdgpu_bo_release_notify()
A Dmes_v11_0.c899 (amdgpu_in_reset(adev) || adev->in_suspend)) { in mes_v11_0_queue_init()
1287 if (!amdgpu_in_reset(adev) && !adev->in_s0ix && !adev->in_suspend && in mes_v11_0_late_init()
A Damdgpu_ras.c2659 if (adev->in_suspend || amdgpu_in_reset(adev)) { in amdgpu_ras_block_late_init()
2671 if (adev->in_suspend || amdgpu_in_reset(adev)) in amdgpu_ras_block_late_init()
/linux-6.3-rc2/sound/pci/cs46xx/
A Dcs46xx.h1691 int in_suspend; member
A Dcs46xx_lib.c3486 if (chip->in_suspend) in hercules_mixer_init()
3728 chip->in_suspend = 1; in snd_cs46xx_suspend()
3810 chip->in_suspend = 0; in snd_cs46xx_resume()
/linux-6.3-rc2/sound/pci/riptide/
A Driptide.c452 int in_suspend; member
1151 chip->in_suspend = 1; in riptide_suspend()
1165 chip->in_suspend = 0; in riptide_resume()
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/swsmu/
A Damdgpu_smu.c314 if (smu->adev->in_suspend) in smu_set_user_clk_dependencies()
352 if (!smu->adev->in_suspend) in smu_restore_dpm_user_profile()
1162 if (adev->in_suspend && smu_is_dpm_running(smu)) { in smu_smc_hw_setup()

Completed in 96 milliseconds

12