Home
last modified time | relevance | path

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

/linux/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c66 #define LIS3_ACCURACY 1024 macro
68 #define LIS3_SENSITIVITY_12B ((LIS3_ACCURACY * 1000) / 1024)
69 #define LIS3_SENSITIVITY_8B (18 * LIS3_ACCURACY)
77 #define LIS3DLH_SENSITIVITY_2G ((LIS3_ACCURACY * 1000) / 1024)
197 position[i] = (position[i] * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_get_xyz()
702 max_val = (lis3->mdps_max_val * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable()
710 fuzz = (fuzz * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable()
711 flat = (flat * lis3->scale) / LIS3_ACCURACY; in lis3lv02d_joystick_enable()