/linux-4.1.27/arch/arm/mach-lpc32xx/ |
H A D | Makefile | 6 obj-y += pm.o suspend.o
|
H A D | pm.c | 50 * Backup a small area of IRAM used for the suspend code 51 * Copy suspend code to IRAM 63 * IRAM code are used for suspend is restored 67 #include <linux/suspend.h> 81 * Both STANDBY and MEM suspend states are handled the same with no 98 /* Backup a small area of IRAM used for the suspend code */ lpc32xx_pm_enter() 103 * Copy code to suspend system into IRAM. The suspend code lpc32xx_pm_enter() 112 /* Transfer to suspend code in IRAM */ lpc32xx_pm_enter()
|
/linux-4.1.27/arch/powerpc/platforms/83xx/ |
H A D | Makefile | 5 obj-$(CONFIG_SUSPEND) += suspend.o suspend-asm.o
|
/linux-4.1.27/drivers/base/ |
H A D | syscore.c | 12 #include <linux/suspend.h> 44 * syscore_suspend - Execute all the registered system core suspend callbacks. 61 "Interrupts enabled before system core suspend.\n"); syscore_suspend() 64 if (ops->suspend) { syscore_suspend() 66 pr_info("PM: Calling %pF\n", ops->suspend); syscore_suspend() 67 ret = ops->suspend(); syscore_suspend() 71 "Interrupts enabled after %pF\n", ops->suspend); syscore_suspend() 78 pr_err("PM: System core suspend callback %pF failed.\n", ops->suspend); syscore_suspend()
|
H A D | isa.c | 70 if (isa_driver->suspend) isa_bus_suspend() 71 return isa_driver->suspend(dev, to_isa_dev(dev)->id, state); isa_bus_suspend() 92 .suspend = isa_bus_suspend,
|
/linux-4.1.27/tools/testing/selftests/timers/ |
H A D | Makefile | 11 TEST_PROGS_EXTENDED = alarmtimer-suspend valid-adjtimex change_skew \ 23 # other behavior like suspend 25 ./alarmtimer-suspend
|
H A D | alarmtimer-suspend.c | 1 /* alarmtimer suspend test 10 * $ gcc alarmtimer-suspend.c -o alarmtimer-suspend -lrt 171 printf("Starting suspend loops\n"); main()
|
/linux-4.1.27/arch/arm64/kernel/ |
H A D | cpuidle.c | 35 * @arg: argument to pass to CPU suspend operations 37 * Return: 0 on success, -EOPNOTSUPP if CPU suspend hook not initialized, CPU 45 * If cpu_ops have not been registered or suspend arm_cpuidle_suspend()
|
H A D | sleep.S | 52 * Save CPU state for a suspend and execute the suspend finisher. 55 * On failure it returns the suspend finisher return value or force 56 * -EOPNOTSUPP if the finisher erroneously returns 0 (the suspend finisher 61 * x0 = suspend finisher argument 62 * x1 = suspend finisher function pointer 72 * Stash suspend finisher and its argument in x20 and x19 100 * Grab suspend finisher in x20 and its argument in x19 105 * We are ready for power down, fire off the suspend finisher 110 * Never gets here, unless suspend finisher fails.
|
H A D | Makefile | 31 arm64-obj-$(CONFIG_CPU_PM) += sleep.o suspend.o
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
H A D | pwrseq.h | 81 /*0x04[12:11] = 2b'00 disable WL suspend*/}, \ 113 /*0x04[12:11] = 2b'01enable WL suspend*/}, \ 116 /*0x04[12:11] = 2b'11enable WL suspend for PCIe*/}, \ 120 /* 0x04[31:30] = 2b'10 enable enable bandgap mbias in suspend */},\ 128 /*Set USB suspend enable local register 0xfe10[4]=1 */}, \ 131 /*Set SDIO suspend local register*/}, \ 134 /*wait power state to suspend*/}, 139 /*Set SDIO suspend local register*/}, \ 142 /*wait power state to suspend*/}, \ 145 /*0x04[12:11] = 2b'01enable WL suspend*/}, 154 /*0x04[12:11] = 2b'01 enable WL suspend*/}, \ 158 /* 0x04[31:30] = 2b'10 enable enable bandgap mbias in suspend */},\ 165 /*Set USB suspend enable local register 0xfe10[4]=1 */}, \ 168 /*Set SDIO suspend local register*/}, \ 171 /*wait power state to suspend*/}, 176 /*Set SDIO suspend local register*/}, \ 179 /*wait power state to suspend*/}, \ 182 /*0x04[12:11] = 2b'01enable WL suspend*/},
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | swsusp.c | 13 #include <linux/suspend.h> 14 #include <asm/suspend.h>
|
H A D | asm-offsets.c | 15 #include <linux/suspend.h> 18 #include <asm/suspend.h>
|
/linux-4.1.27/kernel/power/ |
H A D | console.c | 31 * pm_vt_switch_required - indicate VT switch at suspend requirements 33 * @required: if true, caller needs VT switch at suspend/resume time 36 * suspend/resume, depending on how they handle restoring video state and 39 * Drivers can indicate support for switchless suspend/resume, which can 94 * There are three cases when a VT switch on suspend/resume are required: 97 * 2) console suspend is disabled, we want to see debug messages across 98 * suspend/resume 103 * resume look a little prettier (and suspend too, but that's usually hidden,
|
H A D | suspend_test.c | 15 * We test the system suspend code by setting an RTC wakealarm a short 32 * during the irqs-are-off stages of the suspend/resume cycle... suspend_test_start() 46 /* Warning on suspend means the RTC alarm period needs to be suspend_test_finish() 47 * larger -- the system was sooo slooowwww to suspend that the suspend_test_finish() 50 * Warning on either suspend or resume also means the system suspend_test_finish() 59 * To test system suspend, we need a hands-off mechanism to resume the 70 KERN_ERR "PM: suspend test failed, error %d\n"; test_wakealarm() 72 KERN_INFO "PM: test RTC wakeup from '%s' suspend\n"; test_wakealarm() 142 * Kernel options like "test_suspend=mem" force suspend/resume sanity tests 149 KERN_WARNING "PM: can't test '%s' suspend state\n";
|
H A D | suspend.c | 2 * kernel/power/suspend.c - Suspend to RAM and standby functionality. 26 #include <linux/suspend.h> 71 pr_debug("PM: suspend-to-idle\n"); freeze_enter() 75 pr_debug("PM: resume from suspend-to-idle\n"); freeze_enter() 128 * suspend_set_ops - Set the global suspend method table. 156 * Platform drivers that implement mem suspend only and only need to check for 241 "Number of seconds to wait before resuming from suspend test"); 248 printk(KERN_INFO "suspend debug: Waiting for %d second(s).\n", suspend_test() 261 * hibernation). Run suspend notifiers, allocate the "suspend" console and 320 printk(KERN_ERR "PM: late suspend of devices failed\n"); suspend_enter() 329 printk(KERN_ERR "PM: noirq suspend of devices failed\n"); suspend_enter() 414 pr_err("PM: Some devices failed to suspend, or early wake event detected\n"); suspend_devices_and_enter() 417 suspend_test_finish("suspend devices"); suspend_devices_and_enter() 443 * suspend_finish - Clean up before finishing the suspend sequence. 460 * Fail if that's not the case. Otherwise, prepare for system suspend, make the 518 * execute enter_state() and update system suspend statistics.
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | pm.h | 12 #include <linux/suspend.h>
|
/linux-4.1.27/arch/blackfin/mach-bf609/include/mach/ |
H A D | pm.h | 12 #include <linux/suspend.h>
|
/linux-4.1.27/arch/arm/common/ |
H A D | firmware.c | 12 #include <linux/suspend.h>
|
/linux-4.1.27/arch/arm/mach-integrator/ |
H A D | lm.h | 13 int (*suspend)(struct lm_device *, pm_message_t); member in struct:lm_driver
|
/linux-4.1.27/include/linux/mfd/ |
H A D | tc6387xb.h | 16 int (*suspend)(struct platform_device *dev); member in struct:tc6387xb_platform_data
|
H A D | t7l66xb.h | 20 int (*suspend)(struct platform_device *dev); member in struct:t7l66xb_platform_data
|
H A D | tc6393xb.h | 29 int (*suspend)(struct platform_device *dev); member in struct:tc6393xb_platform_data 42 on suspend/resume */
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | handle.c | 64 nvkm_handle_fini(struct nvkm_handle *handle, bool suspend) nvkm_handle_fini() argument 66 static char *name[2] = { "fini", "suspend" }; nvkm_handle_fini() 70 hprintk(handle, TRACE, "%s children\n", name[suspend]); nvkm_handle_fini() 72 ret = nvkm_handle_fini(item, suspend); nvkm_handle_fini() 73 if (ret && suspend) nvkm_handle_fini() 77 hprintk(handle, TRACE, "%s running\n", name[suspend]); nvkm_handle_fini() 79 ret = nvkm_object_dec(handle->object, suspend); nvkm_handle_fini() 80 if (ret && suspend) nvkm_handle_fini() 84 hprintk(handle, TRACE, "%s completed\n", name[suspend]); nvkm_handle_fini() 87 hprintk(handle, ERROR, "%s failed with %d\n", name[suspend], ret); nvkm_handle_fini()
|
H A D | subdev.c | 65 nvkm_subdev_fini(struct nvkm_subdev *subdev, bool suspend) nvkm_subdev_fini() argument 72 return nvkm_object_fini(&subdev->object, suspend); nvkm_subdev_fini() 76 _nvkm_subdev_fini(struct nvkm_object *object, bool suspend) _nvkm_subdev_fini() argument 78 return nvkm_subdev_fini(nv_subdev(object), suspend); _nvkm_subdev_fini()
|
H A D | client.c | 244 nvkm_client_fini(struct nvkm_client *client, bool suspend) nvkm_client_fini() argument 246 const char *name[2] = { "fini", "suspend" }; nvkm_client_fini() 248 nv_debug(client, "%s running\n", name[suspend]); nvkm_client_fini() 249 nv_debug(client, "%s notify\n", name[suspend]); nvkm_client_fini() 252 nv_debug(client, "%s object\n", name[suspend]); nvkm_client_fini() 253 ret = nvkm_handle_fini(client->root, suspend); nvkm_client_fini() 254 nv_debug(client, "%s completed with %d\n", name[suspend], ret); nvkm_client_fini()
|
H A D | object.c | 89 nvkm_object_fini(struct nvkm_object *object, bool suspend) nvkm_object_fini() argument 248 nv_error(object, "failed suspend, %d\n", ret); nvkm_object_decs() 257 nv_warn(object, "engine failed suspend, %d\n", ret); nvkm_object_decs() 265 nv_warn(object, "parent failed suspend, %d\n", ret); nvkm_object_decs() 291 nvkm_object_dec(struct nvkm_object *object, bool suspend) nvkm_object_dec() argument 299 if (suspend) nvkm_object_dec()
|
H A D | engctx.c | 156 nvkm_engctx_fini(struct nvkm_engctx *engctx, bool suspend) nvkm_engctx_fini() argument 168 ret = nv_parent(parent)->context_detach(parent, suspend, object); nvkm_engctx_fini() 179 return nvkm_gpuobj_fini(&engctx->gpuobj, suspend); nvkm_engctx_fini() 209 _nvkm_engctx_fini(struct nvkm_object *object, bool suspend) _nvkm_engctx_fini() argument 211 return nvkm_engctx_fini(nv_engctx(object), suspend); _nvkm_engctx_fini()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
H A D | base.c | 80 _nvkm_instmem_fini(struct nvkm_object *object, bool suspend) _nvkm_instmem_fini() argument 86 if (suspend) { _nvkm_instmem_fini() 89 iobj->suspend = vmalloc(iobj->size); _nvkm_instmem_fini() 90 if (!iobj->suspend) { _nvkm_instmem_fini() 96 iobj->suspend[i / 4] = nv_ro32(iobj, i); _nvkm_instmem_fini() 103 return nvkm_subdev_fini(&imem->base, suspend); _nvkm_instmem_fini() 119 if (iobj->suspend) { _nvkm_instmem_init() 121 nv_wo32(iobj, i, iobj->suspend[i / 4]); _nvkm_instmem_init() 122 vfree(iobj->suspend); _nvkm_instmem_init() 123 iobj->suspend = NULL; _nvkm_instmem_init()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/ |
H A D | pwrseq.h | 78 /* disable WL suspend*/ \ 104 /*0x04[12:11] = 2b'11 enable WL suspend for PCIe*/ \ 108 /*0x04[12:11] = 2b'01 enable WL suspend*/ \ 114 /*0x04[12:11] = 2b'11 enable WL suspend for PCIe*/ \ 119 /*Set SDIO suspend local register*/ \ 123 /*wait power state to suspend*/ \ 132 /*Set SDIO suspend local register*/ \ 135 /*wait power state to suspend*/ \ 138 /*0x04[12:11] = 2b'01enable WL suspend*/ \ 146 /*0x04[12:11] = 2b'01 enable WL suspend*/ \ 154 /*Set SDIO suspend local register*/ \ 158 /*wait power state to suspend*/ \ 167 /*Set SDIO suspend local register*/ \ 171 /*wait power state to suspend*/ \ 175 /*0x04[12:11] = 2b'00enable WL suspend*/ \
|
/linux-4.1.27/drivers/staging/rtl8188eu/include/ |
H A D | pwrseq.h | 81 /*0x04[12:11] = 2b'00 disable WL suspend*/ \ 123 /* 0x04[12:11] = 2b'01enable WL suspend */ \ 126 /* 0x04[12:11] = 2b'11enable WL suspend for PCIe */ \ 130 /* 0x04[31:30] = 2b'10 enable enable bandgap mbias in suspend */\ 138 /*Set USB suspend enable local register 0xfe10[4]=1 */ \ 141 /*Set SDIO suspend local register*/ \ 144 /*wait power state to suspend*/ 154 /*Set SDIO suspend local register*/ \ 157 /*wait power state to suspend*/ \ 160 /*0x04[12:11] = 2b'01enable WL suspend*/ 174 /*0x04[12:11] = 2b'01 enable WL suspend*/ \ 178 /* 0x04[31:30] = 2b'10 enable enable bandgap mbias in suspend */\ 185 /*Set USB suspend enable local register 0xfe10[4]=1 */ \ 188 /*Set SDIO suspend local register*/ \ 191 /*wait power state to suspend*/ 201 /*Set SDIO suspend local register*/ \ 204 /*wait power state to suspend*/ \ 207 /*0x04[12:11] = 2b'01enable WL suspend*/
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | i8237.c | 2 * 8237A DMA controller suspend functions. 18 * This module just handles suspend/resume issues with the
|
H A D | asm-offsets.c | 12 #include <linux/suspend.h> 18 #include <asm/suspend.h>
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | engctx.h | 38 int nvkm_engctx_fini(struct nvkm_engctx *, bool suspend); 45 int _nvkm_engctx_fini(struct nvkm_object *, bool suspend);
|
H A D | handle.h | 26 int nvkm_handle_fini(struct nvkm_handle *, bool suspend);
|
H A D | client.h | 47 int nvkm_client_fini(struct nvkm_client *, bool suspend);
|
H A D | parent.h | 18 int (*context_detach)(struct nvkm_object *, bool suspend,
|
H A D | object.h | 48 int nvkm_object_fini(struct nvkm_object *, bool suspend); 91 int (*fini)(struct nvkm_object *, bool suspend); 114 int nvkm_object_dec(struct nvkm_object *, bool suspend);
|
H A D | subdev.h | 48 int nvkm_subdev_fini(struct nvkm_subdev *, bool suspend); 53 int _nvkm_subdev_fini(struct nvkm_object *, bool suspend);
|
/linux-4.1.27/arch/mips/include/asm/mach-malta/ |
H A D | malta-pm.h | 19 * mips_pm_suspend - enter a suspend state 22 * Enters a suspend state via the Malta's PIIX4. If the state to be entered
|
/linux-4.1.27/include/linux/ |
H A D | serial_max3100.h | 21 * called on suspend and resume to activate it. 48 void (*max3100_hw_suspend) (int suspend);
|
H A D | syscore_ops.h | 16 int (*suspend)(void); member in struct:syscore_ops
|
H A D | pm.h | 94 * This method is executed for all kinds of suspend transitions and is 95 * followed by one of the suspend callbacks: @suspend(), @freeze(), or 96 * @poweroff(). If the transition is a suspend to memory or standby (that 98 * used to indicate to the PM core to leave the device in runtime suspend 103 * are left in runtime suspend too. If that happens, @complete() will be 107 * starting to invoke suspend callbacks for any of them, so generally 114 * [To work around these limitations, drivers may register suspend and 120 * fails before the driver's suspend callback: @suspend(), @freeze() or 121 * @poweroff(), can be executed (e.g. if the suspend callback fails for one 123 * suspend earlier). 126 * @prepare() at the beginning of the suspend transition returned a 127 * positive number and the device was left in runtime suspend (without 128 * executing any suspend and resume callbacks for it), @complete() will be 133 * learn whether (unset) or not (set) the previous suspend and resume 136 * @suspend: Executed before putting the system into a sleep state in which the 140 * @suspend() has returned, so that it doesn't do any I/O or DMA. 141 * Subsystem-level @suspend() is executed for all devices after invoking 144 * @suspend_late: Continue operations started by @suspend(). For a number of 146 * runtime suspend callback. 165 * Analogous to @suspend(), but it should not enable the device to signal 190 * Analogous to @suspend(), but it need not save the device's settings in 203 * @suspend_noirq: Complete the actions started by @suspend(). Carry out any 212 * and device's subsystem, @suspend() or @suspend_late() may be allowed to 262 * of the above callbacks in the system suspend process. 288 * core queue a suspend request for the device. 298 int (*suspend)(struct device *dev); member in struct:dev_pm_ops 323 .suspend = suspend_fn, \ 355 * Use this if you want to use the same suspend and resume callbacks for suspend 365 * (system suspend, hibernation or runtime PM). 366 * NOTE: In general, system suspend callbacks, .suspend() and .resume(), should 369 * quiescent device, while .suspend() should assume that the device may be doing 372 * suspend and "early" resume callback pointers, .suspend_late() and 386 * core, in order to provide a mechanism allowing the high level suspend and 395 * SUSPEND System is going to suspend, call ->prepare() and ->suspend() 421 * USER_SUSPEND Manual selective suspend was issued by userspace. 427 * AUTO_SUSPEND Automatic (device idle) runtime suspend was 603 * Power domains provide callbacks that are executed during system suspend, 622 * suspend framework, based on the ->suspend() and ->resume() callbacks common 623 * for suspend and hibernation transitions, according to the rules below. 630 * One transition is triggered by resume(), after a suspend() call; the 636 * previous suspend() which the driver will rely on while 640 * Other transitions are triggered by messages sent using suspend(). All 666 * during the suspend/resume cycle -- and can't issue wakeup events. 671 * or from system low-power states such as standby or suspend-to-RAM.
|
H A D | olpc-ec.h | 22 int (*suspend)(struct platform_device *); member in struct:olpc_ec_driver
|
H A D | isa.h | 16 int (*suspend)(struct device *, unsigned int, pm_message_t); member in struct:isa_driver
|
H A D | suspend.h | 122 * appropriate .suspend() method has been executed for each device) and 123 * before device drivers' late suspend callbacks are executed. It returns 131 * device drivers' late suspend callbacks have been executed. It returns 150 * @finish is called right prior to calling device drivers' regular suspend 157 * @suspend_again: Returns whether the system should suspend again (true) or 172 * @recover: Recover the platform from a suspend failure. 199 * suspend_set_ops - set platform dependent suspend operations 200 * @ops: The new suspend operations to set. 208 FREEZE_STATE_ENTER, /* Enter suspend-to-idle. */ 209 FREEZE_STATE_WAKE, /* Wake up from suspend-to-idle. */ 223 * arch_suspend_disable_irqs - disable IRQs for suspend 227 * done. Not called for suspend to disk. 232 * arch_suspend_enable_irqs - enable IRQs after suspend 236 * done. Not called for suspend to disk. 253 * occupied before the suspend are in use. freeze_wake() 311 * @recover: Recover the platform from a failure to suspend devices. 364 /* Hibernation and suspend events */ hibernation_available() 367 #define PM_SUSPEND_PREPARE 0x0003 /* Going to suspend the system */ hibernation_available()
|
H A D | pda_power.h | 27 int (*suspend)(pm_message_t state); member in struct:pda_power_pdata
|
H A D | pcieport_if.h | 48 int (*suspend) (struct pcie_device *dev); member in struct:pcie_port_service_driver
|
/linux-4.1.27/arch/arm/mach-highbank/ |
H A D | pm.c | 19 #include <linux/suspend.h> 21 #include <asm/suspend.h>
|
/linux-4.1.27/arch/x86/xen/ |
H A D | Makefile | 15 grant-table.o suspend.o platform-pci-unplug.o \
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | suspend.h | 2 * linux/arch/unicore32/include/asm/suspend.h
|
/linux-4.1.27/arch/powerpc/platforms/pseries/ |
H A D | Makefile | 27 obj-$(CONFIG_SUSPEND) += suspend.o
|
H A D | suspend.c | 21 #include <linux/suspend.h> 72 * Makes the H_JOIN call to suspend the CPU 85 * Post suspend configuration updates 115 * pseries_prepare_late - Prepare to suspend all other CPUs 180 /* Take down CPUs not online prior to suspend */ store_hibernate() 259 * pseries_suspend_init - initcall for pSeries suspend 271 suspend_data.token = rtas_token("ibm,suspend-me"); pseries_suspend_init()
|
/linux-4.1.27/arch/arm64/include/asm/ |
H A D | suspend.h | 13 * cpu_do_{suspend/resume} in mm/proc.S
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
H A D | pm-r8a7740.c | 13 #include <linux/suspend.h> 63 .suspend = r8a7740_pd_d4_suspend, 83 .suspend = r8a7740_pd_a3sp_suspend, 89 .suspend = r8a7740_pd_a3sm_suspend,
|
H A D | pm-sh73a0.c | 11 #include <linux/suspend.h>
|
H A D | suspend.c | 12 #include <linux/suspend.h>
|
H A D | pm-rmobile.c | 46 if (rmobile_pd->suspend) { rmobile_pd_power_down() 47 int ret = rmobile_pd->suspend(); rmobile_pd_power_down() 324 pd->suspend = rmobile_pd_suspend_busy; rmobile_setup_pm_domain() 330 pd->suspend = rmobile_pd_suspend_console; rmobile_setup_pm_domain() 341 pd->suspend = rmobile_pd_suspend_busy; rmobile_setup_pm_domain() 351 pd->suspend = rmobile_pd_suspend_busy; rmobile_setup_pm_domain()
|
/linux-4.1.27/arch/arm/kernel/ |
H A D | hibernate.c | 19 #include <linux/suspend.h> 22 #include <asm/suspend.h> 49 * swsusp_save() is executed in the suspend finisher so that the CPU 70 * Save the current CPU state before suspend / poweroff.
|
H A D | sleep.S | 53 * Save CPU state for a suspend. This saves the CPU general purpose 56 * r0 = suspend function arg0 57 * r1 = suspend function 72 stmfd sp!, {r0, r1} @ save suspend func arg and pointer 85 ldmfd sp!, {r0, pc} @ call suspend fn
|
H A D | cpuidle.c | 50 * Returns -EOPNOTSUPP if no suspend callback is defined, the result of the 58 if (cpuidle_ops[cpu].suspend) arm_cpuidle_suspend() 59 ret = cpuidle_ops[cpu].suspend(cpu, index); arm_cpuidle_suspend()
|
/linux-4.1.27/arch/arm/mach-exynos/ |
H A D | Makefile | 15 obj-$(CONFIG_PM_SLEEP) += suspend.o
|
H A D | suspend.c | 17 #include <linux/suspend.h> 32 #include <asm/suspend.h> 282 pr_info("Failed to suspend the system\n"); exynos_cpu_do_idle() 283 return 1; /* Aborting suspend */ exynos_cpu_do_idle() 323 pr_info("Failed to suspend the system\n"); exynos5420_cpu_suspend() 390 * suspend for any reason. exynos5420_pm_prepare() 590 ret = call_firmware_op(suspend); exynos_suspend_enter() 617 * avoid hard-coding the suspend to mem state. It's safe to do exynos_suspend_prepare() 624 pr_err("Failed to prepare regulators for suspend (%d)\n", ret); exynos_suspend_prepare() 641 pr_warn("Failed to resume regulators from suspend (%d)\n", ret); exynos_suspend_finish() 730 pr_warn("Outdated DT detected, suspend/resume will NOT work\n"); exynos_pm_init() 741 exynos_pm_syscore_ops.suspend = pm_data->pm_suspend; exynos_pm_init()
|
H A D | firmware.c | 21 #include <asm/suspend.h> 114 pr_info("Failed to suspend the system\n"); exynos_cpu_suspend() 142 .suspend = IS_ENABLED(CONFIG_PM_SLEEP) ? exynos_suspend : NULL,
|
/linux-4.1.27/include/linux/clk/ |
H A D | tegra.h | 37 * suspend: 50 void (*suspend)(void); member in struct:tegra_cpu_car_ops 108 if (WARN_ON(!tegra_cpu_car_ops->suspend)) tegra_cpu_clock_suspend() 111 tegra_cpu_car_ops->suspend(); tegra_cpu_clock_suspend()
|
/linux-4.1.27/include/linux/input/ |
H A D | gp2ap002a00f.h | 11 * @wakeup: Set to true if the proximity can wake the device from suspend
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | firmware.h | 45 * Enter system-wide suspend. 47 int (*suspend)(void); member in struct:firmware_ops 49 * Restore state of privileged hardware after system-wide suspend.
|
H A D | fiq.h | 9 * suspend/resume. 12 * management operations must implement appropriate suspend/resume handlers to
|
H A D | cpuidle.h | 33 int (*suspend)(int cpu, unsigned long arg); member in struct:cpuidle_ops
|
H A D | proc-fns.h | 93 /* These three are private to arch/arm/kernel/suspend.c */ 105 /* These three are private to arch/arm/kernel/suspend.c */
|
/linux-4.1.27/sound/ |
H A D | ac97_bus.c | 35 if (dev->driver && dev->driver->suspend) ac97_bus_suspend() 36 ret = dev->driver->suspend(dev, state); ac97_bus_suspend() 56 .suspend = ac97_bus_suspend,
|
/linux-4.1.27/drivers/regulator/ |
H A D | da9063-regulator.c | 47 struct reg_field suspend; member in struct:da9063_regulator_info 112 struct regmap_field *suspend; member in struct:da9063_regulator 223 * and suspend state. 253 ret = regmap_field_read(regl->suspend, &val); da9063_buck_get_mode() 276 * LDOs use sleep flags - one for normal and one for suspend state. 306 ret = regmap_field_read(regl->suspend, &val); da9063_ldo_get_mode() 382 return regmap_field_write(regl->suspend, 1); da9063_suspend_enable() 389 return regmap_field_write(regl->suspend, 0); da9063_suspend_disable() 473 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBCORE1_SEL), 481 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBCORE2_SEL), 489 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBPRO_SEL), 497 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBMEM_SEL), 505 .suspend = BFIELD(DA9063_REG_DVC_2, DA9063_VBIO_SEL), 513 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBPERI_SEL), 522 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBCORE1_SEL), 531 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBMEM_SEL), 537 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VLDO1_SEL), 541 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VLDO2_SEL), 545 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VLDO3_SEL), 550 .suspend = BFIELD(DA9063_REG_DVC_2, DA9063_VLDO4_SEL), 555 .suspend = BFIELD(DA9063_REG_LDO5_CONT, DA9063_VLDO5_SEL), 559 .suspend = BFIELD(DA9063_REG_LDO6_CONT, DA9063_VLDO6_SEL), 563 .suspend = BFIELD(DA9063_REG_LDO7_CONT, DA9063_VLDO7_SEL), 568 .suspend = BFIELD(DA9063_REG_LDO8_CONT, DA9063_VLDO8_SEL), 573 .suspend = BFIELD(DA9063_REG_LDO9_CONT, DA9063_VLDO9_SEL), 577 .suspend = BFIELD(DA9063_REG_LDO10_CONT, DA9063_VLDO10_SEL), 581 .suspend = BFIELD(DA9063_REG_LDO11_CONT, DA9063_VLDO11_SEL), 830 if (regl->info->suspend.reg) da9063_regulator_probe() 831 regl->suspend = devm_regmap_field_alloc(&pdev->dev, da9063_regulator_probe() 832 da9063->regmap, regl->info->suspend); da9063_regulator_probe()
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ee/ |
H A D | pwrseq.h | 73 /* disable WL suspend*/ \ 110 /*0x04[12:11] = 2b'11 enable WL suspend for PCIe*/ \ 113 /*0x04[12:11] = 2b'01 enable WL suspend*/ \ 117 /*0x04[12:11] = 2b'11 enable WL suspend for PCIe*/ \ 120 /*Set SDIO suspend local register*/ \ 123 /*wait power state to suspend*/ \ 131 /*Set SDIO suspend local register*/ \ 134 /*wait power state to suspend*/ \ 137 /*0x04[12:11] = 2b'01enable WL suspend*/ \ 154 /*0x04[12:11] = 2b'01 enable WL suspend*/ \ 161 /*Set SDIO suspend local register*/ \ 164 /*wait power state to suspend*/ \ 172 /*Set SDIO suspend local register*/ \ 175 /*wait power state to suspend*/ \ 184 /*0x04[12:11] = 2b'01enable WL suspend*/ \
|
/linux-4.1.27/arch/arm/plat-samsung/include/plat/ |
H A D | pm-common.h | 26 * other subsystem to save and restore register values over suspend. 66 * s3c_pm_dbg() - low level debug function for use in suspend/resume. 76 * s3c_pm_debug_init() - suspend/resume low level debug initialization. 77 * @base: Virtual base of UART to use for suspend/resume debugging. 96 /* suspend memory checking */ s3c_pm_restore_uarts()
|
H A D | wakeup-mask.h | 35 * Synchronise the wakeup mask information at suspend time from the list 36 * of interrupts and control bits in @masks. We do this at suspend time
|
/linux-4.1.27/net/mac80211/ |
H A D | pm.c | 16 goto suspend; __ieee80211_suspend() 66 /* Drivers don't expect to suspend while some operations like __ieee80211_suspend() 109 goto suspend; __ieee80211_suspend() 147 * We disconnected on all interfaces before suspend, all channel __ieee80211_suspend() 156 suspend: __ieee80211_suspend()
|
/linux-4.1.27/include/linux/regulator/ |
H A D | machine.h | 19 #include <linux/suspend.h> 52 * @uV: Operating voltage during suspend. 53 * @mode: Operating mode during suspend. 54 * @enabled: Enabled during suspend. 55 * @disabled: Disabled during suspend. 58 int uV; /* suspend voltage */ 59 unsigned int mode; /* suspend regulator operating mode */ 60 int enabled; /* is regulator enabled in this suspend state */ 61 int disabled; /* is the regulator disbled in this suspend state */ 124 /* regulator suspend states for global PMIC STANDBY/HIBERNATE */ 128 suspend_state_t initial_state; /* suspend state to set at init */
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
H A D | pwrseq.h | 84 /* Disable USB suspend */ \ 90 /* Enable USB suspend */ \ 99 /* disable WL suspend*/ \ 168 /*0x04[12:11] = 2b'11 enable WL suspend for PCIe*/ \ 171 /*0x04[12:11] = 2b'01 enable WL suspend*/ \ 181 /*0x04[12:11] = 2b'11 enable WL suspend for PCIe*/ \ 184 /*Set SDIO suspend local register*/ \ 187 /*wait power state to suspend*/ \ 195 /*clear suspend enable and power down enable*/ \ 198 /*Set SDIO suspend local register*/ \ 201 /*wait power state to suspend*/ \ 207 /*0x04[12:11] = 2b'01enable WL suspend*/ \ 218 /*0x04[12:11] = 2b'01 enable WL suspend*/ \ 231 /*Set SDIO suspend local register*/ \ 234 /*wait power state to suspend*/ \ 242 /*clear suspend enable and power down enable*/ \ 245 /*Set SDIO suspend local register*/ \ 248 /*wait power state to suspend*/ \ 254 /*0x04[12:11] = 2b'01enable WL suspend*/ \
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
H A D | pwrseq.h | 58 /* disable WL suspend*/}, \ 113 /* suspend option all off */}, \ 128 /*0x04[11] = 2b'11 enable WL suspend for PCIe*/}, 133 /*0x04[11] = 2b'01enable WL suspend*/}, \ 199 /*0x04[11] = 2b'01 enable WL suspend*/}, 225 /*0x04[11] = 2b'01enable WL suspend*/}, \ 412 /* Disable USB suspend */}, \ 418 /* Enable USB suspend */}, \ 427 /* disable WL suspend*/}, \ 498 /*0x04[12:11] = 2b'11 enable WL suspend for PCIe*/}, \ 502 /*0x04[12:11] = 2b'01 enable WL suspend*/}, \ 511 /*0x04[12:11] = 2b'11 enable WL suspend for PCIe*/}, \ 514 /*Set SDIO suspend local register*/}, \ 517 /*wait power state to suspend*/}, 522 /*clear suspend enable and power down enable*/}, \ 525 /*Set SDIO suspend local register*/}, \ 528 /*wait power state to suspend*/},\ 534 /*0x04[12:11] = 2b'01enable WL suspend*/}, 543 /*0x04[12:11] = 2b'01 enable WL suspend*/}, \ 555 /*Set SDIO suspend local register*/}, \ 558 /*wait power state to suspend*/}, 563 /*clear suspend enable and power down enable*/}, \ 566 /*Set SDIO suspend local register*/}, \ 569 /*wait power state to suspend*/},\ 575 /*0x04[12:11] = 2b'01enable WL suspend*/},\
|
/linux-4.1.27/arch/mips/loongson/common/ |
H A D | pm.c | 2 * loongson-specific suspend support 12 #include <linux/suspend.h> 129 /* processor specific suspend */ loongson_pm_enter()
|
/linux-4.1.27/arch/mips/loongson/lemote-2f/ |
H A D | pm.c | 2 * Lemote loongson2f family machines' specific suspend support 13 #include <linux/suspend.h> 125 * because we can not schedule in suspend mode. wakeup_loongson()
|
/linux-4.1.27/arch/arm/mach-prima2/ |
H A D | pm.c | 10 #include <linux/suspend.h> 19 #include <asm/suspend.h> 25 * suspend asm codes will access these to make DRAM become self-refresh and
|
H A D | rtciobrg.c | 24 * suspend asm codes will access this address to make system deepsleep 31 * symbols without lock are only used by suspend asm codes
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
H A D | pm-s3c2412.c | 51 pr_info("Failed to suspend the system\n"); s3c2412_cpu_suspend() 52 return 1; /* Aborting suspend */ s3c2412_cpu_suspend() 129 .suspend = s3c2412_pm_suspend,
|
H A D | pm-s3c2416.c | 39 pr_info("Failed to suspend the system\n"); s3c2416_cpu_suspend() 40 return 1; /* Aborting suspend */ s3c2416_cpu_suspend()
|
H A D | irq-pm.c | 104 .suspend = s3c24xx_irq_suspend, 126 .suspend = s3c2416_irq_suspend,
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
H A D | driver.h | 9 int (*suspend)(void *priv); member in struct:nvif_driver
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
H A D | nv84_fence.c | 174 priv->suspend = vmalloc(priv->base.contexts * sizeof(u32)); nv84_fence_suspend() 175 if (priv->suspend) { nv84_fence_suspend() 177 priv->suspend[i] = nouveau_bo_rd32(priv->bo, i*4); nv84_fence_suspend() 180 return priv->suspend != NULL; nv84_fence_suspend() 189 if (priv->suspend) { nv84_fence_resume() 191 nouveau_bo_wr32(priv->bo, i*4, priv->suspend[i]); nv84_fence_resume() 192 vfree(priv->suspend); nv84_fence_resume() 193 priv->suspend = NULL; nv84_fence_resume() 226 priv->base.suspend = nv84_fence_suspend; nv84_fence_create()
|
H A D | nouveau_fence.h | 55 bool (*suspend)(struct nouveau_drm *); member in struct:nouveau_fence_priv 101 u32 *suspend; member in struct:nv84_fence_priv
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/ |
H A D | priv.h | 33 int _nvkm_devinit_fini(struct nvkm_object *, bool suspend);
|
H A D | base.c | 31 _nvkm_devinit_fini(struct nvkm_object *object, bool suspend) _nvkm_devinit_fini() argument 36 if (suspend) _nvkm_devinit_fini() 42 return nvkm_subdev_fini(&devinit->base, suspend); _nvkm_devinit_fini()
|
/linux-4.1.27/drivers/base/power/ |
H A D | generic_ops.c | 15 * pm_generic_runtime_suspend - Generic runtime suspend callback for subsystems. 16 * @dev: Device to suspend. 73 * @dev: Device to suspend. 85 * @dev: Device to suspend. 96 * pm_generic_suspend - Generic suspend callback for subsystems. 97 * @dev: Device to suspend. 103 return pm && pm->suspend ? pm->suspend(dev) : 0; pm_generic_suspend() 301 * Let runtime PM try to suspend devices that haven't been in use before pm_generic_complete()
|
H A D | main.c | 30 #include <linux/suspend.h> 67 return "suspend"; pm_verb() 88 * device_pm_sleep_init - Initialize system suspend-related device fields. 254 return ops->suspend; pm_op() 408 * dpm_watchdog_handler - Driver suspend / resume watchdog handler. 438 /* use same timeout value for both suspend and resume */ dpm_watchdog_set() 446 * dpm_watchdog_clear - Disable suspend/resume watchdog. 985 * resume_event - Return a "resume" message for given "suspend" sleep state. 1006 * device_suspend_noirq - Execute a "late suspend" callback for given device. 1094 * dpm_suspend_noirq - Execute "noirq suspend" callbacks for all devices. 1097 * Prevent device drivers from receiving interrupts and call the "noirq" suspend 1151 * device_suspend_late - Execute a "late suspend" callback for given device. 1240 * dpm_suspend_late - Execute "late suspend" callbacks for all devices. 1292 * dpm_suspend_end - Execute "late" and "noirq" device suspend callbacks. 1312 * legacy_suspend - Execute a legacy (bus or class) suspend callback for device. 1313 * @dev: Device to suspend. 1338 * device_suspend - Execute "suspend" callbacks for given device. 1362 * system suspend operation should be aborted. __device_suspend() 1406 } else if (dev->class->suspend) { __device_suspend() 1408 error = legacy_suspend(dev, state, dev->class->suspend, __device_suspend() 1418 } else if (dev->bus->suspend) { __device_suspend() 1420 error = legacy_suspend(dev, state, dev->bus->suspend, __device_suspend() 1491 * dpm_suspend - Execute "suspend" callbacks for all non-sysdev devices. 1559 * If a device's parent goes into runtime suspend at the wrong time, device_prepare() 1561 * block runtime suspend here, during the prepare phase, and allow device_prepare() 1607 * applies to suspend transitions, however. device_prepare() 1661 * dpm_suspend_start - Prepare devices for PM transition and suspend them. 1664 * Prepare all non-sysdev devices for system PM transition and execute "suspend" 1689 * device_pm_wait_for_dev - Wait for suspend/resume of a device to complete.
|
H A D | runtime.c | 87 * pm_runtime_deactivate_timer - Deactivate given device's suspend timer. 99 * pm_runtime_cancel_pending - Deactivate suspend timer and cancel requests. 175 * resume/suspend: 178 * resume/suspend callback of any one of its ancestors(or the 394 * rpm_suspend - Carry out runtime suspend of given device. 395 * @dev: Device to suspend. 399 * Cancel a pending idle notification, autosuspend or suspend. If 400 * another suspend has been started earlier, either return immediately 402 * flags. If the RPM_ASYNC flag is set then queue a suspend request; 406 * notification for its parent (if the suspend succeeded and both 482 /* Wait for the other suspend running in parallel with us. */ 502 /* Carry out an asynchronous or a synchronous suspend. */ 538 /* Maybe the parent is now able to suspend. */ 585 * RPM_NOWAIT and RPM_ASYNC flags. Similarly, if there's a suspend running in 812 * Check if the time is right and queue a suspend request. 834 * pm_schedule_suspend - Set up a timer to submit a suspend request in future. 835 * @dev: Device to suspend. 836 * @delay: Time to wait before submitting a suspend request, in milliseconds. 902 * __pm_runtime_suspend - Entry point for runtime put/suspend operations. 903 * @dev: Device to suspend. 907 * return immediately if it is larger than zero. Then carry out a suspend, 1281 * Prevent runtime suspend if the new delay is negative and use_autosuspend is 1290 /* Should runtime suspend be prevented now? */ update_autosuspend() 1300 /* Runtime suspend should be allowed now. */ update_autosuspend() 1402 * pm_runtime_force_suspend - Force a device into suspend state if needed. 1403 * @dev: Device to suspend. 1407 * suspend state. Keep runtime PM disabled to preserve the state unless we 1410 * Typically this function may be invoked from a system suspend callback to make
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | swsusp.c | 2 * Common powerpc suspend code for 32 and 64 bits
|
/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
H A D | audio.h | 21 void (*suspend)(void *); member in struct:__anon243
|
H A D | pm.h | 10 #include <linux/suspend.h>
|
H A D | pxa27x.h | 4 #include <linux/suspend.h>
|
/linux-4.1.27/arch/arm/mach-s5pv210/ |
H A D | pm.c | 18 #include <linux/suspend.h> 23 #include <asm/suspend.h> 59 pr_info("Failed to suspend the system\n"); s5pv210_cpu_suspend() 60 return 1; /* Aborting suspend */ s5pv210_cpu_suspend()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | pm-imx27.c | 11 #include <linux/suspend.h>
|
H A D | pm-imx6.c | 24 #include <linux/suspend.h> 28 #include <asm/suspend.h> 72 * suspend ocram space layout: 178 * suspend code(arch/arm/mach-imx/suspend-imx6.S), if this struct 180 * arch/arm/mach-imx/suspend-imx6.S must be also changed accordingly, 181 * otherwise, the suspend to ocram function will be broken! 329 * call low level suspend function in ocram, imx6q_suspend_finish() 360 * For suspend into ocram, asm code already take care of imx6q_pm_enter() 565 pr_warn("%s: No DDR LPM support with suspend %d!\n", imx6_pm_common_init()
|
/linux-4.1.27/lib/ |
H A D | pm-notifier-error-inject.c | 3 #include <linux/suspend.h>
|
/linux-4.1.27/drivers/sh/ |
H A D | pm_runtime.c | 30 dev_err(dev, "failed to suspend device\n"); sh_pm_runtime_suspend() 36 dev_err(dev, "failed to suspend clock\n"); sh_pm_runtime_suspend()
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | orb.h | 19 u32 key:4; /* flags, like key, suspend control, etc. */ 20 u32 spnd:1; /* suspend control */
|
/linux-4.1.27/arch/sh/kernel/cpu/shmobile/ |
H A D | cpuidle.c | 15 #include <linux/suspend.h> 18 #include <asm/suspend.h>
|
H A D | pm.c | 15 #include <linux/suspend.h> 16 #include <asm/suspend.h>
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | mfp-pxa3xx.c | 28 * Configure the MFPs appropriately for suspend/resume. 57 .suspend = pxa3xx_mfp_suspend,
|
H A D | clock-pxa2xx.c | 53 .suspend = pxa2xx_clock_suspend,
|
/linux-4.1.27/arch/arm/mach-tegra/ |
H A D | cpuidle-tegra114.c | 26 #include <asm/suspend.h> 51 /* Do suspend by ourselves if the firmware does not implement it */ tegra114_idle_power_down()
|
H A D | pm.c | 2 * CPU complex suspend & resume functions for Tegra SoCs 28 #include <linux/suspend.h> 38 #include <asm/suspend.h> 101 * transition to suspend state 232 * copy these code to IRAM before LP0/LP1 suspend and restore the content 325 pr_info("Entering suspend state %s\n", lp_state[mode]); tegra_suspend_enter()
|
/linux-4.1.27/tools/testing/selftests/powerpc/tm/ |
H A D | tm-resched-dscr.c | 11 * Start a transaction, and suspend it (*). 54 /* start and suspend a transaction */ test_body()
|
H A D | tm-syscall.c | 46 pid_t getppid_tm(bool suspend) getppid_tm() argument 52 if (suspend) getppid_tm()
|
/linux-4.1.27/drivers/net/phy/ |
H A D | smsc.c | 156 .suspend = genphy_suspend, 179 .suspend = genphy_suspend, 202 .suspend = genphy_suspend, 224 .suspend = genphy_suspend, 247 .suspend = genphy_suspend,
|
H A D | ste10Xp.c | 96 .suspend = genphy_suspend, 110 .suspend = genphy_suspend,
|
H A D | micrel.c | 592 .suspend = genphy_suspend, 609 .suspend = genphy_suspend, 626 .suspend = genphy_suspend, 643 .suspend = genphy_suspend, 660 .suspend = genphy_suspend, 677 .suspend = genphy_suspend, 693 .suspend = genphy_suspend, 709 .suspend = genphy_suspend, 723 .suspend = genphy_suspend, 738 .suspend = genphy_suspend, 755 .suspend = genphy_suspend, 767 .suspend = genphy_suspend, 779 .suspend = genphy_suspend,
|
H A D | icplus.c | 225 .suspend = genphy_suspend, 237 .suspend = genphy_suspend, 251 .suspend = genphy_suspend,
|
H A D | marvell.c | 949 .suspend = &genphy_suspend, 964 .suspend = &genphy_suspend, 979 .suspend = &genphy_suspend, 994 .suspend = &genphy_suspend, 1009 .suspend = &genphy_suspend, 1026 .suspend = &genphy_suspend, 1041 .suspend = &genphy_suspend, 1056 .suspend = &genphy_suspend, 1071 .suspend = &genphy_suspend, 1086 .suspend = &genphy_suspend, 1101 .suspend = &genphy_suspend, 1118 .suspend = &genphy_suspend,
|
H A D | realtek.c | 98 .suspend = genphy_suspend,
|
/linux-4.1.27/arch/mips/alchemy/devboards/ |
H A D | pm.c | 2 * Alchemy Development Board example suspend userspace interface. 9 #include <linux/suspend.h> 16 * Generic suspend userspace interface for Alchemy development boards. 232 * Initialize suspend interface 238 * the next suspend cycle. pm_init()
|
/linux-4.1.27/arch/arm/mach-rockchip/ |
H A D | pm.c | 22 #include <linux/suspend.h> 28 #include <asm/suspend.h> 80 * PCLK_WDT_GATE - disable WDT during suspend. rk3288_slp_mode_set() 89 * suspend, and the MASKROM will enable it back. rk3288_slp_mode_set() 146 pr_err("%s: Failed to suspend\n", __func__); rockchip_lpmode_enter()
|
/linux-4.1.27/arch/arm/mach-mmp/ |
H A D | pm-mmp2.c | 16 #include <linux/suspend.h> 176 printk(KERN_INFO "%s: before suspend\n", __func__); mmp2_pm_enter() 178 printk(KERN_INFO "%s: after suspend\n", __func__); mmp2_pm_enter() 210 * Set to PM_DISK_FIRMWARE so we can quickly veto suspend-to-disk. 230 * VCXO is chosen by default, which would be disabled in suspend mmp2_pm_init()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | base.c | 295 if (priv->suspend >= 0) { _nvkm_therm_init() 297 if (priv->suspend > 0) _nvkm_therm_init() 300 nvkm_therm_fan_mode(therm, priv->suspend); _nvkm_therm_init() 308 _nvkm_therm_fini(struct nvkm_object *object, bool suspend) _nvkm_therm_fini() argument 313 nvkm_therm_fan_fini(therm, suspend); _nvkm_therm_fini() 314 nvkm_therm_sensor_fini(therm, suspend); _nvkm_therm_fini() 315 if (suspend) { _nvkm_therm_fini() 316 priv->suspend = priv->mode; _nvkm_therm_fini() 320 return nvkm_subdev_fini(&therm->base, suspend); _nvkm_therm_fini() 345 priv->mode = priv->suspend = -1; /* undefined */ nvkm_therm_create_()
|
H A D | priv.h | 78 int suspend; member in struct:nvkm_therm_priv 114 int nvkm_therm_fan_fini(struct nvkm_therm *, bool suspend); 125 int nvkm_therm_sensor_fini(struct nvkm_therm *, bool suspend); 144 int g84_therm_fini(struct nvkm_object *, bool suspend);
|
/linux-4.1.27/drivers/char/ |
H A D | apm-emulation.c | 23 #include <linux/suspend.h> 61 * SUSPEND_PENDING: suspend event queued for thread and pending to be read 62 * SUSPEND_READ: suspend event read, pending acknowledgement 66 * SUSPEND_DONE: thread had acked suspend and is now notified of 69 * SUSPEND_WAIT: this thread invoked suspend and is waiting for resume 80 * 1: suspend event is signalled from the core PM code 81 * 2: the suspend event is read from the fd by the userspace thread 92 * 8: userspace thread issues the APM_IOC_SUSPEND ioctl (to suspend), 259 * - initiate a suspend 260 * - acknowledge a suspend read from /dev/apm_bios. 262 * has acknowledge does the actual suspend happen. 282 * If we read a suspend command from /dev/apm_bios, apm_ioctl() 297 * Wait for the suspend/resume to complete. If there apm_ioctl() 316 * Otherwise it is a request to suspend the system. apm_ioctl() 547 * to suspend and need their ack. apm_suspend_notifier() 567 * zero, meaning everybody acked the suspend event (or the apm_suspend_notifier() 600 /* let suspend proceed */ apm_suspend_notifier() 618 * Finally, wake up anyone who is sleeping on the suspend. apm_suspend_notifier()
|
/linux-4.1.27/drivers/scsi/ |
H A D | scsi_pm.c | 23 return pm && pm->suspend ? pm->suspend(dev) : 0; do_scsi_suspend() 57 /* flush pending in-flight resume operations, suspend is synchronous */ scsi_dev_type_suspend() 66 dev_dbg(dev, "scsi suspend: %d\n", err); scsi_dev_type_suspend() 98 * PM treat runtime suspend, system suspend, and system scsi_bus_suspend_common() 335 .suspend = scsi_bus_suspend,
|
/linux-4.1.27/drivers/staging/rtl8723au/include/ |
H A D | Hal8723PwrSeq.h | 50 {0x0005, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, (BIT(4)|BIT(3)), 0},/* disable WL suspend*/ \ 65 {0x0005, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_USB_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT(3)|BIT(4), BIT(3)}, /*0x04[12:11] = 2b'01 enable WL suspend*/ 68 {0x0005, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT(3) | BIT(7), 0}, /*clear suspend enable and power down enable*/ \ 69 {0x0005, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT(3)|BIT(4), 0}, /*0x04[12:11] = 2b'01enable WL suspend*/ 72 {0x0005, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_USB_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT(3)|BIT(4), BIT(3)}, /*0x04[12:11] = 2b'01 enable WL suspend*/ \ 76 {0x0005, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT(3) | BIT(7), 0}, /*clear suspend enable and power down enable*/ \ 78 {0x0005, PWR_CUT_ALL_MSK, PWR_FAB_ALL_MSK, PWR_INTF_ALL_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT(3)|BIT(4), 0}, /*0x04[12:11] = 2b'01enable WL suspend*/
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | power.c | 78 * gma_suspend_display - suspend the display logic 119 * gma_suspend_pci - suspend PCI side 122 * Perform the suspend processing on our PCI device state 180 * gma_power_suspend - bus callback for suspend 182 * @state: suspend type 184 * Called back by the PCI layer during a suspend of the system. We 198 dev_err(dev->dev, "GPU hardware busy, cannot suspend\n"); gma_power_suspend()
|
/linux-4.1.27/drivers/pnp/ |
H A D | driver.c | 166 if (pnp_drv->driver.pm && pnp_drv->driver.pm->suspend) { __pnp_bus_suspend() 167 error = pnp_drv->driver.pm->suspend(dev); __pnp_bus_suspend() 168 suspend_report_result(pnp_drv->driver.pm->suspend, error); __pnp_bus_suspend() 173 if (pnp_drv->suspend) { __pnp_bus_suspend() 174 error = pnp_drv->suspend(pnp_dev, state); __pnp_bus_suspend() 186 pnp_dev->protocol->suspend(pnp_dev, state); __pnp_bus_suspend() 243 .suspend = pnp_bus_suspend,
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | ppc4xx_cpm.c | 38 #include <linux/suspend.h> 57 unsigned int suspend; member in struct:cpm 208 return !!cpm.suspend; cpm_suspend_valid() 236 cpm_suspend_standby(cpm.suspend); cpm_suspend_enter() 317 cpm.suspend = cpm_get_uint_property(np, "suspend"); cpm_init() 331 if (cpm.standby || cpm.suspend) cpm_init()
|
H A D | fsl_pmc.c | 18 #include <linux/suspend.h>
|
/linux-4.1.27/net/wireless/ |
H A D | sysfs.c | 109 if (rdev->ops->suspend) wiphy_suspend() 127 /* Age scan results with time spent in suspend */ wiphy_resume() 155 .suspend = wiphy_suspend,
|
/linux-4.1.27/drivers/net/usb/ |
H A D | huawei_cdc_ncm.c | 142 drvstate->subdriver->suspend) huawei_cdc_ncm_suspend() 143 ret = drvstate->subdriver->suspend(intf, message); huawei_cdc_ncm_suspend() 171 drvstate->subdriver->suspend(intf, PMSG_SUSPEND); huawei_cdc_ncm_resume() 212 .suspend = huawei_cdc_ncm_suspend,
|
/linux-4.1.27/drivers/net/wireless/ath/wil6210/ |
H A D | wil_platform.h | 27 int (*suspend)(void *handle); member in struct:wil_platform_ops
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
H A D | hwbus.h | 30 int (*power_mgmt)(struct hwbus_priv *self, bool suspend);
|
H A D | bh.c | 132 pr_debug("[BH] suspend.\n"); cw1200_bh_suspend() 134 wiphy_warn(priv->hw->wiphy, "BH error -- can't suspend\n"); cw1200_bh_suspend() 426 int rx, tx, term, suspend; cw1200_bh() local 463 suspend = pending_tx ? cw1200_bh() 465 (rx || tx || term || suspend || priv->bh_error); cw1200_bh() 468 pr_debug("[BH] - rx: %d, tx: %d, term: %d, bh_err: %d, suspend: %d, status: %ld\n", cw1200_bh() 469 rx, tx, term, suspend, priv->bh_error, status); cw1200_bh() 521 } else if (suspend) { cw1200_bh() 522 pr_debug("[BH] Device suspend.\n"); cw1200_bh()
|
H A D | pm.c | 174 /* Do not suspend when datapath is not idle */ cw1200_wow_suspend() 189 /* Do not suspend when join is pending */ cw1200_wow_suspend() 193 /* Do not suspend when scanning */ cw1200_wow_suspend() 218 /* Change to legacy PS while going to suspend */ cw1200_wow_suspend() 262 /* Store suspend state */ cw1200_wow_suspend()
|
H A D | cw1200_sdio.c | 259 static int cw1200_sdio_pm(struct hwbus_priv *self, bool suspend) cw1200_sdio_pm() argument 264 ret = irq_set_irq_wake(self->pdata->irq, suspend); cw1200_sdio_pm() 356 /* Notify SDIO that CW1200 will remain powered during suspend */ cw1200_sdio_suspend() 370 .suspend = cw1200_sdio_suspend,
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | suspend_64.h | 13 * Image of the saved processor state, used by the low level ACPI suspend to
|
/linux-4.1.27/arch/unicore32/include/mach/ |
H A D | pm.h | 15 #include <linux/suspend.h>
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/ |
H A D | instmem.h | 8 u32 *suspend; member in struct:nvkm_instobj
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
H A D | base.c | 53 _nvkm_fb_fini(struct nvkm_object *object, bool suspend) _nvkm_fb_fini() argument 59 ret = nv_ofuncs(pfb->ram)->fini(nv_object(pfb->ram), suspend); _nvkm_fb_fini() 60 if (ret && suspend) _nvkm_fb_fini() 64 return nvkm_subdev_fini(&pfb->base, suspend); _nvkm_fb_fini()
|
/linux-4.1.27/include/linux/mtd/ |
H A D | pfow.h | 41 /* device program/erase suspend register */ 62 /* Defines possible value of PFOW program/erase suspend register */ 69 #define DSR_PSS (1<<2) /* R; program suspend status; 77 #define DSR_ESS (1<<6) /* R; erase suspend status;
|
/linux-4.1.27/include/linux/pinctrl/ |
H A D | pinctrl-state.h | 20 * ordinary .suspend() function.
|
/linux-4.1.27/include/uapi/linux/ |
H A D | reboot.h | 24 * SW_SUSPEND Suspend system using software suspend if compiled in.
|
H A D | uvcvideo.h | 26 /* Control should be saved at suspend and restored at resume. */
|
H A D | apm_bios.h | 123 #define APM_CAP_RESUME_SUSPEND_TIMER 0x0008 /* Timer resume from suspend */ 125 #define APM_CAP_RESUME_SUSPEND_RING 0x0020 /* Resume on Ring fr suspend */
|
/linux-4.1.27/arch/mips/jz4740/ |
H A D | pm.c | 19 #include <linux/suspend.h>
|
/linux-4.1.27/arch/arm/plat-samsung/ |
H A D | pm.c | 8 * S3C common power management (suspend to ram) support. 16 #include <linux/suspend.h> 24 #include <asm/suspend.h> 93 * to happen if you suspend with no wakeup (system will often s3c_pm_enter()
|
H A D | pm-check.c | 8 * S3C Power Mangament - suspend/resume memory corruptiuon check. 16 #include <linux/suspend.h> 28 /* suspend checking code... 41 static u32 *crcs; /* allocated over suspend/resume */ 163 * many of the areas used during the suspend process. 227 * Free the resources that where allocated by the suspend
|
/linux-4.1.27/arch/arm/mach-mxs/ |
H A D | pm.c | 16 #include <linux/suspend.h>
|
/linux-4.1.27/include/linux/mmc/ |
H A D | pm.h | 27 #define MMC_PM_KEEP_POWER (1 << 0) /* preserve card power during suspend */
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | pad.c | 27 _nvkm_i2c_pad_fini(struct nvkm_object *object, bool suspend) _nvkm_i2c_pad_fini() argument 32 return nvkm_object_fini(&pad->base, suspend); _nvkm_i2c_pad_fini()
|
H A D | padg94.c | 32 g94_i2c_pad_fini(struct nvkm_object *object, bool suspend) g94_i2c_pad_fini() argument 37 return nvkm_i2c_pad_fini(&pad->base, suspend); g94_i2c_pad_fini()
|
H A D | padgm204.c | 32 gm204_i2c_pad_fini(struct nvkm_object *object, bool suspend) gm204_i2c_pad_fini() argument 37 return nvkm_i2c_pad_fini(&pad->base, suspend); gm204_i2c_pad_fini()
|
/linux-4.1.27/include/linux/usb/ |
H A D | ehci_pdriver.h | 38 * a suspend / resume cycle (but can't detect that itself). 57 /* Turn on only VBUS suspend power and hotplug detection,
|
H A D | phy.h | 109 /* Set transceiver into suspend mode */ 111 int suspend); 115 * woken up from suspend status due to external events, 270 usb_phy_set_suspend(struct usb_phy *x, int suspend) usb_phy_set_suspend() argument 273 return x->set_suspend(x, suspend); usb_phy_set_suspend()
|
H A D | msm_hsusb_hw.h | 36 #define PORTSC_PHCD (1 << 23) /* phy suspend mode */
|
H A D | ohci_pdriver.h | 43 /* Turn on only VBUS suspend power and hotplug detection,
|
/linux-4.1.27/arch/mips/mti-malta/ |
H A D | malta-pm.c | 37 /* Enable entry to suspend */ mips_pm_suspend() 45 * The PIIX4 will enter the suspend state only after seeing a special mips_pm_suspend()
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
H A D | pm.c | 27 #include <linux/suspend.h> 33 #include <asm/suspend.h>
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-omap.c | 193 /* bring PHY out of suspend */ ehci_hcd_omap_probe() 203 * causes suspended ports to be taken out of suspend when ehci_hcd_omap_probe() 206 * This breaks suspend-resume if the root-hub is allowed ehci_hcd_omap_probe() 207 * to suspend. Writing 1 to this undocumented register bit ehci_hcd_omap_probe() 232 /* bring PHY out of suspend */ ehci_hcd_omap_probe() 293 /*.suspend = ehci_hcd_omap_suspend, */
|
/linux-4.1.27/arch/arm/mach-at91/ |
H A D | pm.c | 14 #include <linux/suspend.h> 42 * called as part of the generic suspend/resume path. 114 * Call this from platform driver suspend() to see how deeply to suspend. 159 * drivers must suspend more deeply, the master clock switches at91_pm_enter() 188 pr_debug("AT91: PM - bogus suspend state %d\n", state); at91_pm_enter() 392 /* Copy the pm suspend handler to SRAM */ at91_pm_sram_init()
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | gx-suspmod.c | 94 #define PCI_MODOFF 0x94 /* suspend modulation OFF counter register, 1 = 32us */ 95 #define PCI_MODON 0x95 /* suspend modulation ON counter register */ 96 #define PCI_SUSCFG 0x96 /* suspend configuration register */ 106 #define SUSMOD (1<<0) /* enable/disable suspend modulation */ 108 #define SMISPDUP (1<<1) /* select how SMI re-enable suspend modulation: */ 304 pr_debug("suspend modulation disabled: cpu runs 100%% speed.\n"); gx_set_cpuspeed() 319 pr_debug("suspend modulation w/ duration of ON:%d us, OFF:%d us\n", gx_set_cpuspeed() 321 pr_debug("suspend modulation w/ clock speed: %d kHz.\n", freqs.new); gx_set_cpuspeed() 463 pr_debug("geode suspend modulation available.\n"); cpufreq_gx_init()
|
/linux-4.1.27/include/drm/ttm/ |
H A D | ttm_lock.h | 44 * The suspend mode is used to lock out all TTM users when preparing for 45 * and executing suspend operations. 118 * in vt or suspend mode, the function will sleep until these modes 162 * Takes the lock in suspend mode. Excludes read and write mode. 171 * Releases a suspend lock
|
/linux-4.1.27/drivers/pinctrl/samsung/ |
H A D | pinctrl-exynos.c | 691 .suspend = exynos_pinctrl_suspend, 737 .suspend = exynos_pinctrl_suspend, 745 .suspend = exynos_pinctrl_suspend, 809 .suspend = exynos_pinctrl_suspend, 817 .suspend = exynos_pinctrl_suspend, 894 .suspend = exynos_pinctrl_suspend, 902 .suspend = exynos_pinctrl_suspend, 909 .suspend = exynos_pinctrl_suspend, 916 .suspend = exynos_pinctrl_suspend, 976 .suspend = exynos_pinctrl_suspend, 984 .suspend = exynos_pinctrl_suspend, 991 .suspend = exynos_pinctrl_suspend, 1063 .suspend = exynos_pinctrl_suspend, 1070 .suspend = exynos_pinctrl_suspend, 1077 .suspend = exynos_pinctrl_suspend, 1084 .suspend = exynos_pinctrl_suspend, 1328 .suspend = exynos_pinctrl_suspend, 1335 .suspend = exynos_pinctrl_suspend, 1342 .suspend = exynos_pinctrl_suspend, 1349 .suspend = exynos_pinctrl_suspend, 1356 .suspend = exynos_pinctrl_suspend, 1363 .suspend = exynos_pinctrl_suspend, 1370 .suspend = exynos_pinctrl_suspend, 1377 .suspend = exynos_pinctrl_suspend, 1384 .suspend = exynos_pinctrl_suspend, 1391 .suspend = exynos_pinctrl_suspend,
|
/linux-4.1.27/drivers/pci/ |
H A D | pci-driver.c | 21 #include <linux/suspend.h> 503 * Default "suspend" method for devices that have no driver provided suspend, 510 * e.g. the BIOS will change its device state when we suspend. pci_pm_set_unknown_state() 524 /* if the device was enabled before suspend, reenable */ pci_pm_reenable_device() 527 * if the device was busmaster before the suspend, make it busmaster pci_pm_reenable_device() 541 if (drv && drv->suspend) { pci_legacy_suspend() 545 error = drv->suspend(pci_dev, state); pci_legacy_suspend() 546 suspend_report_result(drv->suspend, error); pci_legacy_suspend() 554 drv->suspend); pci_legacy_suspend() 637 bool ret = drv && (drv->suspend || drv->suspend_late || drv->resume pci_has_legacy_pm_support() 659 * suspending their children in the next phase of device suspend. pci_pm_prepare() 697 * suspend. Namely, if the device is supposed to wake up the system pci_pm_suspend() 705 if (pm->suspend) { pci_pm_suspend() 709 error = pm->suspend(dev); pci_pm_suspend() 710 suspend_report_result(pm->suspend, error); pci_pm_suspend() 718 pm->suspend); pci_pm_suspend() 809 * This is necessary for the suspend error path in which resume is pci_pm_resume() 1206 .suspend = pci_pm_suspend,
|
/linux-4.1.27/drivers/mfd/ |
H A D | tc6387xb.c | 53 if (pdata && pdata->suspend) tc6387xb_suspend() 54 pdata->suspend(dev); tc6387xb_suspend() 231 .suspend = tc6387xb_suspend,
|
H A D | tmio_core.c | 18 /* Disable SD power during suspend */ tmio_core_mmc_enable()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
H A D | outp.c | 33 _nvkm_output_fini(struct nvkm_object *object, bool suspend) _nvkm_output_fini() argument 36 nv_ofuncs(outp->conn)->fini(nv_object(outp->conn), suspend); _nvkm_output_fini() 37 return nvkm_object_fini(&outp->base, suspend); _nvkm_output_fini()
|
H A D | base.c | 118 _nvkm_disp_fini(struct nvkm_object *object, bool suspend) _nvkm_disp_fini() argument 125 ret = nv_ofuncs(outp)->fini(nv_object(outp), suspend); _nvkm_disp_fini() 126 if (ret && suspend) _nvkm_disp_fini() 130 return nvkm_engine_fini(&disp->base, suspend); _nvkm_disp_fini()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/ |
H A D | xtensa.c | 161 _nvkm_xtensa_fini(struct nvkm_object *object, bool suspend) _nvkm_xtensa_fini() argument 168 if (!suspend) _nvkm_xtensa_fini() 171 return nvkm_engine_fini(&xtensa->base, suspend); _nvkm_xtensa_fini()
|
/linux-4.1.27/arch/powerpc/platforms/52xx/ |
H A D | mpc52xx_pm.c | 2 #include <linux/suspend.h> 93 /* call board suspend code, if applicable */ mpc52xx_pm_prepare() 131 /* copy low level suspend code to sram */ mpc52xx_pm_enter()
|
/linux-4.1.27/arch/mips/include/asm/ |
H A D | pm.h | 22 /* Save CPU state to stack for suspend to RAM */ 67 /* Get address of static suspend state into t1 */ 122 /* Save suspend state and flush data caches to RAM */
|
/linux-4.1.27/arch/avr32/mach-at32ap/ |
H A D | pm.c | 11 #include <linux/suspend.h> 153 pr_debug("%s: Entering suspend-to-ram...\n", __func__); avr32_pm_enter() 169 pr_debug("%s: Invalid suspend state %d\n", __func__, state); avr32_pm_enter()
|
/linux-4.1.27/sound/aoa/soundbus/ |
H A D | core.c | 136 if (dev->driver && drv->suspend) soundbus_device_suspend() 137 return drv->suspend(soundbus_dev, state); soundbus_device_suspend() 160 .suspend = soundbus_device_suspend,
|
/linux-4.1.27/drivers/net/ethernet/i825xx/ |
H A D | sun3_82586.h | 90 #define RUC_RESUME 0x0020 /* resume RU after suspend */ 91 #define RUC_SUSPEND 0x0030 /* suspend RU */ 97 #define CUC_RESUME 0x02 /* resume after suspend */ 133 unsigned char last; /* Bit15,Last Frame on List / Bit14,suspend */ 143 #define RFD_SUSP 0x40 /* last: suspend RU after */ 198 #define CMD_SUSPEND 0x4000 /* suspend CU after this CB */
|
/linux-4.1.27/drivers/ide/ |
H A D | triflex.c | 120 * APM bios refuses to suspend if IDE is not accessible. triflex_ide_pci_suspend() 134 .suspend = triflex_ide_pci_suspend,
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_pm.c | 32 netdev_info(dev, "============> r8192E suspend call.\n"); rtl8192E_suspend() 39 "RTL819XE:UI is open out of suspend function\n"); rtl8192E_suspend()
|
/linux-4.1.27/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 34 * __drm_class_suspend - internal DRM class suspend routine 35 * @dev: Linux device to suspend 39 * @dev is and calls its suspend hook, if present. 49 drm_dev->driver->suspend) __drm_class_suspend() 50 return drm_dev->driver->suspend(drm_dev, state); __drm_class_suspend() 56 * drm_class_suspend - internal DRM class suspend hook. Simply calls 58 * @dev: Linux device to suspend 97 .suspend = drm_class_suspend,
|
/linux-4.1.27/drivers/cpuidle/ |
H A D | cpuidle-arm.c | 50 * call the CPU ops suspend protocol with idle index as a arm_enter_idle_state() 118 * idle states suspend back-end specific data arm_idle_init()
|
H A D | cpuidle-calxeda.c | 29 #include <asm/suspend.h>
|
/linux-4.1.27/arch/x86/power/ |
H A D | hibernate_64.c | 13 #include <linux/suspend.h> 21 #include <asm/suspend.h>
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | hibernate.c | 15 #include <linux/suspend.h> 22 #include <asm/suspend.h>
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_drv.c | 555 if (intel_encoder->suspend) intel_suspend_encoders() 556 intel_encoder->suspend(intel_encoder); intel_suspend_encoders() 572 /* ignore lid events during suspend */ i915_drm_suspend() 673 DRM_ERROR("DRM not initialized, aborting suspend.\n"); i915_suspend_legacy() 742 /* Config may have changed between suspend and resume */ i915_drm_resume() 943 dev_err(dev, "DRM not initialized, aborting suspend.\n"); i915_pm_suspend() 961 * suspend hook. i915_pm_suspend_late() 1018 * keeping the content across a suspend/resume. 1181 * be restored, as they are used to control the s0ix suspend/resume vlv_restore_gunit_s0ix_state() 1382 * calls RPM suspend concurrently, since the RPM suspend will wait intel_runtime_suspend() 1383 * first for this RPM suspend to finish. In this case the concurrent intel_runtime_suspend() 1384 * RPM resume will be followed by its RPM suspend counterpart. Still intel_runtime_suspend() 1385 * for consistency return -EAGAIN, which will reschedule this suspend. intel_runtime_suspend() 1388 DRM_DEBUG_KMS("device lock contention, deffering suspend\n"); intel_runtime_suspend() 1390 * Bump the expiration timestamp, otherwise the suspend won't intel_runtime_suspend() 1409 DRM_ERROR("Runtime suspend failed, disabling it (%d)\n", ret); intel_runtime_suspend() 1429 * the suspend path. intel_runtime_suspend() 1492 * suspend sequence. 1511 * S0ix (via system suspend) and S3 event handlers [PMSG_SUSPEND, 1514 .suspend = i915_pm_suspend, 1543 /* S0ix (via runtime suspend) event handlers */ 1585 .suspend = i915_suspend_legacy,
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
H A D | radeon_asic.c | 200 .suspend = &r100_suspend, 268 .suspend = &r100_suspend, 364 .suspend = &r300_suspend, 432 .suspend = &r300_suspend, 500 .suspend = &r420_suspend, 568 .suspend = &rs400_suspend, 636 .suspend = &rs600_suspend, 704 .suspend = &rs690_suspend, 772 .suspend = &rv515_suspend, 840 .suspend = &rv515_suspend, 934 .suspend = &r600_suspend, 1019 .suspend = &r600_suspend, 1112 .suspend = &r600_suspend, 1218 .suspend = &rv770_suspend, 1338 .suspend = &evergreen_suspend, 1432 .suspend = &evergreen_suspend, 1525 .suspend = &evergreen_suspend, 1662 .suspend = &cayman_suspend, 1767 .suspend = &cayman_suspend, 1902 .suspend = &si_suspend, 2069 .suspend = &cik_suspend, 2182 .suspend = &cik_suspend,
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | sdhci-pci.h | 56 int (*suspend) (struct sdhci_pci_chip *); member in struct:sdhci_pci_fixes
|
/linux-4.1.27/drivers/scsi/isci/ |
H A D | remote_node_context.h | 112 * it gets a TX suspend notification from the hardware. 115 * when it gets a TX RX suspend notification from the hardware. 118 * for a suspend notification from the hardware. This state is entered when 148 RNC_DEST_SUSPENDED, /* Set when suspend during post/invalidate */
|
/linux-4.1.27/drivers/staging/iio/adc/ |
H A D | ad7606_spi.c | 85 .suspend = ad7606_spi_suspend,
|
/linux-4.1.27/drivers/parport/ |
H A D | parport_ax88796.c | 37 struct parport_state suspend; member in struct:ax_drvdata 391 parport_ax88796_save_state(p, &dd->suspend); parport_ax88796_suspend() 401 parport_ax88796_restore_state(p, &dd->suspend); parport_ax88796_resume() 418 .suspend = parport_ax88796_suspend,
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | sa1100_assabet.c | 79 * Disable card status IRQs on suspend.
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | acpi.c | 44 nvkm_acpi_fini(struct nvkm_device *device, bool suspend) nvkm_acpi_fini() argument
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/timer/ |
H A D | gk20a.c | 41 /* restore the time before suspend */ gk20a_timer_init()
|
H A D | nv04.c | 130 nv04_timer_fini(struct nvkm_object *object, bool suspend) nv04_timer_fini() argument 133 if (suspend) nv04_timer_fini() 136 return nvkm_timer_fini(&priv->base, suspend); nv04_timer_fini() 201 /* restore the time before suspend */ nv04_timer_init()
|
/linux-4.1.27/drivers/usb/core/ |
H A D | generic.c | 203 /* Normal USB devices suspend through their upstream port. generic_suspend() 204 * Root hubs don't have upstream ports to suspend, generic_suspend() 206 * interfaces manually by doing a bus (or "global") suspend. generic_suspend() 243 .suspend = generic_suspend,
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
H A D | mddi_client_dummy.c | 59 panel->panel_data.suspend = mddi_dummy_suspend; mddi_dummy_probe()
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | usb-davinci.h | 29 #define CFGCHIP2_PHY_PLLON (1 << 6) /* override PLL suspend */
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | Makefile | 43 obj-$(CONFIG_HIBERNATION) += suspend.o swsusp.o
|
/linux-4.1.27/arch/sh/boards/mach-kfr2r09/ |
H A D | sdram.S | 15 #include <asm/suspend.h>
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | pm.c | 18 #include <linux/suspend.h> 38 * suspend work 249 * omap_common_suspend_init - Set common suspend routines for OMAP SoCs 250 * @pm_suspend: function pointer to SoC specific suspend function
|
H A D | pm44xx.c | 14 #include <linux/suspend.h> 67 /* Set targeted power domain states by suspend */ omap4_pm_suspend() 77 * Only master CPU follows suspend path. All other CPUs follow omap4_pm_suspend() 78 * CPU hotplug path in system wide suspend. On OMAP4, CPU power omap4_pm_suspend()
|