Home
last modified time | relevance | path

Searched refs:line_size (Results 1 – 25 of 26) sorted by relevance

12

/external/u-boot/arch/nds32/lib/
Dcache.c44 unsigned long end, line_size; in invalidate_icache_all() local
45 line_size = CACHE_LINE_SIZE(ICACHE); in invalidate_icache_all()
46 end = line_size * CACHE_WAY(ICACHE) * CACHE_SET(ICACHE); in invalidate_icache_all()
48 end -= line_size; in invalidate_icache_all()
51 end -= line_size; in invalidate_icache_all()
54 end -= line_size; in invalidate_icache_all()
56 end -= line_size; in invalidate_icache_all()
63 unsigned long line_size; in invalidate_icache_range() local
65 line_size = CACHE_LINE_SIZE(ICACHE); in invalidate_icache_range()
72 start += line_size; in invalidate_icache_range()
[all …]
/external/u-boot/arch/arm/lib/
Dcache-pl310.c55 u32 pa, line_size = 32; in v7_outer_cache_flush_range() local
61 start &= ~(line_size - 1); in v7_outer_cache_flush_range()
63 for (pa = start; pa < stop; pa = pa + line_size) in v7_outer_cache_flush_range()
73 u32 pa, line_size = 32; in v7_outer_cache_inval_range() local
79 if (start & (line_size - 1)) { in v7_outer_cache_inval_range()
83 start = (start + line_size - 1) & ~(line_size - 1); in v7_outer_cache_inval_range()
90 if (stop & (line_size - 1)) { in v7_outer_cache_inval_range()
94 stop &= ~(line_size - 1); in v7_outer_cache_inval_range()
97 for (pa = start; pa < stop; pa = pa + line_size) in v7_outer_cache_inval_range()
/external/compiler-rt/test/esan/TestCases/
Dworkingset-simple.cpp10 const int line_size = 64; variable
13 char *bufA = (char *)malloc(sizeof(char) * line_size); in main()
24 for (int i = 0; i < size; i += line_size) in main()
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dfdt.c162 u32 line_size, num_ways, size, num_sets; in ft_fixup_l3cache() local
168 line_size = CPC_CFG0_LINE_SZ(cfg0); in ft_fixup_l3cache()
169 num_sets = size / (line_size * num_ways); in ft_fixup_l3cache()
172 fdt_setprop_cell(blob, off, "cache-block-size", line_size); in ft_fixup_l3cache()
255 const u32 line_size = 32; in ft_fixup_l2cache() local
258 const u32 num_sets = size / (line_size * num_ways); in ft_fixup_l2cache()
281 fdt_setprop_cell(blob, off, "cache-block-size", line_size); in ft_fixup_l2cache()
301 u32 size, line_size, num_ways, num_sets; in ft_fixup_l2cache() local
310 line_size = (((l2cfg0 >> 23) & 0x3) + 1) * 32; in ft_fixup_l2cache()
311 num_sets = size / (line_size * num_ways); in ft_fixup_l2cache()
[all …]
/external/clang/test/CodeGen/
D2010-06-17-asmcrash.c9 void avg_pixels8_mmx2(uint8_t *block, const uint8_t *pixels, int line_size, int h) in avg_pixels8_mmx2() argument
13 :"r" ((x86_reg)line_size) in avg_pixels8_mmx2()
/external/eigen/bench/
Dcheck_cache_queries.cpp67 int line_size = (abcd[1] & 0x00000FFF) >> 0; // B[11:0] in main() local
69 int cache_size = (ways+1) * (partitions+1) * (line_size+1) * (sets+1); in main()
75 cout << "cache[" << cache_id << "].line_size = " << line_size << "\n"; in main()
/external/perf_data_converter/src/quipper/
Dperf_stat_parser_test.cc60 ASSERT_EQ(proto.line_size(), 2); in TEST()
79 ASSERT_EQ(proto2.line_size(), 2); in TEST()
96 ASSERT_EQ(proto.line_size(), 4); in TEST()
Dperf_stat_parser.cc62 for (int i = 0; i < proto->line_size(); ++i) { in ParsePerfStatOutputToProto()
66 return proto->line_size() > 0; in ParsePerfStatOutputToProto()
Dperf_recorder_test.cc80 EXPECT_GT(stat.line_size(), 0); in TEST_F()
111 ASSERT_EQ(1, stat.line_size()); in TEST_F()
148 ASSERT_EQ(4, stat.line_size()); in TEST_F()
/external/stressapptest/src/
Dsat.cc1415 int line_size = cc_cacheline_size_; in InitializeThreads() local
1416 if (line_size <= 0) { in InitializeThreads()
1417 line_size = CacheLineSize(); in InitializeThreads()
1418 if (line_size < kCacheLineSize) in InitializeThreads()
1419 line_size = kCacheLineSize; in InitializeThreads()
1420 logprintf(12, "Log: Using %d as cache line size\n", line_size); in InitializeThreads()
1425 int needed_lines = (sizeof(*num) * num_cpus + line_size - 1) / line_size; in InitializeThreads()
1431 line_size, line_size * needed_lines * cc_cacheline_count_); in InitializeThreads()
1434 line_size, line_size * needed_lines * cc_cacheline_count_)); in InitializeThreads()
1443 num += (line_size * needed_lines) / sizeof(*num); in InitializeThreads()
/external/libaom/libaom/av1/common/
Drestoration.c285 const int line_size = line_width << use_highbd; in setup_processing_stripe_boundary() local
312 REAL_PTR(use_highbd, dst8), line_size); in setup_processing_stripe_boundary()
313 memcpy(REAL_PTR(use_highbd, dst8), buf, line_size); in setup_processing_stripe_boundary()
332 memcpy(rlbs->tmp_save_below[i], REAL_PTR(use_highbd, dst8), line_size); in setup_processing_stripe_boundary()
333 memcpy(REAL_PTR(use_highbd, dst8), src, line_size); in setup_processing_stripe_boundary()
343 memcpy(rlbs->tmp_save_above[0], REAL_PTR(use_highbd, dst8), line_size); in setup_processing_stripe_boundary()
347 line_size); in setup_processing_stripe_boundary()
357 memcpy(rlbs->tmp_save_below[2], REAL_PTR(use_highbd, dst8), line_size); in setup_processing_stripe_boundary()
359 REAL_PTR(use_highbd, data8_bl + (2 - 1) * data_stride), line_size); in setup_processing_stripe_boundary()
383 const int line_size = line_width << use_highbd; in restore_processing_stripe_boundary() local
[all …]
/external/swiftshader/third_party/LLVM/test/CodeGen/X86/
D2008-02-20-InlineAsmClobber.ll18 define void @test2(i16* %block, i8* %pixels, i32 %line_size) nounwind {
/external/llvm/test/CodeGen/X86/
D2008-02-20-InlineAsmClobber.ll21 define void @test2(i16* %block, i8* %pixels, i32 %line_size) nounwind {
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
D2008-02-20-InlineAsmClobber.ll21 define void @test2(i16* %block, i8* %pixels, i32 %line_size) nounwind {
/external/deqp/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderLimits.cpp1881 const unsigned int line_size = m_texture_width * m_texture_pixel_size; in verifyResult() local
1895 const unsigned int line_offset = y * line_size; in verifyResult()
2202 const unsigned int line_size = m_texture_width * m_texture_pixel_size; in verifyResult() local
2212 const unsigned int line_offset = y * line_size; in verifyResult()
2508 const unsigned int line_size = m_texture_width * m_texture_pixel_size; in verifyResult() local
2521 const unsigned int line_offset = y * line_size; in verifyResult()
3253 const unsigned int line_size = m_texture_width * m_texture_pixel_size; in verifyResult() local
3285 const unsigned int line_offset = y * line_size; in verifyResult()
/external/u-boot/drivers/net/
Dsh_eth.c48 u32 line_size = CONFIG_SH_ETHER_ALIGNE_SIZE; \
53 start &= ~(line_size - 1); \
54 end = ((end + line_size - 1) & ~(line_size - 1)); \
/external/deqp/external/openglcts/modules/glesext/
DesextcTestCaseBase.cpp701 const unsigned int line_size = width * pixel_size; in comparePixel() local
702 const unsigned int image_size = height * line_size; in comparePixel()
703 const unsigned int texel_offset = y * line_size + x * pixel_size; in comparePixel()
/external/e2fsprogs/lib/support/
Dprofile.c399 int line_size, len; in profile_set_default() local
422 line_size = 0; in profile_set_default()
427 if (len >= line_size) { in profile_set_default()
428 line_size = len+1; in profile_set_default()
429 p = realloc(line, line_size); in profile_set_default()
/external/mesa3d/src/intel/tools/
Daubinator_error_decode.c408 size_t line_size; in read_data_file() local
414 while (getline(&line, &line_size, file) > 0) { in read_data_file()
/external/deqp/external/openglcts/modules/glesext/gpu_shader5/
DesextcGPUShader5TextureGatherOffset.cpp1273 const unsigned int line_size = n_components_per_pixel * m_texture_size; in prepareTextureData() local
1280 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData()
2203 const unsigned int line_size = n_components_per_pixel * m_texture_size; in prepareTextureData() local
2212 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData()
2478 const unsigned int line_size = n_components_per_pixel * texture_size; in prepareTextureData() local
2488 const unsigned int pixel_offset = y * line_size + x * n_components_per_pixel; in prepareTextureData()
/external/deqp/external/openglcts/modules/gl/
Dgl4cStencilTexturingTests.cpp1014 GLuint line_size = 0; in prepareSourceTextureData() local
1031 line_size = pixel_size * m_width; in prepareSourceTextureData()
1041 const GLuint line_offset = line_size * y; in prepareSourceTextureData()
Dgl4cCopyImageTests.cpp3185 const GLuint line_size = pixel_size * widths[lvl]; in prepareSrcPxls() local
3186 const GLuint req_memory_per_layer = line_size * heights[lvl]; in prepareSrcPxls()
3197 const GLuint line_offset = line_size * y; in prepareSrcPxls()
3722 const GLuint line_size = pixel_size * m_width; in compareImages() local
3735 const GLuint line_offset = y * line_size; in compareImages()
4009 const GLuint line_size = pixel_size * m_width; in prepareSrcPxls() local
4032 const GLuint line_offset = line_size * y; in prepareSrcPxls()
4087 const GLuint line_size = pixel_size * m_width; in verify() local
4088 const GLuint req_memory = line_size * m_height * n_layers; in verify()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayColorDepthAttachments.cpp146 const glw::GLuint line_size = image_width * N_Components; in verifyImage() local
150 const glw::GLuint line_offset = y * line_size; in verifyImage()
/external/eigen/Eigen/src/Core/util/
DMemory.h800 int line_size = (abcd[1] & 0x00000FFF) >> 0; // B[11:0]
803 int cache_size = (ways+1) * (partitions+1) * (line_size+1) * (sets+1);
/external/google-benchmark/src/
Dsysinfo.cc392 info.size = cache->line_size * cache->num_lines; in GetCacheSizesQNX()

12