Home
last modified time | relevance | path

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

/openbmc/linux/drivers/input/touchscreen/
H A Drohm_bu21023.c548 #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()
[all …]