Home
last modified time | relevance | path

Searched refs:ecc0 (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/rkflash/
H A Dflash.c144 u32 ecc0, ecc1; in flash_read_ecc() local
148 ecc0 = nandc_readl(NANDC_CHIP_DATA(cs)) & 0xF; in flash_read_ecc()
150 if (ecc1 > ecc0) in flash_read_ecc()
151 ecc0 = ecc1; in flash_read_ecc()
153 if (ecc1 > ecc0) in flash_read_ecc()
154 ecc0 = ecc1; in flash_read_ecc()
156 if (ecc1 > ecc0) in flash_read_ecc()
157 ecc0 = ecc1; in flash_read_ecc()
159 return ecc0; in flash_read_ecc()
/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A Dflash.c143 u32 ecc0, ecc1; in flash_read_ecc() local
147 ecc0 = nandc_readl(NANDC_CHIP_DATA(cs)) & 0xF; in flash_read_ecc()
149 if (ecc1 > ecc0) in flash_read_ecc()
150 ecc0 = ecc1; in flash_read_ecc()
152 if (ecc1 > ecc0) in flash_read_ecc()
153 ecc0 = ecc1; in flash_read_ecc()
155 if (ecc1 > ecc0) in flash_read_ecc()
156 ecc0 = ecc1; in flash_read_ecc()
158 return ecc0; in flash_read_ecc()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Drockchip-nand-controller.c148 struct ecc_cnt_status ecc0; member
829 if (bch_st & BIT(nfc->cfg->ecc0.err_flag_bit) || in rk_nfc_read_page_hwecc()
834 cnt = ECC_ERR_CNT(bch_st, nfc->cfg->ecc0); in rk_nfc_read_page_hwecc()
1253 .ecc0 = {
1290 .ecc0 = {
1327 .ecc0 = {