Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c187 struct sfh_gyro_data gyro_data; in get_input_rep() local
212 memcpy_fromio(&gyro_data, sensoraddr, sizeof(struct sfh_gyro_data)); 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()