Lines Matching refs:spinand_device
170 struct spinand_device;
241 int (*init)(struct spinand_device *spinand);
242 void (*cleanup)(struct spinand_device *spinand);
309 int (*get_status)(struct spinand_device *spinand, u8 status);
358 int (*select_target)(struct spinand_device *spinand,
360 int (*set_cont_read)(struct spinand_device *spinand,
441 struct spinand_device { struct
456 int (*select_target)(struct spinand_device *spinand, argument
470 int (*set_cont_read)(struct spinand_device *spinand, argument
480 static inline struct spinand_device *mtd_to_spinand(struct mtd_info *mtd) in mtd_to_spinand()
482 return container_of(mtd_to_nanddev(mtd), struct spinand_device, base); in mtd_to_spinand()
491 static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand) in spinand_to_mtd()
502 static inline struct spinand_device *nand_to_spinand(struct nand_device *nand) in nand_to_spinand()
504 return container_of(nand, struct spinand_device, base); in nand_to_spinand()
514 spinand_to_nand(struct spinand_device *spinand) in spinand_to_nand()
526 static inline void spinand_set_of_node(struct spinand_device *spinand, in spinand_set_of_node()
532 int spinand_match_and_init(struct spinand_device *spinand,
537 int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val);
538 int spinand_write_reg_op(struct spinand_device *spinand, u8 reg, u8 val);
539 int spinand_select_target(struct spinand_device *spinand, unsigned int target);