Home
last modified time | relevance | path

Searched full:autosuspend (Results 1 – 25 of 80) sorted by relevance

1234

/linux/Documentation/driver-api/usb/
H A Dpower-management.rst20 * The driver interface for autosuspend and autoresume
104 device. This is called ``autosuspend`` for short. In general, a device
116 autosuspend. In fact, at the time of this writing (Linux 2.6.23) the
128 triggered within the USB stack: autosuspend and autoresume. Note that
142 ``control`` file. In 2.6.38 the ``autosuspend`` file will be deprecated
146 but only ``autosuspend`` works.)
166 autosuspend is not allowed. (Of course, system
170 allowed to autosuspend and autoresume the device.
181 before the kernel will autosuspend it (the idle-delay
182 time). The default is 2000. 0 means to autosuspend
[all …]
H A Dusb3-debug-port.rst58 "usbcore.autosuspend=-1"
/linux/include/linux/
H A Dpm_runtime.h230 * Update the last access time of @dev used by the runtime PM autosuspend
343 * pm_runtime_idle - Conditionally set up autosuspend of a device or suspend it.
347 * set up autosuspend of @dev or suspend it (depending on whether or not
348 * autosuspend has been enabled for it).
391 * pm_runtime_autosuspend - Update the last access time and set up autosuspend
395 * First update the last access time, then set up autosuspend of @dev or suspend
396 * it (depending on whether or not autosuspend is enabled for it) without
460 * pm_request_autosuspend - Update the last access time and queue up autosuspend
567 * __pm_runtime_put_autosuspend - Drop device usage counter and queue autosuspend if 0.
592 * its usage counter and queue autosuspend if the usage counter becomes 0.
[all …]
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-usb14 What: /sys/bus/usb/devices/.../power/autosuspend
20 power/autosuspend. This file holds the time (in seconds)
27 The autosuspend delay for newly-created devices is set to
28 the value of the usbcore.autosuspend module parameter.
69 for this interface supports autosuspend. It also
73 The file returns 0 if autosuspend support has not been
/linux/Documentation/devicetree/bindings/media/
H A Dgpio-ir-receiver.yaml22 linux,autosuspend-period:
23 description: autosuspend delay time in milliseconds
41 linux,autosuspend-period = <125>;
/linux/Documentation/ABI/obsolete/
H A Dsysfs-bus-usb10 "on" means that the device is not allowed to autosuspend,
12 be honored. "auto" means the device will autosuspend
20 write "0" to power/autosuspend.
/linux/Documentation/power/
H A Druntime_pm.rst156 also respecting devices configured for autosuspend. In essence this means a
210 - timer used for scheduling (delayed) suspend and autosuspend requests
286 - indicates that the device's driver supports delayed autosuspend (see
291 - indicates that the PM core should attempt to carry out an autosuspend
295 - the delay time (in milliseconds) to be used for autosuspend
300 periods for autosuspend
332 pm_runtime_mark_last_busy() is made and an autosuspend is scheduled for
358 subsystem-level suspend callback for the device when the autosuspend delay
510 - set the power.use_autosuspend flag, enabling autosuspend delays; call
515 - clear the power.use_autosuspend flag, disabling autosuspend delays;
[all …]
/linux/drivers/gpu/drm/i915/
H A DKconfig.profile28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)"
35 that complements the runtime-pm autosuspend and provides a lower
36 floor on the autosuspend delay.
39 runtime pm autosuspend delay tunable.
/linux/drivers/usb/core/
H A Ddriver.c257 * unless the driver supports autosuspend. in usb_probe_device()
358 * runtime-PM-enabled only if the driver has autosuspend support. in usb_probe_interface()
572 * runtime-PM-enabled, but only if the driver has autosuspend in usb_driver_claim_interface()
1394 * autosuspend, if an error occurs at any stage, all the interfaces
1402 * Autosuspend requests originating from a child device or an interface
1682 * This routine allows @udev to be autosuspended. An autosuspend won't
1710 * usb_autosuspend_device - delayed autosuspend of a USB device and its interfaces
1711 * @udev: the usb_device to autosuspend
1714 * @udev and wants to allow it to autosuspend. Examples would be when
1718 * interfaces are inactive then a delayed autosuspend will be attempted.
[all …]
H A DKconfig109 int "Default autosuspend delay"
113 The default autosuspend delay in seconds. Can be overridden
114 with the usbcore.autosuspend command line or module parameter.
H A Dhub.c720 * Suppress autosuspend until the event is proceed. in kick_hub_wq()
1149 /* Suppress autosuspend until init is done */ in hub_activate()
1347 /* Allow autosuspend if it was suppressed */ in hub_activate()
1890 * Set default autosuspend delay as 0 to speedup bus suspend, in hub_probe()
1894 * autosuspend delay to provide enough time to handle a wakeup in hub_probe()
1910 * autosuspend delay of their parent hub in the probe() to one in hub_probe()
1918 * - Change autosuspend delay of hub can avoid unnecessary auto in hub_probe()
1922 * - If user has indicated to prevent autosuspend by passing in hub_probe()
1923 * usbcore.autosuspend = -1 then keep autosuspend disabled. in hub_probe()
2659 /* By default, forbid autosuspend for all devices. It will be in usb_new_device()
[all …]
/linux/block/
H A Dblk-pm.c22 * the autosuspend delay is set to -1 to make runtime suspend impossible
24 * not need to touch other autosuspend settings.
50 * runtime PM core will try to autosuspend it some time later.
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dti,omap-remoteproc.yaml135 ti,autosuspend-delay-ms:
137 Custom autosuspend delay for the remoteproc in milliseconds.
140 autosuspend behavior.
/linux/drivers/base/power/
H A Druntime.c166 * pm_runtime_autosuspend_expiration - Get a device's autosuspend-delay expiration time.
169 * Compute the autosuspend-delay expiration time based on the device's
571 * Cancel a pending idle notification, autosuspend or suspend. If
581 * flag is set and the next autosuspend-delay expiration time is in the
582 * future, schedule another autosuspend attempt.
617 * set to expire at or before the autosuspend delay, in rpm_suspend()
755 * On transient errors, if the callback routine failed an autosuspend, in rpm_suspend()
757 * autosuspend expiration time, automatically reschedule another in rpm_suspend()
758 * autosuspend. in rpm_suspend()
812 * optimization: If an autosuspend timer is running, leave it running in rpm_resume()
[all …]
/linux/drivers/accel/ivpu/
H A Divpu_pm.c303 ivpu_err(vdev, "NPU is not idle before autosuspend\n"); in ivpu_pm_runtime_suspend_cb()
411 delay = vdev->timeout.autosuspend; in ivpu_pm_init()
417 ivpu_dbg(vdev, PM, "Autosuspend delay = %d\n", delay); in ivpu_pm_init()
/linux/drivers/hid/usbhid/
H A Dhid-core.c64 MODULE_PARM_DESC(ignoreled, "Autosuspend with active leds");
205 /* Try to wake up from autosuspend... */ in usbhid_restart_out_queue()
244 /* Try to wake up from autosuspend... */ in usbhid_restart_ctrl_queue()
290 * autosuspend refused while keys are pressed in hid_irq_in()
555 /* Prevent autosuspend following the unlink */ in __usbhid_submit_report()
576 /* Now we can allow autosuspend again */ in __usbhid_submit_report()
606 /* Prevent autosuspend following the unlink */ in __usbhid_submit_report()
627 /* Now we can allow autosuspend again */ in __usbhid_submit_report()
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-usb520 Returns 1 if the device doesn't support autosuspend.
532 What: /sys/bus/usb/devices/usbX/power/autosuspend
534 Time in milliseconds for the device to autosuspend. If the
535 value is negative, then autosuspend is prevented.
/linux/Documentation/devicetree/bindings/iio/proximity/
H A Ddevantech-srf04.yaml61 get suspended automatically (autosuspend feature).
/linux/Documentation/devicetree/bindings/spi/
H A Dspi-pl022.yaml45 pl022,autosuspend-delay:
/linux/drivers/bluetooth/
H A DKconfig39 bool "Enable USB autosuspend for Bluetooth USB devices by default"
42 Say Y here to enable USB autosuspend for Bluetooth USB devices by
/linux/drivers/media/rc/
H A Dgpio-ir-recv.c112 of_property_read_u32(np, "linux,autosuspend-period", &period); in gpio_ir_recv_probe()
/linux/drivers/soundwire/
H A Dmaster.c12 * The 3s value for autosuspend will only be used if there are no
/linux/sound/usb/
H A Dusbaudio.h201 * Disable runtime PM autosuspend
/linux/drivers/staging/rtl8723bs/include/
H A Drtw_pwrctrl.h192 int ps_flag; /* used by autosuspend */
/linux/drivers/net/usb/
H A Dsmsc95xx.c1498 netdev_info(dev->net, "rx fifo not empty in autosuspend\n"); in smsc95xx_enter_suspend3()
1532 netdev_dbg(dev->net, "autosuspend entering SUSPEND2\n"); in smsc95xx_autosuspend()
1546 netdev_dbg(dev->net, "autosuspend entering SUSPEND1\n"); in smsc95xx_autosuspend()
1551 netdev_dbg(dev->net, "autosuspend entering SUSPEND3\n"); in smsc95xx_autosuspend()

1234