Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/iio/accel/
Dmma9553.c345 struct mma9553_event *ev_step_detect; in mma9553_conf_gpio() local
350 ev_step_detect = mma9553_get_event(data, IIO_STEPS, IIO_NO_MOD, in mma9553_conf_gpio()
357 if (activity_enabled && ev_step_detect->enabled) in mma9553_conf_gpio()
359 else if (ev_step_detect->enabled) in mma9553_conf_gpio()
370 if (activity_enabled || ev_step_detect->enabled) { in mma9553_conf_gpio()
1018 struct mma9553_event *ev_activity, *ev_prev_activity, *ev_step_detect; in mma9553_event_handler() local
1035 ev_step_detect = mma9553_get_event(data, IIO_STEPS, IIO_NO_MOD, in mma9553_event_handler()
1038 if (ev_step_detect->enabled && (stepcnt != data->stepcnt)) { in mma9553_event_handler()