Home
last modified time | relevance | path

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

12345678

/linux-4.1.27/arch/arm/boot/dts/
Drk3288-evb-rk808.dts67 regulator-off-in-suspend;
78 regulator-on-in-suspend;
79 regulator-suspend-microvolt = <1000000>;
88 regulator-on-in-suspend;
99 regulator-on-in-suspend;
100 regulator-suspend-microvolt = <3300000>;
111 regulator-on-in-suspend;
112 regulator-suspend-microvolt = <3300000>;
123 regulator-off-in-suspend;
134 regulator-on-in-suspend;
[all …]
Drk3288-popmetal.dts184 regulator-off-in-suspend;
195 regulator-on-in-suspend;
196 regulator-suspend-microvolt = <1000000>;
205 regulator-on-in-suspend;
216 regulator-on-in-suspend;
217 regulator-suspend-microvolt = <3300000>;
228 regulator-on-in-suspend;
229 regulator-suspend-microvolt = <3300000>;
240 regulator-off-in-suspend;
251 regulator-on-in-suspend;
[all …]
Dexynos3250-rinato.dts245 regulator-on-in-suspend;
256 regulator-off-in-suspend;
267 regulator-off-in-suspend;
278 regulator-off-in-suspend;
289 regulator-off-in-suspend;
300 regulator-off-in-suspend;
311 regulator-off-in-suspend;
322 regulator-off-in-suspend;
333 regulator-on-in-suspend;
343 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 …]
Dexynos4412-trats2.dts240 regulator-on-in-suspend;
275 regulator-on-in-suspend;
286 regulator-on-in-suspend;
296 regulator-off-in-suspend;
313 regulator-off-in-suspend;
324 regulator-off-in-suspend;
334 regulator-off-in-suspend;
352 regulator-off-in-suspend;
362 regulator-on-in-suspend;
372 regulator-on-in-suspend;
[all …]
Dimx6sx-sabreauto.dts54 keep-power-in-suspend;
66 keep-power-in-suspend;
Drk3288-evb-act8846.dts29 fcs,suspend-voltage-selector = <1>;
41 fcs,suspend-voltage-selector = <1>;
/linux-4.1.27/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
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/
Dbase.c80 _nvkm_instmem_fini(struct nvkm_object *object, bool suspend) in _nvkm_instmem_fini() argument
86 if (suspend) { in _nvkm_instmem_fini()
89 iobj->suspend = vmalloc(iobj->size); in _nvkm_instmem_fini()
90 if (!iobj->suspend) { in _nvkm_instmem_fini()
96 iobj->suspend[i / 4] = nv_ro32(iobj, i); in _nvkm_instmem_fini()
103 return nvkm_subdev_fini(&imem->base, suspend); in _nvkm_instmem_fini()
119 if (iobj->suspend) { in _nvkm_instmem_init()
121 nv_wo32(iobj, i, iobj->suspend[i / 4]); in _nvkm_instmem_init()
122 vfree(iobj->suspend); in _nvkm_instmem_init()
123 iobj->suspend = NULL; in _nvkm_instmem_init()
Dnv50.c135 nv50_instmem_fini(struct nvkm_object *object, bool suspend) in nv50_instmem_fini() argument
139 return nvkm_instmem_fini(&priv->base, suspend); in nv50_instmem_fini()
/linux-4.1.27/drivers/regulator/
Dda9063-regulator.c47 struct reg_field suspend; member
112 struct regmap_field *suspend; member
253 ret = regmap_field_read(regl->suspend, &val); in da9063_buck_get_mode()
306 ret = regmap_field_read(regl->suspend, &val); in da9063_ldo_get_mode()
382 return regmap_field_write(regl->suspend, 1); in da9063_suspend_enable()
389 return regmap_field_write(regl->suspend, 0); in 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),
[all …]
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/
Dhandle.c64 nvkm_handle_fini(struct nvkm_handle *handle, bool suspend) in nvkm_handle_fini() argument
70 hprintk(handle, TRACE, "%s children\n", name[suspend]); in nvkm_handle_fini()
72 ret = nvkm_handle_fini(item, suspend); in nvkm_handle_fini()
73 if (ret && suspend) in nvkm_handle_fini()
77 hprintk(handle, TRACE, "%s running\n", name[suspend]); in nvkm_handle_fini()
79 ret = nvkm_object_dec(handle->object, suspend); in nvkm_handle_fini()
80 if (ret && suspend) in nvkm_handle_fini()
84 hprintk(handle, TRACE, "%s completed\n", name[suspend]); in nvkm_handle_fini()
87 hprintk(handle, ERROR, "%s failed with %d\n", name[suspend], ret); in nvkm_handle_fini()
Dsubdev.c65 nvkm_subdev_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_subdev_fini() argument
72 return nvkm_object_fini(&subdev->object, suspend); in nvkm_subdev_fini()
76 _nvkm_subdev_fini(struct nvkm_object *object, bool suspend) in _nvkm_subdev_fini() argument
78 return nvkm_subdev_fini(nv_subdev(object), suspend); in _nvkm_subdev_fini()
Dclient.c244 nvkm_client_fini(struct nvkm_client *client, bool suspend) in nvkm_client_fini() argument
248 nv_debug(client, "%s running\n", name[suspend]); in nvkm_client_fini()
249 nv_debug(client, "%s notify\n", name[suspend]); in nvkm_client_fini()
252 nv_debug(client, "%s object\n", name[suspend]); in nvkm_client_fini()
253 ret = nvkm_handle_fini(client->root, suspend); in nvkm_client_fini()
254 nv_debug(client, "%s completed with %d\n", name[suspend], ret); in nvkm_client_fini()
Dengctx.c156 nvkm_engctx_fini(struct nvkm_engctx *engctx, bool suspend) in nvkm_engctx_fini() argument
168 ret = nv_parent(parent)->context_detach(parent, suspend, object); in nvkm_engctx_fini()
179 return nvkm_gpuobj_fini(&engctx->gpuobj, suspend); in nvkm_engctx_fini()
209 _nvkm_engctx_fini(struct nvkm_object *object, bool suspend) in _nvkm_engctx_fini() argument
211 return nvkm_engctx_fini(nv_engctx(object), suspend); in _nvkm_engctx_fini()
Dobject.c89 nvkm_object_fini(struct nvkm_object *object, bool suspend) in nvkm_object_fini() argument
291 nvkm_object_dec(struct nvkm_object *object, bool suspend) in nvkm_object_dec() argument
299 if (suspend) in nvkm_object_dec()
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/regulator/
Dregulator.txt23 : suspend to memory, the device goes to sleep, but all data stored in memory,
26 : suspend to disk, this state operates similarly to Suspend-to-RAM,
29 - regulator-on-in-suspend: regulator should be on in suspend state.
30 - regulator-off-in-suspend: regulator should be off in suspend state.
31 - regulator-suspend-microvolt: regulator should be set to this voltage
32 in suspend.
33 - regulator-mode: operating mode in the given suspend state.
57 regulator-on-in-suspend;
Dmax77802.txt32 mode during system suspend. The standard regulator suspend states binding can
46 support changing their mode to Low Power Mode during suspend. These regulators
48 been enabled for the given suspend state using "regulator-on-in-suspend" and
49 has not been disabled for that state using "regulator-off-in-suspend".
76 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>;
Dact8865-regulator.txt66 regulator-suspend-mem-microvolt = <1150000>;
67 regulator-suspend-standby-microvolt = <1150000>;
/linux-4.1.27/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.
25 bool "Hibernation (aka 'suspend to disk')"
32 Enable the suspend to disk (STD) functionality, which is usually
36 You can suspend your machine with 'echo disk > /sys/power/state'
41 from <http://suspend.sf.net>.
45 of the reasons to use software suspend is that the firmware hooks
46 for suspend states like suspend-to-RAM (STR) often don't work very
[all …]
/linux-4.1.27/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-class-mic.txt47 during OSPM suspend.
52 suspend. On reading this entry, a "suspend" has to be written
54 OSPM suspend.
65 "suspend" - Initiates card OS shutdown and also marks the card
Dsysfs-devices-platform-_UDC_-gadget5 Show the suspend state of an USB composite gadget.
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
Dbase.c295 if (priv->suspend >= 0) { in _nvkm_therm_init()
297 if (priv->suspend > 0) in _nvkm_therm_init()
300 nvkm_therm_fan_mode(therm, priv->suspend); in _nvkm_therm_init()
308 _nvkm_therm_fini(struct nvkm_object *object, bool suspend) in _nvkm_therm_fini() argument
313 nvkm_therm_fan_fini(therm, suspend); in _nvkm_therm_fini()
314 nvkm_therm_sensor_fini(therm, suspend); in _nvkm_therm_fini()
315 if (suspend) { in _nvkm_therm_fini()
316 priv->suspend = priv->mode; in _nvkm_therm_fini()
320 return nvkm_subdev_fini(&therm->base, suspend); in _nvkm_therm_fini()
345 priv->mode = priv->suspend = -1; /* undefined */ in nvkm_therm_create_()
Dpriv.h78 int suspend; member
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);
Dtemp.c223 nvkm_therm_sensor_fini(struct nvkm_therm *therm, bool suspend) in nvkm_therm_sensor_fini() argument
228 if (suspend) in nvkm_therm_sensor_fini()
Dg84.c245 g84_therm_fini(struct nvkm_object *object, bool suspend) in g84_therm_fini() argument
254 return _nvkm_therm_fini(object, suspend); in g84_therm_fini()
/linux-4.1.27/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.1.27/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.1.27/sound/
Dac97_bus.c35 if (dev->driver && dev->driver->suspend) in ac97_bus_suspend()
36 ret = dev->driver->suspend(dev, state); in ac97_bus_suspend()
56 .suspend = ac97_bus_suspend,
/linux-4.1.27/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.1.27/drivers/net/phy/
Dsmsc.c156 .suspend = genphy_suspend,
179 .suspend = genphy_suspend,
202 .suspend = genphy_suspend,
224 .suspend = genphy_suspend,
247 .suspend = genphy_suspend,
Dmicrel.c592 .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,
[all …]
Dmarvell.c949 .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,
[all …]
Dicplus.c225 .suspend = genphy_suspend,
237 .suspend = genphy_suspend,
251 .suspend = genphy_suspend,
Dste10Xp.c96 .suspend = genphy_suspend,
110 .suspend = genphy_suspend,
Dbcm7xxx.c411 .suspend = bcm7xxx_suspend,
424 .suspend = bcm7xxx_suspend,
437 .suspend = bcm7xxx_suspend,
450 .suspend = bcm7xxx_suspend,
Dat803x.c305 .suspend = at803x_suspend,
324 .suspend = at803x_suspend,
343 .suspend = at803x_suspend,
/linux-4.1.27/include/linux/clk/
Dtegra.h50 void (*suspend)(void); member
108 if (WARN_ON(!tegra_cpu_car_ops->suspend)) in tegra_cpu_clock_suspend()
111 tegra_cpu_car_ops->suspend(); in tegra_cpu_clock_suspend()
/linux-4.1.27/arch/arm/mach-shmobile/
Dpm-r8a7740.c63 .suspend = r8a7740_pd_d4_suspend,
83 .suspend = r8a7740_pd_a3sp_suspend,
89 .suspend = r8a7740_pd_a3sm_suspend,
Dpm-rmobile.c46 if (rmobile_pd->suspend) { in rmobile_pd_power_down()
47 int ret = rmobile_pd->suspend(); in rmobile_pd_power_down()
324 pd->suspend = rmobile_pd_suspend_busy; in rmobile_setup_pm_domain()
330 pd->suspend = rmobile_pd_suspend_console; in rmobile_setup_pm_domain()
341 pd->suspend = rmobile_pd_suspend_busy; in rmobile_setup_pm_domain()
351 pd->suspend = rmobile_pd_suspend_busy; in rmobile_setup_pm_domain()
Dpm-rmobile.h22 int (*suspend)(void); member
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/devinit/
Dbase.c31 _nvkm_devinit_fini(struct nvkm_object *object, bool suspend) in _nvkm_devinit_fini() argument
36 if (suspend) in _nvkm_devinit_fini()
42 return nvkm_subdev_fini(&devinit->base, suspend); in _nvkm_devinit_fini()
Dpriv.h33 int _nvkm_devinit_fini(struct nvkm_object *, bool suspend);
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
Dbase.c53 _nvkm_fb_fini(struct nvkm_object *object, bool suspend) in _nvkm_fb_fini() argument
59 ret = nv_ofuncs(pfb->ram)->fini(nv_object(pfb->ram), suspend); in _nvkm_fb_fini()
60 if (ret && suspend) in _nvkm_fb_fini()
64 return nvkm_subdev_fini(&pfb->base, suspend); in _nvkm_fb_fini()
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/net/usb/
Dhuawei_cdc_ncm.c142 drvstate->subdriver->suspend) in huawei_cdc_ncm_suspend()
143 ret = drvstate->subdriver->suspend(intf, message); in huawei_cdc_ncm_suspend()
171 drvstate->subdriver->suspend(intf, PMSG_SUSPEND); in huawei_cdc_ncm_resume()
212 .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()
614 .suspend = cdc_mbim_suspend,
Dqmi_wwan.c402 info->subdriver->suspend) in qmi_wwan_suspend()
403 ret = info->subdriver->suspend(intf, message); in qmi_wwan_suspend()
424 info->subdriver->suspend(intf, PMSG_SUSPEND); in qmi_wwan_resume()
878 .suspend = qmi_wwan_suspend,
Dplusb.c153 .suspend = usbnet_suspend,
/linux-4.1.27/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.1.27/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.1.27/net/mac80211/
Dpm.c16 goto suspend; in __ieee80211_suspend()
109 goto suspend; in __ieee80211_suspend()
156 suspend: in __ieee80211_suspend()
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/engine/disp/
Dbase.c118 _nvkm_disp_fini(struct nvkm_object *object, bool suspend) in _nvkm_disp_fini() argument
125 ret = nv_ofuncs(outp)->fini(nv_object(outp), suspend); in _nvkm_disp_fini()
126 if (ret && suspend) in _nvkm_disp_fini()
130 return nvkm_engine_fini(&disp->base, suspend); in _nvkm_disp_fini()
Doutp.c33 _nvkm_output_fini(struct nvkm_object *object, bool suspend) in _nvkm_output_fini() argument
36 nv_ofuncs(outp->conn)->fini(nv_object(outp->conn), suspend); in _nvkm_output_fini()
37 return nvkm_object_fini(&outp->base, suspend); in _nvkm_output_fini()
Dgf110.c125 gf110_disp_dmac_fini(struct nvkm_object *object, bool suspend) in gf110_disp_dmac_fini() argument
137 if (suspend) in gf110_disp_dmac_fini()
145 return nv50_disp_chan_fini(&dmac->base, suspend); in gf110_disp_dmac_fini()
324 gf110_disp_core_fini(struct nvkm_object *object, bool suspend) in gf110_disp_core_fini() argument
334 if (suspend) in gf110_disp_core_fini()
342 return nv50_disp_chan_fini(&mast->base, suspend); in gf110_disp_core_fini()
566 gf110_disp_pioc_fini(struct nvkm_object *object, bool suspend) in gf110_disp_pioc_fini() argument
576 if (suspend) in gf110_disp_pioc_fini()
584 return nv50_disp_chan_fini(&pioc->base, suspend); in gf110_disp_pioc_fini()
727 gf110_disp_main_fini(struct nvkm_object *object, bool suspend) in gf110_disp_main_fini() argument
[all …]
Dconn.c55 _nvkm_connector_fini(struct nvkm_object *object, bool suspend) in _nvkm_connector_fini() argument
59 return nvkm_object_fini(&conn->base, suspend); in _nvkm_connector_fini()
Dnv50.c290 nv50_disp_dmac_fini(struct nvkm_object *object, bool suspend) in nv50_disp_dmac_fini() argument
302 if (suspend) in nv50_disp_dmac_fini()
309 return nv50_disp_chan_fini(&dmac->base, suspend); in nv50_disp_dmac_fini()
554 nv50_disp_core_fini(struct nvkm_object *object, bool suspend) in nv50_disp_core_fini() argument
564 if (suspend) in nv50_disp_core_fini()
571 return nv50_disp_chan_fini(&mast->base, suspend); in nv50_disp_core_fini()
832 nv50_disp_pioc_fini(struct nvkm_object *object, bool suspend) in nv50_disp_pioc_fini() argument
842 if (suspend) in nv50_disp_pioc_fini()
846 return nv50_disp_chan_fini(&pioc->base, suspend); in nv50_disp_pioc_fini()
1201 nv50_disp_main_fini(struct nvkm_object *object, bool suspend) in nv50_disp_main_fini() argument
[all …]
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/gpu/drm/nouveau/include/nvkm/core/
Dengctx.h38 int nvkm_engctx_fini(struct nvkm_engctx *, bool suspend);
45 int _nvkm_engctx_fini(struct nvkm_object *, bool suspend);
Dobject.h48 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);
Dsubdev.h48 int nvkm_subdev_fini(struct nvkm_subdev *, bool suspend);
53 int _nvkm_subdev_fini(struct nvkm_object *, bool suspend);
Dhandle.h26 int nvkm_handle_fini(struct nvkm_handle *, bool suspend);
Dclient.h47 int nvkm_client_fini(struct nvkm_client *, bool suspend);
Dparent.h18 int (*context_detach)(struct nvkm_object *, bool suspend,
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dpadgm204.c32 gm204_i2c_pad_fini(struct nvkm_object *object, bool suspend) in gm204_i2c_pad_fini() argument
37 return nvkm_i2c_pad_fini(&pad->base, suspend); in gm204_i2c_pad_fini()
Dpadg94.c32 g94_i2c_pad_fini(struct nvkm_object *object, bool suspend) in g94_i2c_pad_fini() argument
37 return nvkm_i2c_pad_fini(&pad->base, suspend); in g94_i2c_pad_fini()
Dpad.c27 _nvkm_i2c_pad_fini(struct nvkm_object *object, bool suspend) in _nvkm_i2c_pad_fini() argument
32 return nvkm_object_fini(&pad->base, suspend); in _nvkm_i2c_pad_fini()
Dbase.c92 _nvkm_i2c_port_fini(struct nvkm_object *object, bool suspend) in _nvkm_i2c_port_fini() argument
96 nv_ofuncs(pad)->fini(nv_object(pad), suspend); in _nvkm_i2c_port_fini()
97 return nvkm_object_fini(&port->base, suspend); in _nvkm_i2c_port_fini()
398 _nvkm_i2c_fini(struct nvkm_object *object, bool suspend) in _nvkm_i2c_fini() argument
407 ret = nv_ofuncs(port)->fini(nv_object(port), suspend); in _nvkm_i2c_fini()
408 if (ret && suspend) in _nvkm_i2c_fini()
417 return nvkm_subdev_fini(&i2c->base, suspend); in _nvkm_i2c_fini()
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/engine/
Dxtensa.c161 _nvkm_xtensa_fini(struct nvkm_object *object, bool suspend) in _nvkm_xtensa_fini() argument
168 if (!suspend) in _nvkm_xtensa_fini()
171 return nvkm_engine_fini(&xtensa->base, suspend); in _nvkm_xtensa_fini()
Dfalcon.c241 _nvkm_falcon_fini(struct nvkm_object *object, bool suspend) in _nvkm_falcon_fini() argument
245 if (!suspend) { in _nvkm_falcon_fini()
257 return nvkm_engine_fini(&falcon->base, suspend); in _nvkm_falcon_fini()
/linux-4.1.27/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.1.27/include/linux/platform_data/
Dvideo-msm_fb.h45 int (*suspend)(struct msm_panel_data *); member
65 void (*suspend)(struct msm_mddi_client_data *); member
/linux-4.1.27/Documentation/devicetree/bindings/usb/
Ddwc3.txt36 - snps,dis_u3_susphy_quirk: when set core will disable USB3 suspend phy.
37 - snps,dis_u2_susphy_quirk: when set core will disable USB2 suspend phy.
38 - snps,is-utmi-l1-suspend: true when DWC3 asserts output signal
/linux-4.1.27/drivers/mfd/
Dtc6387xb.c53 if (pdata && pdata->suspend) in tc6387xb_suspend()
54 pdata->suspend(dev); in tc6387xb_suspend()
231 .suspend = tc6387xb_suspend,
Dt7l66xb.c286 if (pdata && pdata->suspend) in t7l66xb_suspend()
287 pdata->suspend(dev); in t7l66xb_suspend()
435 .suspend = t7l66xb_suspend,
/linux-4.1.27/sound/aoa/soundbus/
Dcore.c136 if (dev->driver && drv->suspend) in soundbus_device_suspend()
137 return drv->suspend(soundbus_dev, state); in soundbus_device_suspend()
160 .suspend = soundbus_device_suspend,
Dsoundbus.h134 int (*suspend)(struct codec_info_item *cii, pm_message_t state); member
191 int (*suspend)(struct soundbus_dev* dev, pm_message_t state); member
/linux-4.1.27/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.1.27/drivers/net/wireless/ath/ath10k/
Dhif.h99 int (*suspend)(struct ath10k *ar); member
190 if (!ar->hif.ops->suspend) in ath10k_hif_suspend()
193 return ar->hif.ops->suspend(ar); in ath10k_hif_suspend()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_asic.c200 .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,
[all …]
/linux-4.1.27/arch/arm/mach-pxa/
Deseries.c157 .suspend = &eseries_tmio_suspend,
208 .suspend = &eseries_tmio_suspend,
327 .suspend = &eseries_tmio_suspend,
516 .suspend = &eseries_tmio_suspend,
714 .suspend = &eseries_tmio_suspend,
927 .suspend = &eseries_tmio_suspend,
Dmfp-pxa3xx.c57 .suspend = pxa3xx_mfp_suspend,
Dclock-pxa2xx.c53 .suspend = pxa2xx_clock_suspend,
Dsmemc.c48 .suspend = pxa3xx_smemc_suspend,
/linux-4.1.27/include/linux/usb/
Dphy.h111 int suspend);
270 usb_phy_set_suspend(struct usb_phy *x, int suspend) in usb_phy_set_suspend() argument
273 return x->set_suspend(x, suspend); in usb_phy_set_suspend()
/linux-4.1.27/Documentation/devicetree/bindings/arm/
Dpsci.txt8 Issue A of the specification describes functions for CPU suspend, hotplug
56 - arm,psci-suspend-param
62 suspend call.
/linux-4.1.27/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.1.27/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.1.27/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.1.27/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.1.27/drivers/pci/
Dpci-driver.c541 if (drv && drv->suspend) { in pci_legacy_suspend()
545 error = drv->suspend(pci_dev, state); in pci_legacy_suspend()
546 suspend_report_result(drv->suspend, error); in pci_legacy_suspend()
554 drv->suspend); in pci_legacy_suspend()
637 bool ret = drv && (drv->suspend || drv->suspend_late || drv->resume in pci_has_legacy_pm_support()
705 if (pm->suspend) { in pci_pm_suspend()
709 error = pm->suspend(dev); in pci_pm_suspend()
710 suspend_report_result(pm->suspend, error); in pci_pm_suspend()
718 pm->suspend); in pci_pm_suspend()
1206 .suspend = pci_pm_suspend,
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/timer/
Dnv04.c130 nv04_timer_fini(struct nvkm_object *object, bool suspend) in nv04_timer_fini() argument
133 if (suspend) in nv04_timer_fini()
136 return nvkm_timer_fini(&priv->base, suspend); in nv04_timer_fini()
/linux-4.1.27/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
324 .suspend = platform_pm_suspend, \
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dbase.c82 _nvkm_mc_fini(struct nvkm_object *object, bool suspend) in _nvkm_mc_fini() argument
86 return nvkm_subdev_fini(&pmc->base, suspend); in _nvkm_mc_fini()
/linux-4.1.27/drivers/scsi/
Dscsi_pm.c23 return pm && pm->suspend ? pm->suspend(dev) : 0; in do_scsi_suspend()
335 .suspend = scsi_bus_suspend,
/linux-4.1.27/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.h35 int (*suspend)(struct platform_device *dev); member
/linux-4.1.27/arch/arm/mach-pxa/include/mach/
Daudio.h21 void (*suspend)(void *); member
/linux-4.1.27/net/wireless/
Dsysfs.c109 if (rdev->ops->suspend) in wiphy_suspend()
155 .suspend = wiphy_suspend,
/linux-4.1.27/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.1.27/drivers/net/wireless/ath/wil6210/
Dwil_platform.h27 int (*suspend)(void *handle); member
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/pm/
Dgf100.c92 gf100_pm_fini(struct nvkm_object *object, bool suspend) in gf100_pm_fini() argument
97 return nvkm_pm_fini(&priv->base, suspend); in gf100_pm_fini()
/linux-4.1.27/sound/isa/ad1848/
Dad1848.c145 chip->suspend(chip); in snd_ad1848_suspend()
165 .suspend = snd_ad1848_suspend,
/linux-4.1.27/Documentation/zh_CN/
DSubmittingDrivers103 .suspend 和 .resume 函数。你应该检查你的驱动程序是否能正
104 确地处理休眠与唤醒,如果实在无法确认,请至少把 .suspend
/linux-4.1.27/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.1.27/arch/arm/include/asm/
Dfirmware.h47 int (*suspend)(void); member
Dcpuidle.h33 int (*suspend)(int cpu, unsigned long arg); member
/linux-4.1.27/drivers/leds/
Dleds-asic3.c144 if (cell->suspend) in asic3_led_suspend()
145 ret = (*cell->suspend)(pdev); in asic3_led_suspend()
/linux-4.1.27/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.1.27/arch/arm/mach-integrator/
Dlm.h13 int (*suspend)(struct lm_device *, pm_message_t); member
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/
Dgk20a.c163 gk20a_pmu_fini(struct nvkm_object *object, bool suspend) in gk20a_pmu_fini() argument
170 return nvkm_subdev_fini(&pmu->base, suspend); in gk20a_pmu_fini()
Dbase.c174 _nvkm_pmu_fini(struct nvkm_object *object, bool suspend) in _nvkm_pmu_fini() argument
181 return nvkm_subdev_fini(&pmu->base, suspend); in _nvkm_pmu_fini()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dacpi.c44 nvkm_acpi_fini(struct nvkm_device *device, bool suspend) in nvkm_acpi_fini() argument
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/
Ddriver.h9 int (*suspend)(void *priv); member
/linux-4.1.27/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.1.27/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,
Dphy-rcar-gen2-usb.c123 static int rcar_gen2_usb_phy_set_suspend(struct usb_phy *phy, int suspend) in rcar_gen2_usb_phy_set_suspend() argument
130 retval = suspend ? __rcar_gen2_usbhs_phy_disable(priv->base) : in rcar_gen2_usb_phy_set_suspend()
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/nvec/
DTODO5 - finish suspend/resume support
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dmax77686.txt37 Regulators which can be turned off during system suspend:
40 Use standard regulator bindings for it ('regulator-off-in-suspend').
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Dinstmem.h8 u32 *suspend; member
/linux-4.1.27/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.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Dbase.c185 nvkm_bios_fini(struct nvkm_object *object, bool suspend) in nvkm_bios_fini() argument
188 return nvkm_subdev_fini(&bios->base, suspend); in nvkm_bios_fini()
/linux-4.1.27/drivers/video/fbdev/msm/
Dmddi_client_nt35399.c89 client_data->suspend(client_data); in nt35399_suspend()
209 panel->panel_data.suspend = nt35399_suspend; in mddi_nt35399_probe()
Dmddi_client_dummy.c59 panel->panel_data.suspend = mddi_dummy_suspend; in mddi_dummy_probe()
Dmddi_client_toshiba.c122 client_data->suspend(client_data); in toshiba_suspend()
237 panel->panel_data.suspend = toshiba_suspend; in mddi_toshiba_probe()
/linux-4.1.27/sound/arm/
Dpxa2xx-ac97.c120 if (platform_ops && platform_ops->suspend) in pxa2xx_ac97_do_suspend()
121 platform_ops->suspend(platform_ops->priv); in pxa2xx_ac97_do_suspend()
/linux-4.1.27/drivers/mmc/host/
Dsdhci-pci.h56 int (*suspend) (struct sdhci_pci_chip *); member
/linux-4.1.27/drivers/video/fbdev/omap/
Dlcd_palmte.c102 .suspend = palmte_panel_suspend,
Dlcd_palmz71.c104 .suspend = palmz71_panel_suspend,
Dlcd_inn1510.c105 .suspend = innovator1510_panel_suspend,
Dlcd_palmtt.c108 .suspend = palmtt_panel_suspend,
Dlcd_htcherald.c110 .suspend = htcherald_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.1.27/drivers/net/ethernet/ibm/emac/
Dphy.h34 int (*suspend) (struct mii_phy * phy, int wol_options); member
/linux-4.1.27/drivers/thermal/
Ddb8500_cpufreq_cooling.c83 .suspend = db8500_cpufreq_cooling_suspend,
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dnv50.c102 nv50_fifo_context_detach(struct nvkm_object *parent, bool suspend, in nv50_fifo_context_detach() argument
139 if (suspend) in nv50_fifo_context_detach()
340 nv50_fifo_chan_fini(struct nvkm_object *object, bool suspend) in nv50_fifo_chan_fini() argument
351 return nvkm_fifo_channel_fini(&chan->base, suspend); in nv50_fifo_chan_fini()
/linux-4.1.27/drivers/staging/unisys/virtpci/
Dvirtpci.h87 int (*suspend)(struct virtpci_dev *dev, member
/linux-4.1.27/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.1.27/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.1.27/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.1.27/drivers/mtd/nand/
Dtmio_nand.c468 if (cell->suspend) in tmio_suspend()
469 cell->suspend(dev); in tmio_suspend()
499 .suspend = tmio_suspend,
/linux-4.1.27/drivers/gpu/drm/amd/amdkfd/
Dkfd_module.c43 .suspend = kgd2kfd_suspend,
/linux-4.1.27/drivers/ata/
Dpata_netcell.c96 .suspend = ata_pci_device_suspend,
/linux-4.1.27/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
/linux-4.1.27/sound/pci/emu10k1/
Demu10k1.c220 emu->suspend = 1; in snd_emu10k1_suspend()
252 emu->suspend = 0; in snd_emu10k1_resume()
/linux-4.1.27/drivers/base/power/
Dgeneric_ops.c103 return pm && pm->suspend ? pm->suspend(dev) : 0; in pm_generic_suspend()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dbase.c162 _nvkm_gpio_fini(struct nvkm_object *object, bool suspend) in _nvkm_gpio_fini() argument
171 return nvkm_subdev_fini(&gpio->base, suspend); in _nvkm_gpio_fini()
/linux-4.1.27/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()

12345678