Lines Matching refs:x_channel_num
115 matrix_config->x_channel_num > 1 && in touch_matrix_create()
116 matrix_config->x_channel_num < TOUCH_PAD_MAX && in touch_matrix_create()
120 …TE_CHECK(te_object_check_channel(matrix_config->x_channel_array, matrix_config->x_channel_num) == … in touch_matrix_create()
128 …te_matrix->device = (te_dev_t **)calloc(matrix_config->x_channel_num + matrix_config->y_channel_nu… in touch_matrix_create()
130 for (int idx = 0; idx < matrix_config->x_channel_num + matrix_config->y_channel_num; idx++) { in touch_matrix_create()
138 ret = te_dev_init(&te_matrix->device[0], matrix_config->x_channel_num, TOUCH_ELEM_TYPE_MATRIX, in touch_matrix_create()
143 … ret = te_dev_init(&te_matrix->device[matrix_config->x_channel_num], matrix_config->y_channel_num, in touch_matrix_create()
155 te_matrix->x_channel_num = matrix_config->x_channel_num; in touch_matrix_create()
170 … for (int idx = 0; idx < matrix_config->x_channel_num + matrix_config->y_channel_num; idx++) { in touch_matrix_create()
189 te_dev_deinit(te_matrix->device, te_matrix->x_channel_num + te_matrix->y_channel_num); in touch_matrix_delete()
190 for (int idx = 0; idx < te_matrix->x_channel_num + te_matrix->y_channel_num; idx++) { in touch_matrix_delete()
346 for (int idx = 0; idx < matrix_handle->x_channel_num + matrix_handle->y_channel_num; idx++) { in matrix_channel_check()
358 for (int idx = 0; idx < matrix_handle->x_channel_num + matrix_handle->y_channel_num; idx++) { in matrix_set_threshold()
367 for (int idx = 0; idx < matrix_handle->x_channel_num + matrix_handle->y_channel_num; idx++) { in matrix_update_state()
377 for (int idx = 0; idx < matrix_handle->x_channel_num + matrix_handle->y_channel_num; idx++) { in matrix_reset_state()
426 for (int idx = 0; idx < matrix_handle->x_channel_num + matrix_handle->y_channel_num; idx++) { in matrix_scan_axis()
429 if (idx < matrix_handle->x_channel_num) { in matrix_scan_axis()
432 … press_pos->y_axis = idx - matrix_handle->x_channel_num; //Write down the y axis info in matrix_scan_axis()
436 if (idx < matrix_handle->x_channel_num) { in matrix_scan_axis()
439 release_pos->y_axis = idx - matrix_handle->x_channel_num; in matrix_scan_axis()
466 … for (int idx = 0; idx < matrix_handle->x_channel_num + matrix_handle->y_channel_num; idx++) { in matrix_pre_fixed()
483 device = matrix_handle->device[release_pos->y_axis + matrix_handle->x_channel_num]; in matrix_pre_fixed()
496 device = matrix_handle->device[press_pos->y_axis + matrix_handle->x_channel_num]; in matrix_pre_fixed()