Lines Matching refs:nand_chip
48 void (*detect)(struct nand_chip *chip);
49 int (*init)(struct nand_chip *chip);
50 void (*cleanup)(struct nand_chip *chip);
51 void (*fixup_onfi_param_page)(struct nand_chip *chip,
83 int nand_bbm_get_next_page(struct nand_chip *chip, int page);
84 int nand_markbad_bbm(struct nand_chip *chip, loff_t ofs);
85 int nand_erase_nand(struct nand_chip *chip, struct erase_info *instr,
87 void onfi_fill_interface_config(struct nand_chip *chip,
93 int nand_choose_best_sdr_timings(struct nand_chip *chip,
97 int nand_get_features(struct nand_chip *chip, int addr, u8 *subfeature_param);
98 int nand_set_features(struct nand_chip *chip, int addr, u8 *subfeature_param);
99 int nand_read_page_raw_notsupp(struct nand_chip *chip, u8 *buf,
101 int nand_write_page_raw_notsupp(struct nand_chip *chip, const u8 *buf,
103 int nand_exit_status_op(struct nand_chip *chip);
104 int nand_read_param_page_op(struct nand_chip *chip, u8 page, void *buf,
106 void nand_decode_ext_id(struct nand_chip *chip);
107 void panic_nand_wait(struct nand_chip *chip, unsigned long timeo);
110 static inline bool nand_has_exec_op(struct nand_chip *chip)
119 static inline int nand_check_op(struct nand_chip *chip,
128 static inline int nand_exec_op(struct nand_chip *chip,
140 static inline bool nand_controller_can_setup_interface(struct nand_chip *chip)
153 int nand_markbad_bbt(struct nand_chip *chip, loff_t offs);
154 int nand_isreserved_bbt(struct nand_chip *chip, loff_t offs);
155 int nand_isbad_bbt(struct nand_chip *chip, loff_t offs, int allowbbt);
158 void nand_legacy_set_defaults(struct nand_chip *chip);
159 void nand_legacy_adjust_cmdfunc(struct nand_chip *chip);
160 int nand_legacy_check_hooks(struct nand_chip *chip);
164 int nand_onfi_detect(struct nand_chip *chip);
167 int nand_jedec_detect(struct nand_chip *chip);