Lines Matching defs:chip
107 struct nand_chip *chip = mtd_to_nand(mtd); in check_offs_len() local
133 struct nand_chip *chip = mtd_to_nand(mtd); in nand_release_device() local
147 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte() local
160 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_byte16() local
172 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_word() local
185 struct nand_chip *chip = mtd_to_nand(mtd); in nand_select_chip() local
208 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte() local
222 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_byte16() local
287 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf() local
302 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf() local
317 struct nand_chip *chip = mtd_to_nand(mtd); in nand_write_buf16() local
333 struct nand_chip *chip = mtd_to_nand(mtd); in nand_read_buf16() local
349 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_bad() local
395 struct nand_chip *chip = mtd_to_nand(mtd); in nand_default_block_markbad() local
445 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_markbad_lowlevel() local
486 struct nand_chip *chip = mtd_to_nand(mtd); in nand_check_wp() local
506 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isreserved() local
525 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_checkbad() local
548 struct nand_chip *chip = mtd_to_nand(mtd); in nand_wait_ready() local
574 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_wait_status_ready() local
599 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_command() local
703 register struct nand_chip *chip = mtd_to_nand(mtd); in nand_command_lp() local
810 static void panic_nand_get_device(struct nand_chip *chip, in panic_nand_get_device()
828 struct nand_chip *chip = mtd_to_nand(mtd); in nand_get_device() local
843 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, in panic_nand_wait()
866 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) in nand_wait()
911 static int nand_reset_data_interface(struct nand_chip *chip, int chipnr) in nand_reset_data_interface()
955 static int nand_setup_data_interface(struct nand_chip *chip, int chipnr) in nand_setup_data_interface()
998 static int nand_init_data_interface(struct nand_chip *chip) in nand_init_data_interface()
1043 static void __maybe_unused nand_release_data_interface(struct nand_chip *chip) in nand_release_data_interface()
1055 int nand_reset(struct nand_chip *chip, int chipnr) in nand_reset()
1218 static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_raw()
1238 struct nand_chip *chip, uint8_t *buf, in nand_read_page_raw_syndrome()
1279 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_swecc()
1325 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_subpage()
1429 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_hwecc()
1492 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc_oob_first()
1549 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_syndrome()
1615 static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, in nand_transfer_oob()
1667 struct nand_chip *chip = mtd_to_nand(mtd); in nand_setup_read_retry() local
1692 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_read_ops() local
1899 static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_std()
1914 static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_syndrome()
1950 static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_oob_std()
1975 struct nand_chip *chip, int page) in nand_write_oob_syndrome()
2038 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_read_oob() local
2179 static int nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_raw()
2200 struct nand_chip *chip, in nand_write_page_raw_syndrome()
2241 static int nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_swecc()
2270 static int nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_hwecc()
2307 struct nand_chip *chip, uint32_t offset, in nand_write_subpage_hwecc()
2370 struct nand_chip *chip, in nand_write_page_syndrome()
2419 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page()
2468 struct nand_chip *chip = mtd_to_nand(mtd); in nand_fill_oob() local
2528 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_write_ops() local
2656 struct nand_chip *chip = mtd_to_nand(mtd); in panic_nand_write() local
2716 struct nand_chip *chip = mtd_to_nand(mtd); in nand_do_write_oob() local
2839 struct nand_chip *chip = mtd_to_nand(mtd); in single_erase() local
2871 struct nand_chip *chip = mtd_to_nand(mtd); in nand_erase_nand() local
2991 struct nand_chip *chip = mtd_to_nand(mtd); in nand_block_isbad() local
3034 static int nand_onfi_set_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_set_features()
3064 static int nand_onfi_get_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_get_features()
3083 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults()
3167 struct nand_chip *chip, struct nand_onfi_params *p) in nand_flash_detect_ext_param_page()
3238 struct nand_chip *chip = mtd_to_nand(mtd); in nand_setup_read_retry_micron() local
3248 static void nand_onfi_detect_micron(struct nand_chip *chip, in nand_onfi_detect_micron()
3263 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
3364 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
3374 static int nand_flash_detect_jedec(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_jedec()
3526 static void nand_decode_ext_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_ext_id()
3659 static void nand_decode_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_id()
3693 struct nand_chip *chip, u8 id_data[8]) in nand_decode_bbm_options()
3729 static bool find_full_id_nand(struct mtd_info *mtd, struct nand_chip *chip, in find_full_id_nand()
3759 struct nand_chip *chip, in nand_get_flash_type()
3935 static int nand_dt_init(struct mtd_info *mtd, struct nand_chip *chip, int node) in nand_dt_init()
3989 static int nand_dt_init(struct mtd_info *mtd, struct nand_chip *chip, int node) in nand_dt_init()
4009 struct nand_chip *chip = mtd_to_nand(mtd); in nand_scan_ident() local
4092 int nand_check_ecc_caps(struct nand_chip *chip, in nand_check_ecc_caps()
4154 int nand_match_ecc_req(struct nand_chip *chip, in nand_match_ecc_req()
4238 int nand_maximize_ecc(struct nand_chip *chip, in nand_maximize_ecc()
4318 struct nand_chip *chip = mtd_to_nand(mtd); in nand_ecc_strength_good() local
4336 static bool invalid_ecc_page_accessors(struct nand_chip *chip) in invalid_ecc_page_accessors()
4367 struct nand_chip *chip = mtd_to_nand(mtd); in nand_scan_tail() local