/linux-6.1.9/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 | 600 struct wakeup_source; 652 struct wakeup_source *wakeup;
|
/linux-6.1.9/drivers/base/power/ |
D | wakeup.c | 74 static struct wakeup_source deleted_ws = { 85 struct wakeup_source *wakeup_source_create(const char *name) in wakeup_source_create() 87 struct wakeup_source *ws; in wakeup_source_create() 119 static void wakeup_source_record(struct wakeup_source *ws) in wakeup_source_record() 144 static void wakeup_source_free(struct wakeup_source *ws) in wakeup_source_free() 157 void wakeup_source_destroy(struct wakeup_source *ws) in wakeup_source_destroy() 172 void wakeup_source_add(struct wakeup_source *ws) in wakeup_source_add() 193 void wakeup_source_remove(struct wakeup_source *ws) in wakeup_source_remove() 219 struct wakeup_source *wakeup_source_register(struct device *dev, in wakeup_source_register() 222 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 | 128 struct wakeup_source *ws); 129 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
|
/linux-6.1.9/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.1.9/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.1.9/include/linux/platform_data/ |
D | st_sensors_pdata.h | 29 bool wakeup_source; member
|
/linux-6.1.9/include/linux/extcon/ |
D | extcon-adc-jack.h | 65 bool wakeup_source; member
|
/linux-6.1.9/include/sound/ |
D | da7219.h | 39 bool wakeup_source; member
|
/linux-6.1.9/drivers/rtc/ |
D | rtc-pcf8523.c | 397 bool wakeup_source = false; in pcf8523_probe() local 462 wakeup_source = of_property_read_bool(client->dev.of_node, "wakeup-source"); in pcf8523_probe() 463 if (client->irq > 0 || wakeup_source) in pcf8523_probe()
|
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-6.1.9/kernel/power/ |
D | autosleep.c | 25 static struct wakeup_source *autosleep_ws;
|
D | wakelock.c | 30 struct wakeup_source *ws;
|
/linux-6.1.9/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.1.9/fs/ |
D | eventpoll.c | 166 struct wakeup_source __rcu *ws; 209 struct wakeup_source *ws; 576 static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi) in ep_wakeup_source() 584 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_pm_stay_awake() 598 struct wakeup_source *ws; in ep_pm_stay_awake_rcu() 1375 struct wakeup_source *ws; in ep_create_wakeup_source() 1397 struct wakeup_source *ws = ep_wakeup_source(epi); in ep_destroy_wakeup_source() 1665 struct wakeup_source *ws; in ep_send_events()
|
/linux-6.1.9/drivers/soc/fsl/ |
D | rcpm.c | 58 struct wakeup_source *ws; in rcpm_pm_prepare()
|
/linux-6.1.9/drivers/usb/dwc3/ |
D | dwc3-qcom.c | 796 bool wakeup_source; in dwc3_qcom_probe() local 912 wakeup_source = of_property_read_bool(dev->of_node, "wakeup-source"); in dwc3_qcom_probe() 913 device_init_wakeup(&pdev->dev, wakeup_source); in dwc3_qcom_probe() 914 device_init_wakeup(&qcom->dwc3->dev, wakeup_source); in dwc3_qcom_probe()
|
/linux-6.1.9/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.1.9/include/linux/mmc/ |
D | host.h | 327 struct wakeup_source *ws; /* Enable consume of uevents */
|
/linux-6.1.9/include/acpi/ |
D | acpi_bus.h | 334 struct wakeup_source *ws;
|
/linux-6.1.9/arch/arm/mach-at91/ |
D | pm.c | 380 struct wakeup_source *ws; in at91_pm_config_quirks()
|
/linux-6.1.9/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_core.c | 2292 (pdata && pdata->wakeup_source)) in st_lsm6dsx_probe()
|
/linux-6.1.9/Documentation/driver-api/pm/ |
D | devices.rst | 151 struct wakeup_source used for controlling whether or not the device should use
|