Home
last modified time | relevance | path

Searched refs:wakeup_source (Results 1 – 25 of 25) sorted by relevance

/linux-6.1.9/include/linux/
Dpm_wakeup.h43 struct wakeup_source { struct
98 extern struct wakeup_source *wakeup_source_create(const char *name);
99 extern void wakeup_source_destroy(struct wakeup_source *ws);
100 extern void wakeup_source_add(struct wakeup_source *ws);
101 extern void wakeup_source_remove(struct wakeup_source *ws);
102 extern struct wakeup_source *wakeup_source_register(struct device *dev,
104 extern void wakeup_source_unregister(struct wakeup_source *ws);
107 extern struct wakeup_source *wakeup_sources_walk_start(void);
108 extern struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws);
113 extern void __pm_stay_awake(struct wakeup_source *ws);
[all …]
Dpm.h600 struct wakeup_source;
652 struct wakeup_source *wakeup;
/linux-6.1.9/drivers/base/power/
Dwakeup.c74 static struct wakeup_source deleted_ws = {
85 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
87 struct wakeup_source *ws; in wakeup_source_create()
119 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
144 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
157 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
172 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
193 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
219 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
222 struct wakeup_source *ws; in wakeup_source_register()
[all …]
Dwakeup_stats.c27 struct wakeup_source *ws = dev_get_drvdata(dev); \
41 struct wakeup_source *ws = dev_get_drvdata(dev); in active_time_ms_show()
52 struct wakeup_source *ws = dev_get_drvdata(dev); in total_time_ms_show()
68 struct wakeup_source *ws = dev_get_drvdata(dev); in max_time_ms_show()
85 struct wakeup_source *ws = dev_get_drvdata(dev); in last_change_ms_show()
94 struct wakeup_source *ws = dev_get_drvdata(dev); in name_show()
104 struct wakeup_source *ws = dev_get_drvdata(dev); in prevent_suspend_time_ms_show()
129 ATTRIBUTE_GROUPS(wakeup_source);
137 struct wakeup_source *ws) in wakeup_source_device_create()
177 int wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws) in wakeup_source_sysfs_add()
[all …]
Dpower.h128 struct wakeup_source *ws);
129 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
/linux-6.1.9/drivers/irqchip/
Dirq-mchp-eic.c42 u32 wakeup_source; member
105 eic->wakeup_source |= BIT(d->hwirq); in mchp_eic_irq_set_wake()
107 eic->wakeup_source &= ~BIT(d->hwirq); in mchp_eic_irq_set_wake()
120 if (!eic->wakeup_source) in mchp_eic_irq_suspend()
130 if (!eic->wakeup_source) in mchp_eic_irq_resume()
/linux-6.1.9/drivers/extcon/
Dextcon-adc-jack.c52 bool wakeup_source; member
132 data->wakeup_source = pdata->wakeup_source; in adc_jack_probe()
154 if (data->wakeup_source) in adc_jack_probe()
/linux-6.1.9/include/linux/platform_data/
Dst_sensors_pdata.h29 bool wakeup_source; member
/linux-6.1.9/include/linux/extcon/
Dextcon-adc-jack.h65 bool wakeup_source; member
/linux-6.1.9/include/sound/
Dda7219.h39 bool wakeup_source; member
/linux-6.1.9/drivers/rtc/
Drtc-pcf8523.c397 bool wakeup_source = false; in pcf8523_probe() local
462 wakeup_source = of_property_read_bool(client->dev.of_node, "wakeup-source"); in pcf8523_probe()
463 if (client->irq > 0 || wakeup_source) in pcf8523_probe()
Drtc-m41t80.c886 bool wakeup_source = false; in m41t80_probe() local
912 wakeup_source = of_property_read_bool(client->dev.of_node, in m41t80_probe()
923 wakeup_source = false; in m41t80_probe()
926 if (client->irq > 0 || wakeup_source) in m41t80_probe()
/linux-6.1.9/kernel/power/
Dautosleep.c25 static struct wakeup_source *autosleep_ws;
Dwakelock.c30 struct wakeup_source *ws;
/linux-6.1.9/include/trace/events/
Dpower.h270 DECLARE_EVENT_CLASS(wakeup_source,
290 DEFINE_EVENT(wakeup_source, wakeup_source_activate,
297 DEFINE_EVENT(wakeup_source, wakeup_source_deactivate,
/linux-6.1.9/fs/
Deventpoll.c166 struct wakeup_source __rcu *ws;
209 struct wakeup_source *ws;
576 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
584 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_pm_stay_awake()
598 struct wakeup_source *ws; in ep_pm_stay_awake_rcu()
1375 struct wakeup_source *ws; in ep_create_wakeup_source()
1397 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_destroy_wakeup_source()
1665 struct wakeup_source *ws; in ep_send_events()
/linux-6.1.9/drivers/soc/fsl/
Drcpm.c58 struct wakeup_source *ws; in rcpm_pm_prepare()
/linux-6.1.9/drivers/usb/dwc3/
Ddwc3-qcom.c796 bool wakeup_source; in dwc3_qcom_probe() local
912 wakeup_source = of_property_read_bool(dev->of_node, "wakeup-source"); in dwc3_qcom_probe()
913 device_init_wakeup(&pdev->dev, wakeup_source); in dwc3_qcom_probe()
914 device_init_wakeup(&qcom->dwc3->dev, wakeup_source); in dwc3_qcom_probe()
/linux-6.1.9/sound/soc/codecs/
Dda7219.c1774 pdata->wakeup_source = device_property_read_bool(dev, "wakeup-source"); in da7219_fw_to_pdata()
1841 if (!da7219->wakeup_source) in da7219_set_bias_level()
2270 da7219->wakeup_source = pdata->wakeup_source; in da7219_handle_pdata()
2611 if (!da7219->wakeup_source) in da7219_suspend()
2626 if (!da7219->wakeup_source) in da7219_resume()
Dda7219.h812 bool wakeup_source; member
/linux-6.1.9/include/linux/mmc/
Dhost.h327 struct wakeup_source *ws; /* Enable consume of uevents */
/linux-6.1.9/include/acpi/
Dacpi_bus.h334 struct wakeup_source *ws;
/linux-6.1.9/arch/arm/mach-at91/
Dpm.c380 struct wakeup_source *ws; in at91_pm_config_quirks()
/linux-6.1.9/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c2292 (pdata && pdata->wakeup_source)) in st_lsm6dsx_probe()
/linux-6.1.9/Documentation/driver-api/pm/
Ddevices.rst151 struct wakeup_source used for controlling whether or not the device should use