Home
last modified time | relevance | path

Searched refs:suspend (Results 1 – 200 of 1566) sorted by relevance

12345678

/linux-4.4.14/Documentation/power/
D00-INDEX6 - Debugging suspend and resume
12 - Testing suspend and resume support in device drivers
14 - How processes and controlled during suspend
18 - Registering suspend notifiers in device drivers
30 - How to get suspend to ram working (and debug it when it isn't)
33 suspend-and-cpuhotplug.txt
36 - Using swap files with software suspend (to disk)
38 - How to use dm-crypt and software suspend (to disk) together
40 - Goals, implementation, and usage of software suspend (ACPI S3)
42 - How to trick software suspend (to disk) into working when it isn't
[all …]
Ddrivers-testing.txt1 Testing suspend and resume support in device drivers
6 Unfortunately, to effectively test the support for the system-wide suspend and
7 resume transitions in a driver, it is necessary to suspend and resume a fully
10 (aka suspend to disk or STD) and suspend to RAM (STR), because each of these
14 Of course, for this purpose the test system has to be known to suspend and
16 resolve all suspend/resume-related problems in the test system before you start
18 for more information about the debugging of suspend/resume functionality.
22 Once you have resolved the suspend/resume-related problems with your test system
37 e) Try the test modes of suspend (see: Documentation/power/basic-pm-debugging.txt,
41 f) Attempt to suspend to RAM using the s2ram tool with the driver loaded
[all …]
Dswsusp.txt5 * If you touch anything on disk between suspend and resume...
13 * problems. If your disk driver does not support suspend... (IDE does),
15 * between suspend and resume, it may do something wrong. If you change
19 * (*) suspend/resume support is needed to make it safe.
21 * If you have any filesystems on USB devices mounted before software suspend,
28 line. Then you suspend by
36 . If you would like to write hibernation image to swap and then suspend
39 echo suspend > /sys/power/disk; echo disk > /sys/power/state
41 . If you have SATA disks, you'll need recent kernels with SATA suspend
42 support. For suspend and resume to work, make sure your disk drivers
[all …]
Dnotifiers.txt5 before hibernation/suspend or after restore/resume, but they require the system
6 to be fully functional, so the drivers' and subsystems' .suspend() and .resume()
13 A suspend/hibernation notifier may be used for this purpose.
15 The subsystems or drivers having such needs can register suspend notifiers that
36 PM_SUSPEND_PREPARE The system is preparing for suspend.
39 suspend. Device drivers' resume callbacks have been
50 The hibernation and suspend notifiers are called with pm_mutex held. They are
52 NULL). To register and/or unregister a suspend notifier use the functions
54 include/linux/suspend.h . If you don't need to unregister the notifier, you can
55 also use the pm_notifier() macro defined in include/linux/suspend.h .
Dinterface.txt20 /sys/power/disk controls the operating mode of the suspend-to-disk
27 modes of the suspend-to-disk mechanism: 'testproc' or 'test'. If the
28 suspend-to-disk mechanism is in the 'testproc' mode, writing 'disk' to
32 to disable nonboot CPUs and freeze tasks, shrink memory, suspend devices, wait
51 the suspend-to-disk mechanism. It can be written a string
53 limit of the image size, in bytes. The suspend-to-disk mechanism will
55 if this turns out to be impossible, it will try to suspend anyway using the
57 suspend image will be as small as possible.
64 during suspend (or more commonly, during resume). Namely, the RTC is only
69 To use this debugging feature you should attempt to suspend the machine, then
Dcharger-manager.txt5 requires temperature monitoring during suspend-to-RAM state
28 * Support for in suspend-to-RAM polling (with suspend_again callback)
29 While the battery is being charged and the system is in suspend-to-RAM,
44 Normally, the platform will need to resume and suspend some devices
59 In order to setup Charger Manager with suspend-again feature
60 (in-suspend monitoring), the user should provide charger_global_desc
62 This charger_global_desc data for in-suspend monitoring is global
66 and it will manage in-suspend monitoring for all instances of Charger Manager.
69 in-suspend monitoring:
75 suspend for Charger Manager. The alarm interrupt (AIE) of the rtc
[all …]
Dsuspend-and-cpuhotplug.txt19 On a high level, the suspend-resume cycle goes like this:
21 |Freeze| -> |Disable nonboot| -> |Do suspend| -> |Enable nonboot| -> |Thaw |
84 Do suspend
103 beginning, when we are just starting out to suspend, and then released only
104 after the entire cycle is complete (i.e., suspend + resume).
145 regular CPU hotplug and the suspend code path converge at the _cpu_down() and
148 argument. But during suspend, since the tasks are already frozen by the time
158 kernel/power/suspend.c : suspend_prepare(), suspend_enter(), suspend_finish()
216 d. Handling microcode update during suspend/hibernate:
225 This is the usual scenario encountered during a resume after a suspend.
[all …]
Dbasic-pm-debugging.txt1 Debugging hibernation and suspend
4 1. Testing hibernation (aka suspend to disk or STD)
78 Then, the kernel will try to freeze processes, suspend devices, wait a few
79 seconds (5 by default, but configurable by the suspend.pm_test_delay module
88 hibernation/suspend operations. Also, when open for reading, /sys/power/pm_test
107 If the "devices" test fails, most likely there is a driver that cannot suspend
158 - if there are n modules loaded and the attempt to suspend and resume fails,
161 - if there are n modules loaded and the attempt to suspend and resume succeeds,
175 information about the reasons of the suspend (resume) failure. Alternatively,
180 2. Testing suspend to RAM (STR)
[all …]
Dsuspend-and-interrupts.txt11 suspend after the "late" phase of suspending devices (that is, after all of the
12 ->prepare, ->suspend and ->suspend_late callbacks have been executed for all
15 The rationale for doing so is that after the "late" phase of device suspend
24 of suspend_device_irqs(), along with the "noirq" phase of device suspend and
36 suspend-resume cycle, including the "noirq" phases of suspending and resuming
44 expected during the suspend-resume cycle, but does not guarantee that the
82 the PM core is notified about the event which causes the system suspend in
84 of the points where the suspend thread looks for pending wakeup events).
87 system suspend currently in progress to be aborted or wake up the system if
105 System wakeup interrupts, in turn, will trigger wakeup from suspend-to-idle in
[all …]
Duserland-swsusp.txt1 Documentation for userland software suspend interface
9 Now, to use the userland interface for software suspend you need special
12 <http://suspend.sourceforge.net>. You may want to have a look at them if you
13 are going to develop your own suspend/resume utilities.
22 reading, it is considered to be in the suspend mode. Otherwise it is
89 SNAPSHOT_S2RAM - suspend to RAM; using this call causes the kernel to
90 immediately enter the suspend-to-RAM state, so this call must always
93 is needed to implement the suspend-to-both mechanism in which the
94 suspend image is first created, as though the system had been suspended
97 its state on the basis of the saved suspend image otherwise)
[all …]
Druntime_pm.txt15 them to be synchronized with system-wide power transitions (suspend to RAM,
80 The subsystem-level suspend callback, if present, is _entirely_ _responsible_
81 for handling the suspend of the device as appropriate, which may, but need not
84 callback in a device driver as long as the subsystem-level suspend callback
87 * Once the subsystem-level suspend callback (or the driver suspend callback,
93 PM status of a device after successful execution of the suspend callback is
96 * If the suspend callback returns -EBUSY or -EAGAIN, the device's runtime PM
100 * If the suspend callback returns an error code different from -EBUSY and
111 low-power state during the execution of the suspend callback, it is expected
147 suspending the device are satisfied) and to queue up a suspend request for the
[all …]
Ds2ram.txt6 1) Check suspend.sf.net, program s2ram there has long whitelist of
19 always it's a driver that is buggy. Thank God for the suspend/resume
37 to suspend
72 pm_trace is not compatible with asynchronous suspend, so it turns
73 asynchronous suspend off (which may work around timing or
Ddevices.txt26 low-power states like "suspend" (also known as "suspend-to-RAM"), or
28 "suspend-to-disk").
31 by implementing various role-specific suspend and resume methods to
51 transitions (suspend or hibernation).
57 various role-specific suspend and resume methods, so that the hardware
94 int (*suspend)(struct device *dev);
132 The core methods to suspend and resume devices reside in struct dev_pm_ops
231 suspend the device by putting it into a state compatible with the target
237 resume it by returning it to full power. The suspend and resume operations
240 For simple drivers, suspend might quiesce the device using class code
[all …]
Dfreezing-of-tasks.txt7 kernel threads are controlled during hibernation or system-wide suspend (on some
16 suspend state as well as before a hibernation image is created (in what follows
17 we only consider hibernation, but the description also applies to suspend).
119 amounts of memory from their .suspend() callbacks before hibernation, but this
148 be frozen before the driver's .suspend() callback is executed and it will be
153 realizing that hibernation (or suspend) operation takes place. Ideally, user
156 from suspend). Unfortunately, in the most general case this is quite difficult
183 hibernation (and suspend) notifiers (in that case, though, we won't be able to
198 A driver must have all firmwares it may need in RAM before suspend() is called.
200 requested early enough using the suspend notifier API described in notifiers.txt.
[all …]
Dpci.txt278 .suspend = pci_pm_suspend,
412 cases it is expected to suspend the device if that makes sense. Usually,
432 prepare, suspend, suspend_noirq.
446 legacy PCI suspend routines (see Section 3), in which case the driver's legacy
447 suspend callback is executed, if present, and its result is returned. Next, if
452 bridges are ignored by this routine). Next, the device driver's pm->suspend()
454 Finally, pci_fixup_device() is called to apply hardware suspend quirks related
457 Note that the suspend phase is carried out asynchronously for PCI devices, so
466 late suspend routine is called and its result is returned (the standard
486 into low-power states. However, if one of the driver's suspend callbacks
[all …]
Dswsusp-and-swap-files.txt1 Using swap files with software suspend (swsusp)
47 Use a userland suspend application that will set the partition and offset
49 Documentation/power/userland-swsusp.txt (this is the only method to suspend
Dtricks.txt27 suspend, and preferably fix that.
/linux-4.4.14/arch/arm/boot/dts/
Drk3288-evb-rk808.dts95 regulator-off-in-suspend;
106 regulator-on-in-suspend;
107 regulator-suspend-microvolt = <1000000>;
116 regulator-on-in-suspend;
127 regulator-on-in-suspend;
128 regulator-suspend-microvolt = <3300000>;
139 regulator-on-in-suspend;
140 regulator-suspend-microvolt = <3300000>;
151 regulator-off-in-suspend;
162 regulator-on-in-suspend;
[all …]
Drk3288-popmetal.dts250 regulator-off-in-suspend;
261 regulator-on-in-suspend;
262 regulator-suspend-microvolt = <1000000>;
271 regulator-on-in-suspend;
282 regulator-on-in-suspend;
283 regulator-suspend-microvolt = <3300000>;
294 regulator-on-in-suspend;
295 regulator-suspend-microvolt = <3300000>;
306 regulator-off-in-suspend;
317 regulator-on-in-suspend;
[all …]
Dexynos3250-rinato.dts266 regulator-on-in-suspend;
277 regulator-off-in-suspend;
288 regulator-off-in-suspend;
299 regulator-off-in-suspend;
310 regulator-off-in-suspend;
321 regulator-off-in-suspend;
332 regulator-off-in-suspend;
343 regulator-off-in-suspend;
354 regulator-on-in-suspend;
364 regulator-off-in-suspend;
[all …]
Dexynos5420-peach-pit.dts230 regulator-off-in-suspend;
242 regulator-off-in-suspend;
254 regulator-off-in-suspend;
266 regulator-off-in-suspend;
277 regulator-off-in-suspend;
289 regulator-off-in-suspend;
300 regulator-on-in-suspend;
311 regulator-off-in-suspend;
322 regulator-on-in-suspend;
333 regulator-on-in-suspend;
[all …]
Dexynos5800-peach-pi.dts217 regulator-off-in-suspend;
229 regulator-off-in-suspend;
241 regulator-off-in-suspend;
253 regulator-off-in-suspend;
264 regulator-off-in-suspend;
276 regulator-off-in-suspend;
287 regulator-on-in-suspend;
298 regulator-off-in-suspend;
309 regulator-on-in-suspend;
320 regulator-on-in-suspend;
[all …]
Drk3288-veyron.dtsi205 regulator-off-in-suspend;
217 regulator-on-in-suspend;
218 regulator-suspend-microvolt = <1000000>;
227 regulator-on-in-suspend;
245 regulator-on-in-suspend;
246 regulator-suspend-microvolt = <1800000>;
264 regulator-on-in-suspend;
265 regulator-suspend-microvolt = <3300000>;
276 regulator-on-in-suspend;
277 regulator-suspend-microvolt = <1000000>;
[all …]
Drk3288-veyron-chromebook.dtsi129 regulator-on-in-suspend;
130 regulator-suspend-microvolt = <3300000>;
205 suspend {
206 suspend_l_wake: suspend-l-wake {
210 suspend_l_sleep: suspend-l-sleep {
Dexynos4412-trats2.dts581 regulator-on-in-suspend;
612 regulator-on-in-suspend;
622 regulator-on-in-suspend;
631 regulator-off-in-suspend;
646 regulator-off-in-suspend;
656 regulator-off-in-suspend;
665 regulator-off-in-suspend;
681 regulator-off-in-suspend;
690 regulator-on-in-suspend;
699 regulator-on-in-suspend;
[all …]
Dimx6sx-sabreauto.dts54 keep-power-in-suspend;
66 keep-power-in-suspend;
/linux-4.4.14/drivers/regulator/
Dda9063-regulator.c47 struct reg_field suspend; member
112 struct regmap_field *suspend; member
250 ret = regmap_field_read(regl->suspend, &val); in da9063_buck_get_mode()
303 ret = regmap_field_read(regl->suspend, &val); in da9063_ldo_get_mode()
379 return regmap_field_write(regl->suspend, 1); in da9063_suspend_enable()
386 return regmap_field_write(regl->suspend, 0); in da9063_suspend_disable()
470 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBCORE1_SEL),
478 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBCORE2_SEL),
486 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBPRO_SEL),
494 .suspend = BFIELD(DA9063_REG_DVC_1, DA9063_VBMEM_SEL),
[all …]
Dda9062-regulator.c50 struct reg_field suspend; member
67 struct regmap_field *suspend; member
192 ret = regmap_field_read(regl->suspend, &val); in da9062_buck_get_mode()
245 ret = regmap_field_read(regl->suspend, &val); in da9062_ldo_get_mode()
321 return regmap_field_write(regl->suspend, 1); in da9062_suspend_enable()
328 return regmap_field_write(regl->suspend, 0); in da9062_suspend_disable()
439 .suspend = REG_FIELD(DA9062AA_DVC_1,
477 .suspend = REG_FIELD(DA9062AA_DVC_1,
515 .suspend = REG_FIELD(DA9062AA_DVC_1,
553 .suspend = REG_FIELD(DA9062AA_DVC_1,
[all …]
/linux-4.4.14/drivers/base/
Dsyscore.c64 if (ops->suspend) { in syscore_suspend()
66 pr_info("PM: Calling %pF\n", ops->suspend); in syscore_suspend()
67 ret = ops->suspend(); in syscore_suspend()
71 "Interrupts enabled after %pF\n", ops->suspend); in syscore_suspend()
78 pr_err("PM: System core suspend callback %pF failed.\n", ops->suspend); in syscore_suspend()
Disa.c70 if (isa_driver->suspend) in isa_bus_suspend()
71 return isa_driver->suspend(dev, to_isa_dev(dev)->id, state); in isa_bus_suspend()
92 .suspend = isa_bus_suspend,
/linux-4.4.14/kernel/power/
DKconfig8 suspend-to-RAM state (e.g. the ACPI S3 state).
11 bool "Enable freezer for suspend to RAM/standby" \
16 This allows you to turn off the freezer for suspend. If this is
17 done, no tasks are frozen for suspend to RAM/standby.
22 bool "Skip kernel's sys_sync() on suspend to RAM/standby"
28 of suspend, or they are content with invoking sync() from
29 user-space before invoking suspend. Say Y if that's your case.
35 bool "Hibernation (aka 'suspend to disk')"
42 Enable the suspend to disk (STD) functionality, which is usually
46 You can suspend your machine with 'echo disk > /sys/power/state'
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dbase.c39 u32 *suspend; member
236 nvkm_instmem_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_instmem_fini() argument
245 if (suspend) { in nvkm_instmem_fini()
250 iobj->suspend = vmalloc(size); in nvkm_instmem_fini()
251 if (!iobj->suspend) in nvkm_instmem_fini()
255 iobj->suspend[i / 4] = nvkm_ro32(memory, i); in nvkm_instmem_fini()
279 if (iobj->suspend) { in nvkm_instmem_init()
283 nvkm_wo32(memory, i, iobj->suspend[i / 4]); in nvkm_instmem_init()
284 vfree(iobj->suspend); in nvkm_instmem_init()
285 iobj->suspend = NULL; in nvkm_instmem_init()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/
Doproxy.c101 nvkm_oproxy_fini(struct nvkm_object *object, bool suspend) in nvkm_oproxy_fini() argument
107 ret = oproxy->func->fini[0](oproxy, suspend); in nvkm_oproxy_fini()
108 if (ret && suspend) in nvkm_oproxy_fini()
113 ret = oproxy->object->func->fini(oproxy->object, suspend); in nvkm_oproxy_fini()
114 if (ret && suspend) in nvkm_oproxy_fini()
119 ret = oproxy->func->fini[1](oproxy, suspend); in nvkm_oproxy_fini()
120 if (ret && suspend) in nvkm_oproxy_fini()
Dobject.c111 nvkm_object_fini(struct nvkm_object *object, bool suspend) in nvkm_object_fini() argument
113 const char *action = suspend ? "suspend" : "fini"; in nvkm_object_fini()
121 ret = nvkm_object_fini(child, suspend); in nvkm_object_fini()
122 if (ret && suspend) in nvkm_object_fini()
128 ret = object->func->fini(object, suspend); in nvkm_object_fini()
131 if (suspend) in nvkm_object_fini()
Dsubdev.c83 nvkm_subdev_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_subdev_fini() argument
86 const char *action = suspend ? "suspend" : "fini"; in nvkm_subdev_fini()
94 int ret = subdev->func->fini(subdev, suspend); in nvkm_subdev_fini()
97 if (suspend) in nvkm_subdev_fini()
Dengine.c78 nvkm_engine_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_engine_fini() argument
82 return engine->func->fini(engine, suspend); in nvkm_engine_fini()
Dclient.c258 nvkm_client_fini(struct nvkm_client *client, bool suspend) in nvkm_client_fini() argument
263 nvif_debug(object, "%s notify\n", name[suspend]); in nvkm_client_fini()
266 return nvkm_object_fini(&client->object, suspend); in nvkm_client_fini()
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Dregulator.txt26 : suspend to memory, the device goes to sleep, but all data stored in memory,
29 : suspend to disk, this state operates similarly to Suspend-to-RAM,
32 - regulator-on-in-suspend: regulator should be on in suspend state.
33 - regulator-off-in-suspend: regulator should be off in suspend state.
34 - regulator-suspend-microvolt: regulator should be set to this voltage
35 in suspend.
36 - regulator-mode: operating mode in the given suspend state.
64 regulator-on-in-suspend;
Dfan53555.txt8 - fcs,suspend-voltage-selector: declare which of the two available
9 voltage selector registers should be used for the suspend
22 fcs,suspend-voltage-selector = <1>;
Dmax77802.txt53 mode during system suspend. The standard regulator suspend states binding can
67 support changing their mode to Low Power Mode during suspend. These regulators
69 been enabled for the given suspend state using "regulator-on-in-suspend" and
70 has not been disabled for that state using "regulator-off-in-suspend".
99 regulator-on-in-suspend;
Dmax77686.txt29 Regulators which can be turned off during system suspend:
32 Use standard regulator bindings for it ('regulator-off-in-suspend').
Dact8865-regulator.txt69 regulator-suspend-mem-microvolt = <1150000>;
70 regulator-suspend-standby-microvolt = <1150000>;
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-power26 "mem" - "suspend-to-RAM", present if supported.
27 "standby" - "power-on suspend", present if supported.
28 "freeze" - "suspend-to-idle", always present.
33 "suspend-to-RAM", "power-on suspend" and "suspend-to-idle" mean.
40 suspend-to-disk mechanism. Reading from this file returns
42 sleep on the next suspend. There are four methods supported:
45 firmware will handle the system suspend.
55 two testing modes of the suspend-to-disk mechanism: 'testproc'
56 or 'test'. If the suspend-to-disk mechanism is in the
62 memory, suspend devices, wait for 5 seconds, resume devices,
[all …]
Dsysfs-devices-power15 from sleep states, such as the memory sleep state (suspend to
16 RAM) and hibernation (suspend to disk), and to enable or disable
59 enable or diasble the device's suspend and resume callbacks to
61 with the main suspend/resume thread) during system-wide power
62 transitions (eg. suspend to RAM, hibernation).
67 + "enabled\n" to permit the asynchronous suspend/resume;
73 It generally is unsafe to permit the asynchronous suspend/resume
192 drivers do not want their device to suspend as soon as it
219 This attribute has no effect on system-wide suspend/resume and
244 This attribute has no effect on runtime suspend and resume of
[all …]
Dsysfs-class-regulator257 implementing suspend voltage configuration constraints.
268 implementing suspend voltage configuration constraints.
279 implementing suspend voltage configuration constraints.
289 memory, for regulators implementing suspend mode
300 for regulators implementing suspend mode configuration
311 standby, for regulators implementing suspend mode
321 when suspended to memory, for regulators implementing suspend
335 suspend configuration constraints.
348 suspend configuration constraints.
Dsysfs-devices-platform-_UDC_-gadget5 Show the suspend state of an USB composite gadget.
/linux-4.4.14/drivers/gpu/drm/nouveau/
Dnv84_fence.c174 priv->suspend = vmalloc(priv->base.contexts * sizeof(u32)); in nv84_fence_suspend()
175 if (priv->suspend) { in nv84_fence_suspend()
177 priv->suspend[i] = nouveau_bo_rd32(priv->bo, i*4); in nv84_fence_suspend()
180 return priv->suspend != NULL; in nv84_fence_suspend()
189 if (priv->suspend) { in nv84_fence_resume()
191 nouveau_bo_wr32(priv->bo, i*4, priv->suspend[i]); in nv84_fence_resume()
192 vfree(priv->suspend); in nv84_fence_resume()
193 priv->suspend = NULL; in nv84_fence_resume()
226 priv->base.suspend = nv84_fence_suspend; in nv84_fence_create()
Dnouveau_fence.h55 bool (*suspend)(struct nouveau_drm *); member
101 u32 *suspend; member
/linux-4.4.14/drivers/pinctrl/samsung/
Dpinctrl-exynos.c691 .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,
[all …]
Dpinctrl-samsung.h196 void (*suspend)(struct samsung_pinctrl_drv_data *); member
235 void (*suspend)(struct samsung_pinctrl_drv_data *); member
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dbase.c293 nvkm_therm_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_therm_fini() argument
300 nvkm_therm_fan_fini(therm, suspend); in nvkm_therm_fini()
301 nvkm_therm_sensor_fini(therm, suspend); in nvkm_therm_fini()
303 if (suspend) { in nvkm_therm_fini()
304 therm->suspend = therm->mode; in nvkm_therm_fini()
330 if (therm->suspend >= 0) { in nvkm_therm_init()
332 if (therm->suspend > 0) in nvkm_therm_init()
335 nvkm_therm_fan_mode(therm, therm->suspend); in nvkm_therm_init()
380 therm->mode = therm->suspend = -1; /* undefined */ in nvkm_therm_new_()
Dpriv.h63 int nvkm_therm_fan_fini(struct nvkm_therm *, bool suspend);
72 int nvkm_therm_sensor_fini(struct nvkm_therm *, bool suspend);
Dtemp.c219 nvkm_therm_sensor_fini(struct nvkm_therm *therm, bool suspend) in nvkm_therm_sensor_fini() argument
222 if (suspend) in nvkm_therm_sensor_fini()
Dfan.c214 nvkm_therm_fan_fini(struct nvkm_therm *therm, bool suspend) in nvkm_therm_fan_fini() argument
217 if (suspend) in nvkm_therm_fan_fini()
/linux-4.4.14/Documentation/arm/Samsung/
DBootloader-interface.txt22 0x08 exynos_cpu_resume_ns, mcpm_entry_point System suspend
23 0x0c 0x00000bad (Magic cookie) System suspend
45 0x0800 exynos_cpu_resume AFTR, suspend
46 0x0800 mcpm_entry_point (Exynos542x with MCPM) AFTR, suspend
48 0x0804 0x00000bad (Magic cookie) System suspend
/linux-4.4.14/drivers/pnp/
Ddriver.c166 if (pnp_drv->driver.pm && pnp_drv->driver.pm->suspend) { in __pnp_bus_suspend()
167 error = pnp_drv->driver.pm->suspend(dev); in __pnp_bus_suspend()
168 suspend_report_result(pnp_drv->driver.pm->suspend, error); in __pnp_bus_suspend()
173 if (pnp_drv->suspend) { in __pnp_bus_suspend()
174 error = pnp_drv->suspend(pnp_dev, state); in __pnp_bus_suspend()
186 pnp_dev->protocol->suspend(pnp_dev, state); in __pnp_bus_suspend()
243 .suspend = pnp_bus_suspend,
Dcard.c395 return link->driver->suspend(link, state); in card_suspend()
423 drv->link.suspend = drv->suspend ? card_suspend : NULL; in pnp_register_card_driver()
/linux-4.4.14/include/linux/clk/
Dtegra.h51 void (*suspend)(void); member
109 if (WARN_ON(!tegra_cpu_car_ops->suspend)) in tegra_cpu_clock_suspend()
112 tegra_cpu_car_ops->suspend(); in tegra_cpu_clock_suspend()
/linux-4.4.14/drivers/net/phy/
Dsmsc.c172 .suspend = genphy_suspend,
195 .suspend = genphy_suspend,
218 .suspend = genphy_suspend,
240 .suspend = genphy_suspend,
263 .suspend = genphy_suspend,
Dmicrel.c645 .suspend = genphy_suspend,
662 .suspend = genphy_suspend,
679 .suspend = genphy_suspend,
696 .suspend = genphy_suspend,
713 .suspend = genphy_suspend,
730 .suspend = genphy_suspend,
746 .suspend = genphy_suspend,
762 .suspend = genphy_suspend,
776 .suspend = genphy_suspend,
791 .suspend = genphy_suspend,
[all …]
Dmarvell.c1001 .suspend = &genphy_suspend,
1016 .suspend = &genphy_suspend,
1031 .suspend = &genphy_suspend,
1046 .suspend = &genphy_suspend,
1061 .suspend = &genphy_suspend,
1078 .suspend = &genphy_suspend,
1093 .suspend = &genphy_suspend,
1108 .suspend = &genphy_suspend,
1123 .suspend = &genphy_suspend,
1138 .suspend = &genphy_suspend,
[all …]
Drealtek.c149 .suspend = genphy_suspend,
162 .suspend = genphy_suspend,
176 .suspend = genphy_suspend,
Dicplus.c222 .suspend = genphy_suspend,
234 .suspend = genphy_suspend,
248 .suspend = genphy_suspend,
Dbcm7xxx.c347 .suspend = bcm7xxx_suspend,
360 .suspend = bcm7xxx_suspend,
373 .suspend = bcm7xxx_suspend,
386 .suspend = bcm7xxx_suspend,
Dste10Xp.c96 .suspend = genphy_suspend,
110 .suspend = genphy_suspend,
Dat803x.c305 .suspend = at803x_suspend,
326 .suspend = at803x_suspend,
347 .suspend = at803x_suspend,
Ddp83848.c83 .suspend = genphy_suspend,
/linux-4.4.14/arch/arm/mach-shmobile/
Dpm-rmobile.c53 if (rmobile_pd->suspend) { in rmobile_pd_power_down()
54 int ret = rmobile_pd->suspend(); in rmobile_pd_power_down()
264 pd->suspend = rmobile_pd_suspend_busy; in rmobile_setup_pm_domain()
270 pd->suspend = rmobile_pd_suspend_console; in rmobile_setup_pm_domain()
281 pd->suspend = rmobile_pd_suspend_busy; in rmobile_setup_pm_domain()
291 pd->suspend = rmobile_pd_suspend_busy; in rmobile_setup_pm_domain()
Dpm-rmobile.h18 int (*suspend)(void); member
/linux-4.4.14/arch/powerpc/sysdev/
Dppc4xx_cpm.c57 unsigned int suspend; member
208 return !!cpm.suspend; in cpm_suspend_valid()
236 cpm_suspend_standby(cpm.suspend); in cpm_suspend_enter()
317 cpm.suspend = cpm_get_uint_property(np, "suspend"); in cpm_init()
331 if (cpm.standby || cpm.suspend) in cpm_init()
/linux-4.4.14/Documentation/frv/
Dclock.txt40 PM-Controls: cmode=0xd31f, cm=0x3, p0=0x3, suspend=0x9
53 PM-Controls: cm=0x3, p0=0x3, suspend=0x9
58 "suspend=0x9" indicates that 0 and 3 can be written validly to
59 /proc/sys/pm/suspend.
64 the file can be read, then the suspend value must be 0, and so that's not
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/4xx/
Dcpm.txt28 - suspend : specifier consist of one cell. For each
30 in CPM will be set on suspend (mem) and
32 and suspend the corresponding bits can
51 suspend = <0xfeff791d>;
/linux-4.4.14/drivers/net/usb/
Dhuawei_cdc_ncm.c145 drvstate->subdriver->suspend) in huawei_cdc_ncm_suspend()
146 ret = drvstate->subdriver->suspend(intf, message); in huawei_cdc_ncm_suspend()
174 drvstate->subdriver->suspend(intf, PMSG_SUSPEND); in huawei_cdc_ncm_resume()
215 .suspend = huawei_cdc_ncm_suspend,
Dcdc_mbim.c523 if (intf == ctx->control && info->subdriver && info->subdriver->suspend) in cdc_mbim_suspend()
524 ret = info->subdriver->suspend(intf, message); in cdc_mbim_suspend()
546 info->subdriver->suspend(intf, PMSG_SUSPEND); in cdc_mbim_resume()
643 .suspend = cdc_mbim_suspend,
Dqmi_wwan.c348 info->subdriver->suspend) in qmi_wwan_suspend()
349 ret = info->subdriver->suspend(intf, message); in qmi_wwan_suspend()
370 info->subdriver->suspend(intf, PMSG_SUSPEND); in qmi_wwan_resume()
855 .suspend = qmi_wwan_suspend,
Dplusb.c153 .suspend = usbnet_suspend,
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dpci.c1578 nvkm_device_pci_fini(struct nvkm_device *device, bool suspend) in nvkm_device_pci_fini() argument
1581 if (suspend) { in nvkm_device_pci_fini()
1583 pdev->suspend = true; in nvkm_device_pci_fini()
1591 if (pdev->suspend) { in nvkm_device_pci_preinit()
1596 pdev->suspend = false; in nvkm_device_pci_preinit()
Dpriv.h49 int nvkm_device_fini(struct nvkm_device *, bool suspend);
Duser.c213 nvkm_udevice_fini(struct nvkm_object *object, bool suspend) in nvkm_udevice_fini() argument
221 ret = nvkm_device_fini(device, suspend); in nvkm_udevice_fini()
222 if (ret && suspend) { in nvkm_udevice_fini()
/linux-4.4.14/Documentation/arm/Samsung-S3C24XX/
DSuspend.txt8 The S3C24XX supports a low-power suspend mode, where the SDRAM is kept
24 time require suspend/resume support.
84 There are several important things to remember when using PM suspend:
105 aspects of how the S3C2410 suspend and resume support is configured
110 the actual suspend, giving detailed information on what is
117 suspend to see if there has been any corruption of the contents.
/linux-4.4.14/Documentation/ABI/obsolete/
Dsysfs-bus-usb18 If you want to suspend a device immediately but leave it
22 Device not capable of proper suspend and resume should be
24 devices to support suspend/resume, many of them do not.
/linux-4.4.14/Documentation/usb/
Dpower-management.txt42 the system, we speak of it as a "system suspend". When a particular
44 call it a "dynamic suspend" (also known as a "runtime suspend" or
45 "selective suspend"). This document concentrates mostly on how
98 Dynamic suspends occur when the kernel decides to suspend an idle
120 agent outside the USB stack: system suspend/resume (triggered by
124 all dynamic suspend events are internal; external agents are not
152 effect until the following suspend.)
168 "suspend", meaning that the device should remain
242 support it very well. You can suspend them all right, but when you
266 If a driver knows that its device has proper suspend/resume support,
[all …]
Dpersist.txt1 USB device persistence during system suspend
11 bus must continue to supply suspend current (around 1-5 mA). This
18 conservative approach; in the absence of suspend current the computer
24 controller loses power during a system suspend, then when the system
45 even though suspend current may have been maintained while the system
54 suspend-to-RAM. On almost all systems, no suspend current is
55 available during hibernation (also known as swsusp or suspend-to-disk).
/linux-4.4.14/Documentation/devicetree/bindings/mmc/
Dti-omap-hsmmc.txt64 while in suspend.
76 In suspend the fclk is off and the module is disfunctional. Even register reads
80 suspend.
82 The workaround is to reconfigure the dat1 line as a GPIO upon suspend. To make
91 3. specify the gpio irq used for detecting sdio irq in suspend
/linux-4.4.14/net/mac80211/
Dpm.c23 goto suspend; in __ieee80211_suspend()
137 goto suspend; in __ieee80211_suspend()
184 suspend: in __ieee80211_suspend()
/linux-4.4.14/drivers/net/
Dsungem_phy.c891 .suspend = bcm5201_suspend,
909 .suspend = bcm5221_suspend,
928 .suspend = bcm5241_suspend,
947 .suspend = bcm5400_suspend,
966 .suspend = bcm5401_suspend,
985 .suspend = generic_suspend,
1004 .suspend = generic_suspend,
1024 .suspend = generic_suspend,
1042 .suspend = generic_suspend,
1062 .suspend = generic_suspend,
[all …]
/linux-4.4.14/tools/testing/selftests/powerpc/tm/
Dtm-syscall.c46 pid_t getppid_tm(bool suspend) in getppid_tm() argument
52 if (suspend) in getppid_tm()
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
Dpm.c62 if (wil->platform_ops.suspend) in wil_suspend()
63 rc = wil->platform_ops.suspend(wil->platform_handle); in wil_suspend()
Dwil_platform.h27 int (*suspend)(void *handle); member
/linux-4.4.14/arch/arm/kernel/
Dcpuidle.c58 if (cpuidle_ops[cpu].suspend) in arm_cpuidle_suspend()
59 ret = cpuidle_ops[cpu].suspend(cpu, index); in arm_cpuidle_suspend()
Dsleep.S72 stmfd sp!, {r0, r1} @ save suspend func arg and pointer
85 ldmfd sp!, {r0, pc} @ call suspend fn
/linux-4.4.14/Documentation/devicetree/bindings/usb/
Ddwc3.txt37 - snps,dis_u3_susphy_quirk: when set core will disable USB3 suspend phy.
38 - snps,dis_u2_susphy_quirk: when set core will disable USB2 suspend phy.
40 disabling the suspend signal to the PHY.
41 - snps,is-utmi-l1-suspend: true when DWC3 asserts output signal
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dirq-pm.c104 .suspend = s3c24xx_irq_suspend,
126 .suspend = s3c2416_irq_suspend,
Ds3c244x.c132 .suspend = s3c244x_suspend,
Dpm-s3c2412.c129 .suspend = s3c2412_pm_suspend,
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dhif.h88 int (*suspend)(struct ath10k *ar); member
170 if (!ar->hif.ops->suspend) in ath10k_hif_suspend()
173 return ar->hif.ops->suspend(ar); in ath10k_hif_suspend()
/linux-4.4.14/drivers/mfd/
Dtc6387xb.c53 if (pdata && pdata->suspend) in tc6387xb_suspend()
54 pdata->suspend(dev); in tc6387xb_suspend()
231 .suspend = tc6387xb_suspend,
Dintel-lpss.h39 .suspend = intel_lpss_suspend, \
Dt7l66xb.c278 if (pdata && pdata->suspend) in t7l66xb_suspend()
279 pdata->suspend(dev); in t7l66xb_suspend()
427 .suspend = t7l66xb_suspend,
Dwm831x-i2c.c89 .suspend = wm831x_i2c_suspend,
/linux-4.4.14/Documentation/devicetree/bindings/arm/tegra/
Dnvidia,tegra20-pmc.txt27 - nvidia,suspend-mode : The suspend mode that the platform should use.
38 Required properties when nvidia,suspend-mode is specified:
45 Required properties when nvidia,suspend-mode=<0>:
80 nvidia,suspend-mode = <1>;
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dbase.c69 nvkm_devinit_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_devinit_fini() argument
73 if (suspend) in nvkm_devinit_fini()
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/core/
Dsubdev.h21 int (*fini)(struct nvkm_subdev *, bool suspend);
31 int nvkm_subdev_fini(struct nvkm_subdev *, bool suspend);
Dobject.h27 int (*fini)(struct nvkm_object *, bool suspend);
52 int nvkm_object_fini(struct nvkm_object *, bool suspend);
Dpci.h8 bool suspend; member
Doproxy.h15 int (*fini[2])(struct nvkm_oproxy *, bool suspend);
Dengine.h20 int (*fini)(struct nvkm_engine *, bool suspend);
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_asic.c199 .suspend = &r100_suspend,
267 .suspend = &r100_suspend,
363 .suspend = &r300_suspend,
431 .suspend = &r300_suspend,
499 .suspend = &r420_suspend,
567 .suspend = &rs400_suspend,
635 .suspend = &rs600_suspend,
703 .suspend = &rs690_suspend,
771 .suspend = &rv515_suspend,
839 .suspend = &rv515_suspend,
[all …]
/linux-4.4.14/arch/arm/mach-pxa/
Deseries.c140 .suspend = &eseries_tmio_suspend,
191 .suspend = &eseries_tmio_suspend,
310 .suspend = &eseries_tmio_suspend,
499 .suspend = &eseries_tmio_suspend,
697 .suspend = &eseries_tmio_suspend,
913 .suspend = &eseries_tmio_suspend,
Dmfp-pxa3xx.c57 .suspend = pxa3xx_mfp_suspend,
Dsmemc.c48 .suspend = pxa3xx_smemc_suspend,
/linux-4.4.14/include/linux/usb/
Dphy.h111 int suspend);
278 usb_phy_set_suspend(struct usb_phy *x, int suspend) in usb_phy_set_suspend() argument
281 return x->set_suspend(x, suspend); in usb_phy_set_suspend()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dchan.c39 nvkm_fifo_chan_child_fini(struct nvkm_oproxy *base, bool suspend) in nvkm_fifo_chan_child_fini() argument
53 ret = chan->func->engine_fini(chan, engine, suspend); in nvkm_fifo_chan_child_fini()
62 ret = nvkm_object_fini(engn->object, suspend); in nvkm_fifo_chan_child_fini()
63 if (ret && suspend) in nvkm_fifo_chan_child_fini()
295 nvkm_fifo_chan_fini(struct nvkm_object *object, bool suspend) in nvkm_fifo_chan_fini() argument
Dchan.h16 bool suspend);
Dchang84.c91 struct nvkm_engine *engine, bool suspend) in g84_fifo_chan_engine_fini() argument
116 if (suspend) in g84_fifo_chan_engine_fini()
Dchannv50.c47 struct nvkm_engine *engine, bool suspend) in nv50_fifo_chan_engine_fini() argument
82 if (suspend) in nv50_fifo_chan_engine_fini()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dbh.c426 int rx, tx, term, suspend; in cw1200_bh() local
463 suspend = pending_tx ? in cw1200_bh()
465 (rx || tx || term || suspend || priv->bh_error); in cw1200_bh()
469 rx, tx, term, suspend, priv->bh_error, status); in cw1200_bh()
521 } else if (suspend) { in cw1200_bh()
Dcw1200_sdio.c259 static int cw1200_sdio_pm(struct hwbus_priv *self, bool suspend) in cw1200_sdio_pm() argument
264 ret = irq_set_irq_wake(self->pdata->irq, suspend); in cw1200_sdio_pm()
370 .suspend = cw1200_sdio_suspend,
Dhwbus.h30 int (*power_mgmt)(struct hwbus_priv *self, bool suspend);
/linux-4.4.14/drivers/memstick/core/
DKconfig11 cards stayed in their respective slots during the suspend. The
12 normal behaviour is to remove them at suspend and
/linux-4.4.14/Documentation/arm/sunxi/
Dclocks.txt13 simplified suspend example:
25 When you are about to suspend, you switch the CPU Mux to the 32kHz
/linux-4.4.14/drivers/parport/
Dparport_ax88796.c37 struct parport_state suspend; member
391 parport_ax88796_save_state(p, &dd->suspend); in parport_ax88796_suspend()
401 parport_ax88796_restore_state(p, &dd->suspend); in parport_ax88796_resume()
418 .suspend = parport_ax88796_suspend,
/linux-4.4.14/drivers/pci/
Dpci-driver.c554 if (drv && drv->suspend) { in pci_legacy_suspend()
558 error = drv->suspend(pci_dev, state); in pci_legacy_suspend()
559 suspend_report_result(drv->suspend, error); in pci_legacy_suspend()
567 drv->suspend); in pci_legacy_suspend()
650 bool ret = drv && (drv->suspend || drv->suspend_late || drv->resume in pci_has_legacy_pm_support()
724 if (pm->suspend) { in pci_pm_suspend()
728 error = pm->suspend(dev); in pci_pm_suspend()
729 suspend_report_result(pm->suspend, error); in pci_pm_suspend()
737 pm->suspend); in pci_pm_suspend()
1238 .suspend = pci_pm_suspend,
/linux-4.4.14/include/linux/
Dserial_max3100.h48 void (*max3100_hw_suspend) (int suspend);
Dsyscore_ops.h16 int (*suspend)(void); member
Dpda_power.h27 int (*suspend)(pm_message_t state); member
Disa.h16 int (*suspend)(struct device *, unsigned int, pm_message_t); member
Dpnp.h325 #define pnp_can_suspend(dev) (((dev)->protocol->suspend) && \
385 int (*suspend) (struct pnp_dev *dev, pm_message_t state); member
400 int (*suspend) (struct pnp_card_link *card, pm_message_t state); member
426 int (*suspend) (struct pnp_dev * dev, pm_message_t state); member
Dolpc-ec.h22 int (*suspend)(struct platform_device *); member
Dpcieport_if.h48 int (*suspend) (struct pcie_device *dev); member
Dplatform_device.h178 int (*suspend)(struct platform_device *, pm_message_t state); member
355 .suspend = platform_pm_suspend, \
Dsungem_phy.h10 int (*suspend)(struct mii_phy *phy); member
/linux-4.4.14/drivers/scsi/
Dscsi_pm.c23 return pm && pm->suspend ? pm->suspend(dev) : 0; in do_scsi_suspend()
335 .suspend = scsi_bus_suspend,
/linux-4.4.14/Documentation/devicetree/bindings/arm/
Dpsci.txt8 Issue A of the specification describes functions for CPU suspend, hotplug
60 - arm,psci-suspend-param
66 suspend call.
/linux-4.4.14/include/linux/mfd/
Dtc6387xb.h16 int (*suspend)(struct platform_device *dev); member
Dt7l66xb.h20 int (*suspend)(struct platform_device *dev); member
Dtc6393xb.h29 int (*suspend)(struct platform_device *dev); member
Dcore.h41 int (*suspend)(struct platform_device *dev); member
/linux-4.4.14/arch/arm/mach-pxa/include/mach/
Daudio.h21 void (*suspend)(void *); member
/linux-4.4.14/drivers/video/fbdev/exynos/
Dexynos_mipi_dsi.c125 if (client_drv && client_drv->suspend) in exynos_mipi_dsi_early_blank_mode()
126 client_drv->suspend(client_dev); in exynos_mipi_dsi_early_blank_mode()
506 if (client_drv && client_drv->suspend) in exynos_mipi_dsi_suspend()
507 client_drv->suspend(client_dev); in exynos_mipi_dsi_suspend()
/linux-4.4.14/Documentation/DocBook/
Dregulator.xml.db53 API-regulator-suspend-prepare
54 API-regulator-suspend-finish
/linux-4.4.14/Documentation/zh_CN/
DSubmittingDrivers103 .suspend 和 .resume 函数。你应该检查你的驱动程序是否能正
104 确地处理休眠与唤醒,如果实在无法确认,请至少把 .suspend
/linux-4.4.14/sound/isa/ad1848/
Dad1848.c145 chip->suspend(chip); in snd_ad1848_suspend()
165 .suspend = snd_ad1848_suspend,
/linux-4.4.14/Documentation/trace/
Devents-power.txt7 o Power state switch which reports events related to suspend (S-states),
29 A suspend event is used to indicate the system going in and out of the
30 suspend mode:
/linux-4.4.14/tools/testing/selftests/timers/
D.gitignore1 alarmtimer-suspend
/linux-4.4.14/Documentation/devicetree/bindings/opp/
Dopp.txt123 - opp-suspend: Marks the OPP to be used during device suspend. Only one OPP in
165 opp-suspend;
244 opp-suspend;
320 opp-suspend;
346 opp-suspend;
/linux-4.4.14/drivers/leds/
Dleds-asic3.c144 if (cell->suspend) in asic3_led_suspend()
145 ret = (*cell->suspend)(pdev); in asic3_led_suspend()
/linux-4.4.14/arch/arm/include/asm/
Dfirmware.h51 int (*suspend)(void); member
Dcpuidle.h33 int (*suspend)(int cpu, unsigned long arg); member
/linux-4.4.14/arch/powerpc/kernel/
Dibmebus.c425 if (dev->driver && drv->suspend) in ibmebus_bus_legacy_suspend()
426 ret = drv->suspend(of_dev, mesg); in ibmebus_bus_legacy_suspend()
471 if (drv->pm->suspend) in ibmebus_bus_pm_suspend()
472 ret = drv->pm->suspend(dev); in ibmebus_bus_pm_suspend()
693 .suspend = ibmebus_bus_pm_suspend,
/linux-4.4.14/arch/arm/mach-integrator/
Dlm.h13 int (*suspend)(struct lm_device *, pm_message_t); member
/linux-4.4.14/sound/isa/cs423x/
Dcs4231.c161 chip->suspend(chip); in snd_cs4231_suspend()
181 .suspend = snd_cs4231_suspend,
Dcs4236.c514 acard->chip->suspend(acard->chip); in snd_cs423x_suspend()
543 .suspend = snd_cs423x_isa_suspend,
620 .suspend = snd_cs423x_pnp_suspend,
682 .suspend = snd_cs423x_pnpc_suspend,
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvif/
Ddriver.h9 int (*suspend)(void *priv); member
/linux-4.4.14/drivers/usb/phy/
Dphy-gpio-vbus-usb.c229 static int gpio_vbus_set_suspend(struct usb_phy *phy, int suspend) in gpio_vbus_set_suspend() argument
241 return gpio_vbus_set_power(phy, suspend ? 0 : gpio_vbus->mA); in gpio_vbus_set_suspend()
375 .suspend = gpio_vbus_pm_suspend,
/linux-4.4.14/drivers/usb/host/
Dohci-tmio.c316 if (cell->suspend) { in ohci_hcd_tmio_drv_suspend()
317 ret = cell->suspend(dev); in ohci_hcd_tmio_drv_suspend()
367 .suspend = ohci_hcd_tmio_drv_suspend,
/linux-4.4.14/drivers/misc/
Dtifm_core.c119 if (dev->driver && drv->suspend) in tifm_device_suspend()
120 return drv->suspend(sock, state); in tifm_device_suspend()
163 .suspend = tifm_device_suspend,
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/phy/
Dphy_lcn.c2866 bool suspend, tx_gain_override_old; in wlc_lcnphy_idle_tssi_est() local
2880 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_lcnphy_idle_tssi_est()
2882 if (!suspend) in wlc_lcnphy_idle_tssi_est()
2933 if (!suspend) in wlc_lcnphy_idle_tssi_est()
2939 bool suspend; in wlc_lcnphy_vbat_temp_sense_setup() local
2962 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_lcnphy_vbat_temp_sense_setup()
2964 if (!suspend) in wlc_lcnphy_vbat_temp_sense_setup()
3074 if (!suspend) in wlc_lcnphy_vbat_temp_sense_setup()
3086 bool suspend; in wlc_lcnphy_tx_pwr_ctrl_init() local
3089 suspend = (0 == (bcma_read32(pi->d11core, D11REGOFFS(maccontrol)) & in wlc_lcnphy_tx_pwr_ctrl_init()
[all …]
/linux-4.4.14/drivers/staging/nvec/
DTODO5 - finish suspend/resume support
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/
Dxtensa.c79 nvkm_xtensa_fini(struct nvkm_engine *engine, bool suspend) in nvkm_xtensa_fini() argument
88 if (!suspend) in nvkm_xtensa_fini()
/linux-4.4.14/drivers/power/
Dpda_power.c464 if (pdata->suspend) { in pda_power_suspend()
465 int ret = pdata->suspend(state); in pda_power_suspend()
506 .suspend = pda_power_suspend,
/linux-4.4.14/sound/arm/
Dpxa2xx-ac97.c129 if (platform_ops && platform_ops->suspend) in pxa2xx_ac97_do_suspend()
130 platform_ops->suspend(platform_ops->priv); in pxa2xx_ac97_do_suspend()
/linux-4.4.14/drivers/gpu/drm/amd/include/
Damd_shared.h102 int (*suspend)(void *handle); member
/linux-4.4.14/drivers/video/fbdev/omap/
Dlcd_inn1510.c105 .suspend = innovator1510_panel_suspend,
Dlcd_htcherald.c110 .suspend = htcherald_panel_suspend,
Dlcd_palmz71.c104 .suspend = palmz71_panel_suspend,
Dlcd_palmtt.c108 .suspend = palmtt_panel_suspend,
Dlcd_palmte.c102 .suspend = palmte_panel_suspend,
Dlcd_osk.c125 .suspend = osk_panel_suspend,
Dlcd_inn1610.c126 .suspend = innovator1610_panel_suspend,
Dlcd_h3.c119 .suspend = h3_panel_suspend,
/linux-4.4.14/drivers/net/ethernet/ibm/emac/
Dphy.h34 int (*suspend) (struct mii_phy * phy, int wol_options); member
/linux-4.4.14/drivers/staging/wilc1000/
DTODO12 - support resume/suspend function
/linux-4.4.14/drivers/thermal/
Ddb8500_cpufreq_cooling.c84 .suspend = db8500_cpufreq_cooling_suspend,
/linux-4.4.14/drivers/soc/brcmstb/
Dbiuctrl.c95 .suspend = brcmstb_cpu_credit_reg_suspend,
/linux-4.4.14/drivers/mmc/host/
Dsdhci-pci.h66 int (*suspend) (struct sdhci_pci_chip *); member
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dpmc.txt40 and cleared on suspend, and restored on resume. This sleep controller
44 which will be ORed into PMCDR upon suspend, and cleared from PMCDR
/linux-4.4.14/Documentation/sound/alsa/soc/
Dmachine.txt43 suspend()/resume()
45 The machine driver has pre and post versions of suspend and resume to take care
/linux-4.4.14/net/mac802154/
Dcfg.c53 goto suspend; in ieee802154_suspend()
61 suspend: in ieee802154_suspend()
461 .suspend = ieee802154_suspend,
/linux-4.4.14/drivers/mtd/nand/
Dtmio_nand.c469 if (cell->suspend) in tmio_suspend()
470 cell->suspend(dev); in tmio_suspend()
500 .suspend = tmio_suspend,
/linux-4.4.14/drivers/ata/
Dpata_netcell.c96 .suspend = ata_pci_device_suspend,
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dtherm.h58 int suspend; member
/linux-4.4.14/Documentation/
DSubmittingDrivers92 necessary, the .suspend and .resume methods used during the
93 system-wide suspend and resume transitions. You should verify
94 that your driver correctly handles the suspend and resume, but
96 .suspend method returning the -ENOSYS ("Function not
Dcpu-hotplug.txt35 A more novel use of CPU-hotplug support is its use today in suspend
38 for suspend/resume is a work in progress.
133 You would need to enable CONFIG_HOTPLUG_CPU for SMP suspend/resume support
217 1. Resume from hibernate/suspend depends on CPU0. Hibernate/suspend will fail if
218 CPU0 is offline and you need to online CPU0 before hibernate/suspend can
248 CPU is being offlined while tasks are frozen due to a suspend operation in
258 CPU_DEAD (or CPU_DEAD_FROZEN if tasks are frozen due to a suspend while the
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
Dkfd_module.c43 .suspend = kgd2kfd_suspend,
/linux-4.4.14/sound/pci/emu10k1/
Demu10k1.c220 emu->suspend = 1; in snd_emu10k1_suspend()
252 emu->suspend = 0; in snd_emu10k1_resume()
/linux-4.4.14/drivers/base/power/
Dgeneric_ops.c104 return pm && pm->suspend ? pm->suspend(dev) : 0; in pm_generic_suspend()
/linux-4.4.14/drivers/video/backlight/
Dili9320.c271 if (lcd->platdata->suspend == ILI9320_SUSPEND_DEEP) { in ili9320_suspend()
286 if (lcd->platdata->suspend == ILI9320_SUSPEND_DEEP) in ili9320_resume()
/linux-4.4.14/drivers/scsi/ufs/
Dufshcd.h283 int (*suspend)(struct ufs_hba *, enum ufs_pm_op); member
771 if (hba->vops && hba->vops->suspend) in ufshcd_vops_suspend()
772 return hba->vops->suspend(hba, op); in ufshcd_vops_suspend()
/linux-4.4.14/sound/aoa/soundbus/i2sbus/
Dcore.c389 if (cii->codec->suspend) in i2sbus_suspend()
390 err = cii->codec->suspend(cii, state); in i2sbus_suspend()
441 .suspend = i2sbus_suspend,
/linux-4.4.14/Documentation/driver-model/
Ddriver.txt37 .suspend = eepro100_suspend,
69 .suspend = eepro100_suspend,
181 int (*suspend) (struct device * dev, pm_message_t state);
183 suspend is called to put the device in a low power state.
/linux-4.4.14/drivers/leds/trigger/
Dledtrig-cpu.c92 .suspend = ledtrig_cpu_syscore_suspend,
/linux-4.4.14/drivers/staging/iio/adc/
Dad7606_spi.c85 .suspend = ad7606_spi_suspend,
/linux-4.4.14/net/ieee802154/
Dsysfs.c73 if (rdev->ops->suspend) { in wpan_phy_suspend()
/linux-4.4.14/include/video/
Dw100fb.h27 void (*suspend)(struct w100fb_par*); member
/linux-4.4.14/Documentation/devicetree/bindings/interrupt-controller/
Dbrcm,l2-intc.txt18 wakeup source for system suspend/resume.
/linux-4.4.14/drivers/platform/olpc/
Dolpc-ec.c295 if (ec_driver->suspend) in olpc_ec_suspend()
296 err = ec_driver->suspend(pdev); in olpc_ec_suspend()
/linux-4.4.14/Documentation/mic/
Dmic_overview.txt8 host driver supports OSPM suspend and resume operations. It shuts down
9 the card during suspend and reboots the card OS during resume.
/linux-4.4.14/arch/arm/mach-s3c64xx/
Dirq-pm.c109 .suspend = s3c64xx_irq_pm_suspend,
/linux-4.4.14/drivers/staging/fsl-mc/include/
Dmc.h44 int (*suspend)(struct fsl_mc_device *dev, pm_message_t state); member

12345678