Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c46 #define RAS_TABLE_HEADER_SIZE 20 macro
60 #define RAS_RECORD_START (RAS_HDR_START + RAS_TABLE_HEADER_SIZE)
61 #define RAS_MAX_RECORD_COUNT ((RAS_TBL_SIZE_BYTES - RAS_TABLE_HEADER_SIZE) \
84 RAS_TABLE_HEADER_SIZE) / RAS_TABLE_RECORD_SIZE)
188 u8 buf[RAS_TABLE_HEADER_SIZE]; in __write_table_header()
200 buf, RAS_TABLE_HEADER_SIZE); in __write_table_header()
205 } else if (res < RAS_TABLE_HEADER_SIZE) { in __write_table_header()
207 res, RAS_TABLE_HEADER_SIZE); in __write_table_header()
275 hdr->tbl_size = RAS_TABLE_HEADER_SIZE; in amdgpu_ras_eeprom_reset_table()
538 control->tbl_hdr.tbl_size = RAS_TABLE_HEADER_SIZE + control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header()
[all …]