Lines Matching refs:section_desc
111 struct cper_sec_desc *section_desc, in amdgpu_cper_entry_fill_section_desc() argument
119 section_desc->revision_minor = CPER_SEC_MINOR_REV_1; in amdgpu_cper_entry_fill_section_desc()
120 section_desc->revision_major = CPER_SEC_MAJOR_REV_22; in amdgpu_cper_entry_fill_section_desc()
121 section_desc->sec_offset = section_offset; in amdgpu_cper_entry_fill_section_desc()
122 section_desc->sec_length = section_length; in amdgpu_cper_entry_fill_section_desc()
123 section_desc->valid_bits.fru_text = 1; in amdgpu_cper_entry_fill_section_desc()
124 section_desc->flag_bits.primary = 1; in amdgpu_cper_entry_fill_section_desc()
125 section_desc->severity = sev; in amdgpu_cper_entry_fill_section_desc()
126 section_desc->sec_type = sec_type; in amdgpu_cper_entry_fill_section_desc()
128 snprintf(section_desc->fru_text, 20, "OAM%d", in amdgpu_cper_entry_fill_section_desc()
134 section_desc->flag_bits.exceed_err_threshold = 1; in amdgpu_cper_entry_fill_section_desc()
136 section_desc->flag_bits.latent_err = 1; in amdgpu_cper_entry_fill_section_desc()
146 struct cper_sec_desc *section_desc; in amdgpu_cper_entry_fill_fatal_section() local
149 section_desc = (struct cper_sec_desc *)((uint8_t *)hdr + SEC_DESC_OFFSET(idx)); in amdgpu_cper_entry_fill_fatal_section()
153 amdgpu_cper_entry_fill_section_desc(adev, section_desc, false, false, in amdgpu_cper_entry_fill_fatal_section()
173 struct cper_sec_desc *section_desc; in amdgpu_cper_entry_fill_runtime_section() local
178 section_desc = (struct cper_sec_desc *)((uint8_t *)hdr + SEC_DESC_OFFSET(idx)); in amdgpu_cper_entry_fill_runtime_section()
182 amdgpu_cper_entry_fill_section_desc(adev, section_desc, false, poison, in amdgpu_cper_entry_fill_runtime_section()
207 struct cper_sec_desc *section_desc; in amdgpu_cper_entry_fill_bad_page_threshold_section() local
210 section_desc = (struct cper_sec_desc *)((uint8_t *)hdr + SEC_DESC_OFFSET(idx)); in amdgpu_cper_entry_fill_bad_page_threshold_section()
214 amdgpu_cper_entry_fill_section_desc(adev, section_desc, true, false, in amdgpu_cper_entry_fill_bad_page_threshold_section()