Home
last modified time | relevance | path

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

/openbmc/linux/drivers/hid/amd-sfh-hid/sfh1_1/
H A Damd_sfh_desc.c188 struct sfh_mag_data mag_data; in get_input_rep() local
223 memcpy_fromio(&mag_data, sensoraddr, sizeof(struct sfh_mag_data)); 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()
228 magno_input.in_magno_accuracy = mag_data.accuracy / 100; in get_input_rep()