Lines Matching refs:spinand_device
170 struct spinand_device;
241 int (*init)(struct spinand_device *spinand);
242 void (*cleanup)(struct spinand_device *spinand);
306 int (*get_status)(struct spinand_device *spinand, u8 status);
352 int (*select_target)(struct spinand_device *spinand,
424 struct spinand_device { struct
439 int (*select_target)(struct spinand_device *spinand, argument
459 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) in mtd_to_spinand() argument
461 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
470 static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand) in spinand_to_mtd()
481 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand()
483 return container_of(nand, struct spinand_device, base); in nand_to_spinand()
493 spinand_to_nand(struct spinand_device *spinand) in spinand_to_nand()
505 static inline void spinand_set_of_node(struct spinand_device *spinand, in spinand_set_of_node()
511 int spinand_match_and_init(struct spinand_device *spinand,
516 int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val);
517 int spinand_select_target(struct spinand_device *spinand, unsigned int target);