Home
last modified time | relevance | path

Searched refs:size_ratio (Results 1 – 2 of 2) sorted by relevance

/u-boot/drivers/mtd/
A Djedec_flash.c410 int size_ratio; in fill_info() local
414 size_ratio = info->portwidth / info->chipwidth; in fill_info()
465 base += (erase_region_size * size_ratio); in fill_info()
470 info->size = total_size * size_ratio; in fill_info()
A Dcfi_flash.c2083 int size_ratio; in flash_get_size() local
2164 size_ratio = info->portwidth / info->chipwidth; in flash_get_size()
2168 size_ratio >>= 1; in flash_get_size()
2171 size_ratio, info->portwidth << CFI_FLASH_SHIFT_WIDTH, in flash_get_size()
2175 info->size *= size_ratio; in flash_get_size()
2212 sector += (erase_region_size * size_ratio); in flash_get_size()

Completed in 7 milliseconds