Searched refs:tp_wrap (Results 1 – 1 of 1) sorted by relevance
288 touch_pad_t tp_wrap = touch_ll_num_wrap(touch_num); in touch_ll_set_threshold() local289 if (tp_wrap & 0x1) { in touch_ll_set_threshold()290 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.touch_thresh[tp_wrap / 2], l_thresh, threshold); in touch_ll_set_threshold()292 HAL_FORCE_MODIFY_U32_REG_FIELD(SENS.touch_thresh[tp_wrap / 2], h_thresh, threshold); in touch_ll_set_threshold()304 touch_pad_t tp_wrap = touch_ll_num_wrap(touch_num); in touch_ll_get_threshold() local306 *threshold = (tp_wrap & 0x1 ) ? in touch_ll_get_threshold()307 HAL_FORCE_READ_U32_REG_FIELD(SENS.touch_thresh[tp_wrap / 2], l_thresh) : in touch_ll_get_threshold()308 HAL_FORCE_READ_U32_REG_FIELD(SENS.touch_thresh[tp_wrap / 2], h_thresh); in touch_ll_get_threshold()487 touch_pad_t tp_wrap = touch_ll_num_wrap(touch_num); in touch_ll_read_raw_data() local488 return ((tp_wrap & 0x1) ? HAL_FORCE_READ_U32_REG_FIELD(SENS.touch_meas[tp_wrap / 2], l_val) : in touch_ll_read_raw_data()[all …]