/u-boot/scripts/ |
A D | checkpatch.pl | 1276 $line = expand_tabs($line); 1428 $line++; 1514 $line++; 1604 my $line; 1613 for ($line = $start; $remain > 0; $line++) { 1729 my $line; 1732 next if (defined($line) && $line =~ /^-/); 2492 my $line; 4858 if ($line =~ /\[\s/ && $line !~ /\[\s*$/) { 4876 if ($line =~ /\(\s/ && $line !~ /\(\s*(?:\\)?$/ && [all …]
|
A D | mailmapper | 75 for line in shortlog.splitlines(): 77 commits, name = line.split(None, 1) 89 for line in shortlog.splitlines(): 92 tmp, mail = line.split('<') 142 for line in infile: 143 if line[0] == '#' or line[0] == '\n': 144 comment_block.append(line) 146 output_lines.append(line) 148 for line in infile: 149 output_lines.append(line)
|
A D | cleanpatch | 140 $in_bytes += length($line); 143 if ($line =~ 149 @hunk_lines = ($line); 152 push(@lines, $line); 153 $out_bytes += length($line); 158 if ($line =~ /^\+/) { 161 $text = substr($line, 1); 173 } elsif ($line =~ /^\-/) { 175 push(@hunk_lines, $line); 176 } elsif ($line =~ /^ /) { [all …]
|
A D | get_maintainer.pl | 180 my $line = $_; 183 $line =~ s/^\s*//g; 184 $line =~ s/\s+/ /g; 205 my $line = $_; 207 $line =~ s/\s*\n?$//; 208 $line =~ s/^\s*//; 209 $line =~ s/\s+$//; 210 $line =~ s/#.*$//; 339 my $line = $_; 340 chomp $line; [all …]
|
/u-boot/tools/ |
A D | rkmux.py | 105 for line in lines: 128 if '=' in line or '+' in line: 130 if (line.startswith('gpio') or line.startswith('peri_') or 131 line.endswith('_sel') or line.endswith('_con')): 137 for line in fd: 138 line = line.rstrip() 141 reg = line 143 elif not line or not line.startswith(' '): 145 line = line.replace('\xe2\x80\x99', "'") 146 leading = len(line) - len(line.lstrip()) [all …]
|
A D | rmboard.py | 75 for line in stdout.splitlines(): 76 line = line.strip() 77 if 'MAINTAINERS' in line: 78 if line not in maintain: 79 maintain.append(line) 80 elif 'Kconfig' in line: 81 kconfig.append(line) 88 for line in fd: 89 line = line.strip() 90 fields = re.split('[ \t]', line, 1)
|
A D | microcode-tool | 58 for line in fd: 59 line = line.rstrip() 73 data.append(line) 99 for line in fd: 100 line = line.rstrip() 102 if len(line) >= 2: 103 if line[0] == '/' and line[1] == '*': 106 if line[0] == '*' and line[1] == '/': 223 for line in license_text: 224 if line[0] == '\t': [all …]
|
A D | microcode-tool.py | 58 for line in fd: 59 line = line.rstrip() 73 data.append(line) 99 for line in fd: 100 line = line.rstrip() 102 if len(line) >= 2: 103 if line[0] == '/' and line[1] == '*': 106 if line[0] == '*' and line[1] == '/': 223 for line in license_text: 224 if line[0] == '\t': [all …]
|
A D | moveconfig.py | 445 line = line.strip() 449 line = line.split(' ')[0] # handle 'git log' input 495 if line[0] == '-' and line[1] != '-': 497 elif line[0] == '+' and line[1] != '+': 694 if line.startswith(start) and line.endswith(end): 821 return line 930 line = line.rstrip() 940 line = line.rstrip() 941 if line.startswith(config + '=') or line == not_set: 1598 if line.strip().startswith('help') or not line: [all …]
|
A D | genboardscfg.py | 92 for line in f: 93 if line[0] == '#' or line == '\n': 158 for line in open(defconfig): 159 colon = line.find(':CONFIG_') 161 f.write(line) 328 if line[:3] == '#M:': 329 line = line[1:] 330 tag, rest = line[:2], line[2:].strip() 343 elif line == '\n': 391 line = '' [all …]
|
/u-boot/tools/patman/ |
A D | patchstream.py | 304 line = line.rstrip('\n') 310 line = line[4:] 388 elif line == 'END': 490 out = [line] 496 out = [line] 507 out = [line] 619 if not line: 624 for line in out: 666 out.append(line) 823 for line in lines: [all …]
|
A D | checkpatch.py | 102 print(line) 105 if not line: 110 if re_note.match(line): 113 if line.startswith(indent): 116 if line.startswith('+'): 118 if re_new_file.match(line): 122 match = re_stats.match(line) 132 elif re_ok.match(line): 135 elif re_bad.match(line): 167 print('bad line "%s", %d' % (line, len(line))) [all …]
|
A D | settings.py | 173 for line in fd.readlines(): 174 line = line.strip() 175 if not line or line[0] == '#': 178 m = re_line.match(line) 280 for line in fd: 282 line = line.strip() 283 if not line or line.startswith('#'): 285 words = line.split(None, 2) 303 for line in fd: 304 if line.startswith('#'): [all …]
|
/u-boot/doc/sphinx/ |
A D | maintainers_include.py | 63 for line in open(path): 65 line = unicode(line, 'utf-8') 75 if re.search('^[A-Z0-9]', line): 79 line = line.rstrip() 83 m = re.search(pat, line) 86 line = re.sub(pat, ':doc:`%s <../%s>`' % (m.group(2), m.group(2)), line) 104 if len(line) == 0: 107 if line[1] != ':': 146 output = line 154 if line.startswith('----------'): [all …]
|
/u-boot/tools/kermit/ |
A D | dot.kermrc | 1 set line /dev/ttyS0 13 define sz !sz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 14 define rz !rz \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 15 define sx !sx \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line) 16 define rx !rx \%1 \%2 \%3 \%4 \%5 \%6 \%7 \%8 \%9 < \v(line) > \v(line)
|
/u-boot/drivers/pinctrl/renesas/ |
A D | pfc-r7s72100.c | 46 (func & BIT(2)) ? BIT(line) : 0); in r7s72100_pfc_set_function() 48 (func & BIT(1)) ? BIT(line) : 0); in r7s72100_pfc_set_function() 49 clrsetbits_le16(plat->base + PFC(bank), BIT(line), in r7s72100_pfc_set_function() 50 (func & BIT(0)) ? BIT(line) : 0); in r7s72100_pfc_set_function() 53 inbuf ? BIT(line) : 0); in r7s72100_pfc_set_function() 55 bidir ? BIT(line) : 0); in r7s72100_pfc_set_function() 57 setbits_le32(plat->base + PMCSR(bank), BIT(line + 16) | BIT(line)); in r7s72100_pfc_set_function() 59 setbits_le16(plat->base + PIPC(bank), BIT(line)); in r7s72100_pfc_set_function() 67 u16 bank, line, func; in r7s72100_pfc_set_state() local 94 line = cells[i] % RZA1_PINS_PER_PORT; in r7s72100_pfc_set_state() [all …]
|
/u-boot/common/ |
A D | cli_simple.c | 30 debug_parser("%s: \"%s\"\n", __func__, line); in cli_simple_parse_line() 33 while (isblank(*line)) in cli_simple_parse_line() 34 ++line; in cli_simple_parse_line() 45 while (*line && !isblank(*line)) in cli_simple_parse_line() 46 ++line; in cli_simple_parse_line() 320 char *line, *next; in cli_simple_run_command_list() local 328 line = cmd; in cli_simple_run_command_list() 333 if (*line) { in cli_simple_run_command_list() 334 debug("** exec: \"%s\"\n", line); in cli_simple_run_command_list() 340 line = next + 1; in cli_simple_run_command_list() [all …]
|
/u-boot/drivers/gpio/ |
A D | mpc83xx_gpio.c | 56 unsigned int line; in gpio_direction_input() local 61 line = gpio & (0x1F); in gpio_direction_input() 64 line_mask = 1 << (31 - line); in gpio_direction_input() 76 unsigned int line; in gpio_direction_output() local 88 line = gpio & (0x1F); in gpio_direction_output() 91 line_mask = 1 << (31 - line); in gpio_direction_output() 104 unsigned int line; in gpio_get_value() local 109 line = gpio & (0x1F); in gpio_get_value() 112 line_mask = 1 << (31 - line); in gpio_get_value() 123 unsigned int line; in gpio_set_value() local [all …]
|
/u-boot/drivers/video/ |
A D | console_rotate.c | 18 void *start, *line; in console_set_row_1() local 24 line = start; in console_set_row_1() 29 uint8_t *dst = line; in console_set_row_1() 98 void *start, *line; in console_putc_xy_1() local 103 line = start; in console_putc_xy_1() 166 line = start; in console_set_row_2() 231 void *start, *line; in console_putc_xy_2() local 238 line = start; in console_putc_xy_2() 298 void *start, *line; in console_set_row_3() local 302 line = start; in console_set_row_3() [all …]
|
A D | console_normal.c | 19 void *line, *end; in console_normal_set_row() local 28 uint8_t *dst = line; in console_normal_set_row() 37 uint16_t *dst = line; in console_normal_set_row() 46 uint32_t *dst = line; in console_normal_set_row() 56 ret = vidconsole_sync_copy(dev, line, end); in console_normal_set_row() 90 void *line; in console_normal_putc_xy() local 95 line = start; in console_normal_putc_xy() 107 uint8_t *dst = line; in console_normal_putc_xy() 119 uint16_t *dst = line; in console_normal_putc_xy() 131 uint32_t *dst = line; in console_normal_putc_xy() [all …]
|
/u-boot/test/py/tests/ |
A D | test_dm.py | 12 drivers = (line[driver_index:].split()[0] 13 for line in response[:-1].split('\n')[2:]) 23 drivers = (line[:20].rstrip() for line in response[:-1].split('\n')[2:]) 32 drivers = (line[:25].rstrip() for line in response[:-1].split('\n')[2:])
|
/u-boot/scripts/kconfig/ |
A D | conf.c | 90 line[0] = '\n'; in conf_askvalue() 91 line[1] = 0; in conf_askvalue() 96 line[1] = 0; in conf_askvalue() 110 xfgets(line, sizeof(line), stdin); in conf_askvalue() 154 line[strlen(line)-1] = 0; in conf_string() 155 def = line; in conf_string() 193 strip(line); in conf_sym() 199 if (!line[1] || !strcmp(&line[1], "o")) in conf_sym() 211 if (!line[1] || !strcmp(&line[1], "es")) in conf_sym() 304 xfgets(line, sizeof(line), stdin); in conf_choice() [all …]
|
/u-boot/examples/standalone/ |
A D | atmel_df_pow2.c | 132 char *line, *p; in atmel_df_pow2() local 136 line = getline(); in atmel_df_pow2() 139 if (!line) in atmel_df_pow2() 141 if (line[0] == '\0') in atmel_df_pow2() 144 bus = cs = simple_strtoul(line, &p, 10); in atmel_df_pow2() 191 line = getline(); in atmel_df_pow2() 192 if (!line || strcmp(line, "YES")) in atmel_df_pow2()
|
/u-boot/include/dt-bindings/pinctrl/ |
A D | stm32-pinfunc.h | 31 #define PIN_NO(port, line) (((port) - 'A') * 0x10 + (line)) argument 33 #define STM32_PINMUX(port, line, mode) (((PIN_NO(port, line)) << 8) | (mode)) argument
|
/u-boot/arch/arm/dts/ |
A D | k3-am654.dtsi | 42 i-cache-line-size = <64>; 45 d-cache-line-size = <64>; 56 i-cache-line-size = <64>; 59 d-cache-line-size = <64>; 70 i-cache-line-size = <64>; 73 d-cache-line-size = <64>; 84 i-cache-line-size = <64>; 87 d-cache-line-size = <64>; 97 cache-line-size = <64>; 106 cache-line-size = <64>;
|