/linux/include/linux/ |
A D | pm_wakeup.h | 43 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 D | pm.h | 531 struct wakeup_source; 583 struct wakeup_source *wakeup;
|
/linux/drivers/base/power/ |
A D | wakeup.c | 86 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 D | wakeup_stats.c | 27 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 D | power.h | 128 struct wakeup_source *ws); 129 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
|
/linux/drivers/irqchip/ |
A D | irq-mchp-eic.c | 42 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 D | extcon-adc-jack.c | 52 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 D | st_sensors_pdata.h | 29 bool wakeup_source; member
|
/linux/include/linux/extcon/ |
A D | extcon-adc-jack.h | 65 bool wakeup_source; member
|
/linux/include/sound/ |
A D | da7219.h | 39 bool wakeup_source; member
|
/linux/drivers/rtc/ |
A D | rtc-pcf8523.c | 406 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 D | rtc-m41t80.c | 886 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 D | power.h | 248 DECLARE_EVENT_CLASS(wakeup_source, 268 DEFINE_EVENT(wakeup_source, wakeup_source_activate, 275 DEFINE_EVENT(wakeup_source, wakeup_source_deactivate,
|
/linux/fs/ |
A D | eventpoll.c | 166 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 D | autosleep.c | 25 static struct wakeup_source *autosleep_ws;
|
A D | wakelock.c | 30 struct wakeup_source *ws;
|
/linux/drivers/soc/fsl/ |
A D | rcpm.c | 58 struct wakeup_source *ws; in rcpm_pm_prepare()
|
/linux/sound/soc/codecs/ |
A D | da7219.c | 1768 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 D | da7219.h | 812 bool wakeup_source; member
|
/linux/include/linux/mmc/ |
A D | host.h | 308 struct wakeup_source *ws; /* Enable consume of uevents */
|
/linux/include/acpi/ |
A D | acpi_bus.h | 331 struct wakeup_source *ws;
|
/linux/drivers/iio/imu/st_lsm6dsx/ |
A D | st_lsm6dsx_core.c | 2277 (pdata && pdata->wakeup_source)) in st_lsm6dsx_probe()
|
/linux/Documentation/driver-api/pm/ |
A D | devices.rst | 151 struct wakeup_source used for controlling whether or not the device should use
|