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,
84 int nand_bbm_get_next_page(struct nand_chip *chip, int page);
85 int nand_markbad_bbm(struct nand_chip *chip, loff_t ofs);
86 int nand_erase_nand(struct nand_chip *chip, struct erase_info *instr,
88 void onfi_fill_interface_config(struct nand_chip *chip,
96 int nand_choose_best_sdr_timings(struct nand_chip *chip,
99 int nand_choose_best_nvddr_timings(struct nand_chip *chip,
103 int nand_get_features(struct nand_chip *chip, int addr, u8 *subfeature_param);
104 int nand_set_features(struct nand_chip *chip, int addr, u8 *subfeature_param);
105 int nand_read_page_raw_notsupp(struct nand_chip *chip, u8 *buf,
107 int nand_write_page_raw_notsupp(struct nand_chip *chip, const u8 *buf,
109 int nand_exit_status_op(struct nand_chip *chip);
110 int nand_read_param_page_op(struct nand_chip *chip, u8 page, void *buf,
112 void nand_decode_ext_id(struct nand_chip *chip);
113 void panic_nand_wait(struct nand_chip *chip, unsigned long timeo);
116 static inline bool nand_has_exec_op(struct nand_chip *chip)
125 static inline int nand_check_op(struct nand_chip *chip,
134 static inline int nand_exec_op(struct nand_chip *chip,
146 static inline bool nand_controller_can_setup_interface(struct nand_chip *chip)
159 int nand_markbad_bbt(struct nand_chip *chip, loff_t offs);
160 int nand_isreserved_bbt(struct nand_chip *chip, loff_t offs);
161 int nand_isbad_bbt(struct nand_chip *chip, loff_t offs, int allowbbt);
164 void nand_legacy_set_defaults(struct nand_chip *chip);
165 void nand_legacy_adjust_cmdfunc(struct nand_chip *chip);
166 int nand_legacy_check_hooks(struct nand_chip *chip);
170 int nand_onfi_detect(struct nand_chip *chip);
173 int nand_jedec_detect(struct nand_chip *chip);