Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da228e/
H A Dda228e_core.c45 static short temp_z[TEMP_CALIBRATE_STATIC_COUNT]; in da228e_temp_calibrate_detect_static() local
56 temp_z[0] = z; in da228e_temp_calibrate_detect_static()
60 temp_z[i] = temp_z[0]; in da228e_temp_calibrate_detect_static()
66 max_z = min_z = temp_z[1]; in da228e_temp_calibrate_detect_static()
72 temp_z[i] = z; in da228e_temp_calibrate_detect_static()
76 temp_z[i] = temp_z[i+1]; in da228e_temp_calibrate_detect_static()
80 max_z = (max_z > temp_z[i]) ? max_z:temp_z[i]; in da228e_temp_calibrate_detect_static()
84 min_z = (min_z < temp_z[i]) ? min_z:temp_z[i]; in da228e_temp_calibrate_detect_static()
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da215s/
H A Dda215s_core.c48 static short temp_z[TEMP_CALIBRATE_STATIC_COUNT]; in da215s_temp_calibrate_detect_static() local
59 temp_z[0] = z; in da215s_temp_calibrate_detect_static()
63 temp_z[i] = temp_z[0]; in da215s_temp_calibrate_detect_static()
69 max_z = min_z = temp_z[1]; in da215s_temp_calibrate_detect_static()
75 temp_z[i] = z; in da215s_temp_calibrate_detect_static()
79 temp_z[i] = temp_z[i+1]; in da215s_temp_calibrate_detect_static()
83 max_z = (max_z > temp_z[i]) ? max_z:temp_z[i]; in da215s_temp_calibrate_detect_static()
87 min_z = (min_z < temp_z[i]) ? min_z:temp_z[i]; in da215s_temp_calibrate_detect_static()