Lines Matching defs:mtd

237 	struct mtd_info mtd;  member
351 static int sunxi_nfc_dev_ready(struct mtd_info *mtd) in sunxi_nfc_dev_ready()
389 static void sunxi_nfc_select_chip(struct mtd_info *mtd, int chip) in sunxi_nfc_select_chip()
434 static void sunxi_nfc_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in sunxi_nfc_read_buf()
466 static void sunxi_nfc_write_buf(struct mtd_info *mtd, const uint8_t *buf, in sunxi_nfc_write_buf()
498 static uint8_t sunxi_nfc_read_byte(struct mtd_info *mtd) in sunxi_nfc_read_byte()
507 static void sunxi_nfc_cmd_ctrl(struct mtd_info *mtd, int dat, in sunxi_nfc_cmd_ctrl()
542 static void sunxi_nfc_hw_ecc_enable(struct mtd_info *mtd) in sunxi_nfc_hw_ecc_enable()
557 static void sunxi_nfc_hw_ecc_disable(struct mtd_info *mtd) in sunxi_nfc_hw_ecc_disable()
574 static int sunxi_nfc_hw_ecc_read_chunk(struct mtd_info *mtd, in sunxi_nfc_hw_ecc_read_chunk()
638 static void sunxi_nfc_hw_ecc_read_extra_oob(struct mtd_info *mtd, in sunxi_nfc_hw_ecc_read_extra_oob()
663 static int sunxi_nfc_hw_ecc_write_chunk(struct mtd_info *mtd, in sunxi_nfc_hw_ecc_write_chunk()
702 static void sunxi_nfc_hw_ecc_write_extra_oob(struct mtd_info *mtd, in sunxi_nfc_hw_ecc_write_extra_oob()
722 static int sunxi_nfc_hw_ecc_read_page(struct mtd_info *mtd, in sunxi_nfc_hw_ecc_read_page()
753 static int sunxi_nfc_hw_ecc_write_page(struct mtd_info *mtd, in sunxi_nfc_hw_ecc_write_page()
784 static int sunxi_nfc_hw_syndrome_ecc_read_page(struct mtd_info *mtd, in sunxi_nfc_hw_syndrome_ecc_read_page()
816 static int sunxi_nfc_hw_syndrome_ecc_write_page(struct mtd_info *mtd, in sunxi_nfc_hw_syndrome_ecc_write_page()
1029 static int sunxi_nand_hw_common_ecc_ctrl_init(struct mtd_info *mtd, in sunxi_nand_hw_common_ecc_ctrl_init()
1093 static int sunxi_nand_hw_ecc_ctrl_init(struct mtd_info *mtd, in sunxi_nand_hw_ecc_ctrl_init()
1146 static int sunxi_nand_hw_syndrome_ecc_ctrl_init(struct mtd_info *mtd, in sunxi_nand_hw_syndrome_ecc_ctrl_init()
1189 static int sunxi_nand_ecc_init(struct mtd_info *mtd, struct nand_ecc_ctrl *ecc, in sunxi_nand_ecc_init()
1236 struct mtd_info *mtd; in sunxi_nand_chip_init() local