Lines Matching refs:reg_p
113 unsigned char reg_p[CY8CTMG110_REG_MAX]; in cy8ctmg110_touch_pos() local
115 memset(reg_p, 0, CY8CTMG110_REG_MAX); in cy8ctmg110_touch_pos()
118 if (cy8ctmg110_read_regs(tsc, reg_p, 9, CY8CTMG110_TOUCH_X1) != 0) in cy8ctmg110_touch_pos()
122 if (reg_p[8] == 0) { in cy8ctmg110_touch_pos()
127 be16_to_cpup((__be16 *)(reg_p + 0))); in cy8ctmg110_touch_pos()
129 be16_to_cpup((__be16 *)(reg_p + 2))); in cy8ctmg110_touch_pos()
139 unsigned char reg_p[3]; in cy8ctmg110_set_sleepmode() local
142 reg_p[0] = 0x00; in cy8ctmg110_set_sleepmode()
143 reg_p[1] = 0xff; in cy8ctmg110_set_sleepmode()
144 reg_p[2] = 5; in cy8ctmg110_set_sleepmode()
146 reg_p[0] = 0x10; in cy8ctmg110_set_sleepmode()
147 reg_p[1] = 0xff; in cy8ctmg110_set_sleepmode()
148 reg_p[2] = 0; in cy8ctmg110_set_sleepmode()
151 return cy8ctmg110_write_regs(ts, CY8CTMG110_TOUCH_WAKEUP_TIME, 3, reg_p); in cy8ctmg110_set_sleepmode()