Searched refs:size_ratio (Results 1 – 2 of 2) sorted by relevance
410 int size_ratio; in fill_info() local414 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()
2083 int size_ratio; in flash_get_size() local2164 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