Searched refs:raw_cfg_len (Results 1 – 1 of 1) sorted by relevance
522 int i, raw_cfg_len = len - 2; in goodix_check_cfg_8() local525 for (i = 0; i < raw_cfg_len; i++) in goodix_check_cfg_8()528 if (check_sum != cfg[raw_cfg_len]) { in goodix_check_cfg_8()534 if (cfg[raw_cfg_len + 1] != 1) { in goodix_check_cfg_8()545 int i, raw_cfg_len = ts->chip->config_len - 2; in goodix_calc_cfg_checksum_8() local548 for (i = 0; i < raw_cfg_len; i++) in goodix_calc_cfg_checksum_8()552 ts->config[raw_cfg_len] = check_sum; in goodix_calc_cfg_checksum_8()553 ts->config[raw_cfg_len + 1] = 1; /* Set "config_fresh" bit */ in goodix_calc_cfg_checksum_8()559 int i, raw_cfg_len = len - 3; in goodix_check_cfg_16() local562 for (i = 0; i < raw_cfg_len; i += 2) in goodix_check_cfg_16()[all …]