Searched refs:res (Results 101 - 125 of 325) sorted by relevance

1234567891011>>

/u-boot/arch/arm/mach-snapdragon/
H A Dboard.c79 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 Dnand_bbt.c175 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 Ddenali_dt.c75 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 Ddevres.h19 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 Dvybridimage.c50 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 Dublimage.h80 unsigned char res[UBL_BLOCK_SIZE - 8 * 4]; member in struct:ubl_header
/u-boot/drivers/ram/stm32mp1/
H A Dstm32mp1_tests.c693 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 Dbitops.h270 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 Dmx53ppd.c227 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 Ddurian.c48 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 Dfsl_chain_of_trust.c98 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 Dlibgcc.c463 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 Darm-smccc.h112 * @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 Dpsci.c54 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 Dcomphy_core.c88 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 Dbcm6858_nand.c82 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 Dbcm6838_nand.c80 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 Dbcm68360_nand.c81 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 Dbcm6753_nand.c80 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 Dbcm63158_nand.c82 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 Dpart_amiga.c142 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 DxyzModem.c244 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 Dfuse.c208 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 Dcore.c486 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 Dbitops.h173 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...]

Completed in 132 milliseconds

1234567891011>>