Lines Matching refs:spinand
241 int (*init)(struct spinand_device *spinand);
242 void (*cleanup)(struct spinand_device *spinand);
308 int (*get_status)(struct spinand_device *spinand, u8 status);
354 int (*select_target)(struct spinand_device *spinand,
441 int (*select_target)(struct spinand_device *spinand,
472 static inline struct mtd_info *spinand_to_mtd(struct spinand_device *spinand) in spinand_to_mtd() argument
474 return nanddev_to_mtd(&spinand->base); in spinand_to_mtd()
495 spinand_to_nand(struct spinand_device *spinand) in spinand_to_nand() argument
497 return &spinand->base; in spinand_to_nand()
507 static inline void spinand_set_of_node(struct spinand_device *spinand, in spinand_set_of_node() argument
510 nanddev_set_of_node(&spinand->base, np); in spinand_set_of_node()
513 int spinand_match_and_init(struct spinand_device *spinand,
518 int spinand_upd_cfg(struct spinand_device *spinand, u8 mask, u8 val);
519 int spinand_select_target(struct spinand_device *spinand, unsigned int target);