Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/ras/rascore/
H A Dras_cper.h283 #define RAS_HDR_LEN (sizeof(struct cper_section_hdr)) macro
290 #define RAS_SEC_DESC_OFFSET(idx) (RAS_HDR_LEN + (RAS_SEC_DESC_LEN * idx))
293 (RAS_HDR_LEN + (RAS_SEC_DESC_LEN * count) + (RAS_BOOT_SEC_LEN * idx))
295 (RAS_HDR_LEN + (RAS_SEC_DESC_LEN * count) + (RAS_FATAL_SEC_LEN * idx))
297 (RAS_HDR_LEN + (RAS_SEC_DESC_LEN * count) + (RAS_NONSTD_SEC_LEN * idx))
H A Dras_cper.c186 hdr->record_length = RAS_HDR_LEN + ((RAS_SEC_DESC_LEN + RAS_NONSTD_SEC_LEN) * arr_num); in cper_generate_runtime_record()
212 record.hdr.record_length = RAS_HDR_LEN + RAS_SEC_DESC_LEN + RAS_FATAL_SEC_LEN; in cper_generate_fatal_record()
232 size += RAS_HDR_LEN; in cper_get_record_size()
242 size += (RAS_HDR_LEN * (section_count - 1)); in cper_get_record_size()