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