Lines Matching defs:nand_ecc_ctrl
488 struct nand_ecc_ctrl { struct
489 nand_ecc_modes_t mode;
490 int steps;
491 int size;
492 int bytes;
493 int total;
494 int strength;
495 int prepad;
496 int postpad;
497 struct nand_ecclayout *layout;
498 void *priv;
499 void (*hwctl)(struct mtd_info *mtd, int mode);
500 int (*calculate)(struct mtd_info *mtd, const uint8_t *dat,
502 int (*correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc,
504 int (*read_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
506 int (*write_page_raw)(struct mtd_info *mtd, struct nand_chip *chip,
508 int (*read_page)(struct mtd_info *mtd, struct nand_chip *chip,
510 int (*read_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
512 int (*write_subpage)(struct mtd_info *mtd, struct nand_chip *chip,
515 int (*write_page)(struct mtd_info *mtd, struct nand_chip *chip,
517 int (*write_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
519 int (*read_oob_raw)(struct mtd_info *mtd, struct nand_chip *chip,
521 int (*read_oob)(struct mtd_info *mtd, struct nand_chip *chip, int page);
522 int (*write_oob)(struct mtd_info *mtd, struct nand_chip *chip,