Lines Matching defs:nand

19 #include "gpmi-nand.h"
24 #define GPMI_NAND_GPMI_REGS_ADDR_RES_NAME "gpmi-nand"
243 struct nand_chip *chip = &this->nand;
245 struct nand_device *nand = &chip->base;
246 struct nand_ecc_props *conf = &nand->ecc.ctx.conf;
261 if (!nand_ecc_is_strong_enough(nand))
272 struct nand_chip *chip = &this->nand;
301 * If we can get the ECC information from the nand chip, we do not
311 struct nand_chip *chip = &this->nand;
324 "unsupported nand chip. ecc bits : %d, ecc size : %d\n",
338 "unsupported nand chip. ecc size: %d, oob size : %d\n",
373 * P': the nand chip's page size.
374 * O : the nand chip's oob size.
439 struct mtd_info *mtd = nand_to_mtd(&this->nand);
452 struct nand_chip *chip = &this->nand;
461 /* sanity check for the minimum ecc nand required */
467 /* check if platform can support this nand */
496 /* nand required but changing ecc page layout */
580 struct mtd_info *mtd = nand_to_mtd(&this->nand);
693 struct nand_chip *chip = &this->nand;
694 struct mtd_info *mtd = nand_to_mtd(&this->nand);
712 /* for large oob nand */
720 /* otherwise use the minimum ecc nand chip required */
768 * The GPMI-clock is the internal clock in the gpmi nand controller.
769 * If you set 100MHz to gpmi nand controller, the GPMI-clock's period
772 * <2> Secondly, we should know what's the frequency on the nand chip pins.
773 * The frequency on the nand chip pins is derived from the GPMI-clock.
778 * F : the frequency on the nand chip pins.
783 * <3> Thirdly, when the frequency on the nand chip pins is above 33MHz,
784 * the nand EDO(extended Data Out) timing could be applied.
786 * The feedback read strobe can be delayed to support the nand EDO timing
813 * 4.1) From the aspect of the nand chip pins:
821 * 4.2) From the aspect of the GPMI nand controller:
1012 /* We use the DMA channel 0 to access all the nand chips. */
1328 struct mtd_info *mtd = nand_to_mtd(&this->nand);
2034 struct nand_chip *chip = &this->nand;
2089 struct nand_chip *chip = &this->nand;
2154 struct nand_chip *chip = &this->nand;
2254 struct nand_chip *chip = &this->nand;
2335 int chip = this->nand.cur_cs;
2379 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this)
2408 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this)
2454 | BF_GPMI_CTRL0_CS(this->nand.cur_cs, this)
2663 struct nand_chip *chip = &this->nand;
2668 mtd->name = "gpmi-nand";
2719 { .compatible = "fsl,imx23-gpmi-nand", .data = &gpmi_devdata_imx23, },
2720 { .compatible = "fsl,imx28-gpmi-nand", .data = &gpmi_devdata_imx28, },
2721 { .compatible = "fsl,imx6q-gpmi-nand", .data = &gpmi_devdata_imx6q, },
2722 { .compatible = "fsl,imx6sx-gpmi-nand", .data = &gpmi_devdata_imx6sx, },
2723 { .compatible = "fsl,imx7d-gpmi-nand", .data = &gpmi_devdata_imx7d,},
2783 struct nand_chip *chip = &this->nand;
2857 .name = "gpmi-nand",