Searched refs:flchip (Results 1 – 9 of 9) sorted by relevance
| /linux/drivers/mtd/lpddr/ |
| H A D | lpddr_cmds.c | 31 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() 124 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready() 197 static int get_chip(struct map_info *map, struct flchip *chip, int mode) in get_chip() 224 struct flchip *contender; in get_chip() 293 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 …]
|
| /linux/include/linux/mtd/ |
| H A D | flashchip.h | 58 struct flchip { struct 95 struct flchip *writing; argument 96 struct flchip *erasing;
|
| H A D | qinfo.h | 27 struct flchip chips[] __counted_by(numchips);
|
| H A D | cfi.h | 290 struct flchip chips[] __counted_by(numchips); /* per-chip data structure for each chip */ 380 typedef int (*varsize_frob_t)(struct map_info *map, struct flchip *chip,
|
| /linux/drivers/mtd/chips/ |
| H A D | cfi_cmdset_0002.c | 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); 129 static int cfi_check_err_status(struct map_info *map, struct flchip *chip, in cfi_check_err_status() 830 static int __xipram chip_ready(struct map_info *map, struct flchip *chip, in chip_ready() 861 static int __xipram chip_good(struct map_info *map, struct flchip *chip, in chip_good() 873 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip() 979 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip() 1020 static void xip_disable(struct map_info *map, struct flchip *chip, in xip_disable() 1028 static void __xipram xip_enable(struct map_info *map, struct flchip *chip, in xip_enable() 1055 static void __xipram xip_udelay(struct map_info *map, struct flchip *chip, in xip_udelay() [all …]
|
| H A D | cfi_cmdset_0001.c | 99 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 100 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode); 101 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr); 381 static int cfi_is_micron_28F00AP30(struct cfi_private *cfi, struct flchip *chip) in cfi_is_micron_28F00AP30() 718 struct flchip *chip; in cfi_intelext_partition_fixup() 823 static int chip_ready (struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in chip_ready() 940 static int get_chip(struct map_info *map, struct flchip *chip, unsigned long adr, int mode) in get_chip() 968 struct flchip *contender; in get_chip() 1036 static void put_chip(struct map_info *map, struct flchip *chip, unsigned long adr) in put_chip() 1048 struct flchip *loaner = shared->writing; in put_chip() [all …]
|
| H A D | gen_probe.c | 146 memset(&retcfi->chips[0], 0, sizeof(struct flchip) * cfi.numchips); in genprobe_ident_chips() 150 struct flchip *pchip = &retcfi->chips[j++]; in genprobe_ident_chips()
|
| H A 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() 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() 1374 struct flchip *chip; in cfi_staa_resume()
|
| H A D | fwh_lock.h | 29 static int fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, in fwh_xxlock_oneblock()
|