Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da228e/
H A Dda228e_core.c102 int tem_z = 0; in da228e_temp_calibrate() local
113 tem_z = squareRoot(MIR3DA_OFFSET_SEN*MIR3DA_OFFSET_SEN - in da228e_temp_calibrate()
117 z_offset = (*z >= 0) ? (tem_z-*z) : (-tem_z-*z); in da228e_temp_calibrate()
118 *z = ((*z >= 0) ? (1) : (-1))*tem_z; in da228e_temp_calibrate()
121 *z = ((*z >= 0) ? (1) : (-1))*tem_z; in da228e_temp_calibrate()
163 tem_z = squareRoot(MIR3DA_OFFSET_SEN*MIR3DA_OFFSET_SEN - in da228e_temp_calibrate()
165 *z = ((*z >= 0) ? (1) : (-1))*tem_z; in da228e_temp_calibrate()
/OK3568_Linux_fs/kernel/drivers/input/sensors/accel/da215s/
H A Dda215s_core.c104 int tem_z = 0; in da215s_temp_calibrate() local
114 tem_z = squareRoot(MIR3DA_OFFSET_SEN*MIR3DA_OFFSET_SEN - in da215s_temp_calibrate()
118 z_offset = (*z >= 0) ? (tem_z-*z) : (-tem_z-*z); in da215s_temp_calibrate()
119 *z = ((*z >= 0) ? (1) : (-1))*tem_z; in da215s_temp_calibrate()
122 *z = ((*z >= 0) ? (1) : (-1))*tem_z; in da215s_temp_calibrate()
165 tem_z = squareRoot(MIR3DA_OFFSET_SEN*MIR3DA_OFFSET_SEN - in da215s_temp_calibrate()
167 *z = ((*z >= 0) ? (1) : (-1)) * tem_z; in da215s_temp_calibrate()