Searched refs:soft_iron (Results 1 – 4 of 4) sorted by relevance
1376 matrix[i] = sensors.soft_iron.matrix_d[i]; in inv_get_compass_soft_iron_matrix_d()1387 sensors.soft_iron.matrix_d[i] = matrix[i]; in inv_set_compass_soft_iron_matrix_d()1389 sensors.soft_iron.matrix_f[i] = inv_q30_to_float(matrix[i]); in inv_set_compass_soft_iron_matrix_d()1398 matrix[i] = sensors.soft_iron.matrix_f[i]; in inv_get_compass_soft_iron_matrix_f()1408 sensors.soft_iron.matrix_f[i] = matrix[i]; in inv_set_compass_soft_iron_matrix_f()1410 sensors.soft_iron.matrix_d[i] = (long )(matrix[i]*ROT_MATRIX_SCALE_LONG); in inv_set_compass_soft_iron_matrix_f()1420 data[i] = sensors.soft_iron.trans[i]; in inv_get_compass_soft_iron_output_data()1429 data[i] = sensors.soft_iron.raw[i]; in inv_get_compass_soft_iron_input_data()1438 sensors.soft_iron.raw[i] = data[i]; in inv_set_compass_soft_iron_input_data()1440 if (sensors.soft_iron.enable == 1) { in inv_set_compass_soft_iron_input_data()[all …]
134 struct inv_soft_iron_t soft_iron; member
1603 matrix[i] = sensors.soft_iron.matrix_d[i]; in inv_get_compass_soft_iron_matrix_d()1614 sensors.soft_iron.matrix_d[i] = matrix[i]; in inv_set_compass_soft_iron_matrix_d()1616 sensors.soft_iron.matrix_f[i] = inv_q30_to_float(matrix[i]); in inv_set_compass_soft_iron_matrix_d()1625 matrix[i] = sensors.soft_iron.matrix_f[i]; in inv_get_compass_soft_iron_matrix_f()1635 sensors.soft_iron.matrix_f[i] = matrix[i]; in inv_set_compass_soft_iron_matrix_f()1637 sensors.soft_iron.matrix_d[i] = (long )(matrix[i]*ROT_MATRIX_SCALE_LONG); in inv_set_compass_soft_iron_matrix_f()1647 data[i] = sensors.soft_iron.trans[i]; in inv_get_compass_soft_iron_output_data()1656 data[i] = sensors.soft_iron.raw[i]; in inv_get_compass_soft_iron_input_data()1665 sensors.soft_iron.raw[i] = data[i]; in inv_set_compass_soft_iron_input_data()1667 if (sensors.soft_iron.enable == 1) { in inv_set_compass_soft_iron_input_data()[all …]
137 struct inv_soft_iron_t soft_iron; member