Lines Matching refs:spinand_device
170 struct spinand_device;
219 int (*init)(struct spinand_device *spinand);
220 void (*cleanup)(struct spinand_device *spinand);
282 int (*get_status)(struct spinand_device *spinand, u8 status);
319 int (*select_target)(struct spinand_device *spinand,
389 struct spinand_device { struct
404 int (*select_target)(struct spinand_device *spinand, argument
424 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) in mtd_to_spinand() argument
426 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
435 static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand) in spinand_to_mtd()
446 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand()
448 return container_of(nand, struct spinand_device, base); in nand_to_spinand()
458 spinand_to_nand(struct spinand_device *spinand) in spinand_to_nand()
470 static inline void spinand_set_of_node(struct spinand_device *spinand, in spinand_set_of_node()
476 int spinand_match_and_init(struct spinand_device *spinand,
481 int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val);
482 int spinand_select_target(struct spinand_device *spinand, unsigned int target);