ecc_level         220 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	unsigned int		ecc_level;
ecc_level         813 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		acc_control |= host->hwcfg.ecc_level
ecc_level         968 drivers/mtd/nand/raw/brcmnand/brcmnand.c 			cfg->ecc_level == 15;
ecc_level         971 drivers/mtd/nand/raw/brcmnand/brcmnand.c 			cfg->ecc_level == 15) ||
ecc_level         972 drivers/mtd/nand/raw/brcmnand/brcmnand.c 			(cfg->spare_area_size == 28 && cfg->ecc_level == 16));
ecc_level        1120 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	unsigned int ecc_level = p->ecc_level;
ecc_level        1125 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		ecc_level <<= 1;
ecc_level        1139 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	ecc->bytes = DIV_ROUND_UP(ecc_level * 14, 8);
ecc_level        2157 drivers/mtd/nand/raw/brcmnand/brcmnand.c 	tmp |= cfg->ecc_level << NAND_ACC_CONTROL_ECC_SHIFT;
ecc_level        2185 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		sprintf(buf, ", BCH-%u (1KiB sector)", cfg->ecc_level << 1);
ecc_level        2187 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		sprintf(buf, ", BCH-%u", cfg->ecc_level);
ecc_level        2275 drivers/mtd/nand/raw/brcmnand/brcmnand.c 			cfg->ecc_level = 15;
ecc_level        2277 drivers/mtd/nand/raw/brcmnand/brcmnand.c 			cfg->ecc_level = chip->ecc.strength;
ecc_level        2291 drivers/mtd/nand/raw/brcmnand/brcmnand.c 		cfg->ecc_level = chip->ecc.strength >> 1;
ecc_level         498 drivers/mtd/nand/raw/nand_hynix.c 	u8 ecc_level = (chip->id.data[4] >> 4) & 0x7;
ecc_level         504 drivers/mtd/nand/raw/nand_hynix.c 		switch (ecc_level) {
ecc_level         545 drivers/mtd/nand/raw/nand_hynix.c 			if (ecc_level < 5) {
ecc_level         547 drivers/mtd/nand/raw/nand_hynix.c 				chip->base.eccreq.strength = 1 << ecc_level;
ecc_level         548 drivers/mtd/nand/raw/nand_hynix.c 			} else if (ecc_level < 7) {
ecc_level         549 drivers/mtd/nand/raw/nand_hynix.c 				if (ecc_level == 5)
ecc_level         565 drivers/mtd/nand/raw/nand_hynix.c 			if (!ecc_level) {
ecc_level         568 drivers/mtd/nand/raw/nand_hynix.c 			} else if (ecc_level < 5) {
ecc_level         570 drivers/mtd/nand/raw/nand_hynix.c 				chip->base.eccreq.strength = 1 << (ecc_level - 1);
ecc_level         574 drivers/mtd/nand/raw/nand_hynix.c 							(8 * (ecc_level - 5));