Lines Matching refs:checksum
37 u8 checksum; in acpi_ut_verify_checksum() local
51 checksum = in acpi_ut_verify_checksum()
53 table->checksum); in acpi_ut_verify_checksum()
57 if (checksum != table->checksum) { in acpi_ut_verify_checksum()
61 table->signature, table->checksum, in acpi_ut_verify_checksum()
62 table->checksum - checksum)); in acpi_ut_verify_checksum()
89 u8 checksum; in acpi_ut_verify_cdat_checksum() local
93 checksum = acpi_ut_generate_checksum(ACPI_CAST_PTR(u8, cdat_table), in acpi_ut_verify_cdat_checksum()
95 cdat_table->checksum); in acpi_ut_verify_cdat_checksum()
99 if (checksum != cdat_table->checksum) { in acpi_ut_verify_cdat_checksum()
103 acpi_gbl_CDAT, cdat_table->checksum, in acpi_ut_verify_cdat_checksum()
104 checksum)); in acpi_ut_verify_cdat_checksum()
111 cdat_table->checksum = checksum; in acpi_ut_verify_cdat_checksum()
131 u8 checksum; in acpi_ut_generate_checksum() local
135 checksum = acpi_ut_checksum((u8 *)table, length); in acpi_ut_generate_checksum()
139 checksum = (u8)(checksum - original_checksum); in acpi_ut_generate_checksum()
143 checksum = (u8)(0 - checksum); in acpi_ut_generate_checksum()
144 return (checksum); in acpi_ut_generate_checksum()