Lines Matching refs:nand_chip
25 struct nand_chip;
31 struct nand_chip *chip,
492 struct nand_chip *active;
601 int (*read_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
603 int (*write_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
605 int (*read_page)(struct mtd_info *mtd, struct nand_chip *chip,
607 int (*read_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
609 int (*write_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
612 int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip,
614 int (*write_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
616 int (*read_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
618 int (*read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page);
619 int (*write_oob)(struct mtd_info *mtd, struct nand_chip *chip,
872 struct nand_chip { struct
891 int(*waitfunc)(struct mtd_info *mtd, struct nand_chip *this); argument
894 int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip, argument
897 int (*onfi_set_features)(struct mtd_info *mtd, struct nand_chip *chip, argument
899 int (*onfi_get_features)(struct mtd_info *mtd, struct nand_chip *chip, argument
956 static inline struct nand_chip *mtd_to_nand(struct mtd_info *mtd) in mtd_to_nand() argument
958 return container_of(mtd, struct nand_chip, mtd); in mtd_to_nand()
961 static inline struct mtd_info *nand_to_mtd(struct nand_chip *chip) in nand_to_mtd()
966 static inline void *nand_get_controller_data(struct nand_chip *chip) in nand_get_controller_data()
971 static inline void nand_set_controller_data(struct nand_chip *chip, void *priv) in nand_set_controller_data()
1170 static inline int onfi_feature(struct nand_chip *chip) in onfi_feature()
1176 static inline int onfi_get_async_timing_mode(struct nand_chip *chip) in onfi_get_async_timing_mode()
1184 static inline int onfi_get_sync_timing_mode(struct nand_chip *chip) in onfi_get_sync_timing_mode()
1191 static inline int onfi_feature(struct nand_chip *chip) in onfi_feature()
1196 static inline int onfi_get_async_timing_mode(struct nand_chip *chip) in onfi_get_async_timing_mode()
1201 static inline int onfi_get_sync_timing_mode(struct nand_chip *chip) in onfi_get_sync_timing_mode()
1207 int onfi_init_data_interface(struct nand_chip *chip,
1217 static inline bool nand_is_slc(struct nand_chip *chip) in nand_is_slc()
1241 static inline int jedec_feature(struct nand_chip *chip) in jedec_feature()
1264 int nand_check_ecc_caps(struct nand_chip *chip,
1267 int nand_match_ecc_req(struct nand_chip *chip,
1270 int nand_maximize_ecc(struct nand_chip *chip,
1274 int nand_reset(struct nand_chip *chip, int chipnr);