Lines Matching refs:mma_axis
168 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()
382 IIO_MOD_EVENT_CODE(IIO_INCLI, 0, (mma_axis + 1), in mma9551_event_handler()