Home
last modified time | relevance | path

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

/openbmc/linux/drivers/iio/accel/
H A Dmma9553.c337 struct mma9553_event *ev_step_detect; in mma9553_conf_gpio() local
342 ev_step_detect = mma9553_get_event(data, IIO_STEPS, IIO_NO_MOD, in mma9553_conf_gpio()
349 if (activity_enabled && ev_step_detect->enabled) in mma9553_conf_gpio()
351 else if (ev_step_detect->enabled) in mma9553_conf_gpio()
362 if (activity_enabled || ev_step_detect->enabled) { in mma9553_conf_gpio()
1010 struct mma9553_event *ev_activity, *ev_prev_activity, *ev_step_detect; in mma9553_event_handler() local
1027 ev_step_detect = mma9553_get_event(data, IIO_STEPS, IIO_NO_MOD, in mma9553_event_handler()
1030 if (ev_step_detect->enabled && (stepcnt != data->stepcnt)) { in mma9553_event_handler()