Home
last modified time | relevance | path

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

/drivers/iio/accel/
Dmma9551.c168 enum mma9551_tilt_axis mma_axis; in mma9551_config_incli_event() local
172 mma_axis = axis - 1; in mma9551_config_incli_event()
174 if (data->event_enabled[mma_axis] == state) in mma9551_config_incli_event()
179 (enum mma9551_gpio_pin)mma_axis, in mma9551_config_incli_event()
211 (enum mma9551_gpio_pin)mma_axis, in mma9551_config_incli_event()
219 data->event_enabled[mma_axis] = state; in mma9551_config_incli_event()
338 int i, ret, mma_axis = -1; in mma9551_event_handler() local
346 mma_axis = i; in mma9551_event_handler()
350 if (mma_axis == -1) { in mma9551_event_handler()
357 switch (mma_axis) { in mma9551_event_handler()
[all …]