Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_pack.c935 unsigned size_ratio = (src_type.width * src_type.length) / in lp_build_resize() local
937 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() local
956 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 …]
/external/u-boot/drivers/mtd/
Djedec_flash.c409 int size_ratio; in fill_info() local
413 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()
Dcfi_flash.c2075 int size_ratio; in flash_get_size() local
2156 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()