Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dpm_wakeup.h43 struct wakeup_source { struct
88 extern struct wakeup_source *wakeup_source_create(const char *name);
89 extern void wakeup_source_destroy(struct wakeup_source *ws);
90 extern void wakeup_source_add(struct wakeup_source *ws);
91 extern void wakeup_source_remove(struct wakeup_source *ws);
92 extern struct wakeup_source *wakeup_source_register(struct device *dev,
94 extern void wakeup_source_unregister(struct wakeup_source *ws);
100 extern void __pm_stay_awake(struct wakeup_source *ws);
102 extern void __pm_relax(struct wakeup_source *ws);
104 extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
[all …]
Dpm.h526 struct wakeup_source;
590 struct wakeup_source *wakeup;
/Linux-v5.4/drivers/base/power/
Dwakeup.c70 static struct wakeup_source deleted_ws = {
81 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
83 struct wakeup_source *ws; in wakeup_source_create()
115 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
140 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
153 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
168 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
189 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
215 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
218 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()
67 struct wakeup_source *ws = dev_get_drvdata(dev); in max_time_ms_show()
83 struct wakeup_source *ws = dev_get_drvdata(dev); in last_change_ms_show()
92 struct wakeup_source *ws = dev_get_drvdata(dev); in name_show()
102 struct wakeup_source *ws = dev_get_drvdata(dev); in prevent_suspend_time_ms_show()
126 ATTRIBUTE_GROUPS(wakeup_source);
134 struct wakeup_source *ws) in wakeup_source_device_create()
174 int wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws) in wakeup_source_sysfs_add()
[all …]
Dpower.h157 struct wakeup_source *ws);
158 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
/Linux-v5.4/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-v5.4/include/linux/extcon/
Dextcon-adc-jack.h65 bool wakeup_source; member
/Linux-v5.4/include/sound/
Dda7219.h39 bool wakeup_source; member
/Linux-v5.4/kernel/power/
Dautosleep.c25 static struct wakeup_source *autosleep_ws;
Dwakelock.c30 struct wakeup_source *ws;
/Linux-v5.4/include/trace/events/
Dpower.h248 DECLARE_EVENT_CLASS(wakeup_source,
268 DEFINE_EVENT(wakeup_source, wakeup_source_activate,
275 DEFINE_EVENT(wakeup_source, wakeup_source_deactivate,
/Linux-v5.4/fs/
Deventpoll.c170 struct wakeup_source __rcu *ws;
213 struct wakeup_source *ws;
624 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
632 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_pm_stay_awake()
646 struct wakeup_source *ws; in ep_pm_stay_awake_rcu()
1459 struct wakeup_source *ws; in ep_create_wakeup_source()
1480 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_destroy_wakeup_source()
1708 struct wakeup_source *ws; in ep_send_events_proc()
/Linux-v5.4/drivers/rtc/
Drtc-m41t80.c879 bool wakeup_source = false; in m41t80_probe() local
905 wakeup_source = of_property_read_bool(client->dev.of_node, in m41t80_probe()
916 wakeup_source = false; in m41t80_probe()
919 if (client->irq > 0 || wakeup_source) { in m41t80_probe()
/Linux-v5.4/sound/soc/codecs/
Dda7219.c1765 pdata->wakeup_source = device_property_read_bool(dev, "wakeup-source"); in da7219_fw_to_pdata()
1832 if (!da7219->wakeup_source) in da7219_set_bias_level()
2215 da7219->wakeup_source = pdata->wakeup_source; in da7219_handle_pdata()
2385 if (!da7219->wakeup_source) in da7219_suspend()
2400 if (!da7219->wakeup_source) in da7219_resume()
Dda7219.h812 bool wakeup_source; member
/Linux-v5.4/kernel/time/
Dalarmtimer.c58 static struct wakeup_source *ws;
90 struct wakeup_source *__ws; in alarmtimer_rtc_add_device()
/Linux-v5.4/include/acpi/
Dacpi_bus.h324 struct wakeup_source *ws;
/Linux-v5.4/Documentation/driver-api/pm/
Ddevices.rst9 .. |struct wakeup_source| replace:: :c:type:`struct wakeup_source <wakeup_source>`
159 |struct wakeup_source| used for controlling whether or not the device should use