Searched refs:in_suspend (Results 1 - 14 of 14) sorted by relevance

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

Completed in 532 milliseconds