Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/power/
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()
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()
Dsuspend.c80 sleep_flags = lock_system_sleep(); in s2idle_set_ops()
210 sleep_flags = lock_system_sleep(); in suspend_set_ops()
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()
/linux-6.6.21/include/linux/
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
/linux-6.6.21/drivers/acpi/x86/
Ds2idle.c648 sleep_flags = lock_system_sleep(); in acpi_register_lps0_dev()
663 sleep_flags = lock_system_sleep(); in acpi_unregister_lps0_dev()
/linux-6.6.21/Documentation/power/
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
/linux-6.6.21/sound/pci/hda/
Dcs35l41_hda.c1163 sleep_flags = lock_system_sleep(); in cs35l41_hda_bind()
1189 sleep_flags = lock_system_sleep(); in cs35l41_hda_unbind()
/linux-6.6.21/drivers/scsi/
Dscsi_transport_spi.c1010 sleep_flags = lock_system_sleep(); in spi_dv_device()
/linux-6.6.21/Documentation/driver-api/
Ddevice_link.rst54 such a transition needs to be prevented with :c:func:`lock_system_sleep()`,