Lines Matching refs:checksum
24 #define INST_HAS_CHECKSUM(n) DT_INST_PROP(n, checksum) ||
220 uint32_t checksum = 0; in retention_is_valid() local
224 rc = retention_checksum(dev, &checksum); in retention_is_valid()
252 if (checksum != expected_checksum) { in retention_is_valid()
330 uint32_t checksum = 0; in retention_write() local
332 rc = retention_checksum(dev, &checksum); in retention_write()
339 uint8_t output_checksum = (uint8_t)checksum; in retention_write()
345 uint16_t output_checksum = (uint16_t)checksum; in retention_write()
353 (void *)&checksum, sizeof(checksum)); in retention_write()
411 .checksum_size = DT_INST_PROP(inst, checksum), \
416 DT_INST_PROP(inst, checksum)), \