Lines Matching defs:mtd
31 static int flctl_4secc_ooblayout_sp_ecc(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_sp_ecc()
45 static int flctl_4secc_ooblayout_sp_free(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_sp_free()
62 static int flctl_4secc_ooblayout_lp_ecc(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_lp_ecc()
76 static int flctl_4secc_ooblayout_lp_free(struct mtd_info *mtd, int section, in flctl_4secc_ooblayout_lp_free()
222 static void set_addr(struct mtd_info *mtd, int column, int page_addr) in set_addr()
538 static void set_cmd_regs(struct mtd_info *mtd, uint32_t cmd, uint32_t flcmcdr_val) in set_cmd_regs()
603 struct mtd_info *mtd = nand_to_mtd(chip); in flctl_read_page_hwecc() local
614 struct mtd_info *mtd = nand_to_mtd(chip); in flctl_write_page_hwecc() local
621 static void execmd_read_page_sector(struct mtd_info *mtd, int page_addr) in execmd_read_page_sector()
670 static void execmd_read_oob(struct mtd_info *mtd, int page_addr) in execmd_read_oob()
691 static void execmd_write_page_sector(struct mtd_info *mtd) in execmd_write_page_sector()
717 static void execmd_write_oob(struct mtd_info *mtd) in execmd_write_oob()
742 struct mtd_info *mtd = nand_to_mtd(chip); in flctl_cmdfunc() local
989 struct mtd_info *mtd = nand_to_mtd(chip); in flctl_chip_attach_chip() local