Lines Matching defs:chip
109 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() local
135 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() local
149 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() local
162 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() local
174 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() local
187 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() local
210 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() local
224 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() local
289 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf() local
304 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf() local
319 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf16() local
335 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf16() local
351 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_bad() local
397 struct nand_chip *chip = mtd_to_nand(mtd); in nand_default_block_markbad() local
447 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_markbad_lowlevel() local
488 struct nand_chip *chip = mtd_to_nand(mtd); in nand_check_wp() local
513 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isreserved() local
532 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_checkbad() local
555 struct nand_chip *chip = mtd_to_nand(mtd); in nand_wait_ready() local
581 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_wait_status_ready() local
613 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_command() local
717 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_command_lp() local
824 static void panic_nand_get_device(struct nand_chip *chip, in panic_nand_get_device()
842 struct nand_chip *chip = mtd_to_nand(mtd); in nand_get_device() local
857 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, in panic_nand_wait()
888 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) in nand_wait()
944 static int nand_reset_data_interface(struct nand_chip *chip, int chipnr) in nand_reset_data_interface()
988 static int nand_setup_data_interface(struct nand_chip *chip, int chipnr) in nand_setup_data_interface()
1031 static int nand_init_data_interface(struct nand_chip *chip) in nand_init_data_interface()
1076 static void __maybe_unused nand_release_data_interface(struct nand_chip *chip) in nand_release_data_interface()
1094 int nand_read_page_op(struct nand_chip *chip, unsigned int page, in nand_read_page_op()
1125 static int nand_read_param_page_op(struct nand_chip *chip, u8 page, void *buf, in nand_read_param_page_op()
1155 int nand_change_read_column_op(struct nand_chip *chip, in nand_change_read_column_op()
1188 int nand_read_oob_op(struct nand_chip *chip, unsigned int page, in nand_read_oob_op()
1220 int nand_prog_page_begin_op(struct nand_chip *chip, unsigned int page, in nand_prog_page_begin_op()
1250 int nand_prog_page_end_op(struct nand_chip *chip) in nand_prog_page_end_op()
1278 int nand_prog_page_op(struct nand_chip *chip, unsigned int page, in nand_prog_page_op()
1316 int nand_change_write_column_op(struct nand_chip *chip, in nand_change_write_column_op()
1350 int nand_readid_op(struct nand_chip *chip, u8 addr, void *buf, in nand_readid_op()
1380 int nand_status_op(struct nand_chip *chip, u8 *status) in nand_status_op()
1403 int nand_exit_status_op(struct nand_chip *chip) in nand_exit_status_op()
1424 int nand_erase_op(struct nand_chip *chip, unsigned int eraseblock) in nand_erase_op()
1457 static int nand_set_features_op(struct nand_chip *chip, u8 feature, in nand_set_features_op()
1487 static int nand_get_features_op(struct nand_chip *chip, u8 feature, in nand_get_features_op()
1511 int nand_reset_op(struct nand_chip *chip) in nand_reset_op()
1534 int nand_read_data_op(struct nand_chip *chip, void *buf, unsigned int len, in nand_read_data_op()
1569 int nand_write_data_op(struct nand_chip *chip, const void *buf, in nand_write_data_op()
1598 int nand_reset(struct nand_chip *chip, int chipnr) in nand_reset()
1763 static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_raw()
1793 struct nand_chip *chip, uint8_t *buf, in nand_read_page_raw_syndrome()
1851 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_swecc()
1897 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_subpage()
2010 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_hwecc()
2081 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc_oob_first()
2147 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_syndrome()
2231 static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, in nand_transfer_oob()
2283 struct nand_chip *chip = mtd_to_nand(mtd); in nand_setup_read_retry() local
2308 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_read_ops() local
2491 static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_std()
2504 static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_syndrome()
2558 static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_oob_std()
2573 struct nand_chip *chip, int page) in nand_write_oob_syndrome()
2651 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_read_oob() local
2792 static int nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_raw()
2822 struct nand_chip *chip, in nand_write_page_raw_syndrome()
2880 static int nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_swecc()
2909 static int nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_hwecc()
2953 struct nand_chip *chip, uint32_t offset, in nand_write_subpage_hwecc()
3021 struct nand_chip *chip, in nand_write_page_syndrome()
3088 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page()
3135 struct nand_chip *chip = mtd_to_nand(mtd); in nand_fill_oob() local
3195 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_write_ops() local
3323 struct nand_chip *chip = mtd_to_nand(mtd); in panic_nand_write() local
3356 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_write_oob() local
3479 struct nand_chip *chip = mtd_to_nand(mtd); in single_erase() local
3512 struct nand_chip *chip = mtd_to_nand(mtd); in nand_erase_nand() local
3632 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isbad() local
3675 static int nand_onfi_set_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_set_features()
3695 static int nand_onfi_get_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_get_features()
3709 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults()
3793 struct nand_chip *chip, struct nand_onfi_params *p) in nand_flash_detect_ext_param_page()
3868 struct nand_chip *chip = mtd_to_nand(mtd); in nand_setup_read_retry_micron() local
3878 static void nand_onfi_detect_micron(struct nand_chip *chip, in nand_onfi_detect_micron()
3893 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
3998 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
4008 static int nand_flash_detect_jedec(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_jedec()
4162 static void nand_decode_ext_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_ext_id()
4295 static void nand_decode_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_id()
4329 struct nand_chip *chip, u8 id_data[8]) in nand_decode_bbm_options()
4365 static bool find_full_id_nand(struct mtd_info *mtd, struct nand_chip *chip, in find_full_id_nand()
4395 struct nand_chip *chip, in nand_get_flash_type()
4574 static int nand_dt_init(struct mtd_info *mtd, struct nand_chip *chip, int node) in nand_dt_init()
4628 static int nand_dt_init(struct mtd_info *mtd, struct nand_chip *chip, int node) in nand_dt_init()
4648 struct nand_chip *chip = mtd_to_nand(mtd); in nand_scan_ident() local
4733 int nand_check_ecc_caps(struct nand_chip *chip, in nand_check_ecc_caps()
4795 int nand_match_ecc_req(struct nand_chip *chip, in nand_match_ecc_req()
4879 int nand_maximize_ecc(struct nand_chip *chip, in nand_maximize_ecc()
4959 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ecc_strength_good() local
4977 static bool invalid_ecc_page_accessors(struct nand_chip *chip) in invalid_ecc_page_accessors()
5008 struct nand_chip *chip = mtd_to_nand(mtd); in nand_scan_tail() local