Lines Matching refs:pmecc_writel
397 pmecc_writel(host->pmerrloc, eldis, PMERRLOC_DISABLE); in pmecc_err_location()
400 pmecc_writel(host->pmerrloc, sigma[i], in pmecc_err_location()
409 pmecc_writel(host->pmerrloc, elcfg, val); in pmecc_err_location()
410 pmecc_writel(host->pmerrloc, elen, in pmecc_err_location()
538 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_read_page()
539 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_DISABLE); in atmel_nand_pmecc_read_page()
540 pmecc_writel(host->pmecc, cfg, ((pmecc_readl(host->pmecc, cfg)) in atmel_nand_pmecc_read_page()
543 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_ENABLE); in atmel_nand_pmecc_read_page()
544 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_DATA); in atmel_nand_pmecc_read_page()
578 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_nand_pmecc_write_page()
579 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_DISABLE); in atmel_nand_pmecc_write_page()
581 pmecc_writel(host->pmecc, cfg, (pmecc_readl(host->pmecc, cfg) | in atmel_nand_pmecc_write_page()
584 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_ENABLE); in atmel_nand_pmecc_write_page()
585 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_DATA); in atmel_nand_pmecc_write_page()
622 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_RST); in atmel_pmecc_core_init()
623 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_DISABLE); in atmel_pmecc_core_init()
668 pmecc_writel(host->pmecc, cfg, val); in atmel_pmecc_core_init()
671 pmecc_writel(host->pmecc, sarea, mtd->oobsize - 1); in atmel_pmecc_core_init()
672 pmecc_writel(host->pmecc, saddr, ecc_layout->eccpos[0]); in atmel_pmecc_core_init()
673 pmecc_writel(host->pmecc, eaddr, in atmel_pmecc_core_init()
676 pmecc_writel(host->pmecc, clk, PMECC_CLK_133MHZ); in atmel_pmecc_core_init()
677 pmecc_writel(host->pmecc, idr, 0xff); in atmel_pmecc_core_init()
678 pmecc_writel(host->pmecc, ctrl, PMECC_CTRL_ENABLE); in atmel_pmecc_core_init()