Home
last modified time | relevance | path

Searched refs:events_enabled (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/replay/
H A Dreplay-events.c30 static bool events_enabled; variable
70 events_enabled = true; in replay_enable_events()
98 events_enabled = false; in replay_disable_events()
112 || !events_enabled) { in replay_add_event()
135 if (events_enabled) { in replay_bh_schedule_event()
146 if (events_enabled) { in replay_bh_schedule_oneshot_event()
166 if (events_enabled) { in replay_block_event()
304 events_enabled = false; in replay_finish_events()
310 return events_enabled; in replay_events_enabled()
/openbmc/linux/drivers/iio/light/
H A Dtsl2591.c170 bool events_enabled; member
981 return chip->events_enabled; in tsl2591_read_event_config()
993 if (state && !chip->events_enabled) { in tsl2591_write_event_config()
994 chip->events_enabled = true; in tsl2591_write_event_config()
996 } else if (!state && chip->events_enabled) { in tsl2591_write_event_config()
997 chip->events_enabled = false; in tsl2591_write_event_config()
1042 if (chip->events_enabled) in tsl2591_resume()
1061 if (!chip->events_enabled) in tsl2591_event_handler()
1170 chip->events_enabled = false; in tsl2591_probe()