Lines Matching full:calibration
101 /* Linearization calibration x, y1, y2 */
104 /* Temperature compensation calibration */
106 /* Misc calibration coefficients */
118 * @calibration: calibration settings from the OTP storage
134 struct yas5xx_calibration calibration; member
266 struct yas5xx_calibration *c = &yas5xx->calibration; in yas5xx_linearize()
298 * Where f and r are calibration values, c is a per-device in yas5xx_linearize()
318 struct yas5xx_calibration *c = &yas5xx->calibration; in yas5xx_get_measure()
542 * yas53x_extract_calibration() - extracts the a2-a9 and k calibration
544 * @c: the calibration to populate
551 * Bitfield layout for the axis calibration data, for factor in yas53x_extract_calibration()
578 struct yas5xx_calibration *c = &yas5xx->calibration; in yas530_get_calibration_data()
588 /* Actual calibration readout */ in yas530_get_calibration_data()
592 dev_dbg(yas5xx->dev, "calibration data: %*ph\n", 14, data); in yas530_get_calibration_data()
597 /* Extract the calibration from the bitfield */ in yas530_get_calibration_data()
626 struct yas5xx_calibration *c = &yas5xx->calibration; in yas532_get_calibration_data()
635 /* Actual calibration readout */ in yas532_get_calibration_data()
639 dev_dbg(yas5xx->dev, "calibration data: %*ph\n", 14, data); in yas532_get_calibration_data()
644 dev_warn(yas5xx->dev, "calibration is blank!\n"); in yas532_get_calibration_data()
651 /* Extract calibration from the bitfield */ in yas532_get_calibration_data()
680 struct yas5xx_calibration *c = &yas5xx->calibration; in yas5xx_dump_calibration()
781 /* Needed for calibration algorithm */ in yas5xx_meaure_offsets()
808 val = FIELD_PREP(YAS5XX_CONFIG_CCK_MASK, yas5xx->calibration.dck); in yas5xx_power_on()