Lines Matching full:calibration
153 /* Linearization calibration x, y1, y2 */
156 /* Temperature compensation calibration */
158 /* Misc calibration coefficients */
179 * @get_calibration_data: function pointer to get calibration data
180 * @dump_calibration: function pointer to dump calibration for debugging
211 * @calibration: calibration settings from the OTP storage
226 struct yas5xx_calibration calibration; member
370 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_measure()
406 /* The second version of YAS537 needs to include calibration coefficients */ in yas537_measure()
434 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_linearize()
466 * Where f and r are calibration values, c is a per-device in yas530_linearize()
503 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_get_measure()
782 * yas530_extract_calibration() - extracts the a2-a9 and k calibration
784 * @c: the calibration to populate
793 * Bitfield layout for the axis calibration data, for factor in yas530_extract_calibration()
820 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_get_calibration_data()
830 /* Actual calibration readout */ in yas530_get_calibration_data()
834 dev_dbg(yas5xx->dev, "calibration data: %16ph\n", data); in yas530_get_calibration_data()
836 /* Contribute calibration data to the input pool for kernel entropy */ in yas530_get_calibration_data()
842 /* Extract the calibration from the bitfield */ in yas530_get_calibration_data()
872 struct yas5xx_calibration *c = &yas5xx->calibration; in yas532_get_calibration_data()
881 /* Actual calibration readout */ in yas532_get_calibration_data()
885 dev_dbg(yas5xx->dev, "calibration data: %14ph\n", data); in yas532_get_calibration_data()
889 dev_warn(yas5xx->dev, "calibration is blank!\n"); in yas532_get_calibration_data()
891 /* Contribute calibration data to the input pool for kernel entropy */ in yas532_get_calibration_data()
897 /* Extract calibration from the bitfield */ in yas532_get_calibration_data()
927 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_get_calibration_data()
937 /* Calibration readout, YAS537 needs one readout only */ in yas537_get_calibration_data()
941 dev_dbg(yas5xx->dev, "calibration data: %17ph\n", data); in yas537_get_calibration_data()
945 dev_warn(yas5xx->dev, "calibration is blank!\n"); in yas537_get_calibration_data()
947 /* Contribute calibration data to the input pool for kernel entropy */ in yas537_get_calibration_data()
1002 * extracts calibration coefficients. in yas537_get_calibration_data()
1099 /* Extract calibration coefficients and modify */ in yas537_get_calibration_data()
1124 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_dump_calibration()
1147 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_dump_calibration()
1249 /* Needed for calibration algorithm */ in yas530_measure_offsets()
1277 val = FIELD_PREP(YAS5XX_CONFIG_CCK_MASK, yas5xx->calibration.dck); in yas530_power_on()