Home
last modified time | relevance | path

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

/linux/drivers/base/power/
H A 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 …]
H 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 …]
H A Dpower.h129 struct wakeup_source *ws);
130 extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
/linux/drivers/irqchip/
H 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/
H A Dextcon-adc-jack.c54 bool wakeup_source; member
134 data->wakeup_source = pdata->wakeup_source; in adc_jack_probe()
156 if (data->wakeup_source) in adc_jack_probe()
/linux/drivers/rtc/
H A 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()
H A Drtc-pcf8523.c420 bool wakeup_source = false; in pcf8523_probe() local
490 wakeup_source = of_property_read_bool(client->dev.of_node, "wakeup-source"); in pcf8523_probe()
491 if (client->irq > 0 || wakeup_source) in pcf8523_probe()
H A Drtc-m41t80.c884 bool wakeup_source = false; in m41t80_probe() local
911 wakeup_source = device_property_read_bool(&client->dev, "wakeup-source"); in m41t80_probe()
925 wakeup_source = false; in m41t80_probe()
928 if (client->irq > 0 || wakeup_source) in m41t80_probe()
/linux/include/linux/platform_data/
H A Dst_sensors_pdata.h29 bool wakeup_source; member
/linux/include/linux/extcon/
H A Dextcon-adc-jack.h65 bool wakeup_source; member
/linux/include/sound/
H A Dda7219.h39 bool wakeup_source; member
/linux/include/trace/events/
H A Dpower.h269 DECLARE_EVENT_CLASS(wakeup_source,
289 DEFINE_EVENT(wakeup_source, wakeup_source_activate,
296 DEFINE_EVENT(wakeup_source, wakeup_source_deactivate,
/linux/include/linux/
H A Dpm.h625 struct wakeup_source;
677 struct wakeup_source *wakeup;
/linux/kernel/power/
H A Dwakelock.c30 struct wakeup_source *ws;
/linux/sound/soc/codecs/
H A Dda7219.h812 bool wakeup_source; member
/linux/drivers/net/dsa/microchip/
H A Dksz_common.c4231 if (!dev->wakeup_source) in ksz_get_wol()
4284 if (!dev->wakeup_source) in ksz_set_wol()
4356 if (!dev->wakeup_source) in ksz_wol_pre_shutdown()
5112 dev->wakeup_source = of_property_read_bool(dev->dev->of_node, in ksz_switch_register()
/linux/drivers/iio/imu/st_lsm6dsx/
H A Dst_lsm6dsx_core.c2722 (pdata && pdata->wakeup_source)) in st_lsm6dsx_probe()
/linux/Documentation/driver-api/pm/
H A Ddevices.rst151 struct wakeup_source used for controlling whether or not the device should use