Lines Matching refs:nand_chip
669 struct nand_chip *chip = mtd->priv; in init_nandsim()
1912 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_nand_read_byte()
1973 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_nand_write_byte()
2127 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_hwcontrol()
2145 struct nand_chip *chip = (struct nand_chip *)mtd->priv; in ns_nand_read_word()
2154 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_nand_write_buf()
2181 struct nandsim *ns = ((struct nand_chip *)mtd->priv)->priv; in ns_nand_read_buf()
2202 buf[i] = ((struct nand_chip *)mtd->priv)->read_byte(mtd); in ns_nand_read_buf()
2230 struct nand_chip *chip; in ns_init_module()
2240 nsmtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip) in ns_init_module()
2246 chip = (struct nand_chip *)(nsmtd + 1); in ns_init_module()
2409 struct nandsim *ns = ((struct nand_chip *)nsmtd->priv)->priv; in ns_cleanup_module()