Home
last modified time | relevance | path

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

12

/kernel/linux/linux-4.19/include/linux/
Dpm_wakeup.h54 struct wakeup_source { struct
97 extern void wakeup_source_prepare(struct wakeup_source *ws, const char *name);
98 extern struct wakeup_source *wakeup_source_create(const char *name);
99 extern void wakeup_source_drop(struct wakeup_source *ws);
100 extern void wakeup_source_destroy(struct wakeup_source *ws);
101 extern void wakeup_source_add(struct wakeup_source *ws);
102 extern void wakeup_source_remove(struct wakeup_source *ws);
103 extern struct wakeup_source *wakeup_source_register(const char *name);
104 extern void wakeup_source_unregister(struct wakeup_source *ws);
110 extern void __pm_stay_awake(struct wakeup_source *ws);
[all …]
Dpm.h538 struct wakeup_source;
601 struct wakeup_source *wakeup;
/kernel/linux/linux-5.10/include/linux/
Dpm_wakeup.h43 struct wakeup_source { struct
93 extern struct wakeup_source *wakeup_source_create(const char *name);
94 extern void wakeup_source_destroy(struct wakeup_source *ws);
95 extern void wakeup_source_add(struct wakeup_source *ws);
96 extern void wakeup_source_remove(struct wakeup_source *ws);
97 extern struct wakeup_source *wakeup_source_register(struct device *dev,
99 extern void wakeup_source_unregister(struct wakeup_source *ws);
102 extern struct wakeup_source *wakeup_sources_walk_start(void);
103 extern struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws);
109 extern void __pm_stay_awake(struct wakeup_source *ws);
[all …]
Dpm.h532 struct wakeup_source;
582 struct wakeup_source *wakeup;
/kernel/linux/linux-5.10/drivers/base/power/
Dwakeup.c73 static struct wakeup_source deleted_ws = {
84 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
86 struct wakeup_source *ws; in wakeup_source_create()
118 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
143 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
156 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
171 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
192 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
218 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
221 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.h125 struct wakeup_source *ws);
126 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
/kernel/linux/linux-4.19/drivers/base/power/
Dwakeup.c70 static struct wakeup_source deleted_ws = {
83 void wakeup_source_prepare(struct wakeup_source *ws, const char *name) in wakeup_source_prepare()
96 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
98 struct wakeup_source *ws; in wakeup_source_create()
116 void wakeup_source_drop(struct wakeup_source *ws) in wakeup_source_drop()
128 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
159 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
175 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
196 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
221 struct wakeup_source *wakeup_source_register(const char *name) in wakeup_source_register()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-4.19/drivers/extcon/
Dextcon-adc-jack.c56 bool wakeup_source; member
136 data->wakeup_source = pdata->wakeup_source; in adc_jack_probe()
160 if (data->wakeup_source) in adc_jack_probe()
/kernel/linux/linux-5.10/include/linux/platform_data/
Dst_sensors_pdata.h28 bool wakeup_source; member
/kernel/linux/linux-4.19/include/linux/extcon/
Dextcon-adc-jack.h69 bool wakeup_source; member
/kernel/linux/linux-5.10/include/linux/extcon/
Dextcon-adc-jack.h65 bool wakeup_source; member
/kernel/linux/linux-4.19/include/sound/
Dda7219.h37 bool wakeup_source; member
/kernel/linux/linux-5.10/include/sound/
Dda7219.h39 bool wakeup_source; member
/kernel/linux/linux-5.10/kernel/power/
Dautosleep.c25 static struct wakeup_source *autosleep_ws;
/kernel/linux/linux-4.19/kernel/power/
Dautosleep.c25 static struct wakeup_source *autosleep_ws;
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-4.19/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,
/kernel/linux/linux-5.10/fs/
Deventpoll.c170 struct wakeup_source __rcu *ws;
213 struct wakeup_source *ws;
633 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
641 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_pm_stay_awake()
655 struct wakeup_source *ws; in ep_pm_stay_awake_rcu()
1458 struct wakeup_source *ws; in ep_create_wakeup_source()
1480 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_destroy_wakeup_source()
1707 struct wakeup_source *ws; in ep_send_events_proc()
/kernel/linux/linux-4.19/fs/
Deventpoll.c175 struct wakeup_source __rcu *ws;
217 struct wakeup_source *ws;
626 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
634 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_pm_stay_awake()
648 struct wakeup_source *ws; in ep_pm_stay_awake_rcu()
1380 struct wakeup_source *ws; in ep_create_wakeup_source()
1402 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_destroy_wakeup_source()
1629 struct wakeup_source *ws; in ep_send_events_proc()
/kernel/linux/linux-5.10/drivers/soc/fsl/
Drcpm.c35 struct wakeup_source *ws; in rcpm_pm_prepare()
/kernel/linux/linux-4.19/drivers/rtc/
Drtc-m41t80.c880 bool wakeup_source = false; in m41t80_probe() local
906 wakeup_source = of_property_read_bool(client->dev.of_node, in m41t80_probe()
917 wakeup_source = false; in m41t80_probe()
920 if (client->irq > 0 || wakeup_source) { in m41t80_probe()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-m41t80.c876 bool wakeup_source = false; in m41t80_probe() local
902 wakeup_source = of_property_read_bool(client->dev.of_node, in m41t80_probe()
913 wakeup_source = false; in m41t80_probe()
916 if (client->irq > 0 || wakeup_source) { in m41t80_probe()
/kernel/linux/linux-4.19/sound/soc/codecs/
Dda7219.c1643 pdata->wakeup_source = device_property_read_bool(dev, "wakeup-source"); in da7219_fw_to_pdata()
1707 if (!da7219->wakeup_source) in da7219_set_bias_level()
1855 da7219->wakeup_source = pdata->wakeup_source; in da7219_handle_pdata()
2016 if (!da7219->wakeup_source) in da7219_suspend()
2031 if (!da7219->wakeup_source) in da7219_resume()

12