Home
last modified time | relevance | path

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

12

/linux-6.6.21/include/linux/
Dpm_wakeup.h43 struct wakeup_source { struct
98 extern struct wakeup_source *wakeup_source_create(const char *name);
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);
102 extern struct wakeup_source *wakeup_source_register(struct device *dev,
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);
113 extern void __pm_stay_awake(struct wakeup_source *ws);
[all …]
Dpm.h628 struct wakeup_source;
680 struct wakeup_source *wakeup;
/linux-6.6.21/drivers/base/power/
Dwakeup.c69 static struct wakeup_source deleted_ws = {
80 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create()
82 struct wakeup_source *ws; in wakeup_source_create()
114 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record()
139 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free()
152 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy()
167 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add()
188 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove()
214 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register()
217 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.h129 struct wakeup_source *ws);
130 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
/linux-6.6.21/drivers/irqchip/
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-6.6.21/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-6.6.21/include/linux/platform_data/
Dst_sensors_pdata.h29 bool wakeup_source; member
/linux-6.6.21/drivers/rtc/
Drtc-pcf85363.c405 bool wakeup_source; in pcf85363_probe() local
436 wakeup_source = device_property_read_bool(&client->dev, in pcf85363_probe()
438 if (client->irq > 0 || wakeup_source) { in pcf85363_probe()
460 if (client->irq > 0 || wakeup_source) { in pcf85363_probe()
Drtc-pcf8523.c396 bool wakeup_source = false; in pcf8523_probe() local
466 wakeup_source = of_property_read_bool(client->dev.of_node, "wakeup-source"); in pcf8523_probe()
467 if (client->irq > 0 || wakeup_source) in pcf8523_probe()
Drtc-m41t80.c885 bool wakeup_source = false; in m41t80_probe() local
913 wakeup_source = of_property_read_bool(client->dev.of_node, in m41t80_probe()
929 wakeup_source = false; in m41t80_probe()
932 if (client->irq > 0 || wakeup_source) in m41t80_probe()
/linux-6.6.21/include/linux/extcon/
Dextcon-adc-jack.h65 bool wakeup_source; member
/linux-6.6.21/include/sound/
Dda7219.h39 bool wakeup_source; member
/linux-6.6.21/kernel/power/
Dautosleep.c25 static struct wakeup_source *autosleep_ws;
Dwakelock.c30 struct wakeup_source *ws;
/linux-6.6.21/include/trace/events/
Dpower.h270 DECLARE_EVENT_CLASS(wakeup_source,
290 DEFINE_EVENT(wakeup_source, wakeup_source_activate,
297 DEFINE_EVENT(wakeup_source, wakeup_source_deactivate,
/linux-6.6.21/fs/
Deventpoll.c167 struct wakeup_source __rcu *ws;
210 struct wakeup_source *ws;
580 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source()
588 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_pm_stay_awake()
602 struct wakeup_source *ws; in ep_pm_stay_awake_rcu()
1406 struct wakeup_source *ws; in ep_create_wakeup_source()
1428 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_destroy_wakeup_source()
1702 struct wakeup_source *ws; in ep_send_events()
/linux-6.6.21/drivers/soc/fsl/
Drcpm.c58 struct wakeup_source *ws; in rcpm_pm_prepare()
/linux-6.6.21/drivers/usb/dwc3/
Ddwc3-qcom.c823 bool wakeup_source; in dwc3_qcom_probe() local
938 wakeup_source = of_property_read_bool(dev->of_node, "wakeup-source"); in dwc3_qcom_probe()
939 device_init_wakeup(&pdev->dev, wakeup_source); in dwc3_qcom_probe()
940 device_init_wakeup(&qcom->dwc3->dev, wakeup_source); in dwc3_qcom_probe()
/linux-6.6.21/sound/soc/codecs/
Dda7219.c1774 pdata->wakeup_source = device_property_read_bool(dev, "wakeup-source"); in da7219_fw_to_pdata()
1841 if (!da7219->wakeup_source) in da7219_set_bias_level()
2270 da7219->wakeup_source = pdata->wakeup_source; in da7219_handle_pdata()
2611 if (!da7219->wakeup_source) in da7219_suspend()
2626 if (!da7219->wakeup_source) in da7219_resume()
Dda7219.h812 bool wakeup_source; member
/linux-6.6.21/include/linux/mmc/
Dhost.h333 struct wakeup_source *ws; /* Enable consume of uevents */
/linux-6.6.21/include/acpi/
Dacpi_bus.h337 struct wakeup_source *ws;
/linux-6.6.21/arch/arm/mach-at91/
Dpm.c379 struct wakeup_source *ws; in at91_pm_config_quirks()
/linux-6.6.21/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c2786 (pdata && pdata->wakeup_source)) in st_lsm6dsx_probe()

12