Home
last modified time | relevance | path

Searched refs:ecc_stat (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c625 ecc->ecc_stat = 0; in mcp251xfd_chip_ecc_init()
1256 addr = FIELD_GET(MCP251XFD_REG_ECCSTAT_ERRADDR_MASK, ecc->ecc_stat); in mcp251xfd_handle_eccif_recover()
1282 ecc->ecc_stat & MCP251XFD_REG_ECCSTAT_SECIF ? in mcp251xfd_handle_eccif_recover()
1302 u32 ecc_stat; in mcp251xfd_handle_eccif() local
1307 err = regmap_read(priv->map_reg, MCP251XFD_REG_ECCSTAT, &ecc_stat); in mcp251xfd_handle_eccif()
1312 MCP251XFD_REG_ECCSTAT_IF_MASK, ~ecc_stat); in mcp251xfd_handle_eccif()
1317 addr = FIELD_GET(MCP251XFD_REG_ECCSTAT_ERRADDR_MASK, ecc_stat); in mcp251xfd_handle_eccif()
1338 if (ecc_stat & MCP251XFD_REG_ECCSTAT_SECIF) in mcp251xfd_handle_eccif()
1340 else if (ecc_stat & MCP251XFD_REG_ECCSTAT_DEDIF) in mcp251xfd_handle_eccif()
1346 ecc->ecc_stat = 0; in mcp251xfd_handle_eccif()
[all …]
Dmcp251xfd-tef.c175 ecc->ecc_stat = 0; in mcp251xfd_ecc_tefif_successful()
Dmcp251xfd.h577 u32 ecc_stat; member
/linux-5.19.10/drivers/mtd/nand/raw/
Drenesas-nand-controller.c416 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()
Dmxc_nand.c775 u32 ecc_stat, err; in mxc_nand_read_page_v2_v3() local
800 ecc_stat = host->devtype_data->get_ecc_status(host); in mxc_nand_read_page_v2_v3()
803 err = ecc_stat & ecc_bit_mask; in mxc_nand_read_page_v2_v3()
811 ecc_stat >>= 4; in mxc_nand_read_page_v2_v3()