Searched refs:float_to_int (Results 1 – 1 of 1) sorted by relevance
135 static int float_to_int(u32 flt32_val) in float_to_int() function203 acc_input.in_accel_x_value = float_to_int(accel_data.acceldata.x) / 100; in get_input_rep()204 acc_input.in_accel_y_value = float_to_int(accel_data.acceldata.y) / 100; in get_input_rep()205 acc_input.in_accel_z_value = float_to_int(accel_data.acceldata.z) / 100; in get_input_rep()214 gyro_input.in_angel_x_value = float_to_int(gyro_data.gyrodata.x) / 1000; in get_input_rep()215 gyro_input.in_angel_y_value = float_to_int(gyro_data.gyrodata.y) / 1000; in get_input_rep()216 gyro_input.in_angel_z_value = float_to_int(gyro_data.gyrodata.z) / 1000; in get_input_rep()225 magno_input.in_magno_x = float_to_int(mag_data.magdata.x) / 100; in get_input_rep()226 magno_input.in_magno_y = float_to_int(mag_data.magdata.y) / 100; in get_input_rep()227 magno_input.in_magno_z = float_to_int(mag_data.magdata.z) / 100; in get_input_rep()[all …]