Searched refs:raw_cfg_len (Results 1 – 1 of 1) sorted by relevance
530 int i, raw_cfg_len = len - 2; in goodix_check_cfg_8() local533 for (i = 0; i < raw_cfg_len; i++) in goodix_check_cfg_8()536 if (check_sum != cfg[raw_cfg_len]) { in goodix_check_cfg_8()542 if (cfg[raw_cfg_len + 1] != 1) { in goodix_check_cfg_8()553 int i, raw_cfg_len = ts->chip->config_len - 2; in goodix_calc_cfg_checksum_8() local556 for (i = 0; i < raw_cfg_len; i++) in goodix_calc_cfg_checksum_8()560 ts->config[raw_cfg_len] = check_sum; in goodix_calc_cfg_checksum_8()561 ts->config[raw_cfg_len + 1] = 1; /* Set "config_fresh" bit */ in goodix_calc_cfg_checksum_8()567 int i, raw_cfg_len = len - 3; in goodix_check_cfg_16() local570 for (i = 0; i < raw_cfg_len; i += 2) in goodix_check_cfg_16()[all …]