Lines Matching refs:mtd_info

86 	struct mtd_info mtd;
120 static void rockchip_nand_select_chip(struct mtd_info *mtd, int chipnr) in rockchip_nand_select_chip()
147 static void rockchip_nand_cmd_ctrl(struct mtd_info *mtd, in rockchip_nand_cmd_ctrl()
168 static void rockchip_nand_read_buf(struct mtd_info *mtd, in rockchip_nand_read_buf()
182 static void rockchip_nand_write_buf(struct mtd_info *mtd, in rockchip_nand_write_buf()
196 static uint8_t rockchip_nand_read_byte(struct mtd_info *mtd) in rockchip_nand_read_byte()
205 static int rockchip_nand_dev_ready(struct mtd_info *mtd) in rockchip_nand_dev_ready()
216 static int rockchip_nand_hw_ecc_setup(struct mtd_info *mtd, in rockchip_nand_hw_ecc_setup()
284 static void rockchip_nand_read_extra_oob(struct mtd_info *mtd, u8 *oob) in rockchip_nand_read_extra_oob()
299 static void rockchip_nand_write_extra_oob(struct mtd_info *mtd, u8 *oob) in rockchip_nand_write_extra_oob()
314 static int rockchip_nand_hw_syndrome_pio_read_page(struct mtd_info *mtd, in rockchip_nand_hw_syndrome_pio_read_page()
374 static uint32_t rockchip_nand_make_bootrom_compat(struct mtd_info *mtd, in rockchip_nand_make_bootrom_compat()
389 static int rockchip_nand_hw_syndrome_pio_write_page(struct mtd_info *mtd, in rockchip_nand_hw_syndrome_pio_write_page()
448 static int rockchip_nand_ecc_max_strength(struct mtd_info *mtd, in rockchip_nand_ecc_max_strength()
479 static int rockchip_nand_hw_ecc_ctrl_init(struct mtd_info *mtd, in rockchip_nand_hw_ecc_ctrl_init()
517 static int rockchip_nand_ecc_init(struct mtd_info *mtd, in rockchip_nand_ecc_init()
542 static int rockchip_nand_block_bad(struct mtd_info *mtd, loff_t ofs) in rockchip_nand_block_bad()
582 struct mtd_info *mtd; in rockchip_nand_chip_init()
631 memcpy(&rknand->mtd, mtd, sizeof(struct mtd_info)); in rockchip_nand_chip_init()
662 struct mtd_info *mtd = dev_get_uclass_priv(dev); in rockchip_nandc_probe()
687 memcpy(mtd, &rknand->mtd, sizeof(struct mtd_info)); in rockchip_nandc_probe()
780 struct mtd_info *mtd; in nand_spl_load_image()