| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/tools/testing/kunit/ |
| H A D | kunit_parser.py | 100 def consume_non_diagnositic(lines: List[str]) -> None: 101 while lines and not TAP_ENTRIES.match(lines[0]): 102 lines.pop(0) 104 def save_non_diagnositic(lines: List[str], test_case: TestCase) -> None: 105 while lines and not TAP_ENTRIES.match(lines[0]): 106 test_case.log.append(lines[0]) 107 lines.pop(0) 115 def parse_ok_not_ok_test_case(lines: List[str], test_case: TestCase) -> bool: 116 save_non_diagnositic(lines, test_case) 117 if not lines: [all …]
|
| /OK3568_Linux_fs/u-boot/test/py/tests/ |
| H A D | test_log.py | 19 def check_log_entries(lines, mask, max_level=LOGL_INFO): argument 23 lines: iterator containing lines to check 24 mask: bit mask to select which lines to check for: 31 assert 'log %d' % i == lines.next() 33 assert '_log %d' % i == lines.next() 41 iterator containing the lines output from the command 47 lines = iter(split) 48 assert 'test %d' % testnum == lines.next() 49 return lines 52 lines = run_test(0) [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/lib/devtool/ |
| H A D | deploy.py | 33 lines = [] 34 lines.append('#!/bin/sh') 35 lines.append('set -e') 38 lines.append('for entry in %s/*.list; do' % deploylist_path) 39 lines.append('[ ! -f $entry ] && exit') 40 lines.append('set `basename $entry | sed "s/.list//"`') 43 lines.append('echo "Previously deployed files for $1:"') 44 lines.append('manifest="%s/$1.list"' % deploylist_path) 45 lines.append('preservedir="%s/$1.preserve"' % deploylist_path) 46 lines.append('if [ -f $manifest ] ; then') [all …]
|
| /OK3568_Linux_fs/u-boot/tools/patman/ |
| H A D | func_test.py | 161 lines = out[0].splitlines() 162 #print '\n'.join(lines) 163 self.assertEqual('Cleaned %s patches' % len(series.commits), lines[0]) 164 self.assertEqual('Change log missing for v2', lines[1]) 165 self.assertEqual('Change log missing for v3', lines[2]) 166 self.assertEqual('Change log for unknown version v4', lines[3]) 167 self.assertEqual("Alias 'pci' not found", lines[4]) 168 self.assertIn('Dry run', lines[5]) 169 self.assertIn('Send a total of %d patches' % count, lines[7]) 172 self.assertEqual(' %s' % args[i], lines[line + 0]) [all …]
|
| /OK3568_Linux_fs/kernel/tools/gpio/ |
| H A D | gpio-utils.c | 27 * ioctl, including request and release for lines of gpio, read/write 29 * lines of gpio, user should use this type of api. 32 * following api will request gpio lines, do the operation and then 33 * release these lines. 36 * gpiotools_request_linehandle() - request gpio lines in a gpiochip 39 * @lines: An array desired lines, specified by offset 41 * @num_lines: The number of lines to request. 50 * Request gpio lines through the ioctl provided by chardev. User 53 * gpiotools_release_linehandle() to release these lines after that. 58 int gpiotools_request_linehandle(const char *device_name, unsigned int *lines, in gpiotools_request_linehandle() argument [all …]
|
| H A D | gpio-hammer.c | 3 * gpio-hammer - example swiss army knife to shake GPIO lines on a system 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() 55 fprintf(stdout, "Hammer lines ["); in hammer_device() 57 fprintf(stdout, "%d", lines[i]); in hammer_device() 72 /* Invert all lines so we blink */ in hammer_device() 92 fprintf(stdout, "%d: %d", lines[i], in hammer_device() 116 "Hammer GPIO lines, 0->1->0->1...\n" in print_usage() 130 unsigned int lines[GPIOHANDLES_MAX]; in main() local 152 lines[i] = strtoul(optarg, NULL, 10); in main() [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/ |
| H A D | unpack_bootimg | 81 lines = [] 82 lines.append(f'boot magic: {self.boot_magic}') 85 lines.append(f'kernel_size: {self.kernel_size}') 86 lines.append( 88 lines.append(f'ramdisk size: {self.ramdisk_size}') 89 lines.append( 91 lines.append(f'second bootloader size: {self.second_size}') 92 lines.append( 95 lines.append( 97 lines.append(f'page size: {self.page_size}') [all …]
|
| /OK3568_Linux_fs/kernel/scripts/ |
| H A D | unpack_bootimg | 85 lines = [] 86 lines.append(f'boot magic: {self.boot_magic}') 89 lines.append(f'kernel_size: {self.kernel_size}') 90 lines.append( 92 lines.append(f'ramdisk size: {self.ramdisk_size}') 93 lines.append( 95 lines.append(f'second bootloader size: {self.second_size}') 96 lines.append( 99 lines.append( 101 lines.append(f'page size: {self.page_size}') [all …]
|
| /OK3568_Linux_fs/u-boot/tools/buildman/ |
| H A D | test.py | 194 lines = terminal.GetPrintTestLines() 196 for line in lines: 206 lines = terminal.GetPrintTestLines() 207 self.assertEqual(lines[0].text, '01: %s' % commits[0][1]) 208 self.assertEqual(lines[1].text, '02: %s' % commits[1][1]) 212 self.assertSummary(lines[2].text, 'sandbox', '+', ['board4']) 213 self.assertSummary(lines[3].text, 'arm', '+', ['board1']) 214 self.assertSummary(lines[4].text, 'powerpc', '+', ['board2', 'board3']) 217 self.assertEqual(lines[5].text, 'w+%s' % 219 self.assertEqual(lines[5].colour, col.MAGENTA) [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/share/doc/gdb/ |
| H A D | List.html | 70 <a name="Printing-Source-Lines"></a> 71 <h3 class="section">9.1 Printing Source Lines</h3> 75 <p>To print lines from a source file, use the <code>list</code> command 76 (abbreviated <code>l</code>). By default, ten lines are printed. 84 <dd><p>Print lines centered around line number <var>linenum</var> in the 89 <dd><p>Print lines centered around the beginning of function 94 <dd><p>Print more lines. If the last lines printed were printed with a 95 <code>list</code> command, this prints lines following the last lines 98 Stack</a>), this prints lines centered around that line. 102 <dd><p>Print lines just before the lines last printed. [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/share/doc/gdb/ |
| H A D | List.html | 70 <a name="Printing-Source-Lines"></a> 71 <h3 class="section">9.1 Printing Source Lines</h3> 75 <p>To print lines from a source file, use the <code>list</code> command 76 (abbreviated <code>l</code>). By default, ten lines are printed. 84 <dd><p>Print lines centered around line number <var>linenum</var> in the 89 <dd><p>Print lines centered around the beginning of function 94 <dd><p>Print more lines. If the last lines printed were printed with a 95 <code>list</code> command, this prints lines following the last lines 98 Stack</a>), this prints lines centered around that line. 102 <dd><p>Print lines just before the lines last printed. [all …]
|
| /OK3568_Linux_fs/buildroot/utils/ |
| H A D | scanpypi | 332 # get rid of commented lines and also strip the package strings 362 Create the lines refering to the download information of the 365 lines = [] 369 lines.append(version_line) 378 lines.append(targz_line) 388 lines.append(site_line) 389 return lines 403 lines = [] 407 lines.append(setup_type_line) 408 return lines [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/linux/ |
| H A D | gpio.h | 30 * @lines: number of GPIO lines on this chip 35 __u32 lines; member 39 * Maximum number of requested lines. 84 * struct gpio_v2_line_values - Values of GPIO lines 85 * @bits: a bitmap containing the value of the lines, set to 1 for active 87 * @mask: a bitmap identifying the lines to get or set, with each bit 119 * containing the values to which the lines will be set, with each bit 137 * associated with one or more of the requested lines. 139 * @mask: a bitmap identifying the lines to which the attribute applies, 149 * struct gpio_v2_line_config - Configuration for GPIO lines [all …]
|
| /OK3568_Linux_fs/buildroot/support/testing/tests/core/ |
| H A D | test_post_scripts.py | 22 lines = {} 26 lines[row[0]] = row[1] 28 self.assertEqual(lines["arg1"], what) 29 self.assertEqual(lines["arg2"], "foobar") 30 self.assertEqual(lines["arg3"], "baz") 31 self.assertEqual(lines["TARGET_DIR"], target_dir) 32 self.assertEqual(lines["BUILD_DIR"], os.path.join(self.builddir, "build")) 33 self.assertEqual(lines["HOST_DIR"], os.path.join(self.builddir, "host")) 35 self.assertEqual(lines["STAGING_DIR"], staging) 36 self.assertEqual(lines["BINARIES_DIR"], os.path.join(self.builddir, "images")) [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86gtf.c | 74 #define V_SYNC_RQD 3 /* width of vsync in lines */ 142 /* 2. If interlace is requested, the number of vertical lines assumed in xf86GTFMode() 144 * the number of vertical lines per field. In either case, the in xf86GTFMode() 145 * number of lines is rounded to the nearest integer. in xf86GTFMode() 147 * [V LINES RND] = IF([INT RQD?]="y", ROUND([V LINES]/2,0), in xf86GTFMode() 148 * ROUND([V LINES],0)) in xf86GTFMode() 162 /* 4. Find number of lines in Top margin: in xf86GTFMode() 164 * [TOP MARGIN (LINES)] = IF([MARGINS RQD?]="Y", in xf86GTFMode() 165 * ROUND(([MARGIN%]/100*[V LINES RND]),0), in xf86GTFMode() 171 /* 5. Find number of lines in Bottom margin: in xf86GTFMode() [all …]
|
| /OK3568_Linux_fs/kernel/include/asm-generic/ |
| H A D | xor.h | 13 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_2() local 26 } while (--lines > 0); in xor_8regs_2() 33 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_3() local 47 } while (--lines > 0); in xor_8regs_3() 54 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_4() local 69 } while (--lines > 0); in xor_8regs_4() 76 long lines = bytes / (sizeof (long)) / 8; in xor_8regs_5() local 92 } while (--lines > 0); in xor_8regs_5() 98 long lines = bytes / (sizeof (long)) / 8; in xor_32regs_2() local 128 } while (--lines > 0); in xor_32regs_2() [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta-poky/classes/ |
| H A D | poky-sanity.bbclass | 13 lines = [] 16 lines = sanity_conf_read(fn) 17 index, meta_yocto_line = sanity_conf_find_line(r'^meta-yocto/', lines) 19 lines[index] = meta_yocto_line.replace('meta-yocto', 'meta-poky') 21 f.write(''.join(lines)) 29 lines = sanity_conf_read(bblayers_fn) 33 #sanity_conf_update(bblayers_fn, lines, 'POKY_BBLAYERS_CONF_VERSION', current_version) 34 index, line = sanity_conf_find_line(r'^POKY_BBLAYERS_CONF_VERSION', lines) 35 lines[index] = 'POKY_BBLAYERS_CONF_VERSION = "%d"\n' % current_version 37 f.write(''.join(lines))
|
| /OK3568_Linux_fs/kernel/tools/vm/ |
| 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 118 '$i Memory usage' with lines," 120 '$i Loss' with lines," 144 local lines 150 let lines=3 [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/ |
| H A D | gpio.h | 22 * @lines: number of GPIO lines on this chip 27 __u32 lines; member 68 * @lineoffsets: an array of desired lines, specified by offset index for the 70 * @flags: desired flags for the desired GPIO lines, such as 72 * together. Note that even if multiple lines are requested, the same flags 73 * must be applicable to all of them, if you want lines with individual 75 * a batch of input or output lines, but they must all have the same 82 * @lines: number of lines requested in this request, i.e. the number of 93 __u32 lines; member 99 * @values: when getting the state of lines this contains the current [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/ |
| H A D | gpio.h | 22 * @lines: number of GPIO lines on this chip 27 __u32 lines; member 68 * @lineoffsets: an array of desired lines, specified by offset index for the 70 * @flags: desired flags for the desired GPIO lines, such as 72 * together. Note that even if multiple lines are requested, the same flags 73 * must be applicable to all of them, if you want lines with individual 75 * a batch of input or output lines, but they must all have the same 82 * @lines: number of lines requested in this request, i.e. the number of 93 __u32 lines; member 99 * @values: when getting the state of lines this contains the current [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/utils/gtf/ |
| H A D | gtf.c | 118 #define V_SYNC_RQD 3 /* width of vsync in lines */ 244 m->vfl - m->vse, /* upper margin (in pixel lines) */ in print_fb_mode() 245 m->vss - m->vr, /* lower margin (in pixel lines) */ in print_fb_mode() 247 m->vse - m->vss); /* vert sync length (pixel lines) */ in print_fb_mode() 311 /* 2. If interlace is requested, the number of vertical lines assumed in vert_refresh() 313 * the number of vertical lines per field. In either case, the in vert_refresh() 314 * number of lines is rounded to the nearest integer. in vert_refresh() 316 * [V LINES RND] = IF([INT RQD?]="y", ROUND([V LINES]/2,0), in vert_refresh() 317 * ROUND([V LINES],0)) in vert_refresh() 323 print_value(2, "[V LINES RND]", v_lines_rnd); in vert_refresh() [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/ |
| H A D | parsing.py | 275 by zero or more lines of data for that point in time.""" 277 lines = block.split('\n') 278 if not lines: 279 raise ParseError('expected a timed-block consisting a timestamp followed by data lines') 281 return (int(lines[0]), lines[1:]) 283 … raise ParseError("expected a timed-block, but timestamp '%s' is not an integer" % lines[0]) 298 for time, lines in timed_blocks: 299 for line in lines: 347 for time, lines in timed_blocks: 354 for line in lines: [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/ |
| H A D | qcom,q6afe.txt | 48 - qcom,sd-lines 51 Definition: Must be list of serial data lines used by this dai. 52 should be one or more of the 0-3 sd lines. 158 qcom,sd-lines = <0 2>; 163 qcom,sd-lines = <1>; 168 qcom,sd-lines = <0 3>; 173 qcom,sd-lines = <1>; 178 qcom,sd-lines = <1 3>; 183 qcom,sd-lines = <0>; 188 qcom,sd-lines = <0>; [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | srccode.c | 3 * Manage printing of source lines 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() 137 h->lines = calloc(h->numlines, sizeof(char *)); in find_srcfile() 138 if (!h->lines) in find_srcfile() 140 fill_lines(h->lines, h->numlines, h->map, h->maplen); in find_srcfile() [all …]
|