Lines Matching refs:nand_chip
669 struct nand_chip *chip = mtd->priv; in init_nandsim()
1911 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_nand_read_byte()
1972 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_nand_write_byte()
2126 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_hwcontrol()
2144 struct nand_chip *chip = (struct nand_chip *)mtd->priv; in ns_nand_read_word()
2153 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_nand_write_buf()
2180 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_nand_read_buf()
2201 buf[i] = ((struct nand_chip *)mtd->priv)->read_byte(mtd); in ns_nand_read_buf()
2229 struct nand_chip *chip; in ns_init_module()
2239 nsmtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip) in ns_init_module()
2245 chip = (struct nand_chip *)(nsmtd + 1); in ns_init_module()
2408 struct nandsim *ns = ((struct nand_chip *)nsmtd->priv)->priv; in ns_cleanup_module()