/tools/omap/ |
A D | clocks_get_m_n.c | 53 u32 m, n; in get_m_n_optimized() local 54 n = 1; in get_m_n_optimized() 59 freq = ref_freq_khz * 2 * m / n; in get_m_n_optimized() 71 n_optimal = n; in get_m_n_optimized() 73 n++; in get_m_n_optimized() 75 ((ref_freq_khz / n) < 1000)) { in get_m_n_optimized() 79 n--; in get_m_n_optimized() 89 u32 m, n; in main() local 91 get_m_n_optimized(2000000, 12000, &m, &n); in main() 92 get_m_n_optimized(2000000, 13000, &m, &n); in main() [all …]
|
/tools/ |
A D | getline.c | 28 if (!lineptr || !n || !stream) in getstr() 32 *n = MIN_CHUNK; in getstr() 33 *lineptr = malloc(*n); in getstr() 38 nchars_avail = *n - offset; in getstr() 50 if (*n > MIN_CHUNK) in getstr() 51 *n *= 2; in getstr() 53 *n += MIN_CHUNK; in getstr() 55 nchars_avail = *n + *lineptr - read_pos; in getstr() 56 *lineptr = realloc(*lineptr, *n); in getstr() 59 read_pos = *n - nchars_avail + *lineptr; in getstr() [all …]
|
A D | key2dtsi.py | 14 def int_to_bytestr(n, length=None): argument 16 length = (n.bit_length() + 7) // 8 17 byte_array = n.to_bytes(length, 'big') 42 r_squared = (2**key.size_in_bits())**2 % key.n 43 n0_inverse = 2**32 - inverse(key.n, 2**32) 52 out.write('\t\t\trsa,modulus = [{}];\n'.format(int_to_bytestr(key.n)))
|
A D | sunxi_toc0.c | 38 #define RSA_get0_n(key) (key)->n 119 uint8_t n[256]; member 269 BIGNUM *n, *e; in toc0_verify_key_item() local 281 n = BN_bin2bn(key_item->key0, n_len, NULL); in toc0_verify_key_item() 286 if (!RSA_set0_key(key0, n, e, NULL)) in toc0_verify_key_item() 317 if (!RSA_set0_key(key1, n, e, NULL)) in toc0_verify_key_item() 322 if (BN_cmp(n, RSA_get0_n(*fw_key)) || in toc0_verify_key_item() 370 if (BN_bn2binpad(RSA_get0_n(fw_key), publicKey->n, sizeof(publicKey->n)) < 0 || in toc0_create_cert_item() 425 BIGNUM *n, *e; in toc0_verify_cert_item() local 430 n = BN_bin2bn(publicKey->n, sizeof(publicKey->n), NULL); in toc0_verify_cert_item() [all …]
|
A D | asn1_compiler.c | 545 int n; in tokenise() 546 for (n = 0; n < nr_tokens; n++) in tokenise() 547 debug("Token %3u: '%s'\n", n, token_list[n].content); in tokenise() 749 unsigned nr, t, n; in build_type_list() local 752 for (n = 0; n < nr_tokens - 1; n++) in build_type_list() 754 token_list[n + 1].token_type == TOKEN_ASSIGNMENT) in build_type_list() 776 for (n = 0; n < nr_tokens - 1; n++) { in build_type_list() 779 types[t].name = &token_list[n]; in build_type_list() 784 types[t].name = &token_list[n + 1]; in build_type_list() 791 for (n = 0; n < nr_types; n++) { in build_type_list() [all …]
|
A D | getline.h | 1 int getline(char **lineptr, size_t *n, FILE *stream);
|
A D | omapimage.c | 22 #define DIV_ROUND_UP(n, d) (((n) + (d) - 1) / (d)) argument
|
A D | kwboot.c | 520 ssize_t n; in kwboot_tty_recv() local 545 n = read(fd, buf, len); in kwboot_tty_recv() 546 if (n < 0 && errno == EINTR) in kwboot_tty_recv() 548 else if (n <= 0) in kwboot_tty_recv() 551 buf = (char *)buf + n; in kwboot_tty_recv() 552 len -= n; in kwboot_tty_recv() 1149 size_t i, n; in kwboot_xm_makeblock() local 1156 memcpy(&block->data[0], data, n); in kwboot_xm_makeblock() 1157 memset(&block->data[n], 0, KWBOOT_XM_BLKSZ - n); in kwboot_xm_makeblock() 1160 for (i = 0; i < n; i++) in kwboot_xm_makeblock() [all …]
|
A D | bmp_logo.c | 38 static void skip_bytes(FILE *fp, int n) in skip_bytes() argument 40 while (n-- > 0) in skip_bytes()
|
A D | sunxi-spl-image-builder.c | 19 #define DIV_ROUND_UP(n,d) (((n) + (d) - 1) / (d)) argument
|
/tools/gdb/ |
A D | serial.c | 87 int n; in serialreadchar() local 98 if ((n = select(fd + 1, &fds, 0, 0, &tv)) < 0) in serialreadchar() 101 if (n == 0) in serialreadchar() 104 if ((n = read(fd, &ch, 1)) < 0) in serialreadchar() 107 if (n == 0) in serialreadchar() 116 int n; in serialwrite() local 119 n = write(fd, buf, len); in serialwrite() 120 if (n < 0) in serialwrite() 122 len -= n; in serialwrite() 123 buf += n; in serialwrite()
|
A D | remote.c | 86 fputstrn_unfiltered(char *s, int n, int x, FILE *fp) in fputstrn_unfiltered() argument 88 while (n-- > 0) in fputstrn_unfiltered()
|
/tools/binman/ |
A D | state.py | 339 n.AddZeroProp(prop) 352 for n in GetUpdateNodes(node): 353 subnode = n.AddSubnode(name) 365 for n in GetUpdateNodes(node): 366 n.AddString(prop, value) 375 for n in GetUpdateNodes(node): 376 n.AddInt(prop, value) 389 (n.GetFdt().name, n.path, prop, value)) 390 n.SetInt(prop, value) 403 n.AddEmptyProp('value', size) [all …]
|
/tools/dtoc/test/ |
A D | dtoc_test_simple.dts | 65 args = "-n first", "second", "-p", "123,456", "-x"; 67 args3 = "-n first second -p 123,456 -x";
|
/tools/binman/test/ |
A D | 229_mkimage_missing.dts | 11 args = "-n test -T script";
|
A D | 292_mkimage_missing_multiple.dts | 11 args = "-n test -T script";
|
A D | 156_mkimage.dts | 13 args = "-n test -T script";
|
A D | 290_mkimage_sym.dts | 14 args = "-n test -T script";
|
A D | dev.key | 23 n+9iqHgpuMXd0eukW62C1cexA13o4TPrYU36b5BmfKprdPlLVzo3fxTPfNjEVSFY
|
/tools/patman/test/ |
A D | 0002-fdt-Correct-cast-for-sandbox-in-fdtdec_setup_mem_siz.patch | 77 - debug("%s: Initial DRAM size %llx\n", __func__, (u64)gd->ram_size); 78 + debug("%s: Initial DRAM size %llx\n", __func__,
|
A D | 0001-pci-Correct-cast-for-sandbox.patch | 42 printf(" %d %#016llx %#016llx %d %s %s\n",
|
/tools/patman/ |
A D | patman.rst | 212 Series-version: n 310 Series-changes: n 324 Series-changes: n 329 Commit-changes: n 342 Cover-changes: n 350 Cover-changes: n 354 Commit-added-in: n 361 Cover-changes: n 518 patman -s1 send -n 525 patman send -n [all …]
|
A D | README.rst | 212 Series-version: n 310 Series-changes: n 324 Series-changes: n 329 Commit-changes: n 342 Cover-changes: n 350 Cover-changes: n 354 Commit-added-in: n 361 Cover-changes: n 518 patman -s1 send -n 525 patman send -n [all …]
|
/tools/dtoc/ |
A D | test_fdt | 315 [n.path for n in dst.subnodes]) 349 [n.name for n in chk.subnodes]) 367 [n.name for n in second.subnodes]) 427 [n.path for n in dst.subnodes])
|
A D | test_fdt.py | 315 [n.path for n in dst.subnodes]) 349 [n.name for n in chk.subnodes]) 367 [n.name for n in second.subnodes]) 427 [n.path for n in dst.subnodes])
|