Searched refs:ecc_stat (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-core.c | 631 ecc->ecc_stat = 0; in mcp251xfd_chip_ecc_init() 1263 addr = FIELD_GET(MCP251XFD_REG_ECCSTAT_ERRADDR_MASK, ecc->ecc_stat); in mcp251xfd_handle_eccif_recover() 1289 ecc->ecc_stat & MCP251XFD_REG_ECCSTAT_SECIF ? in mcp251xfd_handle_eccif_recover() 1309 u32 ecc_stat; in mcp251xfd_handle_eccif() local 1314 err = regmap_read(priv->map_reg, MCP251XFD_REG_ECCSTAT, &ecc_stat); in mcp251xfd_handle_eccif() 1319 MCP251XFD_REG_ECCSTAT_IF_MASK, ~ecc_stat); in mcp251xfd_handle_eccif() 1324 addr = FIELD_GET(MCP251XFD_REG_ECCSTAT_ERRADDR_MASK, ecc_stat); in mcp251xfd_handle_eccif() 1345 if (ecc_stat & MCP251XFD_REG_ECCSTAT_SECIF) in mcp251xfd_handle_eccif() 1347 else if (ecc_stat & MCP251XFD_REG_ECCSTAT_DEDIF) in mcp251xfd_handle_eccif() 1353 ecc->ecc_stat = 0; in mcp251xfd_handle_eccif() [all …]
|
D | mcp251xfd-tef.c | 175 ecc->ecc_stat = 0; in mcp251xfd_ecc_tefif_successful()
|
D | mcp251xfd.h | 583 u32 ecc_stat; member
|
/Linux-v6.6/drivers/mtd/nand/raw/ |
D | renesas-nand-controller.c | 416 u32 ecc_stat; in rnandc_read_page_hw_ecc() local 444 ecc_stat = readl_relaxed(rnandc->regs + ECC_STAT_REG); in rnandc_read_page_hw_ecc() 446 if (oob_required || ECC_STAT_UNCORRECTABLE(cs, ecc_stat)) { in rnandc_read_page_hw_ecc() 454 if (ECC_STAT_UNCORRECTABLE(cs, ecc_stat)) { in rnandc_read_page_hw_ecc() 472 } else if (ECC_STAT_CORRECTABLE(cs, ecc_stat)) { in rnandc_read_page_hw_ecc() 510 u32 ecc_stat; in rnandc_read_subpage_hw_ecc() local 540 ecc_stat = readl_relaxed(rnandc->regs + ECC_STAT_REG); in rnandc_read_subpage_hw_ecc() 542 if (ECC_STAT_UNCORRECTABLE(cs, ecc_stat)) { in rnandc_read_subpage_hw_ecc() 566 } else if (ECC_STAT_CORRECTABLE(cs, ecc_stat)) { in rnandc_read_subpage_hw_ecc()
|
D | mxc_nand.c | 774 u32 ecc_stat, err; in mxc_nand_read_page_v2_v3() local 799 ecc_stat = host->devtype_data->get_ecc_status(host); in mxc_nand_read_page_v2_v3() 802 err = ecc_stat & ecc_bit_mask; in mxc_nand_read_page_v2_v3() 810 ecc_stat >>= 4; in mxc_nand_read_page_v2_v3()
|