Home
last modified time | relevance | path

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

/drivers/iio/light/
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()