Lines Matching defs:mtd

106 static int check_offs_len(struct mtd_info *mtd,  in check_offs_len()
133 static void nand_release_device(struct mtd_info *mtd) in nand_release_device()
151 static uint8_t nand_read_byte(struct mtd_info *mtd) in nand_read_byte()
164 static uint8_t nand_read_byte16(struct mtd_info *mtd) in nand_read_byte16()
176 static u16 nand_read_word(struct mtd_info *mtd) in nand_read_word()
189 static void nand_select_chip(struct mtd_info *mtd, int chipnr) in nand_select_chip()
212 static void nand_write_byte(struct mtd_info *mtd, uint8_t byte) in nand_write_byte()
226 static void nand_write_byte16(struct mtd_info *mtd, uint8_t byte) in nand_write_byte16()
258 static void nand_write_buf(struct mtd_info *mtd, const uint8_t *buf, int len) in nand_write_buf()
273 static void nand_read_buf(struct mtd_info *mtd, uint8_t *buf, int len) in nand_read_buf()
288 static void nand_write_buf16(struct mtd_info *mtd, const uint8_t *buf, int len) in nand_write_buf16()
304 static void nand_read_buf16(struct mtd_info *mtd, uint8_t *buf, int len) in nand_read_buf16()
320 static int nand_block_bad(struct mtd_info *mtd, loff_t ofs, int getchip) in nand_block_bad()
381 static int nand_default_block_markbad(struct mtd_info *mtd, loff_t ofs) in nand_default_block_markbad()
431 static int nand_block_markbad_lowlevel(struct mtd_info *mtd, loff_t ofs) in nand_block_markbad_lowlevel()
472 static int nand_check_wp(struct mtd_info *mtd) in nand_check_wp()
492 static int nand_block_isreserved(struct mtd_info *mtd, loff_t ofs) in nand_block_isreserved()
512 static int nand_block_checkbad(struct mtd_info *mtd, loff_t ofs, int getchip, in nand_block_checkbad()
532 static void panic_nand_wait_ready(struct mtd_info *mtd, unsigned long timeo) in panic_nand_wait_ready()
552 void nand_wait_ready(struct mtd_info *mtd) in nand_wait_ready()
583 static void nand_wait_status_ready(struct mtd_info *mtd, unsigned long timeo) in nand_wait_status_ready()
605 static void nand_command(struct mtd_info *mtd, unsigned int command, in nand_command()
708 static void nand_command_lp(struct mtd_info *mtd, unsigned int command, in nand_command_lp()
818 struct mtd_info *mtd, int new_state) in panic_nand_get_device()
833 nand_get_device(struct mtd_info *mtd, int new_state) in nand_get_device()
876 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, in panic_nand_wait()
899 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) in nand_wait()
950 static int __nand_unlock(struct mtd_info *mtd, loff_t ofs, in __nand_unlock()
986 int nand_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in nand_unlock()
1049 int nand_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in nand_lock()
1248 static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_raw()
1267 static int nand_read_page_raw_syndrome(struct mtd_info *mtd, in nand_read_page_raw_syndrome()
1309 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_swecc()
1355 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_subpage()
1449 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_hwecc()
1502 static int nand_read_page_hwecc_oob_first(struct mtd_info *mtd, in nand_read_page_hwecc_oob_first()
1551 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_syndrome()
1656 static int nand_setup_read_retry(struct mtd_info *mtd, int retry_mode) in nand_setup_read_retry()
1679 static int nand_do_read_ops(struct mtd_info *mtd, loff_t from, in nand_do_read_ops()
1865 static int nand_read(struct mtd_info *mtd, loff_t from, size_t len, in nand_read()
1888 static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_std()
1903 static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_syndrome()
1939 static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_oob_std()
1963 static int nand_write_oob_syndrome(struct mtd_info *mtd, in nand_write_oob_syndrome()
2023 static int nand_do_read_oob(struct mtd_info *mtd, loff_t from, in nand_do_read_oob()
2122 static int nand_read_oob(struct mtd_info *mtd, loff_t from, in nand_read_oob()
2169 static int nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_raw()
2189 static int nand_write_page_raw_syndrome(struct mtd_info *mtd, in nand_write_page_raw_syndrome()
2231 static int nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_swecc()
2260 static int nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_hwecc()
2296 static int nand_write_subpage_hwecc(struct mtd_info *mtd, in nand_write_subpage_hwecc()
2359 static int nand_write_page_syndrome(struct mtd_info *mtd, in nand_write_page_syndrome()
2410 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page()
2472 static uint8_t *nand_fill_oob(struct mtd_info *mtd, uint8_t *oob, size_t len, in nand_fill_oob()
2531 static int nand_do_write_ops(struct mtd_info *mtd, loff_t to, in nand_do_write_ops()
2662 static int panic_nand_write(struct mtd_info *mtd, loff_t to, size_t len, in panic_nand_write()
2696 static int nand_write(struct mtd_info *mtd, loff_t to, size_t len, in nand_write()
2721 static int nand_do_write_oob(struct mtd_info *mtd, loff_t to, in nand_do_write_oob()
2805 static int nand_write_oob(struct mtd_info *mtd, loff_t to, in nand_write_oob()
2848 static int single_erase(struct mtd_info *mtd, int page) in single_erase()
2865 static int nand_erase(struct mtd_info *mtd, struct erase_info *instr) in nand_erase()
2878 int nand_erase_nand(struct mtd_info *mtd, struct erase_info *instr, in nand_erase_nand()
2991 static void nand_sync(struct mtd_info *mtd) in nand_sync()
3006 static int nand_block_isbad(struct mtd_info *mtd, loff_t offs) in nand_block_isbad()
3016 static int nand_block_markbad(struct mtd_info *mtd, loff_t ofs) in nand_block_markbad()
3038 static int nand_onfi_set_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_set_features()
3066 static int nand_onfi_get_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_get_features()
3086 static int nand_suspend(struct mtd_info *mtd) in nand_suspend()
3095 static void nand_resume(struct mtd_info *mtd) in nand_resume()
3111 static void nand_shutdown(struct mtd_info *mtd) in nand_shutdown()
3197 static int nand_flash_detect_ext_param_page(struct mtd_info *mtd, in nand_flash_detect_ext_param_page()
3267 static int nand_setup_read_retry_micron(struct mtd_info *mtd, int retry_mode) in nand_setup_read_retry_micron()
3294 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
3398 static int nand_flash_detect_jedec(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_jedec()
3550 static void nand_decode_ext_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_ext_id()
3683 static void nand_decode_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_id()
3716 static void nand_decode_bbm_options(struct mtd_info *mtd, in nand_decode_bbm_options()
3753 static bool find_full_id_nand(struct mtd_info *mtd, struct nand_chip *chip, in find_full_id_nand()
3782 static struct nand_flash_dev *nand_get_flash_type(struct mtd_info *mtd, in nand_get_flash_type()
3940 static int nand_dt_init(struct mtd_info *mtd, struct nand_chip *chip, in nand_dt_init()
3983 int nand_scan_ident(struct mtd_info *mtd, int maxchips, in nand_scan_ident()
4056 static bool nand_ecc_strength_good(struct mtd_info *mtd) in nand_ecc_strength_good()
4084 int nand_scan_tail(struct mtd_info *mtd) in nand_scan_tail()
4407 int nand_scan(struct mtd_info *mtd, int maxchips) in nand_scan()
4422 void nand_release(struct mtd_info *mtd) in nand_release()