Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_desc.c135 int amd_sfh_float_to_int(u32 flt32_val) in amd_sfh_float_to_int() function
204 acc_input.in_accel_x_value = amd_sfh_float_to_int(accel_data.acceldata.x) / 100; in get_input_rep()
205 acc_input.in_accel_y_value = amd_sfh_float_to_int(accel_data.acceldata.y) / 100; in get_input_rep()
206 acc_input.in_accel_z_value = amd_sfh_float_to_int(accel_data.acceldata.z) / 100; in get_input_rep()
215 gyro_input.in_angel_x_value = amd_sfh_float_to_int(gyro_data.gyrodata.x) / 1000; in get_input_rep()
216 gyro_input.in_angel_y_value = amd_sfh_float_to_int(gyro_data.gyrodata.y) / 1000; in get_input_rep()
217 gyro_input.in_angel_z_value = amd_sfh_float_to_int(gyro_data.gyrodata.z) / 1000; in get_input_rep()
226 magno_input.in_magno_x = amd_sfh_float_to_int(mag_data.magdata.x) / 100; in get_input_rep()
227 magno_input.in_magno_y = amd_sfh_float_to_int(mag_data.magdata.y) / 100; in get_input_rep()
228 magno_input.in_magno_z = amd_sfh_float_to_int(mag_data.magdata.z) / 100; in get_input_rep()
[all …]
Damd_sfh_interface.h170 int amd_sfh_float_to_int(u32 flt32_val);
Damd_sfh_interface.c121 *ambient_light = amd_sfh_float_to_int(als_data.lux); in amd_sfh_als_info()