Searched refs:nanddev (Results 1 – 3 of 3) sorted by relevance
5688 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_set_ecc_soft_ops() local5745 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH && in nand_set_ecc_soft_ops()5747 nanddev->ecc.user_conf.flags &= ~NAND_ECC_MAXIMIZE_STRENGTH; in nand_set_ecc_soft_ops()5992 struct nand_device *nanddev = mtd_to_nanddev(mtd); in nand_ecc_choose_conf() local6000 if (nanddev->ecc.user_conf.flags & NAND_ECC_MAXIMIZE_STRENGTH) in nand_ecc_choose_conf()
1635 struct nand_device *nanddev = mtd_to_nanddev(mtd); in sunxi_nand_hw_ecc_ctrl_init() local1640 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()