Lines Matching defs:mode
97 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
203 printk(" Burst mode: %s\n",
206 printk(" Page mode: Not supported\n");
208 printk(" Page mode: %d word page\n", extp->PageMode << 2);
239 * of 0x22BA in 16-bit mode and 0xBA in 8-bit mode.
316 /* burst write mode not supported */
722 } /* CFI mode */
820 * Ready is one of: read mode, query mode, erase-suspend-read mode (in any
874 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode)
910 !(mode == FL_READY || mode == FL_POINT ||
911 (mode == FL_WRITING && (cfip->EraseSuspend & 0x2))))
951 if (mode != FL_READY && mode != FL_POINT &&
964 if (mode == FL_READY && chip->oldstate == FL_READY)
1012 * mode. This is ensured by the xip_disable() and xip_enable() functions
1013 * enclosing any code path where the flash is known not to be in array mode.
1047 * pending then the flash erase operation is suspended, array mode restored
1176 * is in array mode, therefore never executing many cases therein and not
1384 int mode);
1647 int mode, struct cfi_private *cfi)
1666 chip->state = mode;
1675 if (chip->state != mode) {
1717 unsigned long adr, int mode)
1723 ret = get_chip(map, chip, adr, mode);
1729 if (mode == FL_OTP_WRITE)
1737 unsigned long adr, int mode)
1739 if (mode == FL_OTP_WRITE)
1752 int mode)
1776 ret = do_write_oneword_once(map, chip, adr, datum, mode, cfi);
1794 int mode)
1803 ret = do_write_oneword_start(map, chip, adr, mode);
1807 ret = do_write_oneword_retry(map, chip, adr, datum, mode);
1809 do_write_oneword_done(map, chip, adr, mode);
2017 * FIXME: interleaved mode not tested, and probably not supported!
3054 * Ensure that the flash device is put back into read array mode before
3056 * the flash is in query/program/erase mode will prevent the CPU from