/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/cloc/ |
H A D | cloc_1.98.bb | 1 SUMMARY = "Count blank lines, comment lines, and physical lines of source code \
|
/openbmc/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() 416 lines = boot_params->screen_info.orig_video_lines; in extract_kernel()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-mockup.c | 51 struct gpio_mockup_line_status *lines; member 86 return chip->lines[offset].value; in __gpio_mockup_get() 120 chip->lines[offset].value = !!value; in __gpio_mockup_set() 188 chip->lines[offset].pull = value; in gpio_mockup_apply_pull() 215 chip->lines[offset].dir = GPIO_LINE_DIRECTION_OUT; in gpio_mockup_dirout() 227 chip->lines[offset].dir = GPIO_LINE_DIRECTION_IN; in gpio_mockup_dirin() 239 direction = chip->lines[offset].dir; in gpio_mockup_get_direction() 443 chip->lines = devm_kcalloc(dev, gc->ngpio, in gpio_mockup_probe() 444 sizeof(*chip->lines), GFP_KERNEL); in gpio_mockup_probe() 445 if (!chip->lines) in gpio_mockup_probe() [all …]
|
/openbmc/linux/drivers/media/pci/cx88/ |
H A D | cx88-core.c | 89 for (line = 0; line < lines; line++) { in cx88_risc_field() 151 PAGE_SIZE + lines); in cx88_risc_buffer() 167 bpl, padding, lines, 0, in cx88_risc_buffer() 190 instructions = 1 + (bpl * lines) / PAGE_SIZE + lines; in cx88_risc_databuffer() 202 lines, lpi, !lpi); in cx88_risc_databuffer() 346 unsigned int i, lines; in cx88_sram_channel_setup() local 351 lines = ch->fifo_size / bpl; in cx88_sram_channel_setup() 352 if (lines > 6) in cx88_sram_channel_setup() 353 lines = 6; in cx88_sram_channel_setup() 354 WARN_ON(lines < 2); in cx88_sram_channel_setup() [all …]
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | drivers-on-gpio.rst | 11 lines, giving you the LED sysfs interface 26 mouse cable and connect the wires to GPIO lines or solder a mouse connector 27 to the lines for a more permanent solution of this type. 49 (two wires, SDA and SCL lines) by hammering (bitbang) two GPIO lines. It will 54 of wires, at least SCK and optionally MISO, MOSI and chip select lines) using 84 bus, data and clock line, by bit banging two GPIO lines. It will appear as 95 nothing but GPIO lines, this driver provides that and also a clearly defined 100 n GPIO lines such that you can mux in 2^n different devices by activating 101 different GPIO lines. Often the GPIOs are on a SoC and the devices are 107 to emulate MCTRL (modem control) signals CTS/RTS by using two GPIO lines. The [all …]
|
/openbmc/linux/scripts/ |
H A D | cleanfile | 136 @lines = (); 149 push(@lines, @blanks); 151 push(@lines, $line); 169 print FILE @lines;
|
H A D | show_delta | 95 lines = open(filein,"r").readlines() 109 for line in lines: 125 for line in lines:
|
H A D | get_feat.pl | 432 my (@lines, @descs); 447 push @lines, $line; 454 push @lines, $line; 459 push @lines, $line if ($line ne ""); 480 push @lines, "" while (scalar(@lines) < 2 + scalar(@descs)); 483 for my $line(@lines) {
|
/openbmc/qemu/scripts/ |
H A D | modinfo-generate.py | 35 def generate(name, lines, enabled): argument 40 for line in lines: 101 lines = f.readlines() 104 moddeps = generate(basename, lines, enabled)
|
H A D | checkpatch.pl | 432 my @lines = (); 485 @lines = (); 515 @lines = (); 714 next if ($lines[$line] =~ /^-/); 717 $blk .= $lines[$line] . "\n"; 1527 push(@lines, $line); 1543 foreach my $line (@lines) { 2047 defined $lines[$ctx_ln - 1] && 2050 $ctx_skip-- if (!defined $lines[$ctx_ln - 1] || $lines[$ctx_ln - 1] !~ /^-/); 2062 defined($lines[$ctx_ln - 1]) && $lines[$ctx_ln - 1] =~ /^\+\s*\{/ && [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/spi/ |
H A D | spi-gpio.yaml | 13 This represents a group of 3-n GPIO lines used for bit-banged SPI on 14 dedicated GPIO lines. 36 description: GPIOs to use for chipselect lines. 42 description: Number of chipselect lines. Should be <0> if a single device
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_psr_regs.h | 166 #define EDP_PSR2_IO_BUFFER_WAKE(lines) REG_FIELD_PREP(EDP_PSR2_IO_BUFFER_WAKE_MASK, \ argument 167 EDP_PSR2_IO_BUFFER_WAKE_MAX_LINES - (lines)) 170 #define TGL_EDP_PSR2_IO_BUFFER_WAKE(lines) REG_FIELD_PREP(TGL_EDP_PSR2_IO_BUFFER_WAKE_MASK, \ argument 171 (lines) - TGL_EDP_PSR2_IO_BUFFER_WAKE_MIN_LINES) 174 #define EDP_PSR2_FAST_WAKE(lines) REG_FIELD_PREP(EDP_PSR2_FAST_WAKE_MASK, \ argument 175 EDP_PSR2_FAST_WAKE_MAX_LINES - (lines)) 178 #define TGL_EDP_PSR2_FAST_WAKE(lines) REG_FIELD_PREP(TGL_EDP_PSR2_FAST_WAKE_MASK, \ argument 179 (lines) - TGL_EDP_PSR2_FAST_WAKE_MIN_LINES)
|
/openbmc/linux/tools/gpio/ |
H A D | gpio-utils.h | 28 unsigned int *lines, 37 int gpiotools_gets(const char *device_name, unsigned int *lines, 41 int gpiotools_sets(const char *device_name, unsigned int *lines,
|
/openbmc/intel-ipmi-oem/ |
H A D | generate-allowlist.py | 96 lines = [ 114 lines.extend([" {}".format(e) for e in entries]) 115 lines.append("}};\n") 118 hpp.write("\n".join(lines))
|
/openbmc/u-boot/tools/patman/ |
H A D | test.py | 226 self.assertEqual(result.lines, 62) 237 self.assertEqual(result.lines, 62) 248 self.assertEqual(result.lines, 62) 259 self.assertEqual(result.lines, 62) 270 self.assertEqual(result.lines, 62)
|
H A D | test_util.py | 49 lines = stdout.splitlines() 53 for line in lines if '/etype/' in line]) 61 coverage = lines[-1].split(' ')[-1]
|
/openbmc/linux/Documentation/admin-guide/gpio/ |
H A D | gpio-mockup.rst | 7 chips for testing purposes. The lines exposed by these chips can be accessed 23 parameter is the number of lines exposed by the chip. 27 The line above creates three chips. The first one will expose 8 lines, 34 GPIO lines exposed by it should be named. 39 Manipulating simulated lines
|
/openbmc/linux/drivers/misc/sgi-gru/ |
H A D | grukservices.c | 130 char lines; member 581 .present = MQS_NOOP, .lines = 1}; in send_noop_message() 636 void *mesg, int lines) in send_message_queue_full() argument 705 void *mesg, int lines) in send_message_put_nacked() argument 711 if (lines == 2) { in send_message_put_nacked() 753 void *mesg, int lines) in send_message_failure() argument 811 mhdr->lines = clines; in gru_send_message_gpa() 841 int lines = mhdr->lines; in gru_free_message() local 843 if (lines == 2) in gru_free_message() 848 next = pnext + GRU_CACHE_LINE_BYTES * lines; in gru_free_message() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | dwarf-aux.c | 66 Dwarf_Lines *lines; in cu_getsrc_die() local 79 line = dwarf_onesrcline(lines, n); in cu_getsrc_die() 89 line = dwarf_onesrcline(lines, --l); in cu_getsrc_die() 96 line = dwarf_onesrcline(lines, l++); in cu_getsrc_die() 868 Dwarf_Lines *lines; in die_walk_lines() local 904 line = dwarf_onesrcline(lines, i); in die_walk_lines() 1336 Dwarf_Lines *lines, in die_get_postprologue_addr() argument 1348 line = dwarf_onesrcline(lines, entrypc_idx); in die_get_postprologue_addr() 1353 line = dwarf_onesrcline(lines, i); in die_get_postprologue_addr() 1386 dwarf_lineaddr(dwarf_onesrcline(lines, i - 1), in die_get_postprologue_addr() [all …]
|
/openbmc/openbmc/poky/scripts/lib/recipetool/ |
H A D | create.py | 829 lines = lines_before 832 for line in lines: 855 lines = lines_after 858 for line in lines: 967 lines = [] 979 lines.append('#') 1007 lines.append('#') 1018 lines.append('#') 1028 lines.append('') 1036 lines_before.extend(lines) [all …]
|
/openbmc/qemu/scripts/codeconverter/codeconverter/ |
H A D | utils.py | 56 lines = before.split('\n') 57 line = len(lines) 58 col = len(lines[-1]) + 1
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-yuv-planar.rst | 41 chroma lines is identical to the padding of the luma lines. Without horizontal 216 of bytes as luma lines, and the chroma plane contains half the number of lines 409 number of lines as the luma plane. 510 Chroma lines contain the same number of pixels and twice the 512 number of lines as the luma plane. 708 chroma lines is identical to the padding of the luma lines. The chroma line 833 the luma lines, and the chroma planes contain a quarter of the number of lines 874 lines as the luma plane. 928 luma lines, and the chroma planes contain half of the number of lines of the 1017 bytes of the luma lines, and the chroma planes contain the same number of lines [all …]
|
/openbmc/u-boot/scripts/ |
H A D | checkpatch.pl | 826 foreach my $line (@lines) { 940 my @lines = (); 1013 @lines = (); 1986 splice(@lines, 1, 1); 2024 my @lines = (); 2053 push(@lines, $line); 2060 return @lines; 2349 push(@lines, $line); 2370 foreach my $line (@lines) { 2838 $f = $lines[$ln - 1]; [all …]
|
/openbmc/u-boot/tools/ |
H A D | moveconfig.py | 509 if j >= len(lines): 520 if p.search(lines[j]): 580 lines = f.readlines() 616 tolines = copy.copy(lines) 668 lines = f.readlines() 688 tolines = copy.copy(lines) 733 lines = f.readlines() 735 lines = [x for x in lines if x.strip() not in configs] 738 f.write(''.join(lines)) 761 lines = f.readlines() [all …]
|
/openbmc/openbmc-tools/dbus-vis/ |
H A D | dbus_pcap_loader.js | 106 let lines = stdout1.split('\n'); 107 for (let i=0; i<lines.length; i++) { 108 let l = lines[i].trim(); 122 lines = stdout2.split('\n'); 123 for (let i=0; i<lines.length; i++) { 124 let l = lines[i].trim();
|