/Linux-v4.19/arch/nds32/mm/ |
D | proc.c | 100 unsigned long end, line_size; in cpu_icache_inval_all() local 102 line_size = L1_cache_info[ICACHE].line_size; in cpu_icache_inval_all() 104 line_size * L1_cache_info[ICACHE].ways * L1_cache_info[ICACHE].sets; in cpu_icache_inval_all() 107 end -= line_size; in cpu_icache_inval_all() 109 end -= line_size; in cpu_icache_inval_all() 111 end -= line_size; in cpu_icache_inval_all() 113 end -= line_size; in cpu_icache_inval_all() 174 unsigned long line_size, end; in cpu_icache_inval_page() local 176 line_size = L1_cache_info[ICACHE].line_size; in cpu_icache_inval_page() 180 end -= line_size; in cpu_icache_inval_page() [all …]
|
D | cacheflush.c | 18 unsigned long line_size, flags; in flush_icache_range() local 19 line_size = L1_cache_info[DCACHE].line_size; in flush_icache_range() 20 start = start & ~(line_size - 1); in flush_icache_range() 21 end = (end + line_size - 1) & ~(line_size - 1); in flush_icache_range() 269 unsigned long line_size, start, end, vto, flags; in copy_to_user_page() local 276 line_size = L1_cache_info[DCACHE].line_size; in copy_to_user_page() 277 start = (unsigned long)dst & ~(line_size - 1); in copy_to_user_page() 279 ((unsigned long)dst + len + line_size - 1) & ~(line_size - in copy_to_user_page()
|
/Linux-v4.19/drivers/media/pci/cx18/ |
D | cx18-vbi.c | 106 u32 line_size = VBI_ACTIVE_SAMPLES; in compress_raw_buf() local 116 p = buf + i * line_size; in compress_raw_buf() 125 memcpy(q, p + 4, line_size - 4 - hdr_size); in compress_raw_buf() 126 q += line_size - 4 - hdr_size; in compress_raw_buf() 127 p += line_size - hdr_size - 1; in compress_raw_buf() 130 memcpy(q, p + 4, line_size - 4); in compress_raw_buf() 131 q += line_size - 4; in compress_raw_buf() 134 return lines * (line_size - 4); in compress_raw_buf() 143 u32 line_size = cx->is_60hz ? VBI_HBLANK_SAMPLES_60HZ in compress_sliced_buf() local 160 if (size < line_size) in compress_sliced_buf() [all …]
|
/Linux-v4.19/arch/arm/mm/ |
D | cache-uniphier.c | 88 u32 line_size; member 196 start = start & ~(data->line_size - 1); in __uniphier_cache_maint_range() 200 if (unlikely(size >= (unsigned long)(-data->line_size))) { in __uniphier_cache_maint_range() 210 size = ALIGN(size, data->line_size); in __uniphier_cache_maint_range() 356 if (of_property_read_u32(np, "cache-line-size", &data->line_size) || in __uniphier_cache_init() 357 !is_power_of_2(data->line_size)) { in __uniphier_cache_init() 373 cache_size == 0 || cache_size % (data->nsets * data->line_size)) { in __uniphier_cache_init() 380 data->way_mask = GENMASK(cache_size / data->nsets / data->line_size - 1, in __uniphier_cache_init() 432 data->range_op_max_size -= data->line_size; in __uniphier_cache_init()
|
D | cache-l2x0.c | 964 u32 line_size = 0; in l2x0_cache_size_of_parse() local 969 of_property_read_u32(np, "cache-line-size", &line_size); in l2x0_cache_size_of_parse() 975 if (!line_size) { in l2x0_cache_size_of_parse() 978 line_size = block_size; in l2x0_cache_size_of_parse() 984 line_size = CACHE_LINE_SIZE; in l2x0_cache_size_of_parse() 988 if (line_size != CACHE_LINE_SIZE) in l2x0_cache_size_of_parse() 991 line_size, in l2x0_cache_size_of_parse() 1002 way_size = sets * line_size; in l2x0_cache_size_of_parse() 1012 pr_info("L2C OF: override line size: %d bytes\n", line_size); in l2x0_cache_size_of_parse()
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | cacheinfo.c | 234 const __be32 *line_size; in cache_get_line_size() local 243 line_size = of_get_property(cache->ofnode, propname, NULL); in cache_get_line_size() 244 if (line_size) in cache_get_line_size() 248 if (!line_size) in cache_get_line_size() 251 *ret = of_read_number(line_size, 1); in cache_get_line_size() 272 unsigned int line_size; in cache_associativity() local 287 if (cache_get_line_size(cache, &line_size)) in cache_associativity() 292 if (!(nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity() 295 *ret = (size / nr_sets) / line_size; in cache_associativity() 558 unsigned int line_size; in line_size_show() local [all …]
|
/Linux-v4.19/arch/nds32/kernel/ |
D | setup.c | 101 L1_cache_info[ICACHE].line_size = CACHE_LINE_SIZE(ICACHE); in dump_cpu_info() 104 L1_cache_info[ICACHE].ways * L1_cache_info[ICACHE].line_size * in dump_cpu_info() 108 L1_cache_info[ICACHE].line_size); in dump_cpu_info() 110 L1_cache_info[DCACHE].line_size = CACHE_LINE_SIZE(DCACHE); in dump_cpu_info() 113 L1_cache_info[DCACHE].ways * L1_cache_info[DCACHE].line_size * in dump_cpu_info() 117 L1_cache_info[DCACHE].line_size); in dump_cpu_info()
|
/Linux-v4.19/arch/x86/kernel/cpu/ |
D | intel_rdt_pseudo_lock.c | 261 plr->line_size = 0; in pseudo_lock_region_clear() 312 plr->line_size = ci->info_list[i].coherency_line_size; in pseudo_lock_region_init() 443 unsigned int line_size; in pseudo_lock_fn() local 447 register unsigned int line_size asm("esi"); in pseudo_lock_fn() 486 line_size = plr->line_size; in pseudo_lock_fn() 514 for (i = 0; i < size; i += line_size) { in pseudo_lock_fn() 952 unsigned int line_size; in measure_cycles_perf_fn() local 956 register unsigned int line_size asm("esi"); in measure_cycles_perf_fn() 1043 line_size = plr->line_size; in measure_cycles_perf_fn() 1044 for (i = 0; i < size; i += line_size) { in measure_cycles_perf_fn()
|
D | cacheinfo.c | 175 unsigned line_size:8; member 185 unsigned line_size:8; member 195 unsigned line_size:8; member 234 unsigned line_size, lines_per_tag, assoc, size_in_kb; in amd_cpuid4() local 254 line_size = l1->line_size; in amd_cpuid4() 262 line_size = l2.line_size; in amd_cpuid4() 271 line_size = l3.line_size; in amd_cpuid4() 292 ebx->split.coherency_line_size = line_size - 1; in amd_cpuid4() 295 ecx->split.number_of_sets = (size_in_kb * 1024) / line_size / in amd_cpuid4()
|
/Linux-v4.19/drivers/media/pci/ivtv/ |
D | ivtv-vbi.c | 313 u32 line_size = itv->vbi.raw_decoder_line_size; in compress_raw_buf() local 322 p = buf + i * line_size; in compress_raw_buf() 328 memcpy(q, p + 4, line_size - 4); in compress_raw_buf() 329 q += line_size - 4; in compress_raw_buf() 331 return lines * (line_size - 4); in compress_raw_buf() 339 u32 line_size = itv->vbi.sliced_decoder_line_size; in compress_sliced_buf() local 351 if (size < line_size) { in compress_sliced_buf() 354 for (i = 0; i < size / line_size; i++) { in compress_sliced_buf() 355 u8 *p = buf + i * line_size; in compress_sliced_buf()
|
/Linux-v4.19/tools/spi/ |
D | spidev_test.c | 60 static void hex_dump(const void *src, size_t length, size_t line_size, in hex_dump() argument 71 if (!(++i % line_size) || (length == 0 && i % line_size)) { in hex_dump() 73 while (i++ % line_size) in hex_dump()
|
/Linux-v4.19/drivers/base/ |
D | cacheinfo.c | 97 u32 line_size; in cache_get_line_size() local 101 ret = of_property_read_u32(np, propname, &line_size); in cache_get_line_size() 103 this_leaf->coherency_line_size = line_size; in cache_get_line_size() 123 unsigned int line_size = this_leaf->coherency_line_size; in cache_associativity() local 131 if (!(nr_sets == 1) && (nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity() 132 this_leaf->ways_of_associativity = (size / nr_sets) / line_size; in cache_associativity()
|
/Linux-v4.19/arch/nds32/include/asm/ |
D | cache_info.h | 6 unsigned char line_size; member
|
/Linux-v4.19/drivers/gpu/drm/shmobile/ |
D | shmob_drm_crtc.h | 32 unsigned int line_size; member
|
/Linux-v4.19/arch/mips/kernel/ |
D | pm-cps.c | 248 unsigned line_size = cpu_info->dcache.linesz; in cps_gen_flush_fsb() local 300 uasm_i_lw(pp, zero, i * line_size * line_stride, t0); in cps_gen_flush_fsb() 308 i * line_size * line_stride, t0); in cps_gen_flush_fsb() 310 i * line_size * line_stride, t0); in cps_gen_flush_fsb()
|
/Linux-v4.19/tools/perf/util/ |
D | env.h | 15 u32 line_size; member
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | cache.h | 40 u32 line_size; member
|
D | elf.h | 143 (ppc64_caches.level.assoc << 16 | ppc64_caches.level.line_size)
|
/Linux-v4.19/drivers/video/fbdev/ |
D | sh_mobile_lcdcfb.h | 88 unsigned int line_size; member
|
D | mxsfb.c | 411 int line_size, fb_size; in mxsfb_set_par() local 414 line_size = fb_info->var.xres * (fb_info->var.bits_per_pixel >> 3); in mxsfb_set_par() 415 fb_size = fb_info->var.yres_virtual * line_size; in mxsfb_set_par() 420 fb_info->fix.line_length = line_size; in mxsfb_set_par()
|
/Linux-v4.19/arch/ia64/kernel/ |
D | setup.c | 853 unsigned long line_size, max = 1; in get_cache_info() local 887 line_size = 1 << cci.pcci_line_size; in get_cache_info() 888 if (line_size > max) in get_cache_info() 889 max = line_size; in get_cache_info()
|
/Linux-v4.19/drivers/staging/vboxvideo/ |
D | modesetting.c | 62 p->line_size = pitch; in hgsmi_process_display_info()
|
D | vboxvideo.h | 312 u32 line_size; member
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_dpp_dscl.c | 409 int line_size = scl_data->viewport.width < scl_data->recout.width ? in dpp1_dscl_calc_lb_num_partitions() local 414 int memory_line_size_y = (line_size * lb_bpc + 71) / 72; /* +71 to ceil */ in dpp1_dscl_calc_lb_num_partitions() 416 int memory_line_size_a = (line_size + 5) / 6; /* +5 to ceil */ in dpp1_dscl_calc_lb_num_partitions()
|
/Linux-v4.19/samples/bpf/ |
D | xdpsock_user.c | 369 size_t line_size = 32; in hex_dump() local 382 if (!(++i % line_size) || (length == 0 && i % line_size)) { in hex_dump() 384 while (i++ % line_size) in hex_dump()
|