Home
last modified time | relevance | path

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

/Linux-v4.19/tools/gpio/
Dgpio-hammer.c28 int hammer_device(const char *device_name, unsigned int *lines, int nlines, in hammer_device() argument
39 ret = gpiotools_request_linehandle(device_name, lines, nlines, in hammer_device()
52 for (i = 0; i < nlines; i++) { in hammer_device()
54 if (i != (nlines - 1)) in hammer_device()
58 for (i = 0; i < nlines; i++) { in hammer_device()
60 if (i != (nlines - 1)) in hammer_device()
69 for (i = 0; i < nlines; i++) in hammer_device()
87 for (i = 0; i < nlines; i++) { in hammer_device()
89 if (i != (nlines - 1)) in hammer_device()
127 int nlines; in main() local
[all …]
Dgpio-utils.c62 unsigned int nlines, unsigned int flag, in gpiotools_request_linehandle() argument
84 for (i = 0; i < nlines; i++) in gpiotools_request_linehandle()
89 req.lines = nlines; in gpiotools_request_linehandle()
207 unsigned int nlines, struct gpiohandle_data *data) in gpiotools_gets() argument
213 ret = gpiotools_request_linehandle(device_name, lines, nlines, in gpiotools_gets()
259 unsigned int nlines, struct gpiohandle_data *data) in gpiotools_sets() argument
263 ret = gpiotools_request_linehandle(device_name, lines, nlines, in gpiotools_sets()
Dgpio-utils.h28 unsigned int nlines, unsigned int flag,
37 unsigned int nlines, struct gpiohandle_data *data);
41 unsigned int nlines, struct gpiohandle_data *data);
/Linux-v4.19/arch/um/drivers/
Dline.h65 extern int line_setup(char **conf, unsigned nlines, char **def,
84 struct line *lines, int nlines);
87 extern void close_lines(struct line *lines, int nlines);
Dline.c366 void close_lines(struct line *lines, int nlines) in close_lines() argument
370 for(i = 0; i < nlines; i++) in close_lines()
551 struct line *lines, int nlines) in register_lines() argument
553 struct tty_driver *driver = alloc_tty_driver(nlines); in register_lines()
569 for (i = 0; i < nlines; i++) { in register_lines()
583 for (i = 0; i < nlines; i++) in register_lines()
/Linux-v4.19/tools/perf/scripts/perl/
Drwtop.pl23 my $nlines = 20;
146 if (++$count == $nlines) {
169 if (++$count == $nlines) {
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c131 int i, hsub, nplanes, nlines; in mdp5_smp_calculate() local
139 nlines = 2; in mdp5_smp_calculate()
162 n = DIV_ROUND_UP(fetch_stride * nlines, smp->blk_size); in mdp5_smp_calculate()
/Linux-v4.19/tools/perf/util/
Ddwarf-aux.c768 size_t nlines, i; in die_walk_lines() local
783 if (dwarf_getsrclines(cu_die, &lines, &nlines) != 0) { in die_walk_lines()
787 pr_debug2("Get %zd lines from this CU\n", nlines); in die_walk_lines()
790 for (i = 0; i < nlines; i++) { in die_walk_lines()