• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/nand/

Lines Matching refs:mtd_info

98 static int nand_get_device(struct nand_chip *chip, struct mtd_info *mtd,
101 static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
110 static int check_offs_len(struct mtd_info *mtd,
145 static void nand_release_device(struct mtd_info *mtd)
166 static uint8_t nand_read_byte(struct mtd_info *mtd)
179 static uint8_t nand_read_byte16(struct mtd_info *mtd)
192 static u16 nand_read_word(struct mtd_info *mtd)
205 static void nand_select_chip(struct mtd_info *mtd, int chipnr)
229 static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
246 static void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len)
263 static int nand_verify_buf(struct mtd_info *mtd, const uint8_t *buf, int len)
282 static void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
302 static void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len)
321 static int nand_verify_buf16(struct mtd_info *mtd, const uint8_t *buf, int len)
343 static int nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip)
395 static int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs)
453 static int nand_check_wp(struct mtd_info *mtd)
476 static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip,
496 static void panic_nand_wait_ready(struct mtd_info *mtd, unsigned long timeo)
514 void nand_wait_ready(struct mtd_info *mtd)
544 static void nand_command(struct mtd_info *mtd, unsigned int command,
647 static void nand_command_lp(struct mtd_info *mtd, unsigned int command,
766 struct mtd_info *mtd, int new_state)
782 nand_get_device(struct nand_chip *chip, struct mtd_info *mtd, int new_state)
824 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip,
849 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip)
904 static int __nand_unlock(struct mtd_info *mtd, loff_t ofs,
942 int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
999 int nand_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len)
1062 static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
1079 static int nand_read_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
1119 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
1161 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, uint32_t data_offs, uint32_t readlen, uint8_t *bufpoi)
1243 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
1293 static int nand_read_page_hwecc_oob_first(struct mtd_info *mtd,
1338 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
1440 static int nand_do_read_ops(struct mtd_info *mtd, loff_t from,
1580 static int nand_read(struct mtd_info *mtd, loff_t from, size_t len,
1614 static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
1633 static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
1670 static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip,
1694 static int nand_write_oob_syndrome(struct mtd_info *mtd,
1754 static int nand_do_read_oob(struct mtd_info *mtd, loff_t from,
1847 static int nand_read_oob(struct mtd_info *mtd, loff_t from,
1893 static void nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip,
1908 static void nand_write_page_raw_syndrome(struct mtd_info *mtd, struct nand_chip *chip,
1944 static void nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip,
1970 static void nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip,
2001 static void nand_write_page_syndrome(struct mtd_info *mtd,
2045 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip,
2150 static int nand_do_write_ops(struct mtd_info *mtd, loff_t to,
2266 static int panic_nand_write(struct mtd_info *mtd, loff_t to, size_t len,
2304 static int nand_write(struct mtd_info *mtd, loff_t to, size_t len,
2339 static int nand_do_write_oob(struct mtd_info *mtd, loff_t to,
2417 static int nand_write_oob(struct mtd_info *mtd, loff_t to,
2461 static void single_erase_cmd(struct mtd_info *mtd, int page)
2477 static void multi_erase_cmd(struct mtd_info *mtd, int page)
2495 static int nand_erase(struct mtd_info *mtd, struct erase_info *instr)
2509 int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr,
2673 static void nand_sync(struct mtd_info *mtd)
2690 static int nand_block_isbad(struct mtd_info *mtd, loff_t offs)
2704 static int nand_block_markbad(struct mtd_info *mtd, loff_t ofs)
2723 static int nand_suspend(struct mtd_info *mtd)
2734 static void nand_resume(struct mtd_info *mtd)
2792 static struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd,
3024 int nand_scan_ident(struct mtd_info *mtd, int maxchips,
3077 int nand_scan_tail(struct mtd_info *mtd)
3285 /* propagate ecc.layout to mtd_info */
3318 int nand_scan(struct mtd_info *mtd, int maxchips)
3339 void nand_release(struct mtd_info *mtd)