Searched refs:pmecc_readl (Results 1 – 2 of 2) sorted by relevance
/u-boot/drivers/mtd/nand/raw/ |
A D | atmel_nand.c | 175 value = pmecc_readl(host->pmecc, rem_port[sector].rem[i / 2]); in pmecc_gen_syndrome() 420 if (pmecc_readl(host->pmerrloc, elisr) & PMERRLOC_CALC_DONE) in pmecc_err_location() 432 roots_nbr = (pmecc_readl(host->pmerrloc, elisr) & PMERRLOC_ERR_NUM_MASK) in pmecc_err_location() 456 tmp = pmecc_readl(host->pmerrloc, el[i]) - 1; in pmecc_correct_data() 549 pmecc_writel(host->pmecc, cfg, ((pmecc_readl(host->pmecc, cfg)) in atmel_nand_pmecc_read_page() 559 if (!(pmecc_readl(host->pmecc, sr) & PMECC_SR_BUSY)) in atmel_nand_pmecc_read_page() 570 stat = pmecc_readl(host->pmecc, isr); in atmel_nand_pmecc_read_page() 590 pmecc_writel(host->pmecc, cfg, (pmecc_readl(host->pmecc, cfg) | in atmel_nand_pmecc_write_page() 599 if (!(pmecc_readl(host->pmecc, sr) & PMECC_SR_BUSY)) in atmel_nand_pmecc_write_page() 964 host->pmecc_version = pmecc_readl(host->pmerrloc, version); in atmel_pmecc_nand_init_params()
|
A D | atmel_nand_ecc.h | 33 #define pmecc_readl(addr, reg) \ macro
|
Completed in 6 milliseconds