Lines Matching refs:sStRegMap
132 static S_ST_REGMAP sStRegMap; variable
147 error = st1663i_read_reg(&st1663i_client, 0x10, (rt_uint8_t *)&sStRegMap, sizeof(sStRegMap)); in st1663i_read_point()
154 if (sStRegMap.u8Fingers > ST_MAX_TOUCH) in st1663i_read_point()
156 LOG_E("FW report max point:%d > panel info. max:%d\n", sStRegMap.u8Fingers, ST_MAX_TOUCH); in st1663i_read_point()
160 if (pre_touch > sStRegMap.u8Fingers) /* point up */ in st1663i_read_point()
165 for (j = 0; j < sStRegMap.u8Fingers; j++) /* this time touch num */ in st1663i_read_point()
173 if ((j == sStRegMap.u8Fingers) && (pre_id[i] != -1)) /* free this node */ in st1663i_read_point()
182 for (i = 0; i < sStRegMap.u8Fingers; i++) in st1663i_read_point()
184 touch_event = sStRegMap.m_sTP[i].u8Valid; in st1663i_read_point()
195 x = ((uint16_t)sStRegMap.m_sTP[i].u8X0_H << 8) | sStRegMap.m_sTP[i].m_u8X0_L; in st1663i_read_point()
196 y = ((uint16_t)sStRegMap.m_sTP[i].u8Y0_H << 8) | sStRegMap.m_sTP[i].m_u8Y0_L; in st1663i_read_point()
197 w = sStRegMap.m_sTP[i].m_u8Z; in st1663i_read_point()
219 pre_touch = sStRegMap.u8Fingers; in st1663i_read_point()