• Home
  • Raw
  • Download

Lines Matching refs:flash_info_t

62 flash_info_t flash_info[CFI_MAX_FLASH_BANKS];	/* FLASH chips info */
181 static flash_info_t *flash_get_info(ulong base) in flash_get_info()
184 flash_info_t *info; in flash_get_info()
197 unsigned long flash_sector_size(flash_info_t *info, flash_sect_t sect) in flash_sector_size()
209 flash_map(flash_info_t *info, flash_sect_t sect, uint offset) in flash_map()
216 static inline void flash_unmap(flash_info_t *info, flash_sect_t sect, in flash_unmap()
224 static void flash_make_cmd(flash_info_t *info, u32 cmd, void *cmdbuf) in flash_make_cmd()
288 static inline uchar flash_read_uchar(flash_info_t *info, uint offset) in flash_read_uchar()
306 static inline ushort flash_read_word(flash_info_t *info, uint offset) in flash_read_word()
320 static ulong flash_read_long (flash_info_t *info, flash_sect_t sect, in flash_read_long()
356 static void flash_write_cmd(flash_info_t *info, flash_sect_t sect, in flash_write_cmd()
404 static void flash_unlock_seq(flash_info_t *info, flash_sect_t sect) in flash_unlock_seq()
412 static int flash_isequal(flash_info_t *info, flash_sect_t sect, uint offset, in flash_isequal()
460 static int flash_isset(flash_info_t *info, flash_sect_t sect, uint offset, in flash_isset()
493 static int flash_toggle(flash_info_t *info, flash_sect_t sect, uint offset, in flash_toggle()
531 static int flash_is_busy(flash_info_t *info, flash_sect_t sect) in flash_is_busy()
568 static int flash_status_check(flash_info_t *info, flash_sect_t sector, in flash_status_check()
607 static int flash_full_status_check(flash_info_t *info, flash_sect_t sector, in flash_full_status_check()
649 static int use_flash_status_poll(flash_info_t *info) in use_flash_status_poll()
659 static int flash_status_poll(flash_info_t *info, void *src, void *dst, in flash_status_poll()
713 static void flash_add_byte(flash_info_t *info, cfiword_t *cword, uchar c) in flash_add_byte()
759 static flash_sect_t find_sector(flash_info_t *info, ulong addr) in find_sector()
762 static flash_info_t *saved_info; /* previously used flash bank */ in find_sector()
785 static int flash_write_cfiword(flash_info_t *info, ulong dest, cfiword_t cword) in flash_write_cfiword()
872 static int flash_write_cfibuffer(flash_info_t *info, ulong dest, uchar *cp, in flash_write_cfibuffer()
1055 int flash_erase(flash_info_t *info, int s_first, int s_last) in flash_erase()
1182 static int sector_erased(flash_info_t *info, int i) in sector_erased()
1205 void flash_print_info(flash_info_t *info) in flash_print_info()
1317 int write_buff(flash_info_t *info, uchar *src, ulong addr, ulong cnt) in write_buff()
1436 static inline int manufact_match(flash_info_t *info, u32 manu) in manufact_match()
1445 static int cfi_protect_bugfix(flash_info_t *info, long sector, int prot) in cfi_protect_bugfix()
1479 int flash_real_protect(flash_info_t *info, long sector, int prot) in flash_real_protect()
1605 void flash_read_user_serial(flash_info_t *info, void *buffer, int offset, in flash_read_user_serial()
1623 void flash_read_factory_serial(flash_info_t *info, void *buffer, int offset, in flash_read_factory_serial()
1662 static void cmdset_intel_read_jedec_ids(flash_info_t *info) in cmdset_intel_read_jedec_ids()
1676 static int cmdset_intel_init(flash_info_t *info, struct cfi_qry *qry) in cmdset_intel_init()
1694 static void cmdset_amd_read_jedec_ids(flash_info_t *info) in cmdset_amd_read_jedec_ids()
1755 static int cmdset_amd_init(flash_info_t *info, struct cfi_qry *qry) in cmdset_amd_init()
1775 static void flash_read_jedec_ids(flash_info_t *info) in flash_read_jedec_ids()
1803 flash_info_t *info = &flash_info[banknum]; in flash_detect_legacy()
1871 static void flash_read_cfi(flash_info_t *info, void *buf, unsigned int start, in flash_read_cfi()
1881 static void __flash_cmd_reset(flash_info_t *info) in __flash_cmd_reset()
1893 void flash_cmd_reset(flash_info_t *info)
1896 static int __flash_detect_cfi(flash_info_t *info, struct cfi_qry *qry) in __flash_detect_cfi()
1949 static int flash_detect_cfi(flash_info_t *info, struct cfi_qry *qry) in flash_detect_cfi()
1969 static void flash_fixup_amd(flash_info_t *info, struct cfi_qry *qry) in flash_fixup_amd()
1986 static void flash_fixup_atmel(flash_info_t *info, struct cfi_qry *qry) in flash_fixup_atmel()
2005 static void flash_fixup_stm(flash_info_t *info, struct cfi_qry *qry) in flash_fixup_stm()
2025 static void flash_fixup_sst(flash_info_t *info, struct cfi_qry *qry) in flash_fixup_sst()
2044 static void flash_fixup_num(flash_info_t *info, struct cfi_qry *qry) in flash_fixup_num()
2070 flash_info_t *info = &flash_info[banknum]; in flash_get_size()