Searched refs:mag_data (Results 1 – 1 of 1) sorted by relevance
172 struct sfh_mag_data mag_data; in get_input_rep() local207 memcpy_fromio(&mag_data, sensoraddr, sizeof(struct sfh_mag_data)); 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()212 magno_input.in_magno_accuracy = mag_data.accuracy / 100; in get_input_rep()