Lines Matching refs:flash_sect_t
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()
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()
759 static flash_sect_t find_sector(flash_info_t *info, ulong addr) in find_sector()
761 static flash_sect_t saved_sector; /* previously found sector */ in find_sector()
763 flash_sect_t sector = saved_sector; in find_sector()
789 flash_sect_t sect = 0; in flash_write_cfiword()
875 flash_sect_t sector; in flash_write_cfibuffer()
1059 flash_sect_t sect; in flash_erase()
1591 flash_sect_t i; in flash_real_protect()
2072 flash_sect_t sect_cnt; in flash_get_size()