Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/
Datmel_nand.c169 value = pmecc_readl(host->pmecc, rem_port[sector].rem[i / 2]); in pmecc_gen_syndrome()
414 if (pmecc_readl(host->pmerrloc, elisr) & PMERRLOC_CALC_DONE) in pmecc_err_location()
425 roots_nbr = (pmecc_readl(host->pmerrloc, elisr) & PMERRLOC_ERR_NUM_MASK) in pmecc_err_location()
449 tmp = pmecc_readl(host->pmerrloc, el[i]) - 1; in pmecc_correct_data()
540 pmecc_writel(host->pmecc, cfg, ((pmecc_readl(host->pmecc, cfg)) in atmel_nand_pmecc_read_page()
550 if (!(pmecc_readl(host->pmecc, sr) & PMECC_SR_BUSY)) in atmel_nand_pmecc_read_page()
561 stat = pmecc_readl(host->pmecc, isr); in atmel_nand_pmecc_read_page()
581 pmecc_writel(host->pmecc, cfg, (pmecc_readl(host->pmecc, cfg) | in atmel_nand_pmecc_write_page()
590 if (!(pmecc_readl(host->pmecc, sr) & PMECC_SR_BUSY)) in atmel_nand_pmecc_write_page()
947 host->pmecc_version = pmecc_readl(host->pmerrloc, version); in atmel_pmecc_nand_init_params()
Datmel_nand_ecc.h33 #define pmecc_readl(addr, reg) \ macro