Lines Matching refs:nand_chip
554 struct nand_chip *chip = mtd->priv;
1878 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv;
1951 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv;
2106 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv;
2124 struct nand_chip *chip = (struct nand_chip *)mtd->priv;
2133 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv;
2160 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv;
2181 buf[i] = ((struct nand_chip *)mtd->priv)->read_byte(mtd);
2229 struct nand_chip *chip;
2238 /* Allocate and initialize mtd_info, nand_chip and nandsim structures */
2239 nsmtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip)
2245 chip = (struct nand_chip *)(nsmtd + 1);
2353 struct nandsim *ns = ((struct nand_chip *)nsmtd->priv)->priv;