Home
last modified time | relevance | path

Searched refs:nlines (Results 1 – 13 of 13) sorted by relevance

/openbmc/gpioplus/src/gpioplus/
H A Dhandle.cpp81 nlines(lines.size()) in Handle()
91 std::vector<uint8_t> values(nlines); in getValues()
107 values.resize(nlines); in getValues()
108 for (size_t i = 0; i < nlines; ++i) in getValues()
116 if (values.size() != nlines) in setValues()
123 for (size_t i = 0; i < nlines; ++i) in setValues()
H A Dhandle.hpp112 uint32_t nlines; member in gpioplus::Handle
/openbmc/linux/arch/um/drivers/
H A Dline.h65 extern int line_setup(char **conf, unsigned nlines, char **def,
81 struct line *lines, int nlines);
84 extern void close_lines(struct line *lines, int nlines);
H A Dline.c358 void close_lines(struct line *lines, int nlines) in close_lines() argument
362 for(i = 0; i < nlines; i++) in close_lines()
545 struct line *lines, int nlines) in register_lines() argument
551 driver = tty_alloc_driver(nlines, TTY_DRIVER_REAL_RAW | in register_lines()
564 for (i = 0; i < nlines; i++) { in register_lines()
578 for (i = 0; i < nlines; i++) in register_lines()
/openbmc/linux/mm/kfence/
H A Dkfence_test.c43 int nlines; member
53 int nlines; in probe_console() local
56 nlines = observed.nlines; in probe_console()
66 nlines = 1; in probe_console()
67 } else if (nlines == 1 && (strnstr(buf, "at 0x", len) || strnstr(buf, "of 0x", len))) { in probe_console()
68 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console()
71 WRITE_ONCE(observed.nlines, nlines); /* Publish new nlines. */ in probe_console()
78 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available()
813 observed.nlines = 0; in test_init()
/openbmc/qemu/util/
H A Dselfmap.c17 guint i, nlines; in read_self_maps() local
25 nlines = g_strv_length(lines); in read_self_maps()
27 for (i = 0; i < nlines; i++) { in read_self_maps()
/openbmc/linux/drivers/hte/
H A Dhte-tegra194.c439 if (*xlated_id > gc->nlines) in tegra_hte_line_xlate()
466 if (line_id > chip->nlines) { in tegra_hte_en_dis_common()
690 u32 nlines; in tegra_hte_probe() local
714 nlines = slices << 5; in tegra_hte_probe()
743 gc->nlines = nlines; in tegra_hte_probe()
753 hte_dev->line_data = devm_kcalloc(dev, nlines, in tegra_hte_probe()
807 dev_dbg(gc->dev, "lines: %d, slices:%d", gc->nlines, slices); in tegra_hte_probe()
816 u32 slices = gs->chip->nlines / NV_LINES_IN_SLICE; in tegra_hte_resume_early()
837 u32 slices = gs->chip->nlines / NV_LINES_IN_SLICE; in tegra_hte_suspend_late()
H A Dhte.c84 u32 nlines; member
117 &gdev->nlines); in hte_chip_dbgfs_init()
814 if (xlated_id >= chip->nlines) in hte_push_ts_ns()
858 gdev = kzalloc(struct_size(gdev, ei, chip->nlines), GFP_KERNEL); in hte_register_chip()
864 gdev->nlines = chip->nlines; in hte_register_chip()
867 for (i = 0; i < chip->nlines; i++) { in hte_register_chip()
/openbmc/linux/tools/perf/scripts/perl/
H A Drwtop.pl23 my $nlines = 20;
146 if (++$count == $nlines) {
169 if (++$count == $nlines) {
/openbmc/linux/kernel/kcsan/
H A Dkcsan_test.c55 int nlines; member
100 int nlines; in probe_console() local
109 nlines = observed.nlines; in probe_console()
119 nlines = 1; in probe_console()
120 } else if ((nlines == 1 || nlines == 2) && strnstr(buf, "bytes by", len)) { in probe_console()
121 strscpy(observed.lines[nlines++], buf, min(len + 1, sizeof(observed.lines[0]))); in probe_console()
124 if (WARN_ON(nlines != 2)) in probe_console()
128 strcpy(observed.lines[nlines++], "<none>"); in probe_console()
133 WRITE_ONCE(observed.nlines, nlines); /* Publish new nlines. */ in probe_console()
141 return READ_ONCE(observed.nlines) == ARRAY_SIZE(observed.lines); in report_available()
[all …]
/openbmc/linux/tools/perf/util/
H A Ddwarf-aux.c68 size_t nlines, l, u, n; in cu_getsrc_die() local
71 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0 || in cu_getsrc_die()
72 nlines == 0) in cu_getsrc_die()
76 l = 0; u = nlines - 1; in cu_getsrc_die()
875 size_t nlines, i; in die_walk_lines() local
896 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0) { in die_walk_lines()
900 pr_debug2("Get %zd lines from this CU\n", nlines); in die_walk_lines()
903 for (i = 0; i < nlines; i++) { in die_walk_lines()
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.c123 int i, hsub, nplanes, nlines; in mdp5_smp_calculate() local
130 nlines = 2; in mdp5_smp_calculate()
152 n = DIV_ROUND_UP(fetch_stride * nlines, smp->blk_size); in mdp5_smp_calculate()
/openbmc/linux/include/linux/
H A Dhte.h167 u32 nlines; member