/linux-6.6.21/include/linux/ |
D | pm_wakeup.h | 43 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 …]
|
D | pm.h | 628 struct wakeup_source; 680 struct wakeup_source *wakeup;
|
/linux-6.6.21/drivers/base/power/ |
D | wakeup.c | 69 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 …]
|
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 …]
|
D | power.h | 129 struct wakeup_source *ws); 130 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
|
/linux-6.6.21/drivers/irqchip/ |
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-6.6.21/drivers/extcon/ |
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-6.6.21/include/linux/platform_data/ |
D | st_sensors_pdata.h | 29 bool wakeup_source; member
|
/linux-6.6.21/drivers/rtc/ |
D | rtc-pcf85363.c | 405 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()
|
D | rtc-pcf8523.c | 396 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()
|
D | rtc-m41t80.c | 885 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/ |
D | extcon-adc-jack.h | 65 bool wakeup_source; member
|
/linux-6.6.21/include/sound/ |
D | da7219.h | 39 bool wakeup_source; member
|
/linux-6.6.21/kernel/power/ |
D | autosleep.c | 25 static struct wakeup_source *autosleep_ws;
|
D | wakelock.c | 30 struct wakeup_source *ws;
|
/linux-6.6.21/include/trace/events/ |
D | power.h | 270 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/ |
D | eventpoll.c | 167 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/ |
D | rcpm.c | 58 struct wakeup_source *ws; in rcpm_pm_prepare()
|
/linux-6.6.21/drivers/usb/dwc3/ |
D | dwc3-qcom.c | 823 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/ |
D | da7219.c | 1774 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()
|
D | da7219.h | 812 bool wakeup_source; member
|
/linux-6.6.21/include/linux/mmc/ |
D | host.h | 333 struct wakeup_source *ws; /* Enable consume of uevents */
|
/linux-6.6.21/include/acpi/ |
D | acpi_bus.h | 337 struct wakeup_source *ws;
|
/linux-6.6.21/arch/arm/mach-at91/ |
D | pm.c | 379 struct wakeup_source *ws; in at91_pm_config_quirks()
|
/linux-6.6.21/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_core.c | 2786 (pdata && pdata->wakeup_source)) in st_lsm6dsx_probe()
|