Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ras_eeprom.c49 #define RAS_TABLE_HEADER_SIZE 20 macro
63 #define RAS_RECORD_START (RAS_HDR_START + RAS_TABLE_HEADER_SIZE)
64 #define RAS_MAX_RECORD_COUNT ((RAS_TBL_SIZE_BYTES - RAS_TABLE_HEADER_SIZE) \
87 RAS_TABLE_HEADER_SIZE) / RAS_TABLE_RECORD_SIZE)
200 u8 buf[RAS_TABLE_HEADER_SIZE]; in __write_table_header()
212 buf, RAS_TABLE_HEADER_SIZE); in __write_table_header()
217 } else if (res < RAS_TABLE_HEADER_SIZE) { in __write_table_header()
219 res, RAS_TABLE_HEADER_SIZE); in __write_table_header()
289 hdr->tbl_size = RAS_TABLE_HEADER_SIZE; in amdgpu_ras_eeprom_reset_table()
566 control->tbl_hdr.tbl_size = RAS_TABLE_HEADER_SIZE + control->ras_num_recs * RAS_TABLE_RECORD_SIZE; in amdgpu_ras_eeprom_update_header()
[all …]