Searched refs:reg_p (Results 1 – 1 of 1) sorted by relevance
126 unsigned char reg_p[CY8CTMG110_REG_MAX]; in cy8ctmg110_touch_pos() local129 memset(reg_p, 0, CY8CTMG110_REG_MAX); in cy8ctmg110_touch_pos()132 if (cy8ctmg110_read_regs(tsc, reg_p, 9, CY8CTMG110_TOUCH_X1) != 0) in cy8ctmg110_touch_pos()135 y = reg_p[2] << 8 | reg_p[3]; in cy8ctmg110_touch_pos()136 x = reg_p[0] << 8 | reg_p[1]; in cy8ctmg110_touch_pos()139 if (reg_p[8] == 0) { in cy8ctmg110_touch_pos()154 unsigned char reg_p[3]; in cy8ctmg110_set_sleepmode() local157 reg_p[0] = 0x00; in cy8ctmg110_set_sleepmode()158 reg_p[1] = 0xff; in cy8ctmg110_set_sleepmode()159 reg_p[2] = 5; in cy8ctmg110_set_sleepmode()[all …]