Lines Matching refs:mtd_info
104 static int cafe_device_ready(struct mtd_info *mtd)
120 static void cafe_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
135 static void cafe_read_buf(struct mtd_info *mtd, uint8_t *buf, int len)
149 static uint8_t cafe_read_byte(struct mtd_info *mtd)
160 static void cafe_nand_cmdfunc(struct mtd_info *mtd, unsigned command,
320 static void cafe_select_chip(struct mtd_info *mtd, int chipnr)
336 struct mtd_info *mtd = id;
347 static void cafe_nand_bug(struct mtd_info *mtd)
352 static int cafe_nand_write_oob(struct mtd_info *mtd,
366 static int cafe_nand_read_oob(struct mtd_info *mtd, struct nand_chip *chip,
382 static int cafe_nand_read_page(struct mtd_info *mtd, struct nand_chip *chip,
520 static void cafe_nand_write_page_lowlevel(struct mtd_info *mtd,
532 static int cafe_nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
579 static int cafe_nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip)
629 struct mtd_info *mtd;
651 dev_warn(&pdev->dev, "failed to alloc mtd_info\n");
836 struct mtd_info *mtd = pci_get_drvdata(pdev);
861 struct mtd_info *mtd = pci_get_drvdata(pdev);