Searched refs:flchip (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/include/linux/mtd/ |
D | flashchip.h | 71 struct flchip { struct 108 struct flchip *writing; argument 109 struct flchip *erasing;
|
D | qinfo.h | 27 struct flchip chips[0];
|
D | cfi.h | 296 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/ |
D | lpddr_cmds.c | 44 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 …]
|
D | qinfo_probe.c | 185 numvirtchips * sizeof(struct flchip), GFP_KERNEL); in lpddr_probe_chip()
|
/Linux-v4.19/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 97 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 …]
|
D | cfi_cmdset_0002.c | 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); 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 …]
|
D | gen_probe.c | 138 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()
|
D | cfi_cmdset_0020.c | 248 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()
|
D | fwh_lock.h | 29 static int fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, in fwh_xxlock_oneblock()
|