Home
last modified time | relevance | path

Searched refs:autosuspend_delay (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/base/power/
H A Druntime.c165 int autosuspend_delay; in pm_runtime_autosuspend_expiration() local
171 autosuspend_delay = READ_ONCE(dev->power.autosuspend_delay); in pm_runtime_autosuspend_expiration()
172 if (autosuspend_delay < 0) in pm_runtime_autosuspend_expiration()
176 expires += (u64)autosuspend_delay * NSEC_PER_MSEC; in pm_runtime_autosuspend_expiration()
600 u64 slack = (u64)READ_ONCE(dev->power.autosuspend_delay) * in rpm_suspend()
1639 int delay = dev->power.autosuspend_delay; in update_autosuspend()
1679 old_delay = dev->power.autosuspend_delay; in pm_runtime_set_autosuspend_delay()
1681 dev->power.autosuspend_delay = delay; in pm_runtime_set_autosuspend_delay()
1700 old_delay = dev->power.autosuspend_delay; in __pm_runtime_use_autosuspend()
H A Dsysfs.c189 return sysfs_emit(buf, "%d\n", dev->power.autosuspend_delay); in autosuspend_delay_ms_show()
/openbmc/linux/include/linux/amba/
H A Dpl022.h241 int autosuspend_delay; member
/openbmc/linux/drivers/nfc/
H A Dtrf7970a.c1981 int autosuspend_delay, ret; in trf7970a_get_autosuspend_delay() local
1983 ret = of_property_read_u32(np, "autosuspend-delay", &autosuspend_delay); in trf7970a_get_autosuspend_delay()
1985 autosuspend_delay = TRF7970A_AUTOSUSPEND_DELAY; in trf7970a_get_autosuspend_delay()
1987 return autosuspend_delay; in trf7970a_get_autosuspend_delay()
1994 int uvolts, autosuspend_delay, ret; in trf7970a_probe() local
2119 autosuspend_delay = trf7970a_get_autosuspend_delay(np); in trf7970a_probe()
2121 pm_runtime_set_autosuspend_delay(trf->dev, autosuspend_delay); in trf7970a_probe()
/openbmc/linux/drivers/remoteproc/
H A Domap_remoteproc.c112 int autosuspend_delay; member
1332 oproc->autosuspend_delay = DEFAULT_AUTOSUSPEND_DELAY; in omap_rproc_probe()
1335 &oproc->autosuspend_delay); in omap_rproc_probe()
1337 pm_runtime_set_autosuspend_delay(&pdev->dev, oproc->autosuspend_delay); in omap_rproc_probe()
/openbmc/linux/drivers/spi/
H A Dspi-pl022.c2095 &pd->autosuspend_delay); in pl022_platform_data_dt_get()
2227 if (platform_info->autosuspend_delay > 0) { in pl022_probe()
2230 platform_info->autosuspend_delay); in pl022_probe()
2232 platform_info->autosuspend_delay); in pl022_probe()
/openbmc/linux/Documentation/power/
H A Druntime_pm.rst296 `int autosuspend_delay;`
510 power.autosuspend_delay is negative
515 power.autosuspend_delay is negative; call pm_runtime_idle
518 - set the power.autosuspend_delay value to 'delay' (expressed in
522 pm_runtime_idle called depending on if power.autosuspend_delay is
528 based on power.last_busy and power.autosuspend_delay; if the delay time
966 In addition, the power.autosuspend_delay field can be changed by user space at
/openbmc/linux/include/linux/
H A Dpm.h714 int autosuspend_delay; member
/openbmc/linux/drivers/usb/core/
H A Dsysfs.c402 return sysfs_emit(buf, "%d\n", dev->power.autosuspend_delay / 1000); in autosuspend_show()
H A Dhub.c1858 if (hdev->dev.power.autosuspend_delay >= 0) in hub_probe()