Home | History | Annotate | Download | only in mtd

Lines Matching refs:chip

37  * is supported now. If you add a chip with bigger oobsize/page
49 /* Select the chip by setting nCE to low */
137 /* Chip can not auto increment pages */
143 /* Chip has cache program function */
145 /* Chip has copy back function */
147 /* AND Chip which has 4 banks and a confusing page / block
150 /* Chip has a array of 4 pages which can be read without
153 /* Chip requires that BBT is periodically rewritten to prevent
157 /* Chip does not require ready check on read. True
167 #define NAND_CANAUTOINCR(chip) (!(chip->options & NAND_NO_AUTOINCR))
168 #define NAND_MUST_PAD(chip) (!(chip->options & NAND_NO_PADDING))
169 #define NAND_HAS_CACHEPROG(chip) ((chip->options & NAND_CACHEPRG))
170 #define NAND_HAS_COPYBACK(chip) ((chip->options & NAND_COPYBACK))
172 /* Mask to zero out the chip options, which come from the id table */
175 /* Non chip related options */
188 * nand_state_t - chip states
189 * Enumeration for NAND flash chip state
209 * used instead of the per chip wait queue when a hw controller is available
233 * @read_oob: function to read chip OOB data
234 * @write_oob: function to write chip OOB data
253 struct nand_chip *chip,
256 struct nand_chip *chip,
259 struct nand_chip *chip,
263 struct nand_chip *chip,
287 * struct nand_chip - NAND Private Flash Chip Data
290 * @read_byte: [REPLACEABLE] read one byte from the chip
291 * @read_word: [REPLACEABLE] read one word from the chip
292 * @write_buf: [REPLACEABLE] write data from the buffer to the chip
293 * @read_buf: [REPLACEABLE] read data from the chip into the buffer
294 * @verify_buf: [REPLACEABLE] verify buffer contents against the chip data
295 * @select_chip: [REPLACEABLE] select chip nr
302 * is read from the chip status register
303 * @cmdfunc: [REPLACEABLE] hardwarespecific function for writing commands to the chip
311 * @chip_delay: [BOARDSPECIFIC] chip dependent delay for transfering data from array to read regs (tR)
318 * @chip_shift: [INTERN] number of address bits in one chip
323 * @options: [BOARDSPECIFIC] various chip options. They can partly be set to inform nand_scan about
327 * @chipsize: [INTERN] the size of one chip for multichip arrays
328 * @pagemask: [INTERN] page number mask = number of (pages / chip) - 1
337 * @priv: [OPTIONAL] pointer to private chip date
351 void (*select_chip)(struct mtd_info *mtd, int chip);
415 * extended id bytes in the chip
418 * @options: Bitfield to store chip relevant options
491 /* bbt is stored per chip on multichip devices */
527 * struct platform_nand_chip - chip level device structure
529 * @chip_offset: chip number offset
552 * @select_chip: platform specific chip select function
560 void (*select_chip)(struct mtd_info *mtd, int chip);
568 struct nand_chip *chip = mtd->priv;
570 return chip->priv;