Lines Matching refs:READ_POS_BUF
548 #define READ_POS_BUF(reg) buf[((reg) - POS_X1_H)] in rohm_ts_soft_irq() macro
554 touch_flags = READ_POS_BUF(TOUCH_GESTURE) & TOUCH_MASK; in rohm_ts_soft_irq()
557 pos[0].x = ((s16)READ_POS_BUF(POS_X1_H) << 2) | in rohm_ts_soft_irq()
558 READ_POS_BUF(POS_X1_L); in rohm_ts_soft_irq()
559 pos[0].y = ((s16)READ_POS_BUF(POS_Y1_H) << 2) | in rohm_ts_soft_irq()
560 READ_POS_BUF(POS_Y1_L); in rohm_ts_soft_irq()
561 pos[1].x = ((s16)READ_POS_BUF(POS_X2_H) << 2) | in rohm_ts_soft_irq()
562 READ_POS_BUF(POS_X2_L); in rohm_ts_soft_irq()
563 pos[1].y = ((s16)READ_POS_BUF(POS_Y2_H) << 2) | in rohm_ts_soft_irq()
564 READ_POS_BUF(POS_Y2_L); in rohm_ts_soft_irq()
628 if (READ_POS_BUF(TOUCH_GESTURE) & CALIBRATION_REQUEST) { in rohm_ts_soft_irq()