Lines Matching defs:chip
60 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_ecc_sp() local
115 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_ecc_lp() local
130 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_free_lp() local
155 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_ecc_lp_hamming() local
182 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ooblayout_free_lp_hamming() local
219 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() local
245 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() local
263 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() local
276 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() local
288 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() local
301 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() local
324 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() local
338 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() local
370 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf() local
385 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf() local
400 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf16() local
416 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf16() local
432 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_bad() local
470 struct nand_chip *chip = mtd_to_nand(mtd); in nand_default_block_markbad() local
522 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_markbad_lowlevel() local
563 struct nand_chip *chip = mtd_to_nand(mtd); in nand_check_wp() local
583 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isreserved() local
602 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_checkbad() local
621 struct nand_chip *chip = mtd_to_nand(mtd); in panic_nand_wait_ready() local
641 struct nand_chip *chip = mtd_to_nand(mtd); in nand_wait_ready() local
669 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_wait_status_ready() local
692 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_command() local
795 static void nand_ccs_delay(struct nand_chip *chip) in nand_ccs_delay()
828 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_command_lp() local
956 static void panic_nand_get_device(struct nand_chip *chip, in panic_nand_get_device()
974 struct nand_chip *chip = mtd_to_nand(mtd); in nand_get_device() local
1015 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, in panic_nand_wait()
1038 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) in nand_wait()
1083 static int nand_reset_data_interface(struct nand_chip *chip, int chipnr) in nand_reset_data_interface()
1127 static int nand_setup_data_interface(struct nand_chip *chip, int chipnr) in nand_setup_data_interface()
1172 static int nand_init_data_interface(struct nand_chip *chip) in nand_init_data_interface()
1217 static void nand_release_data_interface(struct nand_chip *chip) in nand_release_data_interface()
1229 int nand_reset(struct nand_chip *chip, int chipnr) in nand_reset()
1397 int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_raw()
1418 struct nand_chip *chip, uint8_t *buf, in nand_read_page_raw_syndrome()
1459 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_swecc()
1506 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_subpage()
1614 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_hwecc()
1678 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc_oob_first()
1736 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_syndrome()
1805 struct nand_chip *chip = mtd_to_nand(mtd); in nand_transfer_oob() local
1838 struct nand_chip *chip = mtd_to_nand(mtd); in nand_setup_read_retry() local
1863 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_read_ops() local
2069 int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, int page) in nand_read_oob_std()
2084 int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_syndrome()
2121 int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, int page) in nand_write_oob_std()
2145 int nand_write_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_oob_syndrome()
2211 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_read_oob() local
2346 int nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_raw()
2368 struct nand_chip *chip, in nand_write_page_raw_syndrome()
2409 static int nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_swecc()
2439 static int nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_hwecc()
2477 struct nand_chip *chip, uint32_t offset, in nand_write_subpage_hwecc()
2541 struct nand_chip *chip, in nand_write_page_syndrome()
2590 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page()
2639 struct nand_chip *chip = mtd_to_nand(mtd); in nand_fill_oob() local
2681 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_write_ops() local
2810 struct nand_chip *chip = mtd_to_nand(mtd); in panic_nand_write() local
2873 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_write_oob() local
2996 struct nand_chip *chip = mtd_to_nand(mtd); in single_erase() local
3028 struct nand_chip *chip = mtd_to_nand(mtd); in nand_erase_nand() local
3146 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isbad() local
3190 struct nand_chip *chip = mtd_to_nand(mtd); in nand_max_bad_blocks() local
3225 static int nand_onfi_set_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_set_features()
3253 static int nand_onfi_get_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_get_features()
3281 struct nand_chip *chip, int addr, in nand_onfi_get_set_features_notsupp()
3303 struct nand_chip *chip = mtd_to_nand(mtd); in nand_resume() local
3323 static void nand_set_defaults(struct nand_chip *chip) in nand_set_defaults()
3406 static int nand_flash_detect_ext_param_page(struct nand_chip *chip, in nand_flash_detect_ext_param_page()
3480 static int nand_flash_detect_onfi(struct nand_chip *chip) in nand_flash_detect_onfi()
3582 static int nand_flash_detect_jedec(struct nand_chip *chip) in nand_flash_detect_jedec()
3732 void nand_decode_ext_id(struct nand_chip *chip) in nand_decode_ext_id()
3762 static void nand_decode_id(struct nand_chip *chip, struct nand_flash_dev *type) in nand_decode_id()
3779 static void nand_decode_bbm_options(struct nand_chip *chip) in nand_decode_bbm_options()
3795 static bool find_full_id_nand(struct nand_chip *chip, in find_full_id_nand()
3827 static void nand_manufacturer_detect(struct nand_chip *chip) in nand_manufacturer_detect()
3849 static int nand_manufacturer_init(struct nand_chip *chip) in nand_manufacturer_init()
3864 static void nand_manufacturer_cleanup(struct nand_chip *chip) in nand_manufacturer_cleanup()
3875 static int nand_detect(struct nand_chip *chip, struct nand_flash_dev *type) in nand_detect()
4146 static int nand_dt_init(struct nand_chip *chip) in nand_dt_init()
4197 struct nand_chip *chip = mtd_to_nand(mtd); in nand_scan_ident() local
4262 struct nand_chip *chip = mtd_to_nand(mtd); in nand_set_ecc_soft_ops() local
4366 int nand_check_ecc_caps(struct nand_chip *chip, in nand_check_ecc_caps()
4428 int nand_match_ecc_req(struct nand_chip *chip, in nand_match_ecc_req()
4512 int nand_maximize_ecc(struct nand_chip *chip, in nand_maximize_ecc()
4592 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ecc_strength_good() local
4610 static bool invalid_ecc_page_accessors(struct nand_chip *chip) in invalid_ecc_page_accessors()
4640 struct nand_chip *chip = mtd_to_nand(mtd); in nand_scan_tail() local
5019 void nand_cleanup(struct nand_chip *chip) in nand_cleanup()