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

/linux-4.1.27/drivers/iio/accel/
H A Dmma9551.c177 enum mma9551_tilt_axis mma_axis; mma9551_config_incli_event() local
181 mma_axis = axis - 1; mma9551_config_incli_event()
183 if (data->event_enabled[mma_axis] == state) mma9551_config_incli_event()
188 (enum mma9551_gpio_pin)mma_axis, mma9551_config_incli_event()
220 (enum mma9551_gpio_pin)mma_axis, mma9551_config_incli_event()
228 data->event_enabled[mma_axis] = state; mma9551_config_incli_event()
348 int i, ret, mma_axis = -1; mma9551_event_handler() local
356 mma_axis = i; mma9551_event_handler()
360 if (mma_axis == -1) { mma9551_event_handler()
367 switch (mma_axis) { mma9551_event_handler()
392 IIO_MOD_EVENT_CODE(IIO_INCLI, 0, (mma_axis + 1), mma9551_event_handler()

Completed in 32 milliseconds