| /linux/drivers/cache/ |
| H A D | ax45mp_cache.c | 68 unsigned long line_size = ax45mp_priv.ax45mp_cache_line_size; in ax45mp_cpu_cache_operation() local 85 start += line_size; in ax45mp_cpu_cache_operation() 107 unsigned long line_size; in ax45mp_dma_cache_inv() local 113 line_size = ax45mp_priv.ax45mp_cache_line_size; in ax45mp_dma_cache_inv() 115 start = start & (~(line_size - 1)); in ax45mp_dma_cache_inv() 116 end = ((end + line_size - 1) & (~(line_size - 1))); in ax45mp_dma_cache_inv() 129 unsigned long line_size; in ax45mp_dma_cache_wback() local 135 line_size = ax45mp_priv.ax45mp_cache_line_size; in ax45mp_dma_cache_wback() 136 start = start & (~(line_size - 1)); in ax45mp_dma_cache_wback() 137 end = ((end + line_size - 1) & (~(line_size - 1))); in ax45mp_dma_cache_wback()
|
| /linux/arch/arm/mm/ |
| H A D | cache-uniphier.c | 81 u32 line_size; member 189 start = start & ~(data->line_size - 1); in __uniphier_cache_maint_range() 193 if (unlikely(size >= (unsigned long)(-data->line_size))) { in __uniphier_cache_maint_range() 203 size = ALIGN(size, data->line_size); in __uniphier_cache_maint_range() 349 if (of_property_read_u32(np, "cache-line-size", &data->line_size) || in __uniphier_cache_init() 350 !is_power_of_2(data->line_size)) { in __uniphier_cache_init() 366 cache_size == 0 || cache_size % (data->nsets * data->line_size)) { in __uniphier_cache_init() 373 data->way_mask = GENMASK(cache_size / data->nsets / data->line_size - 1, in __uniphier_cache_init() 425 data->range_op_max_size -= data->line_size; in __uniphier_cache_init()
|
| H A D | cache-l2x0.c | 953 u32 line_size = 0; in l2x0_cache_size_of_parse() local 958 of_property_read_u32(np, "cache-line-size", &line_size); in l2x0_cache_size_of_parse() 964 if (!line_size) { in l2x0_cache_size_of_parse() 967 line_size = block_size; in l2x0_cache_size_of_parse() 973 line_size = CACHE_LINE_SIZE; in l2x0_cache_size_of_parse() 977 if (line_size != CACHE_LINE_SIZE) in l2x0_cache_size_of_parse() 980 line_size, in l2x0_cache_size_of_parse() 991 way_size = sets * line_size; in l2x0_cache_size_of_parse() 1001 pr_info("L2C OF: override line size: %d bytes\n", line_size); in l2x0_cache_size_of_parse()
|
| /linux/arch/powerpc/kernel/ |
| H A D | cacheinfo.c | 238 const __be32 *line_size; in cache_get_line_size() local 247 line_size = of_get_property(cache->ofnode, propname, NULL); in cache_get_line_size() 248 if (line_size) in cache_get_line_size() 252 if (!line_size) in cache_get_line_size() 255 *ret = of_read_number(line_size, 1); in cache_get_line_size() 276 unsigned int line_size; in cache_associativity() local 291 if (cache_get_line_size(cache, &line_size)) in cache_associativity() 296 if (!(nr_sets > 0 && size > 0 && line_size > 0)) in cache_associativity() 299 *ret = (size / nr_sets) / line_size; in cache_associativity() 609 unsigned int line_size; in line_size_show() local [all …]
|
| H A D | setup_64.c | 552 info->line_size = lsize; in init_cache_info()
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | ncdevmem.c | 1283 ssize_t line_size = 0; in do_client() local 1353 line_size = getline(&line, &len, stdin); in do_client() 1355 if (line_size < 0) in do_client() 1360 (line_size + max_chunk - 1) / max_chunk; in do_client() 1363 line_size, MAX_IOV); in do_client() 1373 line_size - (msg.msg_iovlen - 1) * max_chunk; in do_client() 1376 iov[0].iov_len = line_size; in do_client() 1381 provider->memcpy_to_device(mem, 0, line, line_size); in do_client() 1403 if (ret != line_size) { in do_client() 1404 pr_err("Did not send all bytes %d vs %zd", ret, line_size); in do_client()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-maps-race.c | 224 size_t line_size) in copy_first_line() argument 226 copy_line(page->data, strchr(page->data, '\n'), first_line, line_size); in copy_first_line() 230 size_t line_size) in copy_last_line() argument 241 copy_line(pos, end, last_line, line_size); in copy_last_line() 245 size_t line_size) in copy_first_entry() argument 259 copy_line(start_pos, end_pos, first_line, line_size); in copy_first_entry() 270 size_t line_size) in copy_last_entry() argument 285 copy_line(start_pos, end_pos, last_line, line_size); in copy_last_entry()
|
| /linux/tools/testing/nvdimm/test/ |
| H A D | ndtest.h | 27 u32 line_size; member
|
| /linux/drivers/video/fbdev/ |
| H A D | sh_mobile_lcdcfb.h | 88 unsigned int line_size; member
|
| /linux/arch/powerpc/include/asm/ |
| H A D | cache.h | 45 u32 line_size; member
|
| H A D | elf.h | 135 (ppc64_caches.level.assoc << 16 | ppc64_caches.level.line_size)
|
| /linux/drivers/gpu/drm/vboxvideo/ |
| H A D | modesetting.c | 45 p->line_size = pitch; in hgsmi_process_display_info()
|
| H A D | vbox_mode.c | 380 size_t line_size = (width + 7) / 8; in copy_cursor_image() local 387 dst[i * line_size + j / 8] |= (0x80 >> (j % 8)); in copy_cursor_image()
|
| /linux/include/linux/ |
| H A D | node.h | 79 u16 line_size; member
|
| /linux/drivers/video/fbdev/omap/ |
| H A D | omapfb_main.c | 469 unsigned long line_size; in set_fb_var() local 524 line_size = var->xres_virtual * bpp / 8; in set_fb_var() 525 if (line_size * var->yres_virtual > max_frame_size) { in set_fb_var() 527 line_size = max_frame_size / var->yres_virtual; in set_fb_var() 528 var->xres_virtual = line_size * 8 / bpp; in set_fb_var() 532 line_size = var->xres * bpp / 8; in set_fb_var() 533 var->yres_virtual = max_frame_size / line_size; in set_fb_var()
|
| /linux/arch/arm/kernel/ |
| H A D | setup.c | 280 unsigned int id_reg, num_sets, line_size; in cpu_has_aliasing_icache() local 292 line_size = 4 << ((id_reg & 0x7) + 2); in cpu_has_aliasing_icache() 294 aliasing_icache = (line_size * num_sets) > PAGE_SIZE; in cpu_has_aliasing_icache()
|
| /linux/tools/perf/util/ |
| H A D | env.h | 22 u32 line_size; 21 u32 line_size; global() member
|
| H A D | header.c | 1213 if (a->line_size != b->line_size) in build_caches_for_cpu() 1251 if (sysfs__read_int(file, (int *) &cache->line_size)) in build_caches() 1379 _W(line_size) in memory_node__delete_nodes() 3468 _R(line_size) in process_compressed()
|
| /linux/drivers/acpi/nfit/ |
| H A D | nfit.h | 294 u32 line_size; member
|
| /linux/Documentation/admin-guide/mm/ |
| H A D | numaperf.rst | 157 | |-- line_size 164 The "line_size" is the number of bytes accessed from the next cache
|
| /linux/drivers/net/pse-pd/ |
| H A D | pd692x0.c | 1411 size_t line_size; in pd692x0_fw_get_next_line() local 1414 line_size = min_t(size_t, size, PD692X0_FW_LINE_MAX_SZ); in pd692x0_fw_get_next_line() 1417 for (i = 0; i < line_size - 1; i++) { in pd692x0_fw_get_next_line()
|
| /linux/drivers/acpi/numa/ |
| H A D | hmat.c | 513 tcache->cache_attrs.line_size = (attrs & ACPI_HMAT_CACHE_LINE_SIZE) >> 16; in hmat_parse_cache()
|
| /linux/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_debugfs.c | 458 int line_size = 0; in field_desc_show() local 465 if (line_size + len >= 79) { in field_desc_show() 466 line_size = 8; in field_desc_show() 470 line_size += len + 1; in field_desc_show()
|
| /linux/tools/perf/Documentation/ |
| H A D | perf.data-file-format.txt | 283 u32 line_size;
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | btf.c | 5465 char *expected_line, ssize_t line_size, in get_pprint_expected_line() argument 5474 nexpected_line = snprintf(expected_line, line_size, in get_pprint_expected_line() 5500 nexpected_line = snprintf(expected_line, line_size, in get_pprint_expected_line()
|