Home
last modified time | relevance | path

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

/linux/include/linux/
A Dpm_wakeup.h43 struct wakeup_source { struct
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);
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);
114 extern void __pm_stay_awake(struct wakeup_source *ws);
116 extern void __pm_relax(struct wakeup_source *ws);
189 static inline void __pm_stay_awake(struct wakeup_source *ws) {} in __pm_stay_awake()
[all …]
A Dpm.h531 struct wakeup_source;
583 struct wakeup_source *wakeup;
/linux/drivers/base/power/
A Dwakeup.c86 struct wakeup_source *ws; in wakeup_source_create()
221 struct wakeup_source *ws; in wakeup_source_register()
300 struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws) in wakeup_sources_walk_next()
338 struct wakeup_source *ws; in device_wakeup_enable()
373 struct wakeup_source *ws; in device_wakeup_attach_irq()
395 struct wakeup_source *ws; in device_wakeup_detach_irq()
409 struct wakeup_source *ws; in device_wakeup_arm_wake_irqs()
425 struct wakeup_source *ws; in device_wakeup_disarm_wake_irqs()
442 struct wakeup_source *ws; in device_wakeup_detach()
460 struct wakeup_source *ws; in device_wakeup_disable()
[all …]
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 …]
A Dpower.h128 struct wakeup_source *ws);
129 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
/linux/drivers/irqchip/
A 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/drivers/extcon/
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()
/linux/include/linux/platform_data/
A Dst_sensors_pdata.h29 bool wakeup_source; member
/linux/include/linux/extcon/
A Dextcon-adc-jack.h65 bool wakeup_source; member
/linux/include/sound/
A Dda7219.h39 bool wakeup_source; member
/linux/drivers/rtc/
A Drtc-pcf8523.c406 bool wakeup_source = false; in pcf8523_probe() local
470 wakeup_source = of_property_read_bool(client->dev.of_node, "wakeup-source"); in pcf8523_probe()
471 if (client->irq > 0 || wakeup_source) in pcf8523_probe()
A 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/include/trace/events/
A Dpower.h248 DECLARE_EVENT_CLASS(wakeup_source,
268 DEFINE_EVENT(wakeup_source, wakeup_source_activate,
275 DEFINE_EVENT(wakeup_source, wakeup_source_deactivate,
/linux/fs/
A Deventpoll.c166 struct wakeup_source __rcu *ws;
209 struct wakeup_source *ws;
567 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
575 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_pm_stay_awake()
589 struct wakeup_source *ws; in ep_pm_stay_awake_rcu()
1366 struct wakeup_source *ws; in ep_create_wakeup_source()
1388 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_destroy_wakeup_source()
1656 struct wakeup_source *ws; in ep_send_events()
/linux/kernel/power/
A Dautosleep.c25 static struct wakeup_source *autosleep_ws;
A Dwakelock.c30 struct wakeup_source *ws;
/linux/drivers/soc/fsl/
A Drcpm.c58 struct wakeup_source *ws; in rcpm_pm_prepare()
/linux/sound/soc/codecs/
A Dda7219.c1768 pdata->wakeup_source = device_property_read_bool(dev, "wakeup-source"); in da7219_fw_to_pdata()
1835 if (!da7219->wakeup_source) in da7219_set_bias_level()
2263 da7219->wakeup_source = pdata->wakeup_source; in da7219_handle_pdata()
2604 if (!da7219->wakeup_source) in da7219_suspend()
2619 if (!da7219->wakeup_source) in da7219_resume()
A Dda7219.h812 bool wakeup_source; member
/linux/include/linux/mmc/
A Dhost.h308 struct wakeup_source *ws; /* Enable consume of uevents */
/linux/include/acpi/
A Dacpi_bus.h331 struct wakeup_source *ws;
/linux/drivers/iio/imu/st_lsm6dsx/
A Dst_lsm6dsx_core.c2277 (pdata && pdata->wakeup_source)) in st_lsm6dsx_probe()
/linux/Documentation/driver-api/pm/
A Ddevices.rst151 struct wakeup_source used for controlling whether or not the device should use

Completed in 76 milliseconds