flchip
static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr)
struct flchip *loaner = shared->writing;
static void xip_disable(struct map_info *map, struct flchip *chip,
static void __xipram xip_enable(struct map_info *map, struct flchip *chip,
struct map_info *map, struct flchip *chip,
struct map_info *map, struct flchip *chip,
static int do_point_onechip (struct map_info *map, struct flchip *chip, loff_t adr, size_t len)
struct flchip *chip;
static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf)
static int __xipram do_write_oneword(struct map_info *map, struct flchip *chip,
static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
static int __xipram do_erase_oneblock(struct map_info *map, struct flchip *chip,
struct flchip *chip;
struct flchip *chip,
struct flchip *chip,
static int __xipram do_xxlock_oneblock(struct map_info *map, struct flchip *chip,
typedef int (*otp_op_t)(struct map_info *map, struct flchip *chip,
do_otp_read(struct map_info *map, struct flchip *chip, u_long offset,
do_otp_write(struct map_info *map, struct flchip *chip, u_long offset,
do_otp_lock(struct map_info *map, struct flchip *chip, u_long offset,
struct flchip *chip;
struct flchip *chip;
struct flchip *chip;
struct flchip *chip = &cfi->chips[i];
static int cfi_is_micron_28F00AP30(struct cfi_private *cfi, struct flchip *chip)
struct flchip *chip;
static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode)
static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode)
struct flchip *contender;
static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
static void xip_disable(struct map_info *map, struct flchip *chip,
static void __xipram xip_enable(struct map_info *map, struct flchip *chip,
static void __xipram xip_udelay(struct map_info *map, struct flchip *chip,
static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf)
typedef int (*otp_op_t)(struct map_info *map, struct flchip *chip,
static inline void otp_enter(struct map_info *map, struct flchip *chip,
static inline void otp_exit(struct map_info *map, struct flchip *chip,
static int cfi_check_err_status(struct map_info *map, struct flchip *chip,
struct flchip *chip, loff_t adr,
static int __xipram do_write_oneword(struct map_info *map, struct flchip *chip,
static int do_otp_write(struct map_info *map, struct flchip *chip, loff_t adr,
static int do_otp_lock(struct map_info *map, struct flchip *chip, loff_t adr,
struct flchip *chip;
struct flchip *chip,
struct flchip *chip,
struct flchip *chip,
struct flchip *chip,
static int __xipram do_write_oneword(struct map_info *map, struct flchip *chip,
struct flchip *chip, unsigned long adr,
struct flchip *chip,
static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip,
static int cfi_amdstd_panic_wait(struct map_info *map, struct flchip *chip,
static int do_panic_write_oneword(struct map_info *map, struct flchip *chip,
static int __xipram do_erase_chip(struct map_info *map, struct flchip *chip)
static int __xipram do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr, int len, void *thunk)
static int do_atmel_lock(struct map_info *map, struct flchip *chip,
static int do_atmel_unlock(struct map_info *map, struct flchip *chip,
struct flchip *chip;
struct flchip *chip,
struct flchip *chip;
struct flchip *chip;
struct flchip *chip;
struct flchip *chip;
static int __xipram chip_ready(struct map_info *map, struct flchip *chip,
static int __xipram chip_good(struct map_info *map, struct flchip *chip,
static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode)
static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr)
static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr)
static inline int do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr)
struct flchip *chip;
struct flchip *chip;
static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len, u_char *buf)
static int do_write_buffer(struct map_info *map, struct flchip *chip,
static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr)
struct flchip *chip;
static int fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip,
memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips);
struct flchip *pchip = &retcfi->chips[j++];
static int wait_for_ready(struct map_info *map, struct flchip *chip,
static int get_chip(struct map_info *map, struct flchip *chip, int mode)
struct flchip *contender;
static int chip_ready(struct map_info *map, struct flchip *chip, int mode)
static int get_chip(struct map_info *map, struct flchip *chip, int mode);
static int chip_ready(struct map_info *map, struct flchip *chip, int mode);
static void put_chip(struct map_info *map, struct flchip *chip);
static void put_chip(struct map_info *map, struct flchip *chip)
struct flchip *loaner = shared->writing;
struct flchip *chip;
static int do_write_buffer(struct map_info *map, struct flchip *chip,
struct flchip *chip = &lpddr->chips[chipnum];
struct flchip *chip = &lpddr->chips[chipnum];
struct flchip *chip = &lpddr->chips[chipnum];
struct flchip *chip;
struct flchip *chip = &lpddr->chips[chipnum];
struct flchip chips[] __counted_by(numchips); /* per-chip data structure for each chip */
typedef int (*varsize_frob_t)(struct map_info *map, struct flchip *chip,
struct flchip *writing;
struct flchip *erasing;
struct flchip chips[] __counted_by(numchips);