/u-boot/arch/arm/mach-snapdragon/ |
H A D | board.c | 79 struct arm_smccc_res res; local 81 arm_smccc_smc(ARM_PSCI_0_2_FN_PSCI_VERSION, 0, 0, 0, 0, 0, 0, 0, &res); 84 PSCI_VERSION_MAJOR(res.a0), 85 PSCI_VERSION_MINOR(res.a0)); 363 static struct fdt_resource res[N_RESERVED_REGIONS] = { 0 }; local 398 res[i].start = fdt32_to_cpu(ptr[1]); 399 res[i].end = res[i].start + fdt32_to_cpu(ptr[3]); 406 qsort(res, count, sizeof(struct fdt_resource), fdt_cmp_res); 412 start = ALIGN_DOWN(res[ [all...] |
/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 175 int res, ret = 0, i, j, act = 0; local 199 res = mtd_read(mtd, from, len, &retlen, buf); 200 if (res < 0) { 201 if (mtd_is_eccerr(res)) { 204 return res; 205 } else if (mtd_is_bitflip(res)) { 208 ret = res; 211 return res; 268 int res = 0, i; local 274 res 319 int res, ret = 0; local 624 int i, res, chip = 0; local 841 int i, chips, writeops, create, chipsel, res, res2; local 1079 int len, res; local 1152 int len, res = 0; local 1338 int block, res; local [all...] |
H A D | denali_dt.c | 75 struct resource res; local 89 ret = dev_read_resource_byname(dev, "denali_reg", &res); 93 denali->reg = devm_ioremap(dev, res.start, resource_size(&res)); 95 ret = dev_read_resource_byname(dev, "nand_data", &res); 99 denali->host = devm_ioremap(dev, res.start, resource_size(&res));
|
/u-boot/include/dm/ |
H A D | devres.h | 19 typedef void (*dr_release_t)(struct udevice *dev, void *res); 20 typedef int (*dr_match_t)(struct udevice *dev, void *res, void *match_data); 62 * @res: Pointer to devres data to free 66 void devres_free(void *res); 71 * @res: Resource to register 73 * Register devres @res to @dev. @res should have been allocated 77 void devres_add(struct udevice *dev, void *res); 217 static inline void devres_free(void *res) argument 219 kfree(res); 222 devres_add(struct udevice *dev, void *res) argument [all...] |
/u-boot/tools/ |
H A D | vybridimage.c | 50 uint8_t res = 0; local 52 res |= ((bit6 ^ bit5 ^ bit3 ^ bit2) << 0); 53 res |= ((bit7 ^ bit5 ^ bit4 ^ bit2 ^ bit1) << 1); 54 res |= ((bit7 ^ bit6 ^ bit5 ^ bit1 ^ bit0) << 2); 55 res |= ((bit7 ^ bit4 ^ bit3 ^ bit0) << 3); 56 res |= ((bit6 ^ bit4 ^ bit3 ^ bit2 ^ bit1 ^ bit0) << 4); 58 return res;
|
H A D | ublimage.h | 80 unsigned char res[UBL_BLOCK_SIZE - 8 * 4]; member in struct:ubl_header
|
/u-boot/drivers/ram/stm32mp1/ |
H A D | stm32mp1_tests.c | 693 enum test_result res = TEST_PASSED; local 706 res = TEST_FAILED; 708 res = TEST_FAILED; 711 return res; 757 enum test_result res = TEST_PASSED; local 779 res = TEST_FAILED; 786 res = TEST_FAILED; 789 res = TEST_FAILED; 792 res = TEST_FAILED; 798 return res; 814 enum test_result res = TEST_PASSED; local 930 enum test_result res = TEST_PASSED, pattern_res; local 982 enum test_result res = TEST_PASSED; local 1017 enum test_result res = TEST_PASSED; local 1054 enum test_result res = TEST_PASSED; local 1088 enum test_result res = TEST_PASSED; local 1126 enum test_result res = TEST_PASSED; local 1168 enum test_result res = TEST_PASSED; local 1213 enum test_result res = TEST_PASSED; local 1355 enum test_result res = TEST_PASSED, result; local [all...] |
/u-boot/arch/x86/include/asm/ |
H A D | bitops.h | 270 int res; local 286 :"=d" (res), "=&c" (d0), "=&D" (d1), "=&a" (d2) 288 return res; 300 int set = 0, bit = offset & 31, res; local 320 res = find_first_zero_bit (p, size - 32 * (p - (unsigned long *) addr)); 321 return (offset + set + res);
|
/u-boot/board/ge/mx53ppd/ |
H A D | mx53ppd.c | 227 int res; local 231 res = read_i2c_vpd(&vpd, vpd_callback); 232 if (!res) 237 res = clock_1GHz(); 238 if (res != 0) 239 return res;
|
/u-boot/board/phytium/durian/ |
H A D | durian.c | 48 struct arm_smccc_res res; local 50 arm_smccc_smc(0x84000009, 0, 0, 0, 0, 0, 0, 0, &res); 51 debug("reset cpu error, %lx\n", res.a0);
|
/u-boot/board/freescale/common/ |
H A D | fsl_chain_of_trust.c | 98 int res; local 126 res = fsl_secboot_validate(hdr_addr, CONFIG_SPL_UBOOT_KEY_HASH, 129 if (res == 0)
|
/u-boot/arch/nios2/lib/ |
H A D | libgcc.c | 463 USItype res = 0; local 475 res |= bit; 481 return res; 488 SItype res; local 502 res = udivmodsi4 (a, b, 0); 505 res = -res; 507 return res; 522 SItype res; local 533 res 544 SItype res = 0; local [all...] |
/u-boot/include/linux/ |
H A D | arm-smccc.h | 112 * @res: result values via struct arm_smccc_1_2_regs 121 struct arm_smccc_1_2_regs *res); 147 struct arm_smccc_res *res)); 156 * @res: result values from registers 0 to 3 168 struct arm_smccc_res *res, struct arm_smccc_quirk *quirk); 173 * @res: result values from registers 0 to 3 185 struct arm_smccc_res *res, struct arm_smccc_quirk *quirk);
|
/u-boot/drivers/firmware/ |
H A D | psci.c | 54 struct arm_smccc_res res; local 63 arm_smccc_smc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); 65 arm_smccc_hvc(function_id, arg0, arg1, arg2, 0, 0, 0, 0, &res); 67 res.a0 = PSCI_RET_DISABLED; 68 return res.a0; 104 struct arm_smccc_res *res) 106 arm_smccc_hvc(a0, a1, a2, a3, a4, a5, a6, a7, res); 113 struct arm_smccc_res *res) 115 arm_smccc_smc(a0, a1, a2, a3, a4, a5, a6, a7, res); 100 smccc_invoke_hvc(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, unsigned long a4, unsigned long a5, unsigned long a6, unsigned long a7, struct arm_smccc_res *res) argument 109 smccc_invoke_smc(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, unsigned long a4, unsigned long a5, unsigned long a6, unsigned long a7, struct arm_smccc_res *res) argument
|
/u-boot/drivers/phy/marvell/ |
H A D | comphy_core.c | 88 int res; local 120 res = chip_cfg->comphy_init_map(node, chip_cfg); 121 if (res < 0) 122 return res;
|
/u-boot/drivers/mtd/nand/raw/brcmnand/ |
H A D | bcm6858_nand.c | 82 struct resource res; local 86 dev_read_resource_byname(pdev, "nand-int-base", &res); 87 priv->base = devm_ioremap(dev, res.start, resource_size(&res));
|
H A D | bcm6838_nand.c | 80 struct resource res; local 84 dev_read_resource_byname(pdev, "nand-int-base", &res); 85 priv->base = ioremap(res.start, resource_size(&res));
|
H A D | bcm68360_nand.c | 81 struct resource res; local 85 dev_read_resource_byname(pdev, "nand-int-base", &res); 86 priv->base = devm_ioremap(dev, res.start, resource_size(&res));
|
H A D | bcm6753_nand.c | 80 struct resource res; local 84 dev_read_resource_byname(pdev, "nand-int-base", &res); 85 priv->base = devm_ioremap(dev, res.start, resource_size(&res));
|
H A D | bcm63158_nand.c | 82 struct resource res; local 86 dev_read_resource_byname(pdev, "nand-int-base", &res); 87 priv->base = devm_ioremap(dev, res.start, resource_size(&res));
|
/u-boot/disk/ |
H A D | part_amiga.c | 142 ulong res = blk_dread(desc, i, 1, (ulong *)block_buffer); local 143 if (res == 1) 184 ulong res = blk_dread(desc, i, 1, (ulong *)block_buffer); local 185 if (res == 1) 260 ulong res = blk_dread(desc, block, 1, (ulong *)block_buffer); local 261 if (res == 1) 352 ulong res; local 356 res = blk_dread(desc, block, 1, (ulong *)block_buffer); 357 if (res == 1)
|
/u-boot/common/ |
H A D | xyzModem.c | 244 int res; local 248 res = CYGACC_COMM_IF_GETC_TIMEOUT (*xyz.__chan, &c); 249 if (!res) 258 int res; local 275 res = CYGACC_COMM_IF_GETC_TIMEOUT (*xyz.__chan, &c); 277 if (res) 327 res = CYGACC_COMM_IF_GETC_TIMEOUT (*xyz.__chan, (char *) &xyz.blk); 329 if (!res) 334 res = CYGACC_COMM_IF_GETC_TIMEOUT (*xyz.__chan, (char *) &xyz.cblk); 336 if (!res) [all...] |
/u-boot/drivers/misc/imx_ele/ |
H A D | fuse.c | 208 u32 res, size = 4; local 215 ret = ele_read_common_fuse(word_index, data, size, &res); 217 printf("ahab read fuse failed %d, 0x%x\n", ret, res); 261 u32 res, size = 1; local 264 ret = ele_read_common_fuse(word_index, &data, size, &res); 266 printf("ahab read fuse failed %d, 0x%x\n", ret, res); 286 u32 res; local 307 ret = ele_write_fuse((bank * 8 + word), val, lock, &res); 309 printf("ahab write fuse failed %d, 0x%x\n", ret, res);
|
/u-boot/drivers/tee/optee/ |
H A D | core.c | 486 struct arm_smccc_res res; local 493 param.a4, param.a5, param.a6, param.a7, &res); 502 if (OPTEE_SMC_RETURN_IS_RPC(res.a0)) { 503 param.a0 = res.a0; 504 param.a1 = res.a1; 505 param.a2 = res.a2; 506 param.a3 = res.a3; 516 return call_err_to_res(res.a0); 696 struct arm_smccc_res res; local 698 invoke_fn(OPTEE_SMC_CALLS_UID, 0, 0, 0, 0, 0, 0, 0, &res); 709 } res = { local 732 } res; local 745 } res; local 760 optee_smccc_smc(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, unsigned long a4, unsigned long a5, unsigned long a6, unsigned long a7, struct arm_smccc_res *res) argument 769 optee_smccc_hvc(unsigned long a0, unsigned long a1, unsigned long a2, unsigned long a3, unsigned long a4, unsigned long a5, unsigned long a6, unsigned long a7, struct arm_smccc_res *res) argument [all...] |
/u-boot/arch/mips/include/asm/ |
H A D | bitops.h | 173 unsigned long temp, res; local 183 : "=&r" (temp), "=m" (*m), "=&r" (res) 187 return res != 0; 224 unsigned long temp, res; local 235 : "=&r" (temp), "=m" (*m), "=&r" (res) 239 return res != 0; 276 unsigned long temp, res; local 286 : "=&r" (temp), "=m" (*m), "=&r" (res) 290 return res != 0; 590 int res; local 641 int set = 0, bit = offset & 31, res; local [all...] |