Searched refs:size_ratio (Results 1 – 3 of 3) sorted by relevance
935 unsigned size_ratio = (src_type.width * src_type.length) / in lp_build_resize() local937 unsigned new_length = src_type.length / size_ratio; in lp_build_resize()939 for (i = 0; i < size_ratio * num_srcs; i++) { in lp_build_resize()940 unsigned start_index = (i % size_ratio) * new_length; in lp_build_resize()941 tmp[i] = lp_build_extract_range(gallivm, src[i / size_ratio], in lp_build_resize()944 num_srcs *= size_ratio; in lp_build_resize()954 unsigned size_ratio = (dst_type.width * dst_type.length) / in lp_build_resize() local956 unsigned num_pack_srcs = num_srcs / size_ratio; in lp_build_resize()957 dst_type.length = dst_type.length / size_ratio; in lp_build_resize()959 for (i = 0; i < size_ratio; i++) { in lp_build_resize()[all …]
409 int size_ratio; in fill_info() local413 size_ratio = info->portwidth / info->chipwidth; in fill_info()464 base += (erase_region_size * size_ratio); in fill_info()469 info->size = total_size * size_ratio; in fill_info()
2075 int size_ratio; in flash_get_size() local2156 size_ratio = info->portwidth / info->chipwidth; in flash_get_size()2160 size_ratio >>= 1; in flash_get_size()2163 size_ratio, info->portwidth << CFI_FLASH_SHIFT_WIDTH, in flash_get_size()2167 info->size *= size_ratio; in flash_get_size()2204 sector += (erase_region_size * size_ratio); in flash_get_size()