Lines Matching refs:nand_chip

109 	struct nand_chip *chip = mtd->priv;  in check_offs_len()
135 struct nand_chip *chip = mtd->priv; in nand_release_device()
153 struct nand_chip *chip = mtd->priv; in nand_read_byte()
166 struct nand_chip *chip = mtd->priv; in nand_read_byte16()
178 struct nand_chip *chip = mtd->priv; in nand_read_word()
191 struct nand_chip *chip = mtd->priv; in nand_select_chip()
214 struct nand_chip *chip = mtd->priv; in nand_write_byte()
228 struct nand_chip *chip = mtd->priv; in nand_write_byte16()
260 struct nand_chip *chip = mtd->priv; in nand_write_buf()
275 struct nand_chip *chip = mtd->priv; in nand_read_buf()
290 struct nand_chip *chip = mtd->priv; in nand_write_buf16()
306 struct nand_chip *chip = mtd->priv; in nand_read_buf16()
323 struct nand_chip *chip = mtd->priv; in nand_block_bad()
383 struct nand_chip *chip = mtd->priv; in nand_default_block_markbad()
433 struct nand_chip *chip = mtd->priv; in nand_block_markbad_lowlevel()
474 struct nand_chip *chip = mtd->priv; in nand_check_wp()
494 struct nand_chip *chip = mtd->priv; in nand_block_isreserved()
515 struct nand_chip *chip = mtd->priv; in nand_block_checkbad()
534 struct nand_chip *chip = mtd->priv; in panic_nand_wait_ready()
554 struct nand_chip *chip = mtd->priv; in nand_wait_ready()
585 register struct nand_chip *chip = mtd->priv; in nand_wait_status_ready()
608 register struct nand_chip *chip = mtd->priv; in nand_command()
711 register struct nand_chip *chip = mtd->priv; in nand_command_lp()
817 static void panic_nand_get_device(struct nand_chip *chip, in panic_nand_get_device()
835 struct nand_chip *chip = mtd->priv; in nand_get_device()
876 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, in panic_nand_wait()
899 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) in nand_wait()
955 struct nand_chip *chip = mtd->priv; in __nand_unlock()
990 struct nand_chip *chip = mtd->priv; in nand_unlock()
1053 struct nand_chip *chip = mtd->priv; in nand_lock()
1248 static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_raw()
1268 struct nand_chip *chip, uint8_t *buf, in nand_read_page_raw_syndrome()
1309 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_swecc()
1355 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_subpage()
1449 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_hwecc()
1503 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc_oob_first()
1551 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_syndrome()
1606 static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, in nand_transfer_oob()
1658 struct nand_chip *chip = mtd->priv; in nand_setup_read_retry()
1683 struct nand_chip *chip = mtd->priv; in nand_do_read_ops()
1888 static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_std()
1903 static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_syndrome()
1939 static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_oob_std()
1964 struct nand_chip *chip, int page) in nand_write_oob_syndrome()
2027 struct nand_chip *chip = mtd->priv; in nand_do_read_oob()
2169 static int nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_raw()
2190 struct nand_chip *chip, in nand_write_page_raw_syndrome()
2231 static int nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_swecc()
2260 static int nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_hwecc()
2297 struct nand_chip *chip, uint32_t offset, in nand_write_subpage_hwecc()
2360 struct nand_chip *chip, in nand_write_page_syndrome()
2410 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page()
2475 struct nand_chip *chip = mtd->priv; in nand_fill_oob()
2535 struct nand_chip *chip = mtd->priv; in nand_do_write_ops()
2665 struct nand_chip *chip = mtd->priv; in panic_nand_write()
2725 struct nand_chip *chip = mtd->priv; in nand_do_write_oob()
2850 struct nand_chip *chip = mtd->priv; in single_erase()
2882 struct nand_chip *chip = mtd->priv; in nand_erase_nand()
3038 static int nand_onfi_set_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_set_features()
3066 static int nand_onfi_get_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_get_features()
3097 struct nand_chip *chip = mtd->priv; in nand_resume()
3117 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults()
3198 struct nand_chip *chip, struct nand_onfi_params *p) in nand_flash_detect_ext_param_page()
3269 struct nand_chip *chip = mtd->priv; in nand_setup_read_retry_micron()
3279 static void nand_onfi_detect_micron(struct nand_chip *chip, in nand_onfi_detect_micron()
3294 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
3398 static int nand_flash_detect_jedec(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_jedec()
3550 static void nand_decode_ext_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_ext_id()
3683 static void nand_decode_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_id()
3717 struct nand_chip *chip, u8 id_data[8]) in nand_decode_bbm_options()
3753 static bool find_full_id_nand(struct mtd_info *mtd, struct nand_chip *chip, in find_full_id_nand()
3783 struct nand_chip *chip, in nand_get_flash_type()
3940 static int nand_dt_init(struct mtd_info *mtd, struct nand_chip *chip, in nand_dt_init()
3987 struct nand_chip *chip = mtd->priv; in nand_scan_ident()
4058 struct nand_chip *chip = mtd->priv; in nand_ecc_strength_good()
4087 struct nand_chip *chip = mtd->priv; in nand_scan_tail()
4424 struct nand_chip *chip = mtd->priv; in nand_release()