Home
last modified time | relevance | path

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

/openbmc/linux/kernel/power/
H A Duser.c56 sleep_flags = lock_system_sleep(); in snapshot_open()
112 sleep_flags = lock_system_sleep(); in snapshot_release()
142 sleep_flags = lock_system_sleep(); in snapshot_read()
181 sleep_flags = lock_system_sleep(); in snapshot_write()
H A Dhibernate.c105 sleep_flags = lock_system_sleep(); in hibernation_set_ops()
729 sleep_flags = lock_system_sleep(); in hibernate()
821 sleep_flags = lock_system_sleep(); in hibernate_quiet_exec()
1116 sleep_flags = lock_system_sleep(); in disk_store()
1199 sleep_flags = lock_system_sleep(); in resume_store()
H A Dsuspend.c80 sleep_flags = lock_system_sleep(); in s2idle_set_ops()
217 sleep_flags = lock_system_sleep(); in suspend_set_ops()
H A Dmain.c52 unsigned int lock_system_sleep(void) in lock_system_sleep() function
59 EXPORT_SYMBOL_GPL(lock_system_sleep);
320 sleep_flags = lock_system_sleep(); in pm_test_store()
/openbmc/linux/include/linux/
H A Dsuspend.h529 extern unsigned int lock_system_sleep(void);
557 static inline unsigned int lock_system_sleep(void) { return 0; } in lock_system_sleep() function
/openbmc/linux/drivers/acpi/x86/
H A Ds2idle.c648 sleep_flags = lock_system_sleep(); in acpi_register_lps0_dev()
663 sleep_flags = lock_system_sleep(); in acpi_unregister_lps0_dev()
/openbmc/linux/Documentation/power/
H A Dfreezing-of-tasks.rst233 However, the [un]lock_system_sleep() APIs are safe to use in this scenario,
237 summarize, use [un]lock_system_sleep() instead of directly using
/openbmc/linux/sound/pci/hda/
H A Dcs35l41_hda.c1163 sleep_flags = lock_system_sleep(); in cs35l41_hda_bind()
1189 sleep_flags = lock_system_sleep(); in cs35l41_hda_unbind()
/openbmc/linux/Documentation/driver-api/
H A Ddevice_link.rst54 such a transition needs to be prevented with :c:func:`lock_system_sleep()`,
/openbmc/linux/drivers/scsi/
H A Dscsi_transport_spi.c1010 sleep_flags = lock_system_sleep(); in spi_dv_device()