Lines Matching defs:nand_ecc_ctrl
636 struct nand_ecc_ctrl { struct
637 nand_ecc_modes_t mode;
638 enum nand_ecc_algo algo;
639 int steps;
640 int size;
641 int bytes;
642 int total;
643 int strength;
644 int prepad;
645 int postpad;
646 unsigned int options;
647 void *priv;
648 u8 *calc_buf;
649 u8 *code_buf;
650 void (*hwctl)(struct mtd_info *mtd, int mode);
651 int (*calculate)(struct mtd_info *mtd, const uint8_t *dat,
653 int (*correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc,
655 int (*read_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
657 int (*write_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
659 int (*read_page)(struct mtd_info *mtd, struct nand_chip *chip,
661 int (*read_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
663 int (*write_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
666 int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip,
668 int (*write_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
670 int (*read_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
672 int (*read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page);
673 int (*write_oob)(struct mtd_info *mtd, struct nand_chip *chip,