Lines Matching defs:chip
59 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_ecc_sp() local
114 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_ecc_lp() local
129 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_free_lp() local
154 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_ecc_lp_hamming() local
181 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_free_lp_hamming() local
218 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() local
244 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() local
262 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() local
275 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() local
287 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() local
300 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() local
323 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() local
337 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() local
369 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf() local
384 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf() local
399 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf16() local
415 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf16() local
431 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_bad() local
477 struct nand_chip *chip = mtd_to_nand(mtd); in nand_default_block_markbad() local
527 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_markbad_lowlevel() local
568 struct nand_chip *chip = mtd_to_nand(mtd); in nand_check_wp() local
588 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isreserved() local
607 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_checkbad() local
626 struct nand_chip *chip = mtd_to_nand(mtd); in panic_nand_wait_ready() local
646 struct nand_chip *chip = mtd_to_nand(mtd); in nand_wait_ready() local
674 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_wait_status_ready() local
697 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_command() local
802 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_command_lp() local
914 static void panic_nand_get_device(struct nand_chip *chip, in panic_nand_get_device()
932 struct nand_chip *chip = mtd_to_nand(mtd); in nand_get_device() local
973 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, in panic_nand_wait()
996 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) in nand_wait()
1040 static int nand_reset_data_interface(struct nand_chip *chip) in nand_reset_data_interface()
1083 static int nand_setup_data_interface(struct nand_chip *chip) in nand_setup_data_interface()
1128 static int nand_init_data_interface(struct nand_chip *chip) in nand_init_data_interface()
1171 static void nand_release_data_interface(struct nand_chip *chip) in nand_release_data_interface()
1183 int nand_reset(struct nand_chip *chip, int chipnr) in nand_reset()
1226 struct nand_chip *chip = mtd_to_nand(mtd); in __nand_unlock() local
1261 struct nand_chip *chip = mtd_to_nand(mtd); in nand_unlock() local
1324 struct nand_chip *chip = mtd_to_nand(mtd); in nand_lock() local
1519 static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_raw()
1539 struct nand_chip *chip, uint8_t *buf, in nand_read_page_raw_syndrome()
1580 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_swecc()
1627 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_subpage()
1735 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_hwecc()
1799 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc_oob_first()
1857 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_syndrome()
1926 struct nand_chip *chip = mtd_to_nand(mtd); in nand_transfer_oob() local
1959 struct nand_chip *chip = mtd_to_nand(mtd); in nand_setup_read_retry() local
1984 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_read_ops() local
2188 int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, int page) in nand_read_oob_std()
2203 int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_syndrome()
2240 int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, int page) in nand_write_oob_std()
2264 int nand_write_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_oob_syndrome()
2330 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_read_oob() local
2465 static int nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_raw()
2486 struct nand_chip *chip, in nand_write_page_raw_syndrome()
2527 static int nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_swecc()
2557 static int nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_hwecc()
2595 struct nand_chip *chip, uint32_t offset, in nand_write_subpage_hwecc()
2659 struct nand_chip *chip, in nand_write_page_syndrome()
2709 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page()
2774 struct nand_chip *chip = mtd_to_nand(mtd); in nand_fill_oob() local
2816 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_write_ops() local
2945 struct nand_chip *chip = mtd_to_nand(mtd); in panic_nand_write() local
3008 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_write_oob() local
3131 struct nand_chip *chip = mtd_to_nand(mtd); in single_erase() local
3163 struct nand_chip *chip = mtd_to_nand(mtd); in nand_erase_nand() local
3289 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isbad() local
3332 static int nand_onfi_set_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_set_features()
3360 static int nand_onfi_get_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_get_features()
3391 struct nand_chip *chip = mtd_to_nand(mtd); in nand_resume() local
3411 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults()
3491 struct nand_chip *chip, struct nand_onfi_params *p) in nand_flash_detect_ext_param_page()
3562 struct nand_chip *chip = mtd_to_nand(mtd); in nand_setup_read_retry_micron() local
3572 static void nand_onfi_detect_micron(struct nand_chip *chip, in nand_onfi_detect_micron()
3587 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
3691 static int nand_flash_detect_jedec(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_jedec()
3843 static void nand_decode_ext_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_ext_id()
3976 static void nand_decode_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_id()
4010 struct nand_chip *chip, u8 id_data[8]) in nand_decode_bbm_options()
4046 static bool find_full_id_nand(struct mtd_info *mtd, struct nand_chip *chip, in find_full_id_nand()
4076 struct nand_chip *chip, in nand_get_flash_type()
4338 static int nand_dt_init(struct nand_chip *chip) in nand_dt_init()
4395 struct nand_chip *chip = mtd_to_nand(mtd); in nand_scan_ident() local
4477 struct nand_chip *chip = mtd_to_nand(mtd); in nand_set_ecc_soft_ops() local
4587 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ecc_strength_good() local
4615 struct nand_chip *chip = mtd_to_nand(mtd); in nand_scan_tail() local
4921 void nand_cleanup(struct nand_chip *chip) in nand_cleanup()