Lines Matching refs:nand_chip

110 	struct nand_chip *chip = mtd->priv;  in check_offs_len()
136 struct nand_chip *chip = mtd->priv; in nand_release_device()
154 struct nand_chip *chip = mtd->priv; in nand_read_byte()
167 struct nand_chip *chip = mtd->priv; in nand_read_byte16()
179 struct nand_chip *chip = mtd->priv; in nand_read_word()
192 struct nand_chip *chip = mtd->priv; in nand_select_chip()
215 struct nand_chip *chip = mtd->priv; in nand_write_byte()
229 struct nand_chip *chip = mtd->priv; in nand_write_byte16()
261 struct nand_chip *chip = mtd->priv; in nand_write_buf()
276 struct nand_chip *chip = mtd->priv; in nand_read_buf()
291 struct nand_chip *chip = mtd->priv; in nand_write_buf16()
307 struct nand_chip *chip = mtd->priv; in nand_read_buf16()
324 struct nand_chip *chip = mtd->priv; in nand_block_bad()
384 struct nand_chip *chip = mtd->priv; in nand_default_block_markbad()
434 struct nand_chip *chip = mtd->priv; in nand_block_markbad_lowlevel()
475 struct nand_chip *chip = mtd->priv; in nand_check_wp()
495 struct nand_chip *chip = mtd->priv; in nand_block_isreserved()
516 struct nand_chip *chip = mtd->priv; in nand_block_checkbad()
535 struct nand_chip *chip = mtd->priv; in panic_nand_wait_ready()
550 struct nand_chip *chip = mtd->priv; in nand_wait_ready()
577 register struct nand_chip *chip = mtd->priv; in nand_wait_status_ready()
600 register struct nand_chip *chip = mtd->priv; in nand_command()
703 register struct nand_chip *chip = mtd->priv; in nand_command_lp()
809 static void panic_nand_get_device(struct nand_chip *chip, in panic_nand_get_device()
827 struct nand_chip *chip = mtd->priv; in nand_get_device()
868 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, in panic_nand_wait()
893 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) in nand_wait()
949 struct nand_chip *chip = mtd->priv; in __nand_unlock()
984 struct nand_chip *chip = mtd->priv; in nand_unlock()
1047 struct nand_chip *chip = mtd->priv; in nand_lock()
1114 static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_raw()
1134 struct nand_chip *chip, uint8_t *buf, in nand_read_page_raw_syndrome()
1175 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_swecc()
1221 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_subpage()
1315 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_hwecc()
1369 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc_oob_first()
1417 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_syndrome()
1472 static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, in nand_transfer_oob()
1524 struct nand_chip *chip = mtd->priv; in nand_setup_read_retry()
1549 struct nand_chip *chip = mtd->priv; in nand_do_read_ops()
1754 static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_std()
1769 static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_syndrome()
1805 static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_oob_std()
1830 struct nand_chip *chip, int page) in nand_write_oob_syndrome()
1893 struct nand_chip *chip = mtd->priv; in nand_do_read_oob()
2034 static int nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_raw()
2054 struct nand_chip *chip, in nand_write_page_raw_syndrome()
2093 static int nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_swecc()
2120 static int nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_hwecc()
2155 struct nand_chip *chip, uint32_t offset, in nand_write_subpage_hwecc()
2217 struct nand_chip *chip, in nand_write_page_syndrome()
2266 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page()
2330 struct nand_chip *chip = mtd->priv; in nand_fill_oob()
2390 struct nand_chip *chip = mtd->priv; in nand_do_write_ops()
2520 struct nand_chip *chip = mtd->priv; in panic_nand_write()
2580 struct nand_chip *chip = mtd->priv; in nand_do_write_oob()
2705 struct nand_chip *chip = mtd->priv; in single_erase()
2737 struct nand_chip *chip = mtd->priv; in nand_erase_nand()
2893 static int nand_onfi_set_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_set_features()
2921 static int nand_onfi_get_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_get_features()
2955 struct nand_chip *chip = mtd->priv; in nand_resume()
2975 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults()
3056 struct nand_chip *chip, struct nand_onfi_params *p) in nand_flash_detect_ext_param_page()
3127 struct nand_chip *chip = mtd->priv; in nand_setup_read_retry_micron()
3137 static void nand_onfi_detect_micron(struct nand_chip *chip, in nand_onfi_detect_micron()
3152 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
3256 static int nand_flash_detect_jedec(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_jedec()
3408 static void nand_decode_ext_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_ext_id()
3541 static void nand_decode_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_id()
3575 struct nand_chip *chip, u8 id_data[8]) in nand_decode_bbm_options()
3611 static bool find_full_id_nand(struct mtd_info *mtd, struct nand_chip *chip, in find_full_id_nand()
3641 struct nand_chip *chip, in nand_get_flash_type()
3816 struct nand_chip *chip = mtd->priv; in nand_scan_ident()
3877 struct nand_chip *chip = mtd->priv; in nand_ecc_strength_good()
3906 struct nand_chip *chip = mtd->priv; in nand_scan_tail()
4250 struct nand_chip *chip = mtd->priv; in nand_release()