Home
last modified time | relevance | path

Searched refs:READ_CALIB_BUF (Results 1 – 1 of 1) sorted by relevance

/linux-5.19.10/drivers/input/touchscreen/
Drohm_bu21023.c362 #define READ_CALIB_BUF(reg) buf[((reg) - PRM1_X_H)] in rohm_ts_manual_calibration() macro
368 if (READ_CALIB_BUF(TOUCH) & TOUCH_DETECT) in rohm_ts_manual_calibration()
373 calib_x = ((int)READ_CALIB_BUF(PRM1_X_H) << 2 | in rohm_ts_manual_calibration()
374 READ_CALIB_BUF(PRM1_X_L)) - AXIS_OFFSET; in rohm_ts_manual_calibration()
375 calib_y = ((int)READ_CALIB_BUF(PRM1_Y_H) << 2 | in rohm_ts_manual_calibration()
376 READ_CALIB_BUF(PRM1_Y_L)) - AXIS_OFFSET; in rohm_ts_manual_calibration()
386 err_x = (int)READ_CALIB_BUF(PRM1_X_H) << 2 | in rohm_ts_manual_calibration()
387 READ_CALIB_BUF(PRM1_X_L); in rohm_ts_manual_calibration()
388 err_y = (int)READ_CALIB_BUF(PRM1_Y_H) << 2 | in rohm_ts_manual_calibration()
389 READ_CALIB_BUF(PRM1_Y_L); in rohm_ts_manual_calibration()