Lines Matching defs:mtd
84 struct mtd_info mtd; member
114 static void rockchip_nand_select_chip(struct mtd_info *mtd, int chipnr) in rockchip_nand_select_chip()
141 static void rockchip_nand_cmd_ctrl(struct mtd_info *mtd, in rockchip_nand_cmd_ctrl()
162 static void rockchip_nand_read_buf(struct mtd_info *mtd, in rockchip_nand_read_buf()
176 static void rockchip_nand_write_buf(struct mtd_info *mtd, in rockchip_nand_write_buf()
190 static uint8_t rockchip_nand_read_byte(struct mtd_info *mtd) in rockchip_nand_read_byte()
199 static int rockchip_nand_dev_ready(struct mtd_info *mtd) in rockchip_nand_dev_ready()
210 static int rockchip_nand_hw_ecc_setup(struct mtd_info *mtd, in rockchip_nand_hw_ecc_setup()
283 static void rockchip_nand_read_extra_oob(struct mtd_info *mtd, u8 *oob) in rockchip_nand_read_extra_oob()
298 static void rockchip_nand_write_extra_oob(struct mtd_info *mtd, u8 *oob) in rockchip_nand_write_extra_oob()
313 static int rockchip_nand_hw_syndrome_pio_read_page(struct mtd_info *mtd, in rockchip_nand_hw_syndrome_pio_read_page()
373 static uint32_t rockchip_nand_make_bootrom_compat(struct mtd_info *mtd, in rockchip_nand_make_bootrom_compat()
388 static int rockchip_nand_hw_syndrome_pio_write_page(struct mtd_info *mtd, in rockchip_nand_hw_syndrome_pio_write_page()
447 static int rockchip_nand_ecc_max_strength(struct mtd_info *mtd, in rockchip_nand_ecc_max_strength()
478 static int rockchip_nand_hw_ecc_ctrl_init(struct mtd_info *mtd, in rockchip_nand_hw_ecc_ctrl_init()
516 static int rockchip_nand_ecc_init(struct mtd_info *mtd, in rockchip_nand_ecc_init()
541 static int rockchip_nand_block_bad(struct mtd_info *mtd, loff_t ofs) in rockchip_nand_block_bad()
581 struct mtd_info *mtd; in rockchip_nand_chip_init() local
661 struct mtd_info *mtd = dev_get_uclass_priv(dev); in rockchip_nandc_probe() local
779 struct mtd_info *mtd; in nand_spl_load_image() local