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()
407 /* The second version of YAS537 needs to include calibration coefficients */ in yas537_measure()
435 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_linearize()
467 * Where f and r are calibration values, c is a per-device in yas530_linearize()
504 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_get_measure()
783 * yas530_extract_calibration() - extracts the a2-a9 and k calibration
785 * @c: the calibration to populate
794 * Bitfield layout for the axis calibration data, for factor in yas530_extract_calibration()
821 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_get_calibration_data()
831 /* Actual calibration readout */ in yas530_get_calibration_data()
835 dev_dbg(yas5xx->dev, "calibration data: %16ph\n", data); in yas530_get_calibration_data()
837 /* Contribute calibration data to the input pool for kernel entropy */ in yas530_get_calibration_data()
843 /* Extract the calibration from the bitfield */ in yas530_get_calibration_data()
873 struct yas5xx_calibration *c = &yas5xx->calibration; in yas532_get_calibration_data()
882 /* Actual calibration readout */ in yas532_get_calibration_data()
886 dev_dbg(yas5xx->dev, "calibration data: %14ph\n", data); in yas532_get_calibration_data()
890 dev_warn(yas5xx->dev, "calibration is blank!\n"); in yas532_get_calibration_data()
892 /* Contribute calibration data to the input pool for kernel entropy */ in yas532_get_calibration_data()
898 /* Extract calibration from the bitfield */ in yas532_get_calibration_data()
928 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_get_calibration_data()
938 /* Calibration readout, YAS537 needs one readout only */ in yas537_get_calibration_data()
942 dev_dbg(yas5xx->dev, "calibration data: %17ph\n", data); in yas537_get_calibration_data()
946 dev_warn(yas5xx->dev, "calibration is blank!\n"); in yas537_get_calibration_data()
948 /* Contribute calibration data to the input pool for kernel entropy */ in yas537_get_calibration_data()
1003 * extracts calibration coefficients. in yas537_get_calibration_data()
1100 /* Extract calibration coefficients and modify */ in yas537_get_calibration_data()
1125 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_dump_calibration()
1148 struct yas5xx_calibration *c = &yas5xx->calibration; in yas537_dump_calibration()
1250 /* Needed for calibration algorithm */ in yas530_measure_offsets()
1278 val = FIELD_PREP(YAS5XX_CONFIG_CCK_MASK, yas5xx->calibration.dck); in yas530_power_on()