Searched refs:range_2g (Results 1 – 1 of 1) sorted by relevance
963 int range_2g; in dualsense_get_calibration_data() local1039 range_2g = acc_x_plus - acc_x_minus; in dualsense_get_calibration_data()1041 ds->accel_calib_data[0].bias = acc_x_plus - range_2g / 2; in dualsense_get_calibration_data()1043 ds->accel_calib_data[0].sens_denom = range_2g; in dualsense_get_calibration_data()1045 range_2g = acc_y_plus - acc_y_minus; in dualsense_get_calibration_data()1047 ds->accel_calib_data[1].bias = acc_y_plus - range_2g / 2; in dualsense_get_calibration_data()1049 ds->accel_calib_data[1].sens_denom = range_2g; in dualsense_get_calibration_data()1051 range_2g = acc_z_plus - acc_z_minus; in dualsense_get_calibration_data()1053 ds->accel_calib_data[2].bias = acc_z_plus - range_2g / 2; in dualsense_get_calibration_data()1055 ds->accel_calib_data[2].sens_denom = range_2g; in dualsense_get_calibration_data()[all …]