Home
last modified time | relevance | path

Searched refs:line_len (Results 1 – 23 of 23) sorted by relevance

/openbmc/u-boot/arch/arm/cpu/armv7/
H A Dcache_v7.c30 static void v7_dcache_clean_inval_range(u32 start, u32 stop, u32 line_len) in v7_dcache_clean_inval_range() argument
35 start &= ~(line_len - 1); in v7_dcache_clean_inval_range()
36 for (mva = start; mva < stop; mva = mva + line_len) { in v7_dcache_clean_inval_range()
42 static void v7_dcache_inval_range(u32 start, u32 stop, u32 line_len) in v7_dcache_inval_range() argument
49 for (mva = start; mva < stop; mva = mva + line_len) { in v7_dcache_inval_range()
57 u32 line_len, ccsidr; in v7_dcache_maint_range() local
60 line_len = ((ccsidr & CCSIDR_LINE_SIZE_MASK) >> in v7_dcache_maint_range()
63 line_len += 2; in v7_dcache_maint_range()
65 line_len = 1 << line_len; in v7_dcache_maint_range()
69 v7_dcache_clean_inval_range(start, stop, line_len); in v7_dcache_maint_range()
[all …]
/openbmc/linux/tools/lib/api/
H A Dio.h150 size_t line_len = 0; in io__getline() local
162 temp = realloc(line, line_len + sizeof(buf)); in io__getline()
166 memcpy(&line[line_len], buf, sizeof(buf)); in io__getline()
167 line_len += sizeof(buf); in io__getline()
172 temp = realloc(line, line_len + buf_pos + 1); in io__getline()
176 memcpy(&line[line_len], buf, buf_pos); in io__getline()
177 line[line_len + buf_pos] = '\0'; in io__getline()
178 line_len += buf_pos; in io__getline()
180 *line_len_out = line_len; in io__getline()
181 return line_len; in io__getline()
/openbmc/linux/drivers/char/
H A Dpowernv-op-panel.c148 u32 line_len; in oppanel_probe() local
151 rc = of_property_read_u32(np, "#length", &line_len); in oppanel_probe()
161 oppanel_size = line_len * num_lines; in oppanel_probe()
164 oppanel_size, num_lines, line_len); in oppanel_probe()
178 oppanel_lines[i].line_len = cpu_to_be64(line_len); in oppanel_probe()
180 line_len])); in oppanel_probe()
/openbmc/linux/arch/arc/mm/
H A Dcache.c32 unsigned int sz_k, line_len, colors; member
56 l2_line_sz = p_slc->line_len = (slc_cfg.lsz == 0) ? 128 : 64; in read_decode_cache_bcr_arcv2()
59 p_slc->sz_k, p_slc->line_len, IS_USED_RUN(slc_enable)); in read_decode_cache_bcr_arcv2()
118 p_ic->line_len = 8 << ibcr.line_len; in arc_cache_mumbojumbo()
124 p_ic->sz_k, assoc, p_ic->line_len, in arc_cache_mumbojumbo()
144 p_dc->line_len = 16 << dbcr.line_len; in arc_cache_mumbojumbo()
149 p_dc->sz_k, assoc, p_dc->line_len, in arc_cache_mumbojumbo()
1115 if (!ic->line_len) in arc_cache_init_master()
1118 if (ic->line_len != L1_CACHE_BYTES) in arc_cache_init_master()
1120 ic->line_len, L1_CACHE_BYTES); in arc_cache_init_master()
[all …]
/openbmc/linux/tools/testing/selftests/tdx/
H A Dtdx_guest_test.c115 int i, j, line_len, rowsize = HEX_DUMP_SIZE; in print_array_hex() local
121 line_len = rowsize < (len - j) ? rowsize : (len - j); in print_array_hex()
123 for (i = 0; i < line_len; i++) in print_array_hex()
/openbmc/linux/tools/perf/util/
H A Dsrcline.c518 size_t line_len = 0; in read_addr2line_record() local
538 if (io__getline(io, &line, &line_len) < 0 || !line_len) in read_addr2line_record()
542 if (style == LLVM && line_len == 2 && line[0] == ',') { in read_addr2line_record()
554 if (line_len >= 2 || line[0] != '0' || line[1] != 'x') { in read_addr2line_record()
555 for (size_t i = 2; i < line_len; i++) { in read_addr2line_record()
584 if (first && (io__getline(io, &line, &line_len) < 0 || !line_len)) in read_addr2line_record()
592 line_len = 0; in read_addr2line_record()
595 if (io__getline(io, &line, &line_len) < 0 || !line_len) in read_addr2line_record()
609 line_len = 0; in read_addr2line_record()
H A Dsymbol.c630 ssize_t line_len; in modules__parse() local
632 line_len = getline(&line, &n, file); in modules__parse()
633 if (line_len < 0) { in modules__parse()
645 line[--line_len] = '\0'; /* \n */ in modules__parse()
1487 int line_len, len; in dso__load_perf_map() local
1489 line_len = getline(&line, &n, file); in dso__load_perf_map()
1490 if (line_len < 0) in dso__load_perf_map()
1496 line[--line_len] = '\0'; /* \n */ in dso__load_perf_map()
1501 if (len + 2 >= line_len) in dso__load_perf_map()
1507 if (len + 2 >= line_len) in dso__load_perf_map()
H A Dutil.c337 size_t line_len = 0; in fetch_ubuntu_kernel_version() local
352 len = getline(&line, &line_len, vsig); in fetch_ubuntu_kernel_version()
H A Dannotate.c2032 size_t line_len = strlen(line); in expand_tabs() local
2034 for (num_tabs = 0, i = 0; i < line_len; i++) in expand_tabs()
2045 new_storage_len = line_len + 1 + (num_tabs * 7); in expand_tabs()
2058 for (i = 0, src = 0, dst = 0; i < line_len && num_tabs; i++) { in expand_tabs()
2072 len = line_len - src; in expand_tabs()
2099 size_t line_len; in symbol__disassemble() local
2199 line_len = 0; in symbol__disassemble()
2206 if (getline(&line, &line_len, file) < 0 || !line) in symbol__disassemble()
2215 expanded_line = expand_tabs(expanded_line, &line, &line_len); in symbol__disassemble()
2835 size_t line_len = strlen(al->line); in annotation__set_offsets() local
[all …]
H A Dprobe-finder.c893 size_t line_len; in find_lazy_match_lines() local
905 while ((len = getline(&line, &line_len, fp)) > 0) { in find_lazy_match_lines()
/openbmc/u-boot/arch/arc/include/asm/
H A Darc-bcr.h21 unsigned int pad:12, line_len:4, sz:4, config:4, ver:8; member
23 unsigned int ver:8, config:4, sz:4, line_len:4, pad:12;
/openbmc/linux/tools/perf/tests/
H A Dapi-io.c299 size_t i, line_len = 0; in test_get_line() local
313 EXPECT_EQUAL((int)io__getline(&io, &line, &line_len), 513); in test_get_line()
318 EXPECT_EQUAL((int)io__getline(&io, &line, &line_len), 510); in test_get_line()
H A Dcode-reading.c130 size_t line_len, off_last = 0; in read_objdump_output() local
139 ret = getline(&line, &line_len, f); in read_objdump_output()
/openbmc/linux/arch/xtensa/kernel/
H A Dtraps.c589 size_t line_len = sf->len - sf->off > STACK_DUMP_LINE_SIZE ? in show_stack_fragment_cb() local
596 __memcpy(line, sf->sp + sf->off, line_len); in show_stack_fragment_cb()
599 line, line_len, false); in show_stack_fragment_cb()
/openbmc/linux/arch/arc/include/asm/
H A Darcregs.h211 unsigned int pad:12, line_len:4, sz:4, config:4, ver:8; member
213 unsigned int ver:8, config:4, sz:4, line_len:4, pad:12;
/openbmc/u-boot/arch/arc/lib/
H A Dcache.c444 ic_line_sz = 8 << ibcr.fields.line_len; in read_decode_cache_bcr()
451 gd->arch.l1_line_sz = dc_line_sz = 16 << dbcr.fields.line_len; in read_decode_cache_bcr()
/openbmc/u-boot/lib/efi_loader/
H A Defi_gop.c417 int line_len; in efi_gop_register() local
423 fb_size = lcd_get_size(&line_len); in efi_gop_register()
/openbmc/linux/kernel/printk/
H A Dprintk.c1391 size_t line_len; in record_print_text() local
1413 line_len = next - text; in record_print_text()
1418 line_len = text_len; in record_print_text()
1427 if (len + prefix_len + line_len + 1 + 1 > buf_size) in record_print_text()
1443 len += prefix_len + line_len + 1; in record_print_text()
1444 if (text_len == line_len) { in record_print_text()
1449 text[prefix_len + line_len] = '\n'; in record_print_text()
1457 text += prefix_len + line_len + 1; in record_print_text()
1469 text_len -= line_len + 1; in record_print_text()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/
H A Domapfb-main.c60 const unsigned line_len = fix->line_length / bytespp; in draw_pixel() local
68 p += y * line_len + x; in draw_pixel()
77 p += (y * line_len + x) * 3; in draw_pixel()
84 p += y * line_len + x; in draw_pixel()
/openbmc/linux/arch/powerpc/include/asm/
H A Dopal-api.h935 __be64 line_len; member
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbtf.c5394 size_t line_len = 0; in do_test_pprint() local
5463 while ((nread = getline(&line, &line_len, pin_file)) > 0 && in do_test_pprint()
5510 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
5529 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
5534 nread = getline(&line, &line_len, pin_file); in do_test_pprint()
/openbmc/linux/tools/perf/ui/browsers/
H A Dhists.c3575 size_t line_len = strlen(ev_name) + 7; in __evlist__tui_browse_hists() local
3577 if (menu.b.width < line_len) in __evlist__tui_browse_hists()
3578 menu.b.width = line_len; in __evlist__tui_browse_hists()
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/
H A D0004-mmal_20.patch8589 +// Do a stride converting copy - if the strides are the same and line_len is
8594 + size_t lines, const size_t line_len)
8596 + if (s_stride == d_stride && d_stride < line_len + 32)
8603 + memcpy(d_ptr, s_ptr, line_len);
8610 +// line_len in D units
8613 + size_t lines, const size_t line_len)
8616 + if (s_stride == d_stride * 2 && d_stride < line_len + 32)
8623 + docpy(d_ptr, s_ptr, line_len);