Lines Matching refs:nand_chip
95 struct nand_chip nand_chip; member
105 #define to_tango_chip(ptr) container_of(ptr, struct tango_chip, nand_chip)
116 static void tango_select_target(struct nand_chip *chip, unsigned int cs) in tango_select_target()
129 static int tango_waitrdy(struct nand_chip *chip, unsigned int timeout_ms) in tango_waitrdy()
139 static int tango_exec_instr(struct nand_chip *chip, in tango_exec_instr()
172 static int tango_exec_op(struct nand_chip *chip, in tango_exec_op()
196 static int check_erased_page(struct nand_chip *chip, u8 *buf) in check_erased_page()
223 static int decode_error_report(struct nand_chip *chip) in decode_error_report()
296 static int tango_read_page(struct nand_chip *chip, u8 *buf, in tango_read_page()
320 static int tango_write_page(struct nand_chip *chip, const u8 *buf, in tango_write_page()
351 static void aux_read(struct nand_chip *chip, u8 **buf, int len, int *pos) in aux_read()
366 static void aux_write(struct nand_chip *chip, const u8 **buf, int len, int *pos) in aux_write()
400 static void raw_read(struct nand_chip *chip, u8 *buf, u8 *oob) in raw_read()
427 static void raw_write(struct nand_chip *chip, const u8 *buf, const u8 *oob) in raw_write()
454 static int tango_read_page_raw(struct nand_chip *chip, u8 *buf, in tango_read_page_raw()
463 static int tango_write_page_raw(struct nand_chip *chip, const u8 *buf, in tango_write_page_raw()
472 static int tango_read_oob(struct nand_chip *chip, int page) in tango_read_oob()
480 static int tango_write_oob(struct nand_chip *chip, int page) in tango_write_oob()
490 struct nand_chip *chip = mtd_to_nand(mtd); in oob_ecc()
517 static int tango_set_timings(struct nand_chip *chip, int csline, in tango_set_timings()
548 static int tango_attach_chip(struct nand_chip *chip) in tango_attach_chip()
577 struct nand_chip *chip; in chip_init()
600 chip = &tchip->nand_chip; in chip_init()
637 struct nand_chip *chip; in tango_nand_remove()
644 chip = &nfc->chips[cs]->nand_chip; in tango_nand_remove()