Searched refs:nanddev (Results 1 – 3 of 3) sorted by relevance
5831 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_set_ecc_soft_ops() local5888 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH && in nand_set_ecc_soft_ops()5890 nanddev->ecc.user_conf.flags &= ~NAND_ECC_MAXIMIZE_STRENGTH; in nand_set_ecc_soft_ops()6135 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_ecc_choose_conf() local6143 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) in nand_ecc_choose_conf()
1625 struct nand_device *nanddev = mtd_to_nanddev(mtd); in sunxi_nand_hw_ecc_ctrl_init() local1629 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) { in sunxi_nand_hw_ecc_ctrl_init()
1115 struct nand_device *nanddev = mtd_to_nanddev(mtd); in atmel_nand_pmecc_init() local1140 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) in atmel_nand_pmecc_init()