/u-boot/drivers/i2c/ |
A D | imx_lpi2c.c | 41 return result; in imx_lpci2c_check_busy_bus() 72 return result; in imx_lpci2c_check_clear_error() 85 if (result) { in bus_i2c_wait_for_tx_ready() 95 return result; in bus_i2c_wait_for_tx_ready() 133 if (result) { in bus_i2c_receive() 172 if (result) { in bus_i2c_start() 244 if (result) in bus_i2c_read() 247 if (result) in bus_i2c_read() 258 if (result) in bus_i2c_write() 261 if (result) in bus_i2c_write() [all …]
|
/u-boot/arch/arm/mach-keystone/ |
A D | mon.c | 19 int result; in mon_install() local 30 : "=&r" (result) in mon_install() 33 return result; in mon_install() 38 int result; in mon_power_on() local 48 : "=&r" (result) in mon_power_on() 51 return result; in mon_power_on() 56 int result; in mon_power_off() local 68 return result; in mon_power_off() 90 int result; in k2_hs_bm_auth() local 103 return result; in k2_hs_bm_auth() [all …]
|
/u-boot/tools/buildman/ |
A D | builderthread.py | 152 result.return_code = 0 167 if result.already_done: 272 result.stderr = result.stderr.replace(src_dir + '/', '') 274 result.stdout = config_out + result.stdout 281 result.brd = brd 303 maybe_aborted = result.stderr and 'No child processes' in result.stderr 305 if result.already_done: 317 if result.stdout: 322 if result.stderr: 328 if result.toolchain: [all …]
|
/u-boot/drivers/ram/k3-j721e/ |
A D | lpddr4.c | 39 result = EIO; in lpddr4_pollctlirq() 46 return result; in lpddr4_pollctlirq() 77 return result; in lpddr4_pollphyindepirq() 92 result = in lpddr4_pollandackirq() 98 result = in lpddr4_pollandackirq() 104 result = in lpddr4_pollandackirq() 458 result = in lpddr4_setmmrregister() 492 result = in lpddr4_writectlconfig() 516 result = in lpddr4_writephyindepconfig() 541 result = in lpddr4_writephyconfig() [all …]
|
/u-boot/tools/patman/ |
A D | test_checkpatch.py | 299 self.assertEqual(result.ok, True) 301 self.assertEqual(result.errors, 0) 303 self.assertEqual(result.checks, 0) 304 self.assertEqual(result.lines, 62) 310 self.assertEqual(result.ok, False) 312 self.assertEqual(result.errors, 1) 314 self.assertEqual(result.checks, 0) 315 self.assertEqual(result.lines, 62) 359 result = pm.run_checkpatch() 364 if len(result.problems) != 1: [all …]
|
A D | checkpatch.py | 67 result.ok = False 68 result.errors, result.warnings, result.checks = 0, 0, 0 69 result.lines = 0 70 result.problems = [] 133 result.ok = True 136 result.ok = False 169 return result 196 if not result.ok: 201 result.warnings, result.checks, col.Color(col.BLUE, fname))) 202 if (len(result.problems) != result.errors + result.warnings + [all …]
|
A D | command.py | 73 if result: 74 return result 78 result = CommandResult(b'', b'', b'') 100 result.exception = err 103 result.return_code = 255 104 return result.ToOutput(binary) 107 result.stdout, result.stderr, result.combined = ( 109 if result.stdout and oneline: 110 result.output = result.stdout.rstrip(b'\r\n') 116 return result.ToOutput(binary) [all …]
|
A D | test_util.py | 122 result.testsRun -= 1 123 result.errors = errors 125 print(result) 126 for test, err in result.errors: 128 for test, err in result.failures: 129 print(err, result.failures) 130 if result.skipped: 135 if result.errors or result.failures: 161 suite.run(result) 191 concurrent_suite.run(result) [all …]
|
A D | gitutil.py | 72 if result.return_code: 113 if result.return_code: 184 if result.return_code: 235 if result.return_code != 0: 247 if result.return_code != 0: 263 if result.return_code != 0: 294 if result.return_code != 0: 305 if result.return_code != 0: 386 result = [] 388 if not item in result: [all …]
|
/u-boot/lib/ |
A D | strto.c | 43 result = result*base + value; in simple_strtoul() 50 return result; in simple_strtoul() 90 result *= 1024; in ustrtoul() 93 result *= 1024; in ustrtoul() 96 result *= 1024; in ustrtoul() 103 return result; in ustrtoul() 111 result *= 1024; in ustrtoull() 114 result *= 1024; in ustrtoull() 124 return result; in ustrtoull() 136 result = result * base + value; in simple_strtoull() [all …]
|
A D | ldiv.c | 14 ldiv_t result; in ldiv() local 16 result.quot = numer / denom; in ldiv() 17 result.rem = numer % denom; in ldiv() 35 if (numer >= 0 && result.rem < 0) in ldiv() 37 ++result.quot; in ldiv() 38 result.rem -= denom; in ldiv() 41 return result; in ldiv()
|
/u-boot/cmd/ |
A D | binop.c | 27 sprintf(str_ptr, "%02x", result[i]); in write_to_env_var() 52 memcpy(result, src, len); in read_from_mem() 63 memcpy(buf, result, len); in write_to_mem() 71 u8 *result, *src1, *src2; in do_binop() local 107 result = malloc(len); in do_binop() 112 result[i] = src1[i] ^ src2[i]; in do_binop() 116 result[i] = src1[i] | src2[i]; in do_binop() 120 result[i] = src1[i] & src2[i]; in do_binop() 126 printf("%02x ", result[i]); in do_binop() 140 write_to_env_var(destarg, result, len); in do_binop() [all …]
|
A D | tpm_test.c | 15 uint32_t result; \ 20 __LINE__, result); \ 21 return result; \ 37 return result == TPM_INVALID_POSTINIT ? TPM_SUCCESS : result; in TlclStartupIfNeeded() 50 uint32_t result; in tpm_get_flags() local 53 if (result) in tpm_get_flags() 54 return result; in tpm_get_flags() 77 uint32_t result; in tpm_is_owned() local 184 uint32_t result; in test_global_lock() local 386 if (result != 0 && result != TPM_INVALID_POSTINIT) in test_startup() [all …]
|
A D | tsi148.c | 40 int j, result; in tsi148_init() local 74 result = -1; in tsi148_init() 139 result = -1; in tsi148_pci_slave_window() 150 result = -1; in tsi148_pci_slave_window() 317 int result; in tsi148_vme_gcsr_window() local 320 result = 0; in tsi148_vme_gcsr_window() 323 result = 1; in tsi148_vme_gcsr_window() 341 int result; in tsi148_vme_crcsr_window() local 344 result = 0; in tsi148_vme_crcsr_window() 364 int result; in tsi148_vme_crg_window() local [all …]
|
/u-boot/net/ |
A D | cdp.c | 52 ulong result = 0; in cdp_compute_csum() local 59 result = *buff << 8; in cdp_compute_csum() 65 result += *p++; in cdp_compute_csum() 68 result = (result & 0xFFFF) + (result >> 16); in cdp_compute_csum() 78 result = (result & 0xffff0000) | in cdp_compute_csum() 81 while (result >> 16) in cdp_compute_csum() 82 result = (result & 0xFFFF) + (result >> 16); in cdp_compute_csum() 85 result = ((result >> 8) & 0xff) | in cdp_compute_csum() 90 result = (result & 0xffff) + (result >> 16); in cdp_compute_csum() 92 result = (result & 0xffff) + (result >> 16); in cdp_compute_csum() [all …]
|
/u-boot/arch/x86/include/asm/ |
A D | cpu.h | 73 struct cpuid_result result; in cpuid() local 79 : "=a" (result.eax), in cpuid() 80 "=S" (result.ebx), in cpuid() 81 "=c" (result.ecx), in cpuid() 82 "=d" (result.edx) in cpuid() 85 return result; in cpuid() 99 : "=a" (result.eax), in cpuid_ext() 100 "=S" (result.ebx), in cpuid_ext() 101 "=c" (result.ecx), in cpuid_ext() 102 "=d" (result.edx) in cpuid_ext() [all …]
|
/u-boot/arch/arm/mach-omap2/ |
A D | sec-common.c | 116 int result = 1; in secure_boot_verify_image() local 130 result = 1; in secure_boot_verify_image() 143 result = 1; in secure_boot_verify_image() 150 result = 1; in secure_boot_verify_image() 186 return result; in secure_boot_verify_image() 216 int result = 1; in secure_emif_firewall_setup() local 235 return result; in secure_emif_firewall_setup() 244 int result = 1; in secure_emif_reserve() local 267 return result; in secure_emif_reserve() 272 int result = 1; in secure_emif_firewall_lock() local [all …]
|
/u-boot/drivers/ddr/marvell/a38x/ |
A D | ddr3_training_db.c | 415 u32 result = 0; in mv_ddr_speed_bin_timing_get() local 441 result = 7500; in mv_ddr_speed_bin_timing_get() 443 result = 6000; in mv_ddr_speed_bin_timing_get() 445 result = 5000; in mv_ddr_speed_bin_timing_get() 451 result = 7500; in mv_ddr_speed_bin_timing_get() 453 result = 6000; in mv_ddr_speed_bin_timing_get() 457 result = 7500; in mv_ddr_speed_bin_timing_get() 486 result = 7500; in mv_ddr_speed_bin_timing_get() 489 result = 7500; in mv_ddr_speed_bin_timing_get() 501 result = 512; in mv_ddr_speed_bin_timing_get() [all …]
|
/u-boot/arch/arm/cpu/arm926ejs/armada100/ |
A D | dram.c | 43 u32 result = 0; in armd1_sdram_base() local 49 result = readl(&ddr_regs->mmap[chip_sel].cs) & 0xFF800000; in armd1_sdram_base() 50 return result; in armd1_sdram_base() 60 u32 result = 0; in armd1_sdram_size() local 66 result = readl(&ddr_regs->mmap[chip_sel].cs); in armd1_sdram_size() 67 result = (result >> 16) & 0xF; in armd1_sdram_size() 68 if (result < 0x7) { in armd1_sdram_size() 72 return ((0x8 << (result - 0x7)) * 1024 * 1024); in armd1_sdram_size()
|
/u-boot/drivers/net/octeontx2/ |
A D | lmt.h | 22 s64 result; in atomic_fetch_and_add64_nosync() local 25 : [r] "=r" (result), "+m" (*ptr) in atomic_fetch_and_add64_nosync() 28 return result; in atomic_fetch_and_add64_nosync() 44 s64 result = 0; in lmt_submit() local 47 : [rf] "=r"(result) : [rs] "r"(io_address)); in lmt_submit() 48 return result; in lmt_submit()
|
/u-boot/fs/yaffs2/ |
A D | yaffs_nand.c | 23 int result; in yaffs_rd_chunk_tags_nand() local 34 result = in yaffs_rd_chunk_tags_nand() 38 result = yaffs_tags_compat_rd(dev, in yaffs_rd_chunk_tags_nand() 48 return result; in yaffs_rd_chunk_tags_nand() 55 int result; in yaffs_wr_chunk_tags_nand() local 73 result = dev->param.write_chunk_tags_fn(dev, flash_chunk, in yaffs_wr_chunk_tags_nand() 76 result = yaffs_tags_compat_wr(dev, flash_chunk, buffer, tags); in yaffs_wr_chunk_tags_nand() 80 return result; in yaffs_wr_chunk_tags_nand() 107 int result; in yaffs_erase_block() local 111 result = dev->param.erase_fn(dev, flash_block); in yaffs_erase_block() [all …]
|
/u-boot/board/gdsys/a38x/ |
A D | keyprogram.c | 42 int decode_hexstr(char *hexstr, u8 **result) in decode_hexstr() argument 52 *result = (u8 *)malloc(bytes); in decode_hexstr() 64 (*result)[i / 2] = acc + val; in decode_hexstr() 66 free(*result); in decode_hexstr() 75 struct key_program **result) in extract_subprogram() argument 77 struct key_program *prog = *result; in extract_subprogram() 89 *result = malloc(sizeof(struct key_program) + code_size); in extract_subprogram() 91 if (!*result) in extract_subprogram() 111 struct key_program *result = NULL, *hmac = NULL; in parse_and_check_keyprog() local 115 if (extract_subprogram(&progdata, MAGIC_KEY_PROGRAM, &result)) in parse_and_check_keyprog() [all …]
|
/u-boot/board/gdsys/p1022/ |
A D | controlcenterd-id.c | 224 result = -1; in ccdm_mmc_read() 228 return result; in ccdm_mmc_read() 449 result = 1; in compute_second_stage_hash() 499 if (!result) in access_hreg() 829 if (!result) in load_sd_key_program() 873 if (result) in load_sd_key_program() 928 crc = crc32(0, result->code, result->code_size); in load_key_chunk() 989 result = 1; in first_stage_actions() 1126 result = 1; in second_stage_init() 1237 result = 1; [all …]
|
/u-boot/board/esd/vme8349/ |
A D | caddy.c | 23 void generate_answer(struct caddy_cmd *cmd, uint32_t status, uint32_t *result) in generate_answer() argument 33 memcpy(answer->par, result, 5 * sizeof(result[0])); in generate_answer() 45 uint32_t result[5]; in do_caddy() local 65 memset(result, 0, 5 * sizeof(result[0])); in do_caddy() 73 result[0] = in_8(pci_ptr); in do_caddy() 77 result[0] = in_be16(pci_ptr); in do_caddy() 81 result[0] = in_be32(pci_ptr); in do_caddy() 105 result[0] = data8; in do_caddy() 115 result[0] = data16; in do_caddy() 124 &result[0]); in do_caddy() [all …]
|
/u-boot/lib/rsa/ |
A D | rsa-mod-exp.c | 103 result[i - 1] = (uint32_t)acc_b; in montgomery_mul_add_step() 108 result[i - 1] = (uint32_t)acc_a; in montgomery_mul_add_step() 111 subtract_modulus(key, result); in montgomery_mul_add_step() 130 result[i] = 0; in montgomery_mul() 185 uint32_t *result, *ptr; in pow_mod() local 238 memcpy(result, acc, key->len * sizeof(result[0])); in pow_mod() 242 subtract_modulus(key, result); in pow_mod() 246 put_unaligned_be32(result[i], ptr); in pow_mod() 326 u32 *result, *ptr; in zynq_pow_mod() local 354 subtract_modulus(key, result); in zynq_pow_mod() [all …]
|