Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/mtd/
Dflashchip.h71 struct flchip { struct
107 struct flchip *writing; argument
108 struct flchip *erasing;
Dqinfo.h26 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-4.4.14/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-4.4.14/drivers/mtd/chips/
Dcfi_cmdset_0001.c96 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
97 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
98 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
680 struct flchip *chip; in cfi_intelext_partition_fixup()
740 newcfi = kmalloc(sizeof(struct cfi_private) + numvirtchips * sizeof(struct flchip), GFP_KERNEL); in cfi_intelext_partition_fixup()
784 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in chip_ready()
892 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip()
920 struct flchip *contender; in get_chip()
988 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip()
1000 struct flchip *loaner = shared->writing; 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);
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()
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()
[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.c247 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip()
419 static inline int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer()
731 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock()
979 struct flchip *chip; in cfi_staa_sync()
1032 static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_lock_oneblock()
1178 static inline int do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_unlock_oneblock()
1317 struct flchip *chip; in cfi_staa_suspend()
1373 struct flchip *chip; in cfi_staa_resume()
Dfwh_lock.h28 static int fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, in fwh_xxlock_oneblock()