Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/mtd/
Dflashchip.h71 struct flchip { struct
108 struct flchip *writing; argument
109 struct flchip *erasing;
Dqinfo.h27 struct flchip chips[0];
Dcfi.h296 struct flchip chips[0]; /* per-chip data structure for each chip */
385 typedef int (*varsize_frob_t)(struct map_info *map, struct flchip *chip,
/Linux-v4.19/drivers/mtd/lpddr/
Dlpddr_cmds.c44 static int get_chip(struct map_info *map, struct flchip *chip, int mode);
45 static int chip_ready(struct map_info *map, struct flchip *chip, int mode);
46 static void put_chip(struct map_info *map, struct flchip *chip);
52 struct flchip *chip; in lpddr_cmdset()
111 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready()
184 static int get_chip(struct map_info *map, struct flchip *chip, int mode) in get_chip()
211 struct flchip *contender; in get_chip()
280 static int chip_ready(struct map_info *map, struct flchip *chip, int mode) in chip_ready()
334 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip()
344 struct flchip *loaner = shared->writing; in put_chip()
[all …]
Dqinfo_probe.c185 numvirtchips * sizeof(struct flchip), GFP_KERNEL); in lpddr_probe_chip()
/Linux-v4.19/drivers/mtd/chips/
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()
699 struct flchip *chip; in cfi_intelext_partition_fixup()
759 newcfi = kmalloc(sizeof(struct cfi_private) + numvirtchips * sizeof(struct flchip), GFP_KERNEL); in cfi_intelext_partition_fixup()
805 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in chip_ready()
922 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip()
950 struct flchip *contender; in get_chip()
1018 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip()
[all …]
Dcfi_cmdset_0002.c82 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);
781 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip()
886 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip()
927 static void xip_disable(struct map_info *map, struct flchip *chip, in xip_disable()
935 static void __xipram xip_enable(struct map_info *map, struct flchip *chip, in xip_enable()
962 static void __xipram xip_udelay(struct map_info *map, struct flchip *chip, in xip_udelay()
1109 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip()
1178 typedef int (*otp_op_t)(struct map_info *map, struct flchip *chip,
1181 static inline void otp_enter(struct map_info *map, struct flchip *chip, in otp_enter()
[all …]
Dgen_probe.c138 retcfi = kmalloc(sizeof(struct cfi_private) + cfi.numchips * sizeof(struct flchip), GFP_KERNEL); in genprobe_ident_chips()
147 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()
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()
1030 static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_lock_oneblock()
1176 static inline int do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_unlock_oneblock()
1315 struct flchip *chip; in cfi_staa_suspend()
1371 struct flchip *chip; in cfi_staa_resume()
Dfwh_lock.h29 static int fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, in fwh_xxlock_oneblock()