Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_desc.c135 static int float_to_int(u32 float32) in float_to_int() function
187 acc_input.in_accel_x_value = float_to_int(accel_data.acceldata.x) / 100; in get_input_rep()
188 acc_input.in_accel_y_value = float_to_int(accel_data.acceldata.y) / 100; in get_input_rep()
189 acc_input.in_accel_z_value = float_to_int(accel_data.acceldata.z) / 100; in get_input_rep()
198 gyro_input.in_angel_x_value = float_to_int(gyro_data.gyrodata.x) / 1000; in get_input_rep()
199 gyro_input.in_angel_y_value = float_to_int(gyro_data.gyrodata.y) / 1000; in get_input_rep()
200 gyro_input.in_angel_z_value = float_to_int(gyro_data.gyrodata.z) / 1000; in get_input_rep()
209 magno_input.in_magno_x = float_to_int(mag_data.magdata.x) / 100; in get_input_rep()
210 magno_input.in_magno_y = float_to_int(mag_data.magdata.y) / 100; in get_input_rep()
211 magno_input.in_magno_z = float_to_int(mag_data.magdata.z) / 100; in get_input_rep()