Home
last modified time | relevance | path

Searched refs:NFC_REG_ECC_ERR_CNT (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dsunxi_nand.c59 #define NFC_REG_ECC_ERR_CNT(x) ((0x0040 + (x)) & ~0x3) macro
855 ret = NFC_ECC_ERR_CNT(0, readl(nfc->regs + NFC_REG_ECC_ERR_CNT(0))); in sunxi_nfc_hw_ecc_read_chunk()
/openbmc/linux/drivers/mtd/nand/raw/
H A Dsunxi_nand.c49 #define NFC_REG_ECC_ERR_CNT(x) ((0x0040 + (x)) & ~0x3) macro
790 tmp = readl(nfc->regs + NFC_REG_ECC_ERR_CNT(step)); in sunxi_nfc_hw_ecc_correct()