Searched refs:nand_device (Results 1 – 3 of 3) sorted by relevance
136 struct nand_device;155 int (*erase)(struct nand_device *nand, const struct nand_pos *pos);156 int (*markbad)(struct nand_device *nand, const struct nand_pos *pos);157 bool (*isbad)(struct nand_device *nand, const struct nand_pos *pos);179 struct nand_device { struct212 static inline struct nand_device *mtd_to_nanddev(struct mtd_info *mtd) in mtd_to_nanddev()214 return container_of(mtd, struct nand_device, mtd); in mtd_to_nanddev()223 static inline struct mtd_info *nanddev_to_mtd(struct nand_device *nand) in nanddev_to_mtd()234 static inline unsigned int nanddev_bits_per_cell(const struct nand_device *nand) in nanddev_bits_per_cell()245 static inline size_t nanddev_page_size(const struct nand_device *nand) in nanddev_page_size()[all …]
368 struct nand_device base;424 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand()435 static inline struct nand_device *
1083 struct nand_device base;