wakeup_source
struct wakeup_source *ws;
struct wakeup_source *ws);
extern void wakeup_source_sysfs_remove(struct wakeup_source *ws);
struct wakeup_source *ws;
struct wakeup_source *ws)
struct wakeup_source *ws;
struct wakeup_source *ws = v;
struct wakeup_source *next_ws = NULL;
static void wakeup_source_record(struct wakeup_source *ws)
struct wakeup_source *ws = v;
static void wakeup_source_free(struct wakeup_source *ws)
static void wakeup_source_destroy(struct wakeup_source *ws)
static void wakeup_source_add(struct wakeup_source *ws)
static void wakeup_source_remove(struct wakeup_source *ws)
struct wakeup_source *wakeup_source_register(struct device *dev,
struct wakeup_source *ws;
void wakeup_source_unregister(struct wakeup_source *ws)
struct wakeup_source *wakeup_sources_walk_start(void)
return list_first_or_null_rcu(&wakeup_sources, struct wakeup_source, entry);
struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws)
struct wakeup_source, entry);
static int device_wakeup_attach(struct device *dev, struct wakeup_source *ws)
struct wakeup_source *ws;
struct wakeup_source *ws;
struct wakeup_source *ws;
struct wakeup_source *ws;
struct wakeup_source *ws;
static struct wakeup_source *device_wakeup_detach(struct device *dev)
struct wakeup_source *ws;
struct wakeup_source *ws;
static bool wakeup_source_not_usable(struct wakeup_source *ws)
static void wakeup_source_activate(struct wakeup_source *ws)
static void wakeup_source_report_event(struct wakeup_source *ws, bool hard)
void __pm_stay_awake(struct wakeup_source *ws)
static void update_prevent_sleep_time(struct wakeup_source *ws, ktime_t now)
static inline void update_prevent_sleep_time(struct wakeup_source *ws,
static void wakeup_source_deactivate(struct wakeup_source *ws)
static struct wakeup_source deleted_ws = {
void __pm_relax(struct wakeup_source *ws)
struct wakeup_source *ws = timer_container_of(ws, t, timer);
void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard)
static struct wakeup_source *wakeup_source_create(const char *name)
struct wakeup_source *ws;
struct wakeup_source *ws;
struct wakeup_source *last_activity_ws = NULL;
struct wakeup_source *ws = dev_get_drvdata(dev);
ATTRIBUTE_GROUPS(wakeup_source);
struct wakeup_source *ws)
int wakeup_source_sysfs_add(struct device *parent, struct wakeup_source *ws)
void wakeup_source_sysfs_remove(struct wakeup_source *ws)
struct wakeup_source *ws = dev_get_drvdata(dev); \
struct wakeup_source *ws = dev_get_drvdata(dev);
struct wakeup_source *ws = dev_get_drvdata(dev);
struct wakeup_source *ws = dev_get_drvdata(dev);
struct wakeup_source *ws = dev_get_drvdata(dev);
struct wakeup_source *ws = dev_get_drvdata(dev);
bool wakeup_source;
if (psdata->wakeup_source) {
if (psdata->wakeup_source) {
psdata->wakeup_source = true;
if (psdata->wakeup_source) {
psdata->wakeup_source = false;
} else if (!psdata->wakeup_source) {
if (psdata->wakeup_source) {
data->wakeup_source = pdata->wakeup_source;
if (data->wakeup_source)
if (data->wakeup_source)
bool wakeup_source;
(pdata && pdata->wakeup_source)) {
eic->wakeup_source |= BIT(d->hwirq);
eic->wakeup_source &= ~BIT(d->hwirq);
if (!eic->wakeup_source)
if (!eic->wakeup_source)
u32 wakeup_source;
if (!dev->wakeup_source)
if (!dev->wakeup_source)
if (!dev->wakeup_source)
dev->wakeup_source = of_property_read_bool(dev->dev->of_node,
bool wakeup_source;
bool wakeup_source = false;
wakeup_source = device_property_read_bool(&client->dev, "wakeup-source");
wakeup_source = false;
if (client->irq > 0 || wakeup_source)
bool wakeup_source = false;
wakeup_source = of_property_read_bool(client->dev.of_node, "wakeup-source");
if (client->irq > 0 || wakeup_source)
bool wakeup_source;
wakeup_source = device_property_read_bool(&client->dev,
if (client->irq > 0 || wakeup_source) {
if (client->irq > 0 || wakeup_source) {
struct wakeup_source *ws;
bool wakeup_source;
wakeup_source = of_property_read_bool(dev->of_node, "wakeup-source");
device_init_wakeup(&pdev->dev, wakeup_source);
device_init_wakeup(&qcom->dwc3->dev, wakeup_source);
bool wakeup_source;
wakeup_source = of_property_read_bool(dev->of_node, "wakeup-source");
device_init_wakeup(&pdev->dev, wakeup_source);
struct wakeup_source *ws;
struct wakeup_source *ws = ep_wakeup_source(epi);
struct wakeup_source __rcu *ws;
struct wakeup_source *ws;
struct wakeup_source *ws;
static inline struct wakeup_source *ep_wakeup_source(struct epitem *epi)
struct wakeup_source *ws = ep_wakeup_source(epi);
struct wakeup_source *ws;
struct wakeup_source *ws;
bool wakeup_source;
struct wakeup_source *ws; /* Enable consume of uevents */
bool wakeup_source;
struct wakeup_source;
struct wakeup_source *wakeup;
extern struct wakeup_source *wakeup_source_register(struct device *dev,
extern void wakeup_source_unregister(struct wakeup_source *ws);
extern struct wakeup_source *wakeup_sources_walk_start(void);
extern struct wakeup_source *wakeup_sources_walk_next(struct wakeup_source *ws);
extern void __pm_stay_awake(struct wakeup_source *ws);
extern void __pm_relax(struct wakeup_source *ws);
extern void pm_wakeup_ws_event(struct wakeup_source *ws, unsigned int msec, bool hard);
static inline struct wakeup_source *wakeup_source_register(struct device *dev,
static inline void wakeup_source_unregister(struct wakeup_source *ws) {}
static inline void __pm_stay_awake(struct wakeup_source *ws) {}
static inline void __pm_relax(struct wakeup_source *ws) {}
static inline void pm_wakeup_ws_event(struct wakeup_source *ws,
static inline void __pm_wakeup_event(struct wakeup_source *ws, unsigned int msec)
bool wakeup_source;
DECLARE_EVENT_CLASS(wakeup_source,
DEFINE_EVENT(wakeup_source, wakeup_source_activate,
DEFINE_EVENT(wakeup_source, wakeup_source_deactivate,
static struct wakeup_source *autosleep_ws;
struct wakeup_source *ws;
pdata->wakeup_source = device_property_read_bool(dev, "wakeup-source");
if (!da7219->wakeup_source)
da7219->wakeup_source = pdata->wakeup_source;
if (!da7219->wakeup_source)
if (!da7219->wakeup_source)
bool wakeup_source;