Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powernv/
H A Dopal-fadump.h129 struct hdat_fadump_reg_entry *reg_entry; in opal_fadump_read_regs() local
136 reg_entry = (struct hdat_fadump_reg_entry *)bufp; in opal_fadump_read_regs()
137 val = (cpu_endian ? be64_to_cpu(reg_entry->reg_val) : in opal_fadump_read_regs()
138 (u64 __force)(reg_entry->reg_val)); in opal_fadump_read_regs()
140 be32_to_cpu(reg_entry->reg_type), in opal_fadump_read_regs()
141 be32_to_cpu(reg_entry->reg_num), in opal_fadump_read_regs()
/linux/arch/powerpc/platforms/pseries/
H A Drtas-fadump.c333 rtas_fadump_read_regs(struct rtas_fadump_reg_entry *reg_entry, in rtas_fadump_read_regs() argument
338 while (be64_to_cpu(reg_entry->reg_id) != fadump_str_to_u64("CPUEND")) { in rtas_fadump_read_regs()
339 rtas_fadump_set_regval(regs, be64_to_cpu(reg_entry->reg_id), in rtas_fadump_read_regs()
340 be64_to_cpu(reg_entry->reg_value)); in rtas_fadump_read_regs()
341 reg_entry++; in rtas_fadump_read_regs()
343 reg_entry++; in rtas_fadump_read_regs()
344 return reg_entry; in rtas_fadump_read_regs()
365 struct rtas_fadump_reg_entry *reg_entry; in rtas_fadump_build_cpu_notes() local
388 reg_entry = (struct rtas_fadump_reg_entry *)vaddr; in rtas_fadump_build_cpu_notes()
400 if (be64_to_cpu(reg_entry->reg_id) != in rtas_fadump_build_cpu_notes()
[all …]
H A Drtas-fadump.h111 #define RTAS_FADUMP_SKIP_TO_NEXT_CPU(reg_entry) \ argument
113 while (be64_to_cpu(reg_entry->reg_id) != \
115 reg_entry++; \
116 reg_entry++; \
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ras.c5210 const struct amdgpu_ras_err_status_reg_entry *reg_entry, in amdgpu_ras_inst_get_memory_id_field() argument
5216 if (!reg_entry) in amdgpu_ras_inst_get_memory_id_field()
5220 AMDGPU_RAS_REG_ENTRY_OFFSET(reg_entry->hwip, instance, in amdgpu_ras_inst_get_memory_id_field()
5221 reg_entry->seg_lo, reg_entry->reg_lo); in amdgpu_ras_inst_get_memory_id_field()
5224 if ((reg_entry->flags & AMDGPU_RAS_ERR_STATUS_VALID) && in amdgpu_ras_inst_get_memory_id_field()
5234 const struct amdgpu_ras_err_status_reg_entry *reg_entry, in amdgpu_ras_inst_get_err_cnt_field() argument
5240 if (!reg_entry) in amdgpu_ras_inst_get_err_cnt_field()
5244 AMDGPU_RAS_REG_ENTRY_OFFSET(reg_entry->hwip, instance, in amdgpu_ras_inst_get_err_cnt_field()
5245 reg_entry->seg_hi, reg_entry->reg_hi); in amdgpu_ras_inst_get_err_cnt_field()
5248 if ((reg_entry->flags & AMDGPU_RAS_ERR_INFO_VALID) && in amdgpu_ras_inst_get_err_cnt_field()