Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/include/linux/
H A 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 …]
H A Dwakelock.h33 struct wakeup_source ws;
39 struct wakeup_source *ws = &lock->ws; in wake_lock_init()
50 struct wakeup_source *ws = &lock->ws; in wake_lock_destroy()
H A Dpm.h535 struct wakeup_source;
585 struct wakeup_source *wakeup;
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_linux_priv.h131 struct wakeup_source *wl_wifi; /* Wifi wakelock */
132 struct wakeup_source *wl_rxwake; /* Wifi rx wakelock */
133 struct wakeup_source *wl_ctrlwake; /* Wifi ctrl wakelock */
134 struct wakeup_source *wl_wdwake; /* Wifi wd wakelock */
135 struct wakeup_source *wl_evtwake; /* Wifi event wakelock */
136 struct wakeup_source *wl_pmwake; /* Wifi pm handler wakelock */
137 struct wakeup_source *wl_txflwake; /* Wifi tx flow wakelock */
139 struct wakeup_source *wl_intrwake; /* Host wakeup wakelock */
142 struct wakeup_source *wl_scanwake; /* Wifi scan wakelock */
144 struct wakeup_source *wl_nanwake; /* NAN wakelock */
[all …]
/OK3568_Linux_fs/kernel/drivers/base/power/
H A Dwakeup.c77 static struct wakeup_source deleted_ws = {
88 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
90 struct wakeup_source *ws; in wakeup_source_create()
122 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
147 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
160 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()
222 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
225 struct wakeup_source *ws; in wakeup_source_register()
[all …]
H A 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 …]
H A Dpower.h125 struct wakeup_source *ws);
126 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_linux_priv.h132 struct wakeup_source wl_wifi; /* Wifi wakelock */
133 struct wakeup_source wl_rxwake; /* Wifi rx wakelock */
134 struct wakeup_source wl_ctrlwake; /* Wifi ctrl wakelock */
135 struct wakeup_source wl_wdwake; /* Wifi wd wakelock */
136 struct wakeup_source wl_evtwake; /* Wifi event wakelock */
137 struct wakeup_source wl_pmwake; /* Wifi pm handler wakelock */
138 struct wakeup_source wl_txflwake; /* Wifi tx flow wakelock */
140 struct wakeup_source wl_intrwake; /* Host wakeup wakelock */
143 struct wakeup_source wl_scanwake; /* Wifi scan wakelock */
145 struct wakeup_source wl_nanwake; /* NAN wakelock */
[all …]
/OK3568_Linux_fs/kernel/drivers/extcon/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/platform_data/
H A Dst_sensors_pdata.h28 bool wakeup_source; member
/OK3568_Linux_fs/kernel/include/linux/extcon/
H A Dextcon-adc-jack.h65 bool wakeup_source; member
/OK3568_Linux_fs/kernel/include/sound/
H A Dda7219.h39 bool wakeup_source; member
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dpower.h248 DECLARE_EVENT_CLASS(wakeup_source,
268 DEFINE_EVENT(wakeup_source, wakeup_source_activate,
275 DEFINE_EVENT(wakeup_source, wakeup_source_deactivate,
/OK3568_Linux_fs/kernel/fs/
H A Deventpoll.c173 struct wakeup_source __rcu *ws;
216 struct wakeup_source *ws;
638 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
646 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_pm_stay_awake()
660 struct wakeup_source *ws; in ep_pm_stay_awake_rcu()
1463 struct wakeup_source *ws; in ep_create_wakeup_source()
1490 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_destroy_wakeup_source()
1717 struct wakeup_source *ws; in ep_send_events_proc()
/OK3568_Linux_fs/kernel/kernel/power/
H A Dautosleep.c25 static struct wakeup_source *autosleep_ws;
H A Dwakelock.c30 struct wakeup_source *ws;
/OK3568_Linux_fs/kernel/drivers/rtc/
H A 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()
/OK3568_Linux_fs/kernel/drivers/soc/fsl/
H A Drcpm.c35 struct wakeup_source *ws; in rcpm_pm_prepare()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dda7219.c1772 pdata->wakeup_source = device_property_read_bool(dev, "wakeup-source"); in da7219_fw_to_pdata()
1839 if (!da7219->wakeup_source) in da7219_set_bias_level()
2268 da7219->wakeup_source = pdata->wakeup_source; in da7219_handle_pdata()
2609 if (!da7219->wakeup_source) in da7219_suspend()
2624 if (!da7219->wakeup_source) in da7219_resume()
H A Dda7219.h812 bool wakeup_source; member
/OK3568_Linux_fs/kernel/include/linux/mmc/
H A Dhost.h299 struct wakeup_source *ws; /* Enable consume of uevents */
/OK3568_Linux_fs/kernel/include/acpi/
H A Dacpi_bus.h323 struct wakeup_source *ws;
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlinux/
H A Dmoal_main.h2667 struct wakeup_source ws;
3348 static inline void wakeup_source_init(struct wakeup_source *ws,
3362 static inline void wakeup_source_trash(struct wakeup_source *ws)
/OK3568_Linux_fs/kernel/drivers/soc/rockchip/fiq_debugger/
H A Dfiq_debugger.c106 struct wakeup_source debugger_wake_src;
/OK3568_Linux_fs/kernel/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_core.c2425 (pdata && pdata->wakeup_source)) in st_lsm6dsx_probe()

12