Home | History | Annotate | Download | only in utilities

Lines Matching defs:Checksum

174  *              exception on bad checksum.
186 UINT8 Checksum;
191 * They are the odd tables, have no standard ACPI header and no checksum
199 /* Compute the checksum on the table */
202 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, Table), Length, Table->Checksum);
204 /* Computed checksum matches table? */
206 if (Checksum != Table->Checksum)
209 "Incorrect checksum in table [%4.4s] - 0x%2.2X, "
211 Table->Signature, Table->Checksum,
212 Table->Checksum - Checksum));
233 * returns an exception on bad checksum.
242 UINT8 Checksum;
245 /* Compute the checksum on the table */
247 Checksum = AcpiUtGenerateChecksum (ACPI_CAST_PTR (UINT8, CdatTable),
248 CdatTable->Length, CdatTable->Checksum);
250 /* Computed checksum matches table? */
252 if (Checksum != CdatTable->Checksum)
255 "Incorrect checksum in table [%4.4s] - 0x%2.2X, "
257 AcpiGbl_CDAT, CdatTable->Checksum, Checksum));
264 CdatTable->Checksum = Checksum;
275 * OriginalChecksum - Value of the checksum field
277 * RETURN: 8 bit checksum of buffer
279 * DESCRIPTION: Computes an 8 bit checksum of the table.
289 UINT8 Checksum;
294 Checksum = AcpiUtChecksum ((UINT8 *) Table, Length);
296 /* Subtract off the existing checksum value in the table */
298 Checksum = (UINT8) (Checksum - OriginalChecksum);
300 /* Compute and return the final checksum */
302 Checksum = (UINT8) (0 - Checksum);
303 return (Checksum);
314 * RETURN: Checksum (UINT8)
316 * DESCRIPTION: Calculates circular checksum of memory region.