Home
last modified time | relevance | path

Searched refs:prepare_count (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/acpi/
Dwakeup.c47 || dev->wakeup.prepare_count)) in acpi_enable_wakeup_devices()
72 || dev->wakeup.prepare_count)) in acpi_disable_wakeup_devices()
Dpower.c720 dev->wakeup.prepare_count); in acpi_enable_wakeup_device_power()
722 if (dev->wakeup.prepare_count++) in acpi_enable_wakeup_device_power()
739 dev->wakeup.prepare_count = 0; in acpi_enable_wakeup_device_power()
767 dev->wakeup.prepare_count); in acpi_disable_wakeup_device_power()
770 if (dev->wakeup.prepare_count <= 0) in acpi_disable_wakeup_device_power()
773 if (--dev->wakeup.prepare_count > 0) in acpi_disable_wakeup_device_power()
Ddevice_pm.c1066 device_may_wakeup(dev) != !!adev->wakeup.prepare_count)) in acpi_dev_needs_resume()
Dscan.c978 device->wakeup.prepare_count = 0; in acpi_bus_get_wakeup_device_flags()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_fb.c28 atomic_t prepare_count; member
88 atomic_inc(&msm_fb->prepare_count); in msm_framebuffer_prepare()
114 if (!atomic_dec_return(&msm_fb->prepare_count)) in msm_framebuffer_cleanup()
/linux-6.1.9/drivers/clk/
Dclk.c76 unsigned int prepare_count; member
208 return core->prepare_count; in clk_core_is_prepared()
897 if (WARN(core->prepare_count == 0, in clk_core_unprepare()
901 if (WARN(core->prepare_count == 1 && core->flags & CLK_IS_CRITICAL, in clk_core_unprepare()
908 if (--core->prepare_count > 0) in clk_core_unprepare()
959 if (core->prepare_count == 0) { in clk_core_prepare()
979 core->prepare_count++; in clk_core_prepare()
1097 if (WARN(core->prepare_count == 0, in clk_core_enable()
1304 if (core->prepare_count) in clk_unprepare_unused_subtree()
1970 if (core->prepare_count) { in __clk_set_parent_before()
[all …]
/linux-6.1.9/include/acpi/
Dacpi_bus.h335 int prepare_count; member
/linux-6.1.9/drivers/pci/
Dpci-acpi.c1147 device_may_wakeup(&dev->dev) != !!adev->wakeup.prepare_count) in acpi_pci_need_resume()