Lines Matching refs:map_info
79 struct mtd_info *cfi_cmdset_0002(struct map_info *, int);
82 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
83 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
158 struct map_info *map = mtd->priv; in fixup_amd_bootblock()
207 struct map_info *map = mtd->priv; in fixup_use_write_buffers()
218 struct map_info *map = mtd->priv; in fixup_convert_atmel_pri()
256 struct map_info *map = mtd->priv; in fixup_use_erase_chip()
278 struct map_info *map = mtd->priv; in fixup_old_sst_eraseregion()
292 struct map_info *map = mtd->priv; in fixup_sst39vf()
303 struct map_info *map = mtd->priv; in fixup_sst39vf_rev_b()
316 struct map_info *map = mtd->priv; in fixup_sst38vf640x_sectorsize()
331 struct map_info *map = mtd->priv; in fixup_s29gl064n_sectors()
342 struct map_info *map = mtd->priv; in fixup_s29gl032n_sectors()
353 struct map_info *map = mtd->priv; in fixup_s29ns512p_sectors()
469 static void cfi_fixup_m29ew_erase_suspend(struct map_info *map, in cfi_fixup_m29ew_erase_suspend()
512 struct mtd_info *cfi_cmdset_0002(struct map_info *map, int primary) in cfi_cmdset_0002()
673 struct mtd_info *cfi_cmdset_0006(struct map_info *map, int primary) __attribute__((alias("cfi_cmdse…
674 struct mtd_info *cfi_cmdset_0701(struct map_info *map, int primary) __attribute__((alias("cfi_cmdse…
681 struct map_info *map = mtd->priv; in cfi_amdstd_setup()
742 static int __xipram chip_ready(struct map_info *map, unsigned long addr) in chip_ready()
767 static int __xipram chip_good(struct map_info *map, unsigned long addr, map_word expected) in chip_good()
778 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip()
882 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip()
923 static void xip_disable(struct map_info *map, struct flchip *chip, in xip_disable()
931 static void __xipram xip_enable(struct map_info *map, struct flchip *chip, in xip_enable()
958 static void __xipram xip_udelay(struct map_info *map, struct flchip *chip, in xip_udelay()
1105 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip()
1139 struct map_info *map = mtd->priv; in cfi_amdstd_read()
1174 typedef int (*otp_op_t)(struct map_info *map, struct flchip *chip,
1177 static inline void otp_enter(struct map_info *map, struct flchip *chip, in otp_enter()
1192 static inline void otp_exit(struct map_info *map, struct flchip *chip, in otp_exit()
1209 static inline int do_read_secsi_onechip(struct map_info *map, in do_read_secsi_onechip()
1249 struct map_info *map = mtd->priv; in cfi_amdstd_secsi_read()
1286 static int __xipram do_write_oneword(struct map_info *map, struct flchip *chip,
1290 static int do_otp_write(struct map_info *map, struct flchip *chip, loff_t adr, in do_otp_write()
1320 static int do_otp_lock(struct map_info *map, struct flchip *chip, loff_t adr, in do_otp_lock()
1388 struct map_info *map = mtd->priv; in cfi_amdstd_otp_walk()
1548 static int __xipram do_write_oneword(struct map_info *map, struct flchip *chip, in do_write_oneword()
1668 struct map_info *map = mtd->priv; in cfi_amdstd_write_words()
1792 static int __xipram do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer()
1923 struct map_info *map = mtd->priv; in cfi_amdstd_write_buffers()
2003 static int cfi_amdstd_panic_wait(struct map_info *map, struct flchip *chip, in cfi_amdstd_panic_wait()
2055 static int do_panic_write_oneword(struct map_info *map, struct flchip *chip, in do_panic_write_oneword()
2133 struct map_info *map = mtd->priv; in cfi_amdstd_panic_write()
2234 static int __xipram do_erase_chip(struct map_info *map, struct flchip *chip) in do_erase_chip()
2324 static int __xipram do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr,… in do_erase_oneblock()
2435 struct map_info *map = mtd->priv; in cfi_amdstd_erase_chip()
2455 static int do_atmel_lock(struct map_info *map, struct flchip *chip, in do_atmel_lock()
2490 static int do_atmel_unlock(struct map_info *map, struct flchip *chip, in do_atmel_unlock()
2543 static int __maybe_unused do_ppb_xxlock(struct map_info *map, in do_ppb_xxlock()
2626 struct map_info *map = mtd->priv; in cfi_ppb_unlock()
2729 struct map_info *map = mtd->priv; in cfi_amdstd_sync()
2790 struct map_info *map = mtd->priv; in cfi_amdstd_suspend()
2844 struct map_info *map = mtd->priv; in cfi_amdstd_resume()
2876 struct map_info *map = mtd->priv; in cfi_amdstd_reset()
2914 struct map_info *map = mtd->priv; in cfi_amdstd_destroy()