Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/mtd/
H A Dflashchip.h57 struct flchip { struct
94 struct flchip *writing; argument
95 struct flchip *erasing;
H A Dqinfo.h27 struct flchip chips[];
H A Dcfi.h290 struct flchip chips[]; /* per-chip data structure for each chip */
380 typedef int (*varsize_frob_t)(struct map_info *map, struct flchip *chip,
/openbmc/u-boot/include/linux/mtd/
H A Dflashchip.h60 struct flchip { struct
98 struct flchip *writing; argument
99 struct flchip *erasing;
/openbmc/linux/drivers/mtd/lpddr/
H A Dlpddr_cmds.c33 static void put_chip(struct map_info *map, struct flchip *chip);
39 struct flchip *chip; in lpddr_cmdset()
125 static int wait_for_ready(struct map_info *map, struct flchip *chip, in wait_for_ready()
225 struct flchip *contender; in get_chip()
348 static void put_chip(struct map_info *map, struct flchip *chip) in put_chip()
358 struct flchip *loaner = shared->writing; in put_chip()
486 struct flchip *chip = &lpddr->chips[chipnum]; in do_erase_oneblock()
514 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_read()
539 struct flchip *chip = &lpddr->chips[chipnum]; in lpddr_point()
597 struct flchip *chip; in lpddr_unpoint()
[all …]
/openbmc/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c1489 struct flchip *chip; in cfi_amdstd_otp_walk()
1645 struct flchip *chip, in do_write_oneword_once()
1716 struct flchip *chip, in do_write_oneword_start()
1736 struct flchip *chip, in do_write_oneword_done()
1750 struct flchip *chip, in do_write_oneword_retry()
2709 struct flchip *chip;
2719 struct flchip *chip, in do_ppb_xxlock()
2915 struct flchip *chip; in cfi_amdstd_sync()
2977 struct flchip *chip; in cfi_amdstd_suspend()
3032 struct flchip *chip; in cfi_amdstd_resume()
[all …]
H A Dcfi_cmdset_0001.c719 struct flchip *chip; in cfi_intelext_partition_fixup()
972 struct flchip *contender; in get_chip()
1052 struct flchip *loaner = shared->writing; in put_chip()
1468 struct flchip *chip; in cfi_intelext_unpoint()
2053 struct flchip *chip; in cfi_intelext_sync()
2090 struct flchip *chip, in do_getlockstatus_oneblock()
2108 struct flchip *chip, in do_printlockstatus_oneblock()
2323 struct flchip *chip; in cfi_intelext_otp_walk()
2531 struct flchip *chip; in cfi_intelext_suspend()
2626 struct flchip *chip; in cfi_intelext_resume()
[all …]
H A Dgen_probe.c146 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 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()
421 static int do_write_buffer(struct map_info *map, struct flchip *chip, in do_write_buffer()
733 static inline int do_erase_oneblock(struct map_info *map, struct flchip *chip, unsigned long adr) in do_erase_oneblock()
978 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()
1375 struct flchip *chip; in cfi_staa_resume()
H A Dfwh_lock.h29 static int fwh_xxlock_oneblock(struct map_info *map, struct flchip *chip, in fwh_xxlock_oneblock()