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

/linux-4.1.27/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c161 * lis3lv02d_get_axis - For the given axis, give the value converted
167 static inline int lis3lv02d_get_axis(s8 axis, int hw_values[3]) lis3lv02d_get_axis() function
211 *x = lis3lv02d_get_axis(lis3->ac.x, position); lis3lv02d_get_xyz()
212 *y = lis3lv02d_get_axis(lis3->ac.y, position); lis3lv02d_get_xyz()
213 *z = lis3lv02d_get_axis(lis3->ac.z, position); lis3lv02d_get_xyz()
727 lis3->mapped_btns[0] = lis3lv02d_get_axis(abs(lis3->ac.x), btns); lis3lv02d_joystick_enable()
728 lis3->mapped_btns[1] = lis3lv02d_get_axis(abs(lis3->ac.y), btns); lis3lv02d_joystick_enable()
729 lis3->mapped_btns[2] = lis3lv02d_get_axis(abs(lis3->ac.z), btns); lis3lv02d_joystick_enable()

Completed in 40 milliseconds