Lines Matching refs:nand_chip

98 	struct nand_chip nand_chip;  member
108 #define to_tango_chip(ptr) container_of(ptr, struct tango_chip, nand_chip)
132 struct nand_chip *chip = mtd_to_nand(mtd); in tango_dev_ready()
161 struct nand_chip *chip = mtd_to_nand(mtd); in tango_select_chip()
180 static int check_erased_page(struct nand_chip *chip, u8 *buf) in check_erased_page()
207 static int decode_error_report(struct nand_chip *chip) in decode_error_report()
280 static int tango_read_page(struct mtd_info *mtd, struct nand_chip *chip, in tango_read_page()
302 static int tango_write_page(struct mtd_info *mtd, struct nand_chip *chip, in tango_write_page()
324 static void aux_read(struct nand_chip *chip, u8 **buf, int len, int *pos) in aux_read()
339 static void aux_write(struct nand_chip *chip, const u8 **buf, int len, int *pos) in aux_write()
373 static void raw_read(struct nand_chip *chip, u8 *buf, u8 *oob) in raw_read()
400 static void raw_write(struct nand_chip *chip, const u8 *buf, const u8 *oob) in raw_write()
427 static int tango_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in tango_read_page_raw()
435 static int tango_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in tango_write_page_raw()
443 static int tango_read_oob(struct mtd_info *mtd, struct nand_chip *chip, in tango_read_oob()
451 static int tango_write_oob(struct mtd_info *mtd, struct nand_chip *chip, in tango_write_oob()
461 struct nand_chip *chip = mtd_to_nand(mtd); in oob_ecc()
492 struct nand_chip *chip = mtd_to_nand(mtd); in tango_set_timings()
520 static int tango_attach_chip(struct nand_chip *chip) in tango_attach_chip()
547 struct nand_chip *chip; in chip_init()
570 chip = &tchip->nand_chip; in chip_init()
620 nand_release(nand_to_mtd(&nfc->chips[cs]->nand_chip)); in tango_nand_remove()