Home
last modified time | relevance | path

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

/drivers/misc/lis3lv02d/
Dlis3lv02d.c155 static inline int lis3lv02d_get_axis(s8 axis, int hw_values[3]) in lis3lv02d_get_axis() function
199 *x = lis3lv02d_get_axis(lis3->ac.x, position); in lis3lv02d_get_xyz()
200 *y = lis3lv02d_get_axis(lis3->ac.y, position); in lis3lv02d_get_xyz()
201 *z = lis3lv02d_get_axis(lis3->ac.z, position); in lis3lv02d_get_xyz()
729 lis3->mapped_btns[0] = lis3lv02d_get_axis(abs(lis3->ac.x), btns); in lis3lv02d_joystick_enable()
730 lis3->mapped_btns[1] = lis3lv02d_get_axis(abs(lis3->ac.y), btns); in lis3lv02d_joystick_enable()
731 lis3->mapped_btns[2] = lis3lv02d_get_axis(abs(lis3->ac.z), btns); in lis3lv02d_joystick_enable()