Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_cper.h34 #define SEC_DESC_LEN (sizeof(struct cper_sec_desc)) macro
40 #define SEC_DESC_OFFSET(idx) (HDR_LEN + (SEC_DESC_LEN * idx))
42 #define BOOT_SEC_OFFSET(count, idx) (HDR_LEN + (SEC_DESC_LEN * count) + (BOOT_SEC_LEN * idx))
43 #define FATAL_SEC_OFFSET(count, idx) (HDR_LEN + (SEC_DESC_LEN * count) + (FATAL_SEC_LEN * idx))
44 #define NONSTD_SEC_OFFSET(count, idx) (HDR_LEN + (SEC_DESC_LEN * count) + (NONSTD_SEC_LEN * idx))
H A Damdgpu_cper.c163 __inc_entry_length(hdr, SEC_DESC_LEN + FATAL_SEC_LEN); in amdgpu_cper_entry_fill_fatal_section()
200 __inc_entry_length(hdr, SEC_DESC_LEN + NONSTD_SEC_LEN); in amdgpu_cper_entry_fill_runtime_section()
251 __inc_entry_length(hdr, SEC_DESC_LEN + NONSTD_SEC_LEN); in amdgpu_cper_entry_fill_bad_page_threshold_section()
264 size += (SEC_DESC_LEN * section_count); in amdgpu_cper_alloc_entry()