Home
last modified time | relevance | path

Searched refs:tbl_byte_sum (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c208 control->tbl_byte_sum -= old_hdr_byte_sum; in __update_tbl_checksum()
209 control->tbl_byte_sum += __calc_tbl_byte_sum(control, records, num); in __update_tbl_checksum()
211 control->tbl_hdr.checksum = 256 - (control->tbl_byte_sum % 256); in __update_tbl_checksum()
218 control->tbl_byte_sum = __calc_tbl_byte_sum(control, records, num); in __validate_tbl_checksum()
220 if (control->tbl_hdr.checksum + (control->tbl_byte_sum % 256) != 256) { in __validate_tbl_checksum()
259 control->tbl_byte_sum = 0; in amdgpu_ras_eeprom_reset_table()
313 control->tbl_byte_sum = __calc_hdr_byte_sum(control); in amdgpu_ras_eeprom_init()
Damdgpu_ras_eeprom.h50 uint32_t tbl_byte_sum; member