Lines Matching defs:cfg
148 u32 cfg;
385 user->cache.cfg = PMECC_CFG_BCH_STRENGTH(strength) |
389 user->cache.cfg |= PMECC_CFG_SECTOR1024;
409 return strengths[user->cache.cfg & PMECC_CFG_BCH_STRENGTH_MASK];
414 return user->cache.cfg & PMECC_CFG_SECTOR1024 ? 1024 : 512;
763 u32 cfg;
772 cfg = user->cache.cfg;
774 cfg |= PMECC_CFG_WRITE_OP;
776 cfg |= PMECC_CFG_AUTO_ENABLE;
778 writel(cfg, pmecc->regs.base + ATMEL_PMECC_CFG);