Home
last modified time | relevance | path

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

/linux-2.6.39/include/linux/mtd/
Dflashchip.h71 struct flchip { struct
107 struct flchip *writing; argument
108 struct flchip *erasing;
Dqinfo.h26 struct flchip chips[0];
Dcfi.h295 struct flchip chips[0]; /* per-chip data structure for each chip */
556 typedef int (*varsize_frob_t)(struct map_info *map, struct flchip *chip,
/linux-2.6.39/drivers/mtd/lpddr/
Dlpddr_cmds.c43 static int get_chip(struct map_info *map, struct flchip *chip, int mode);
44 static int chip_ready(struct map_info *map, struct flchip *chip, int mode);
45 static void put_chip(struct map_info *map, struct flchip *chip);
51 struct flchip *chip; in lpddr_cmdset()
119 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready()
192 static int get_chip(struct map_info *map, struct flchip *chip, int mode) in get_chip()
219 struct flchip *contender; in get_chip()
288 static int chip_ready(struct map_info *map, struct flchip *chip, int mode) in chip_ready()
347 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip()
357 struct flchip *loaner = shared->writing; in put_chip()
[all …]
Dqinfo_probe.c188 numvirtchips * sizeof(struct flchip), GFP_KERNEL); in lpddr_probe_chip()
/linux-2.6.39/drivers/mtd/chips/
Dcfi_cmdset_0001.c92 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
93 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
94 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
648 struct flchip *chip; in cfi_intelext_partition_fixup()
708 newcfi = kmalloc(sizeof(struct cfi_private) + numvirtchips * sizeof(struct flchip), GFP_KERNEL); in cfi_intelext_partition_fixup()
752 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in chip_ready()
863 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip()
891 struct flchip *contender; in get_chip()
959 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip()
971 struct flchip *loaner = shared->writing; in put_chip()
[all …]
Dcfi_cmdset_0002.c67 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode);
68 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr);
653 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip()
759 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip()
800 static void xip_disable(struct map_info *map, struct flchip *chip, in xip_disable()
808 static void __xipram xip_enable(struct map_info *map, struct flchip *chip, in xip_enable()
835 static void __xipram xip_udelay(struct map_info *map, struct flchip *chip, in xip_udelay()
980 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip()
1054 static inline int do_read_secsi_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size… in do_read_secsi_onechip()
1141 static int __xipram do_write_oneword(struct map_info *map, struct flchip *chip, unsigned long adr, … in do_write_oneword()
[all …]
Dgen_probe.c139 retcfi = kmalloc(sizeof(struct cfi_private) + cfi.numchips * sizeof(struct flchip), GFP_KERNEL); in genprobe_ident_chips()
149 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips()
153 struct flchip *pchip = &retcfi->chips[j++]; in genprobe_ident_chips()
Dcfi_cmdset_0020.c249 static inline int do_read_onechip(struct map_info *map, struct flchip *chip, loff_t adr, size_t len… in do_read_onechip()
422 static inline int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer()
736 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock()
990 struct flchip *chip; in cfi_staa_sync()
1043 static inline int do_lock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_lock_oneblock()
1192 static inline int do_unlock_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_unlock_oneblock()
1331 struct flchip *chip; in cfi_staa_suspend()
1387 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()