Lines Matching defs:chip
107 struct nand_chip *chip = mtd->priv; in check_offs_len() local
133 struct nand_chip *chip = mtd->priv; in nand_release_device() local
151 struct nand_chip *chip = mtd->priv; in nand_read_byte() local
165 struct nand_chip *chip = mtd->priv; in nand_read_byte16() local
177 struct nand_chip *chip = mtd->priv; in nand_read_word() local
190 struct nand_chip *chip = mtd->priv; in nand_select_chip() local
215 struct nand_chip *chip = mtd->priv; in nand_write_buf() local
232 struct nand_chip *chip = mtd->priv; in nand_read_buf() local
249 struct nand_chip *chip = mtd->priv; in nand_write_buf16() local
269 struct nand_chip *chip = mtd->priv; in nand_read_buf16() local
288 struct nand_chip *chip = mtd->priv; in nand_block_bad() local
354 struct nand_chip *chip = mtd->priv; in nand_default_block_markbad() local
431 struct nand_chip *chip = mtd->priv; in nand_check_wp() local
455 struct nand_chip *chip = mtd->priv; in nand_block_checkbad() local
474 struct nand_chip *chip = mtd->priv; in panic_nand_wait_ready() local
489 struct nand_chip *chip = mtd->priv; in nand_wait_ready() local
520 register struct nand_chip *chip = mtd->priv; in nand_command() local
622 register struct nand_chip *chip = mtd->priv; in nand_command_lp() local
727 static void panic_nand_get_device(struct nand_chip *chip, in panic_nand_get_device()
745 struct nand_chip *chip = mtd->priv; in nand_get_device() local
786 static void panic_nand_wait(struct mtd_info *mtd, struct nand_chip *chip, in panic_nand_wait()
811 static int nand_wait(struct mtd_info *mtd, struct nand_chip *chip) in nand_wait()
867 struct nand_chip *chip = mtd->priv; in __nand_unlock() local
902 struct nand_chip *chip = mtd->priv; in nand_unlock() local
956 struct nand_chip *chip = mtd->priv; in nand_lock() local
1014 static int nand_read_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_raw()
1034 struct nand_chip *chip, uint8_t *buf, in nand_read_page_raw_syndrome()
1075 static int nand_read_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_swecc()
1120 static int nand_read_subpage(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_subpage()
1215 static int nand_read_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_hwecc()
1269 struct nand_chip *chip, uint8_t *buf, int oob_required, int page) in nand_read_page_hwecc_oob_first()
1317 static int nand_read_page_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_page_syndrome()
1372 static uint8_t *nand_transfer_oob(struct nand_chip *chip, uint8_t *oob, in nand_transfer_oob()
1425 struct nand_chip *chip = mtd->priv; in nand_do_read_ops() local
1590 static int nand_read_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_std()
1605 static int nand_read_oob_syndrome(struct mtd_info *mtd, struct nand_chip *chip, in nand_read_oob_syndrome()
1642 static int nand_write_oob_std(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_oob_std()
1667 struct nand_chip *chip, int page) in nand_write_oob_syndrome()
1730 struct nand_chip *chip = mtd->priv; in nand_do_read_oob() local
1871 static int nand_write_page_raw(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_raw()
1891 struct nand_chip *chip, in nand_write_page_raw_syndrome()
1930 static int nand_write_page_swecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_swecc()
1957 static int nand_write_page_hwecc(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page_hwecc()
1991 struct nand_chip *chip, uint32_t offset, in nand_write_subpage_hwecc()
2053 struct nand_chip *chip, in nand_write_page_syndrome()
2102 static int nand_write_page(struct mtd_info *mtd, struct nand_chip *chip, in nand_write_page()
2166 struct nand_chip *chip = mtd->priv; in nand_fill_oob() local
2226 struct nand_chip *chip = mtd->priv; in nand_do_write_ops() local
2344 struct nand_chip *chip = mtd->priv; in panic_nand_write() local
2404 struct nand_chip *chip = mtd->priv; in nand_do_write_oob() local
2529 struct nand_chip *chip = mtd->priv; in single_erase_cmd() local
2559 struct nand_chip *chip = mtd->priv; in nand_erase_nand() local
2697 struct nand_chip *chip = mtd->priv; in nand_block_markbad() local
2718 static int nand_onfi_set_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_set_features()
2741 static int nand_onfi_get_features(struct mtd_info *mtd, struct nand_chip *chip, in nand_onfi_get_features()
2770 struct nand_chip *chip = mtd->priv; in nand_resume() local
2780 static void nand_set_defaults(struct nand_chip *chip, int busw) in nand_set_defaults()
2852 static int nand_flash_detect_onfi(struct mtd_info *mtd, struct nand_chip *chip, in nand_flash_detect_onfi()
2982 static void nand_decode_ext_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_ext_id()
3097 static void nand_decode_id(struct mtd_info *mtd, struct nand_chip *chip, in nand_decode_id()
3128 struct nand_chip *chip, u8 id_data[8]) in nand_decode_bbm_options()
3164 static bool find_full_id_nand(struct mtd_info *mtd, struct nand_chip *chip, in find_full_id_nand()
3187 struct nand_chip *chip, in nand_get_flash_type()
3349 struct nand_chip *chip = mtd->priv; in nand_scan_ident() local
3408 struct nand_chip *chip = mtd->priv; in nand_scan_tail() local
3739 struct nand_chip *chip = mtd->priv; in nand_release() local