/openbmc/u-boot/tools/kermit/ |
H 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)
|
/openbmc/linux/usr/ |
H A D | gen_init_cpio.c | 34 int (*handler)(const char *line); 220 line, generic_type_table[gt].type); in cpio_mkgeneric_line() 468 if (end && isgraph(line[end])) { in cpio_mkfile_line() 472 dname = malloc(strlen(line)); in cpio_mkfile_line() 491 } while (isgraph(line[end])); in cpio_mkfile_line() 575 char line[LINE_SIZE]; in main() local 634 size_t slen = strlen(line); in main() 638 if ('#' == *line) { in main() 646 line_nr, line); in main() 664 line_nr, line); in main() [all …]
|
/openbmc/u-boot/tools/ |
H 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 …]
|
H 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 …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | common.filter | 200 while read -r line; do 201 if echo "$line" | grep -q '^Formatting'; then 202 echo "$line" | _do_filter_img_create 204 echo "$line" | _filter_img_create_filenames 252 while IFS='' read -r line; do 256 elif [[ $line =~ "Child node '/" ]]; then 258 elif [[ $line =~ $regex_json_spec_start ]]; then 261 elif [[ $line =~ $regex_json_child_start ]]; then 267 echo "$line" 268 elif [[ $discard == 1 && ! $line ]]; then [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | console_rotate.c | 18 void *line; in console_set_row_1() local 27 uint8_t *dst = line; in console_set_row_1() 36 uint16_t *dst = line; in console_set_row_1() 45 uint32_t *dst = line; in console_set_row_1() 92 void *line; in console_putc_xy_1() local 104 uint8_t *dst = line; in console_putc_xy_1() 149 void *line; in console_set_row_2() local 158 uint8_t *dst = line; in console_set_row_2() 167 uint16_t *dst = line; in console_set_row_2() 214 void *line; in console_putc_xy_2() local [all …]
|
/openbmc/linux/scripts/ |
H A D | show_delta | 44 def get_time(line): argument 45 if line[0]!="[": 49 (time_str, rest) = string.split(line[1:],']',1) 61 def convert_line(line, base_time): argument 65 (time, rest) = get_time(line) 68 return line 109 for line in lines: 111 (time, rest) = get_time(line) 125 for line in lines: 126 print (convert_line(line, base_time),)
|
H A D | bpf_doc.py | 94 self.line = '' 118 capture = p.match(self.line) 137 capture = p.match(self.line) 145 capture = p.match(self.line) 154 if self.line == ' *\n': 171 capture = p.match(self.line) 180 if self.line == ' *\n': 401 print('{}{}'.format('\t\t' if line else '', line)) 406 print('{}{}'.format('\t\t' if line else '', line)) 821 print(' *{}{}'.format(' \t' if line else '', line)) [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-ts5500.c | 204 if (line.no_input) in ts5500_gpio_input() 207 if (line.no_output) in ts5500_gpio_input() 211 ts5500_clear_mask(line.control_mask, line.control_addr); in ts5500_gpio_input() 222 return !!(inb(line.value_addr) & line.value_mask); in ts5500_gpio_get() 236 ts5500_set_mask(line.control_mask, line.control_addr); in ts5500_gpio_output() 239 ts5500_set_mask(line.value_mask, line.value_addr); in ts5500_gpio_output() 241 ts5500_clear_mask(line.value_mask, line.value_addr); in ts5500_gpio_output() 255 ts5500_set_mask(line.value_mask, line.value_addr); in ts5500_gpio_set() 257 ts5500_clear_mask(line.value_mask, line.value_addr); in ts5500_gpio_set() 268 if (line.irq) in ts5500_gpio_to_irq() [all …]
|
/openbmc/u-boot/scripts/ |
H A D | fill_scrapyard.py | 137 for line in open(DOC): 138 tmp = line.split(None, 5) 150 line = tmp[0].ljust(17) 151 line += tmp[1].ljust(12) 152 line += tmp[2].ljust(15) 153 line += tmp[3].ljust(12) 154 line += tmp[4].ljust(12) 156 line += tmp[5] 157 line = line.rstrip() + '\n' 159 tmpfile.file.write(line)
|
H 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)
|
/openbmc/hiomapd/ |
H A D | mtd.c | 19 char line[255]; in get_dev_mtd() local 25 while (!pos && fgets(line, sizeof(line), f) != NULL) { in get_dev_mtd() 27 if (line[strlen(line) - 1] != '\n') in get_dev_mtd() 30 if (is_pnor_part(line)) { in get_dev_mtd() 31 pos = strchr(line, ':'); in get_dev_mtd() 40 if (asprintf(&ret, "/dev/%s", line) == -1) in get_dev_mtd()
|
/openbmc/phosphor-mboxd/ |
H A D | mtd.c | 19 char line[255]; in get_dev_mtd() local 25 while (!pos && fgets(line, sizeof(line), f) != NULL) { in get_dev_mtd() 27 if (line[strlen(line) - 1] != '\n') in get_dev_mtd() 30 if (is_pnor_part(line)) { in get_dev_mtd() 31 pos = strchr(line, ':'); in get_dev_mtd() 40 if (asprintf(&ret, "/dev/%s", line) == -1) in get_dev_mtd()
|
/openbmc/linux/drivers/crypto/vmx/ |
H A D | ppc-xlate.pl | 70 my $line = join(",",@_); 71 if ($line =~ /^"(.*)"$/) 204 while($line=<>) { 206 $line =~ s|[#!;].*$||; # get rid of asm-style comments... 207 $line =~ s|/\*.*\*/||; # ... and C-style comments... 209 $line =~ s|\s+$||; # ... and at the end 213 $line =~ s|\bL(\w+)|\.L$1|g if ($dotinlocallabels); 217 $line =~ s|^\s*(\.?)(\w+)([\.\+\-]?)\s*||; 223 if (ref($opcode) eq 'CODE') { $line = &$opcode($f,split(',',$line)); } 224 elsif ($mnemonic) { $line = $c.$mnemonic.$f."\t".$line; } [all …]
|
/openbmc/linux/drivers/of/unittest-data/ |
H A D | overlay_gpio_03.dtso | 15 gpio-line-names = "line-A", "line-B", "line-C", "line-D"; 17 line-d { 21 line-name = "line-D-input";
|
/openbmc/linux/drivers/media/pci/cx18/ |
H A D | cx18-vbi.c | 27 int line = 0; in copy_vbi_data() local 55 l = sdata->line - 6; in copy_vbi_data() 65 line++; in copy_vbi_data() 68 if (line == 36) { in copy_vbi_data() 74 size = 4 + ((43 * line + 3) & ~3); in copy_vbi_data() 133 u32 line = 0; in compress_sliced_buf() local 152 return line; in compress_sliced_buf() 167 cx->vbi.sliced_data[line].line = vbi.line; in compress_sliced_buf() 169 line++; in compress_sliced_buf() 172 return line; in compress_sliced_buf() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | lsb.py | 14 for line in f: 16 key, val = line.rstrip().split('=', 1) 47 for line in output.splitlines(): 48 if line.startswith("-e"): 49 line = line[3:] 51 key, value = line.split(":\t", 1) 69 for line in f: 70 key, value = line.split("=", 1) 85 for line in f: 86 if line.startswith('VERSION = '): [all …]
|
H A D | copy_buildsystem.py | 159 line = line.replace('workspacelayer', workspace_newname) 160 f.write(line) 183 for line in infile: 194 f.write(line) 198 f.write(line) 205 for line in f: 207 if line.endswith('\\\n'): 219 for line in f: 221 if line.endswith('\\\n'): 244 for line in lines: [all …]
|
/openbmc/linux/arch/arm64/boot/dts/amd/ |
H A D | amd-seattle-cpus.dtsi | 50 i-cache-line-size = <64>; 53 d-cache-line-size = <64>; 66 i-cache-line-size = <64>; 69 d-cache-line-size = <64>; 81 i-cache-line-size = <64>; 84 d-cache-line-size = <64>; 167 cache-line-size = <64>; 175 cache-line-size = <64>; 183 cache-line-size = <64>; 191 cache-line-size = <64>; [all …]
|
/openbmc/linux/drivers/media/platform/qcom/camss/ |
H A D | camss-vfe-480.c | 155 struct vfe_line *line) in vfe_wm_update() argument 259 output = &line->output; in vfe_get_output() 271 output->wm_idx[0] = line->id; in vfe_get_output() 272 vfe->wm_output_map[line->id] = line->id; in vfe_get_output() 323 vfe_reg_update(vfe, line->id); in vfe_enable_output() 368 ret = vfe_get_output(line); in vfe_enable() 381 vfe_put_output(line); in vfe_enable() 403 vfe_disable_output(line); in vfe_disable() 405 vfe_put_output(line); in vfe_disable() 446 struct vfe_line *line = &vfe->line[vfe->wm_output_map[wm]]; in vfe_isr_wm_done() local [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/ebtables/ebtables-2.0.11/ |
H A D | ebtables-legacy-save | 18 while read line; do 19 [ -z "$line" ] && continue 21 case "$line" in 33 line=${line/, pcnt \=/ -c} 34 line=${line/-- bcnt \=/} 36 rules="$rules-A $chain $line\n"
|
/openbmc/openbmc-build-scripts/config/lib/ |
H A D | ignore-filter | 23 for line in [i.strip() for i in ignore_file.readlines()]: 25 if line.startswith("#"): 30 if line.startswith("/"): 31 line = line[1:] variable 32 elif line.startswith("./"): 33 line = line[2:] variable 35 ignore_patterns.append(line)
|
/openbmc/openpower-proc-control/procedures/common/ |
H A D | cfam_overrides.cpp | 38 std::string line; in CFAMOverride() local 44 while (std::getline(overrides, line)) in CFAMOverride() 46 if (!line.empty()) in CFAMOverride() 48 line.erase(0, line.find_first_not_of(" \t\r\n")); in CFAMOverride() 49 if (!line.empty() && line.at(0) != '#') in CFAMOverride() 52 if (sscanf(line.c_str(), "%zu %hx %x %x", &pos, &address, in CFAMOverride() 67 line.c_str())); in CFAMOverride()
|
/openbmc/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-mouse.txt | 9 - up-gpios: GPIO line phandle to the line indicating "up" 10 - down-gpios: GPIO line phandle to the line indicating "down" 11 - left-gpios: GPIO line phandle to the line indicating "left" 12 - right-gpios: GPIO line phandle to the line indicating "right" 15 - button-left-gpios: GPIO line handle to the left mouse button 16 - button-middle-gpios: GPIO line handle to the middle mouse button 17 - button-right-gpios: GPIO line handle to the right mouse button
|
/openbmc/phosphor-power/phosphor-power-supply/ |
H A D | util.cpp | 18 line = gpiod::find_line(namedGpio); in GPIOInterface() 19 if (!line) in GPIOInterface() 39 return line.name(); in getName() 48 if (!line) in read() 56 line.request({__FUNCTION__, gpiod::line_request::DIRECTION_INPUT, in read() 60 value = line.get_value(); in read() 67 line.release(); in read() 71 line.release(); in read() 87 if (!line) in write() 95 line.request({__FUNCTION__, gpiod::line_request::DIRECTION_OUTPUT, in write() [all …]
|