| /linux/tools/net/ynl/pyynl/lib/ |
| H A D | doc_generator.py | 117 lines = [] 119 lines.append(self.rst_paragraph(".. SPDX-License-Identifier: GPL-2.0")) 120 lines.append(self.rst_paragraph(".. NOTE: This document was auto-generated.\n\n")) 122 return "\n".join(lines) 127 lines = [] 129 lines.append(".. toctree::") 130 lines.append(f" :maxdepth: {maxdepth}\n\n") 132 return "\n".join(lines) 151 lines = [] 153 lines.append(self.fmt.rst_bullet(group["name"])) [all …]
|
| /linux/Documentation/fb/ |
| H A D | viafb.modes | 16 # 12 chars 2 lines 18 # 2 chars 10 lines 20 # 6 chars 33 lines 22 # 80 chars 480 lines 24 # 20 chars 45 lines 41 # 8 chars 3 lines 43 # 2 chars 1 lines 45 # 15 chars 16 lines 47 # 80 chars 480 lines 49 # 25 chars 20 lines [all …]
|
| /linux/tools/testing/kunit/ |
| H A D | kunit_parser.py | 34 log : List[str] - log of KTAP lines that correspond to the test 149 A class to represent the lines of kernel output. 158 def __init__(self, lines: Iterator[Tuple[int, str]]): 160 self._lines = lines 193 """Returns True if stream has more lines.""" 199 """Empties all lines stored in LineStream object into 219 """Extracts KTAP lines from the kernel output.""" 228 # start extracting KTAP lines and set prefix 235 # start extracting KTAP lines and set prefix 241 # stop extracting KTAP lines [all...] |
| /linux/tools/mm/ |
| H A D | slabinfo-gnuplot.sh | 56 local lines=2000000 64 lines=$((xmax-xmin)) 69 wc_lines=$lines 72 if [ "$wc_lines" -lt "$lines" ]; then 73 lines=$wc_lines 76 if [ $((width / lines)) -gt $min_slab_name_size ]; then 144 local lines 150 let lines=3 152 `cat "$in" | grep -A "$lines" 'Slabs sorted by loss' |\ 159 let lines=3 [all …]
|
| /linux/arch/hexagon/mm/ |
| H A D | cache.c | 17 unsigned long lines = spanlines(start, end-1); in flush_dcache_range() local 24 for (i = 0; i < lines; i++) { in flush_dcache_range() 37 unsigned long lines = spanlines(start, end-1); in flush_icache_range() local 44 for (i = 0; i < lines; i++) { in flush_icache_range() 62 unsigned long lines = spanlines(start, end-1); in hexagon_clean_dcache_range() local 69 for (i = 0; i < lines; i++) { in hexagon_clean_dcache_range() 82 unsigned long lines = spanlines(start, end-1); in hexagon_inv_dcache_range() local 89 for (i = 0; i < lines; i++) { in hexagon_inv_dcache_range()
|
| /linux/tools/gpio/ |
| H A D | gpio-utils.c | 57 int gpiotools_request_line(const char *device_name, unsigned int *lines, in gpiotools_request_line() argument 82 req.offsets[i] = lines[i]; in gpiotools_request_line() 184 unsigned int lines[] = {line}; in gpiotools_get() local 186 ret = gpiotools_gets(device_name, lines, 1, &value); in gpiotools_get() 205 int gpiotools_gets(const char *device_name, unsigned int *lines, in gpiotools_gets() argument 216 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_gets() 245 unsigned int lines[] = {line}; in gpiotools_set() local 247 return gpiotools_sets(device_name, lines, 1, &value); in gpiotools_set() 263 int gpiotools_sets(const char *device_name, unsigned int *lines, in gpiotools_sets() argument 278 ret = gpiotools_request_line(device_name, lines, num_lines, in gpiotools_sets()
|
| H A D | gpio-hammer.c | 25 int hammer_device(const char *device_name, unsigned int *lines, int num_lines, in hammer_device() argument 39 ret = gpiotools_request_line(device_name, lines, num_lines, in hammer_device() 57 fprintf(stdout, "%u", lines[i]); in hammer_device() 92 fprintf(stdout, "%u: %d", lines[i], in hammer_device() 130 unsigned int lines[GPIOHANDLES_MAX]; in main() local 152 lines[i] = strtoul(optarg, NULL, 10); in main() 175 return hammer_device(device_name, lines, num_lines, loops); in main()
|
| /linux/drivers/comedi/drivers/ni_routing/tools/ |
| H A D | convert_csv_to_c.py | 19 lines = [ 45 lines.append('\t\t[B({})] = {{'.format(D0_sig)) 52 lines.append('\t\t\t[B({})]\t= {},'.format(D1_sig, value)) 53 lines.append('\t\t},') 54 lines.append('\t},') 56 lines = '\n'.join(lines) 58 return N, lines 60 return lines 91 lines = [ '{I0}.device = "{name}",\n' 98 lines.append('{I1}{{\n{I2}.{keyname} = {D0_sig},\n' [all …]
|
| /linux/tools/perf/util/ |
| H A D | srccode.c | 29 char **lines; member 58 static void fill_lines(char **lines, int maxline, char *map, int maplen) in fill_lines() argument 67 lines[l++] = map; in fill_lines() 71 lines[l++] = ++p; in fill_lines() 74 lines[l] = p; in fill_lines() 83 zfree(&sf->lines); in free_srcfile() 136 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile() 137 if (!h->lines) in find_srcfile() 139 fill_lines(h->lines, h->numlines, h->map, h->maplen); in find_srcfile() 165 l = sf->lines[line]; in find_sourceline()
|
| /linux/tools/net/sunrpc/xdrgen/ |
| H A D | xdr_parse.py | 92 lines = source.splitlines() 98 line_text = lines[line_num - 1] if 0 < line_num <= len(lines) else "" 145 lines = source.splitlines() 154 line_text = lines[line_num - 1] if 0 < line_num <= len(lines) else "" 180 lines = source.splitlines() 183 line_text = lines[line_num - 1] if 0 < line_num <= len(lines) else ""
|
| /linux/tools/rcu/ |
| H A D | extract-stall.sh | 6 echo Filter out clocksource lines. Note that preceding-lines excludes the 7 echo initial line of the stall warning but trailing-lines includes it. 9 echo Usage: $(basename $0) dmesg-file [ preceding-lines [ trailing-lines ] ]
|
| /linux/Documentation/userspace-api/gpio/ |
| H A D | gpio-v2-line-set-config-ioctl.rst | 12 GPIO_V2_LINE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines. 30 requested lines. 35 Update the configuration of previously requested lines, without releasing the 38 The new configuration must specify a configuration for all requested lines. 41 :ref:`gpio-v2-get-line-config-support` that apply when requesting the lines 48 bi-directional lines between input and output, but it may also be used to 49 dynamically control edge detection, or more generally move lines seamlessly 52 To only change the value of output lines, use
|
| H A D | gpio-handle-set-config-ioctl.rst | 16 GPIOHANDLE_SET_CONFIG_IOCTL - Update the configuration of previously requested lines. 34 requested lines. 39 Update the configuration of previously requested lines, without releasing the 42 The configuration applies to all requested lines. 46 lines also apply when updating the line configuration, with the additional 52 bi-directional lines between input and output, but it may be used more 53 generally to move lines seamlessly from one configuration state to another. 55 To only change the value of output lines, use
|
| H A D | chardev.rst | 21 Similarly, for multi-function lines there may be other subsystems, such as 39 Each chip supports a number of GPIO lines, 40 :c:type:`chip.lines<gpiochip_info>`. Lines on the chip are identified by an 41 ``offset`` in the range from 0 to ``chip.lines - 1``, i.e. `[0,chip.lines)`. 44 and the resulting line request is used to access the GPIO chip's lines or 45 monitor the lines for edge events. 71 access to a set of requested lines. The line request is exposed to userspace
|
| /linux/sound/pci/asihpi/ |
| H A D | hpidebug.c | 52 int lines; in hpi_debug_data() local 55 lines = DIV_ROUND_UP(len, cols); in hpi_debug_data() 56 if (lines > 8) in hpi_debug_data() 57 lines = 8; in hpi_debug_data() 59 for (i = 0, j = 0; j < lines; j++) { in hpi_debug_data()
|
| /linux/arch/um/drivers/ |
| H A D | line.h | 81 struct line *lines, int nlines); 82 extern int setup_one_line(struct line *lines, int n, char *init, 84 extern void close_lines(struct line *lines, int nlines); 86 extern int line_config(struct line *lines, unsigned int sizeof_lines, 90 extern int line_remove(struct line *lines, unsigned int sizeof_lines, int n, 92 extern int line_get_config(char *dev, struct line *lines,
|
| H A D | line.c | 358 void close_lines(struct line *lines, int nlines) in close_lines() argument 363 close_chan(&lines[i]); in close_lines() 366 int setup_one_line(struct line *lines, int n, char *init, in setup_one_line() argument 369 struct line *line = &lines[n]; in setup_one_line() 460 int line_config(struct line *lines, unsigned int num, char *str, in line_config() argument 481 return setup_one_line(lines, n, end, opts, error_out); in line_config() 484 int line_get_config(char *name, struct line *lines, unsigned int num, char *str, in line_get_config() argument 502 line = &lines[dev]; in line_get_config() 534 int line_remove(struct line *lines, unsigned int num, int n, char **error_out) in line_remove() argument 540 return setup_one_line(lines, n, "none", NULL, error_out); in line_remove() [all …]
|
| /linux/Documentation/sphinx/ |
| H A D | kernel_feat.py | 98 lines = feat.output_arch_table(arch) 100 lines = feat.output_matrix() 106 for line in lines.split("\n"): 119 def nestedParse(self, lines, fname): argument 125 for l in lines.split("\n"): 127 lines = code_block + "\n\n" 129 for c, l in enumerate(lines.split("\n")):
|
| /linux/drivers/staging/greybus/ |
| H A D | gpio.c | 38 struct gb_gpio_line *lines; member 80 ggc->lines[which].active = true; in gb_gpio_activate_operation() 101 ggc->lines[which].active = false; in gb_gpio_deactivate_operation() 128 ggc->lines[which].direction = direction ? 1 : 0; in gb_gpio_get_direction_operation() 142 ggc->lines[which].direction = 1; in gb_gpio_direction_in_operation() 157 ggc->lines[which].direction = 0; in gb_gpio_direction_out_operation() 184 ggc->lines[which].value = value ? 1 : 0; in gb_gpio_get_value_operation() 204 ggc->lines[which].value = request.value; in gb_gpio_set_value_operation() 220 ggc->lines[which].debounce_usec = debounce_usec; in gb_gpio_set_debounce_operation() 273 struct gb_gpio_line *line = &ggc->lines[d->hwirq]; in gb_gpio_irq_mask() [all …]
|
| /linux/scripts/ |
| H A D | extract-sys-certs.pl | 27 my @lines = <FD>; 32 foreach my $line (@lines) { 58 @lines = <FD>; 78 parse_symbols(@lines); 84 @lines = <FD>; 86 parse_symbols(@lines);
|
| H A D | markup_oops.pl | 215 my @lines; 257 $lines[$counter] = $line; 285 my $line = $lines[$start]; 305 my $line = $lines[$finish]; 330 $reglines[$i] = process_x86_regs($lines[$i], $center - $i); 338 $line = "*$lines[$i] "; 340 $line = " $lines[$i] ";
|
| /linux/drivers/gpio/ |
| H A D | gpio-mockup.c | 55 struct gpio_mockup_line_status *lines; member 89 return chip->lines[offset].value; in __gpio_mockup_get() 122 chip->lines[offset].value = !!value; in __gpio_mockup_set() 154 struct gpio_mockup_line_status *line = &chip->lines[offset]; in gpio_mockup_apply_pull() 191 chip->lines[offset].pull = value; in gpio_mockup_apply_pull() 217 chip->lines[offset].dir = GPIO_LINE_DIRECTION_OUT; in gpio_mockup_dirout() 229 chip->lines[offset].dir = GPIO_LINE_DIRECTION_IN; in gpio_mockup_dirin() 240 direction = chip->lines[offset].dir; in gpio_mockup_get_direction() 257 chip->lines[offset].requested = true; in gpio_mockup_request() 268 chip->lines[offset].requested = false; in gpio_mockup_free() [all …]
|
| /linux/tools/perf/scripts/python/ |
| H A D | stackcollapse.py | 69 lines = defaultdict(lambda: 0) variable 122 lines[stack_string] = lines[stack_string] + 1 125 list = sorted(lines) 127 print("%s %d" % (stack, lines[stack]))
|
| /linux/arch/x86/boot/compressed/ |
| H A D | misc.c | 60 static int lines __section(".data"); 99 memmove(vidmem, vidmem + cols * 2, (lines - 1) * cols * 2); in scroll() 100 for (i = (lines - 1) * cols * 2; i < lines * cols * 2; i += 2) in scroll() 132 if (lines == 0 || cols == 0) in __putstr() 141 if (++y >= lines) { in __putstr() 149 if (++y >= lines) { in __putstr() 387 lines = cols = 0; in early_sev_detect() 432 lines = boot_params_ptr->screen_info.orig_video_lines; in extract_kernel()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_psr_regs.h | 170 #define EDP_PSR2_IO_BUFFER_WAKE(lines) REG_FIELD_PREP(EDP_PSR2_IO_BUFFER_WAKE_MASK, \ argument 171 EDP_PSR2_IO_BUFFER_WAKE_MAX_LINES - (lines)) 174 #define TGL_EDP_PSR2_IO_BUFFER_WAKE(lines) REG_FIELD_PREP(TGL_EDP_PSR2_IO_BUFFER_WAKE_MASK, \ argument 175 (lines) - TGL_EDP_PSR2_IO_BUFFER_WAKE_MIN_LINES) 178 #define LNL_EDP_PSR2_IO_BUFFER_WAKE(lines) REG_FIELD_PREP(LNL_EDP_PSR2_IO_BUFFER_WAKE_MASK, \ argument 179 (lines) - LNL_EDP_PSR2_IO_BUFFER_WAKE_MIN_LINES) 182 #define EDP_PSR2_FAST_WAKE(lines) REG_FIELD_PREP(EDP_PSR2_FAST_WAKE_MASK, \ argument 183 EDP_PSR2_FAST_WAKE_MAX_LINES - (lines)) 186 #define TGL_EDP_PSR2_FAST_WAKE(lines) REG_FIELD_PREP(TGL_EDP_PSR2_FAST_WAKE_MASK, \ argument 187 (lines) - TGL_EDP_PSR2_FAST_WAKE_MIN_LINES) [all …]
|