Home
last modified time | relevance | path

Searched refs:flchip (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/mtd/lpddr/
H A Dlpddr_cmds.c31 static int get_chip(struct map_info *map, struct flchip *chip, int mode);
32 static int chip_ready(struct map_info *map, struct flchip *chip, int mode);
33 static void put_chip(struct map_info *map, struct flchip *chip);
39 struct flchip *chip; in lpddr_cmdset()
125 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready()
198 static int get_chip(struct map_info *map, struct flchip *chip, int mode) in get_chip()
225 struct flchip *contender; in get_chip()
294 static int chip_ready(struct map_info *map, struct flchip *chip, int mode) in chip_ready()
348 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip()
358 struct flchip *loaner = shared->writing; in put_chip()
[all …]
/OK3568_Linux_fs/kernel/include/linux/mtd/
H A Dflashchip.h57 struct flchip { struct
94 struct flchip *writing; argument
95 struct flchip *erasing;
H A Dqinfo.h27 struct flchip chips[];
H A Dcfi.h290 struct flchip chips[]; /* per-chip data structure for each chip */
380 typedef int (*varsize_frob_t)(struct map_info *map, struct flchip *chip,
/OK3568_Linux_fs/u-boot/include/linux/mtd/
H A Dflashchip.h61 struct flchip { struct
99 struct flchip *writing; argument
100 struct flchip *erasing;
/OK3568_Linux_fs/kernel/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c98 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
99 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
130 static int cfi_check_err_status(struct map_info *map, struct flchip *chip, in cfi_check_err_status()
828 static int __xipram chip_ready(struct map_info *map, struct flchip *chip, in chip_ready()
859 static int __xipram chip_good(struct map_info *map, struct flchip *chip, in chip_good()
871 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip()
976 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip()
1017 static void xip_disable(struct map_info *map, struct flchip *chip, in xip_disable()
1025 static void __xipram xip_enable(struct map_info *map, struct flchip *chip, in xip_enable()
1052 static void __xipram xip_udelay(struct map_info *map, struct flchip *chip, in xip_udelay()
[all …]
H A Dcfi_cmdset_0001.c97 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
98 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
99 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
379 static int cfi_is_micron_28F00AP30(struct cfi_private *cfi, struct flchip *chip) in cfi_is_micron_28F00AP30()
701 struct flchip *chip; in cfi_intelext_partition_fixup()
809 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in chip_ready()
926 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip()
954 struct flchip *contender; in get_chip()
1022 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip()
1034 struct flchip *loaner = shared->writing; in put_chip()
[all …]
H A Dgen_probe.c147 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips()
151 struct flchip *pchip = &retcfi->chips[j++]; in genprobe_ident_chips()
H A Dcfi_cmdset_0020.c248 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip()
420 static int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer()
732 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock()
977 struct flchip *chip; in cfi_staa_sync()
1031 static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_lock_oneblock()
1177 static inline int do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_unlock_oneblock()
1316 struct flchip *chip; in cfi_staa_suspend()
1372 struct flchip *chip; in cfi_staa_resume()
H A Dfwh_lock.h29 static int fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, in fwh_xxlock_oneblock()