Home
last modified time | relevance | path

Searched refs:err_addr (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/gpu/drm/amd/amdgpu/
H A Dumc_v6_7.c117 uint64_t err_addr, soc_pa; in umc_v6_7_ecc_info_query_correctable_error_count() local
122 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v6_7_ecc_info_query_correctable_error_count()
126 OFFSET_IN_256B_BLOCK(err_addr); in umc_v6_7_ecc_info_query_correctable_error_count()
199 OFFSET_IN_256B_BLOCK(err_addr); in umc_v6_7_convert_error_address()
226 uint64_t mc_umc_status, err_addr; in umc_v6_7_ecc_info_query_error_address() local
237 if (!err_data->err_addr) in umc_v6_7_ecc_info_query_error_address()
245 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v6_7_ecc_info_query_error_address()
311 uint64_t err_addr, soc_pa; in umc_v6_7_query_correctable_error_count() local
322 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v6_7_query_correctable_error_count()
461 if (!err_data->err_addr) { in umc_v6_7_query_error_address()
[all …]
H A Dumc_v12_0.c184 err_addr = addr_in->ma.err_addr; in umc_v12_0_convert_error_address()
188 err_addr); in umc_v12_0_convert_error_address()
197 col = (err_addr >> 1) & 0x1fULL; in umc_v12_0_convert_error_address()
230 uint64_t err_addr) in umc_v12_0_dump_addr_info() argument
308 addr_in.ma.err_addr = err_addr; in umc_v12_0_convert_mca_to_addr()
316 err_addr); in umc_v12_0_convert_mca_to_addr()
348 if (!err_data->err_addr) { in umc_v12_0_query_error_address()
363 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v12_0_query_error_address()
372 addr_in.ma.err_addr = err_addr; in umc_v12_0_query_error_address()
543 err_addr = REG_GET_FIELD(addr, in umc_v12_0_update_ecc_status()
[all …]
H A Dumc_v8_7.c112 struct ras_err_data *err_data, uint64_t err_addr, in umc_v8_7_convert_error_address() argument
122 retired_page = ADDR_OF_4KB_BLOCK(err_addr) | in umc_v8_7_convert_error_address()
124 OFFSET_IN_256B_BLOCK(err_addr); in umc_v8_7_convert_error_address()
126 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v8_7_convert_error_address()
135 uint64_t mc_umc_status, err_addr; in umc_v8_7_ecc_info_query_error_address() local
145 if (!err_data->err_addr) in umc_v8_7_ecc_info_query_error_address()
153 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v8_7_ecc_info_query_error_address()
333 uint64_t mc_umc_status, err_addr, mc_umc_addrt0; in umc_v8_7_query_error_address() local
344 if (!err_data->err_addr) { in umc_v8_7_query_error_address()
357 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v8_7_query_error_address()
[all …]
H A Damdgpu_umc.c59 err_data.err_addr = in amdgpu_umc_page_retirement_mca()
62 if (!err_data.err_addr) { in amdgpu_umc_page_retirement_mca()
86 kfree(err_data.err_addr); in amdgpu_umc_page_retirement_mca()
116 err_data->err_addr = in amdgpu_umc_handle_bad_pages()
123 if(!err_data->err_addr) in amdgpu_umc_handle_bad_pages()
143 err_data->err_addr = in amdgpu_umc_handle_bad_pages()
150 if(!err_data->err_addr) in amdgpu_umc_handle_bad_pages()
181 kfree(err_data->err_addr); in amdgpu_umc_handle_bad_pages()
182 err_data->err_addr = NULL; in amdgpu_umc_handle_bad_pages()
358 uint64_t err_addr, in amdgpu_umc_fill_error_record() argument
[all …]
H A Dumc_v8_10.c206 struct ras_err_data *err_data, uint64_t err_addr, in umc_v8_10_convert_error_address() argument
223 err_addr &= ~((0x1ULL << addr_lsb) - 1); in umc_v8_10_convert_error_address()
249 uint64_t mc_umc_status, err_addr; in umc_v8_10_query_error_address() local
262 if (!err_data->err_addr) { in umc_v8_10_query_error_address()
275 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v8_10_query_error_address()
277 umc_v8_10_convert_error_address(adev, err_data, err_addr, in umc_v8_10_query_error_address()
406 uint64_t mc_umc_status, err_addr; in umc_v8_10_ecc_info_query_error_address() local
420 if (!err_data->err_addr) in umc_v8_10_ecc_info_query_error_address()
428 err_addr = ras->umc_ecc.ecc[eccinfo_table_idx].mca_umc_addr; in umc_v8_10_ecc_info_query_error_address()
429 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v8_10_ecc_info_query_error_address()
[all …]
H A Dumc_v6_1.c302 uint64_t mc_umc_status, err_addr, retired_page, mc_umc_addrt0; in umc_v6_1_query_error_address() local
324 if (!err_data->err_addr) { in umc_v6_1_query_error_address()
334 err_addr = RREG64_PCIE((mc_umc_addrt0 + umc_reg_offset) * 4); in umc_v6_1_query_error_address()
336 lsb = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, LSB); in umc_v6_1_query_error_address()
337 err_addr = REG_GET_FIELD(err_addr, MCA_UMC_UMC0_MCUMC_ADDRT0, ErrorAddr); in umc_v6_1_query_error_address()
338 err_addr &= ~((0x1ULL << lsb) - 1); in umc_v6_1_query_error_address()
341 retired_page = ADDR_OF_8KB_BLOCK(err_addr) | in umc_v6_1_query_error_address()
343 OFFSET_IN_256B_BLOCK(err_addr); in umc_v6_1_query_error_address()
345 amdgpu_umc_fill_error_record(err_data, err_addr, in umc_v6_1_query_error_address()
H A Damdgpu_umc.h116 uint64_t err_addr,
125 uint64_t err_addr, uint32_t ch_inst, uint32_t umc_inst);
H A Dumc_v6_7.h75 struct ras_err_data *err_data, uint64_t err_addr,
H A Dta_ras_if.h145 uint64_t err_addr; member
H A Damdgpu_ras.h592 struct eeprom_table_record *err_addr; member
/linux/drivers/edac/
H A Dhighbank_mc_edac.c58 u32 status, err_addr; in highbank_mc_err_handler() local
64 err_addr = readl(drvdata->mc_err_base + HB_DDR_ECC_U_ERR_ADDR); in highbank_mc_err_handler()
66 err_addr >> PAGE_SHIFT, in highbank_mc_err_handler()
67 err_addr & ~PAGE_MASK, 0, in highbank_mc_err_handler()
74 err_addr = readl(drvdata->mc_err_base + HB_DDR_ECC_C_ERR_ADDR); in highbank_mc_err_handler()
76 err_addr >> PAGE_SHIFT, in highbank_mc_err_handler()
77 err_addr & ~PAGE_MASK, syndrome, in highbank_mc_err_handler()
H A Dti_edac.c97 u32 err_addr; in ti_edac_isr() local
103 err_addr = ti_edac_readl(edac, EMIF_1B_ECC_ERR_ADDR_LOG); in ti_edac_isr()
107 err_addr >> PAGE_SHIFT, in ti_edac_isr()
108 err_addr & ~PAGE_MASK, -1, 0, 0, 0, in ti_edac_isr()
113 err_addr = ti_edac_readl(edac, EMIF_2B_ECC_ERR_ADDR_LOG); in ti_edac_isr()
115 err_addr >> PAGE_SHIFT, in ti_edac_isr()
116 err_addr & ~PAGE_MASK, -1, 0, 0, 0, in ti_edac_isr()
H A Dfsl_ddr_edac.c281 u64 err_addr; in fsl_mc_check() local
312 err_addr = make64( in fsl_mc_check()
315 pfn = err_addr >> PAGE_SHIFT; in fsl_mc_check()
351 fsl_mc_printk(mci, KERN_ERR, "Err addr: %#8.8llx\n", err_addr); in fsl_mc_check()
360 pfn, err_addr & ~PAGE_MASK, syndrome, in fsl_mc_check()
366 pfn, err_addr & ~PAGE_MASK, syndrome, in fsl_mc_check()
H A Dversal_edac.c367 unsigned long err_addr = 0; in convert_to_physical() local
373 err_addr |= (row & BIT(0)) << priv->row_bit[index]; in convert_to_physical()
378 err_addr |= (pinf.col & BIT(0)) << priv->col_bit[index]; in convert_to_physical()
383 err_addr |= (pinf.bank & BIT(0)) << priv->bank_bit[index]; in convert_to_physical()
388 err_addr |= (pinf.group & BIT(0)) << priv->grp_bit[index]; in convert_to_physical()
393 err_addr |= (pinf.rank & BIT(0)) << priv->rank_bit[index]; in convert_to_physical()
398 err_addr |= (pinf.lrank & BIT(0)) << priv->lrank_bit[index]; in convert_to_physical()
402 err_addr |= (priv->stat.channel & BIT(0)) << priv->ch_bit; in convert_to_physical()
404 return err_addr; in convert_to_physical()
H A Daltera_edac.c86 u32 status, err_count = 1, err_addr; in altr_sdram_mc_err_handler() local
92 &err_addr); in altr_sdram_mc_err_handler()
97 err_count, err_addr); in altr_sdram_mc_err_handler()
101 &err_addr); in altr_sdram_mc_err_handler()
106 err_addr >> PAGE_SHIFT, in altr_sdram_mc_err_handler()
107 err_addr & ~PAGE_MASK, 0, in altr_sdram_mc_err_handler()
2069 int err_addr, dberror; in s10_edac_dberr_handler() local
2093 ed->edac_dev_name, err_addr); in s10_edac_dberr_handler()
2150 int dberror, err_addr; in altr_edac_a10_probe() local
2161 &err_addr); in altr_edac_a10_probe()
[all …]
H A Digen6_edac.c139 u64 (*err_addr)(u64 ecclog); member
533 .err_addr = rpl_p_err_addr,
863 if (res_cfg->err_addr) in ecclog_work_cb()
864 eaddr = res_cfg->err_addr(node->ecclog); in ecclog_work_cb()
/linux/arch/mips/sgi-ip22/
H A Dip28-berr.c55 unsigned long err_addr; member
66 cache_tags.err_addr = addr; in save_cache_tags()
175 printk(KERN_ERR "Cache tags @ %08x:\n", (unsigned)cache_tags.err_addr); in print_cache_tags()
178 scw = (cache_tags.err_addr >> 4) & 0x0fffff00; in print_cache_tags()
180 scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 5) - 1); in print_cache_tags()
191 scb = cache_tags.err_addr & ((1 << 12) - 1) & ~((1 << 6) - 1); in print_cache_tags()
210 scw-1, scb, i & (unsigned)cache_tags.err_addr); in print_cache_tags()
/linux/drivers/memory/
H A Dfsl_ifc.c149 u32 err_axiid, err_srcid, status, cs_err, err_addr; in fsl_ifc_ctrl_irq() local
162 err_addr = ifc_in32(&ifc->cm_erattr1); in fsl_ifc_ctrl_irq()
182 err_addr); in fsl_ifc_ctrl_irq()
/linux/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c880 u64 err_addr; in brcmnand_get_uncorrecc_addr() local
887 return err_addr; in brcmnand_get_uncorrecc_addr()
892 u64 err_addr; in brcmnand_get_correcc_addr() local
899 return err_addr; in brcmnand_get_correcc_addr()
1926 u64 err_addr = 0; in brcmnand_edu_trans() local
1933 if (!err_addr) { in brcmnand_edu_trans()
1935 if (err_addr) in brcmnand_edu_trans()
2072 if (*err_addr) in brcmnand_read_by_pio()
2079 if (*err_addr) in brcmnand_read_by_pio()
2144 u64 err_addr = 0; in brcmnand_read() local
[all …]
/linux/arch/powerpc/sysdev/
H A Dtsi108_pci.c87 u32 err_stat, err_addr, pci_stat; in tsi108_clear_pci_error() local
97 err_addr = tsi108_read_reg(TSI108_PB_OFFSET + TSI108_PB_AERR); in tsi108_clear_pci_error()
109 if ((err_addr & 0xFF000000) == pci_cfg_base) { in tsi108_clear_pci_error()
/linux/drivers/video/fbdev/
H A Darcfb.c482 goto err_addr; in arcfb_probe()
497 goto err_addr; in arcfb_probe()
529 err_addr: in arcfb_probe()
/linux/drivers/pci/endpoint/functions/
H A Dpci-epf-test.c439 goto err_addr; in pci_epf_test_read()
486 err_addr: in pci_epf_test_read()
523 goto err_addr; in pci_epf_test_write()
577 err_addr: in pci_epf_test_write()
/linux/drivers/mtd/nand/raw/
H A Ddenali.c481 u32 err_addr, err_cor_info; in denali_sw_ecc_fixup() local
490 err_addr = ioread32(denali->reg + ECC_ERROR_ADDRESS); in denali_sw_ecc_fixup()
491 err_sector = FIELD_GET(ECC_ERROR_ADDRESS__SECTOR, err_addr); in denali_sw_ecc_fixup()
492 err_byte = FIELD_GET(ECC_ERROR_ADDRESS__OFFSET, err_addr); in denali_sw_ecc_fixup()
/linux/drivers/scsi/bfa/
H A Dbfa_defs.h1163 u32 err_addr; /* error address reg */ member
/linux/drivers/infiniband/core/
H A Ddevice.c2897 goto err_addr; in ib_core_init()
2938 err_addr: in ib_core_init()

12