Home
last modified time | relevance | path

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

/linux-4.4.14/kernel/power/
Dhibernate.c45 __visible int in_suspend __nosavedata;
298 in_suspend = 1; in create_image()
308 if (!in_suspend) in create_image()
325 dpm_resume_start(in_suspend ? in create_image()
389 if (error || !in_suspend) in hibernation_snapshot()
392 msg = in_suspend ? (error ? PMSG_RECOVER : PMSG_THAW) : PMSG_RESTORE; in hibernation_snapshot()
395 if (error || !in_suspend) in hibernation_snapshot()
687 if (in_suspend) { in hibernate()
702 in_suspend = 0; in hibernate()
Dpower.h84 extern int in_suspend;
Duser.c258 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
/linux-4.4.14/arch/x86/power/
Dhibernate_asm_64.S148 movq %rax, in_suspend(%rip)
/linux-4.4.14/sound/pci/trident/
Dtrident.h383 unsigned int in_suspend: 1; /* 1 during suspend/resume */ member
Dtrident_main.c3238 r = trident->in_suspend ? 0 : 2; /* count of retries */ in snd_trident_sis_reset()
3916 trident->in_suspend = 1; in snd_trident_suspend()
3953 trident->in_suspend = 0; in snd_trident_resume()
/linux-4.4.14/drivers/mfd/
Dsm501.c76 unsigned int in_suspend; member
243 if (sm->in_suspend) in sm501_mdelay()
1474 sm->in_suspend = 1; in sm501_plat_suspend()
1517 sm->in_suspend = 0; in sm501_plat_resume()
/linux-4.4.14/drivers/net/ethernet/davicom/
Ddm9000.c116 unsigned int in_suspend:1; member
280 if (db->in_suspend || db->in_timeout) in dm9000_msleep()
1725 db->in_suspend = 1; in dm9000_drv_suspend()
1758 db->in_suspend = 0; in dm9000_drv_resume()
/linux-4.4.14/drivers/net/ethernet/micrel/
Dks8695net.c158 int in_suspend; member
1555 ksp->in_suspend = 1; in ks8695_drv_suspend()
1585 ksp->in_suspend = 0; in ks8695_drv_resume()
/linux-4.4.14/drivers/thermal/
Dthermal_core.c63 static atomic_t in_suspend; variable
564 if (atomic_read(&in_suspend)) in thermal_zone_device_update()
2196 atomic_set(&in_suspend, 1); in thermal_pm_notify()
2201 atomic_set(&in_suspend, 0); in thermal_pm_notify()
/linux-4.4.14/sound/pci/
Dmaestro3.c790 unsigned int in_suspend; member
1569 if (chip->in_suspend) in snd_m3_update_hw_volume()
2422 chip->in_suspend = 1; in m3_suspend()
2483 chip->in_suspend = 0; in m3_resume()
Des1968.c532 unsigned int in_suspend; member
1908 if (chip->in_suspend) in es1968_update_hw_volume()
2392 chip->in_suspend = 1; in es1968_suspend()
2439 chip->in_suspend = 0; in es1968_resume()
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx.h1707 int in_suspend; member
Dcs46xx_lib.c3540 if (chip->in_suspend) in hercules_mixer_init()
3781 chip->in_suspend = 1; in snd_cs46xx_suspend()
3869 chip->in_suspend = 0; in snd_cs46xx_resume()
/linux-4.4.14/sound/pci/riptide/
Driptide.c468 int in_suspend; member
1159 chip->in_suspend = 1; in riptide_suspend()
1174 chip->in_suspend = 0; in riptide_resume()