Searched refs:mag_data (Results 1 – 1 of 1) sorted by relevance
188 struct sfh_mag_data mag_data; in get_input_rep() local223 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()