/u-boot/arch/microblaze/include/asm/ |
A D | bitops.h | 107 int mask, retval; in test_and_set_bit() local 118 return retval; in test_and_set_bit() 123 int mask, retval; in __test_and_set_bit() local 130 return retval; in __test_and_set_bit() 135 int mask, retval; in test_and_clear_bit() local 146 return retval; in test_and_clear_bit() 158 return retval; in __test_and_clear_bit() 174 return retval; in test_and_change_bit() 186 return retval; in __test_and_change_bit() 273 return retval; in ext2_set_bit() [all …]
|
/u-boot/arch/sh/include/asm/ |
A D | system.h | 75 unsigned long retval; in tas() local 80 return retval; in tas() 152 unsigned long flags, retval; in xchg_u32() local 155 retval = *m; in xchg_u32() 158 return retval; in xchg_u32() 166 retval = *m; in xchg_u8() 169 return retval; in xchg_u8() 200 __u32 retval; in __cmpxchg_u32() local 204 retval = *m; in __cmpxchg_u32() 205 if (retval == old) in __cmpxchg_u32() [all …]
|
A D | bitops.h | 60 int mask, retval; in test_and_set_bit() local 67 retval = (mask & *a) != 0; in test_and_set_bit() 71 return retval; in test_and_set_bit() 76 int mask, retval; in test_and_clear_bit() local 83 retval = (mask & *a) != 0; in test_and_clear_bit() 87 return retval; in test_and_clear_bit() 92 int mask, retval; in test_and_change_bit() local 99 retval = (mask & *a) != 0; in test_and_change_bit() 103 return retval; in test_and_change_bit()
|
/u-boot/arch/mips/include/asm/ |
A D | bitops.h | 209 return retval; in __test_and_set_bit() 261 return retval; in __test_and_clear_bit() 312 return retval; in __test_and_change_bit() 441 return retval; in test_and_set_bit() 463 return retval; in __test_and_set_bit() 487 return retval; in test_and_clear_bit() 509 return retval; in __test_and_clear_bit() 533 return retval; in test_and_change_bit() 555 return retval; in __test_and_change_bit() 801 return retval; in ext2_set_bit() [all …]
|
/u-boot/fs/yaffs2/ |
A D | yaffs_mtdif2.c | 48 int retval = 0; in nandmtd2_write_chunk_tags() local 89 if (retval == 0) in nandmtd2_write_chunk_tags() 102 int retval = 0; in nandmtd2_read_chunk_tags() local 167 if (retval == 0) in nandmtd2_read_chunk_tags() 177 int retval; in nandmtd2_MarkNANDBlockBad() local 182 retval = in nandmtd2_MarkNANDBlockBad() 187 if (retval == 0) in nandmtd2_MarkNANDBlockBad() 198 int retval; in nandmtd2_QueryNANDBlock() local 201 retval = in nandmtd2_QueryNANDBlock() 206 if (retval) { in nandmtd2_QueryNANDBlock() [all …]
|
A D | yaffs_mtdif.c | 68 int retval = 0; in nandmtd_WriteChunkToNAND() local 73 retval = mtd_write(mtd, addr, dev->data_bytes_per_chunk, in nandmtd_WriteChunkToNAND() 88 retval = mtd_write_oob(mtd, addr, &ops); in nandmtd_WriteChunkToNAND() 91 if (retval == 0) in nandmtd_WriteChunkToNAND() 103 int retval = 0; in nandmtd_ReadChunkFromNAND() local 109 retval = mtd_read(mtd, addr, dev->data_bytes_per_chunk, in nandmtd_ReadChunkFromNAND() 123 retval = mtd_read_oob(mtd, addr, &ops); in nandmtd_ReadChunkFromNAND() 128 if (retval == 0) in nandmtd_ReadChunkFromNAND() 141 int retval = 0; in nandmtd_EraseBlockInNAND() local 154 retval = mtd_erase(mtd, &ei); in nandmtd_EraseBlockInNAND() [all …]
|
A D | yaffs_uboot_glue.c | 337 int retval = yaffs_mount(mp); in cmd_yaffs_mount() local 338 if (retval < 0) in cmd_yaffs_mount() 436 if (retval < 0) in cmd_yaffs_mkdir() 438 retval, yaffs_error_str()); in cmd_yaffs_mkdir() 443 int retval = yaffs_rmdir(dir); in cmd_yaffs_rmdir() local 445 if (retval < 0) in cmd_yaffs_rmdir() 447 retval, yaffs_error_str()); in cmd_yaffs_rmdir() 454 if (retval < 0) in cmd_yaffs_rm() 456 retval, yaffs_error_str()); in cmd_yaffs_rm() 463 if (retval < 0) in cmd_yaffs_mv() [all …]
|
/u-boot/env/ |
A D | attr.c | 95 int retval = 0; in env_attr_walk() local 98 if (retval) { in env_attr_walk() 100 return retval; in env_attr_walk() 121 int retval = 0; in regex_callback() local 135 retval = -EINVAL; in regex_callback() 142 retval = -ENOMEM; in regex_callback() 151 retval = -ENOMEM; in regex_callback() 159 retval = -EINVAL; in regex_callback() 162 return retval; in regex_callback() 179 int retval; in env_attr_lookup() local [all …]
|
/u-boot/arch/riscv/include/asm/ |
A D | bitops.h | 71 int mask, retval; in __test_and_set_bit() local 76 retval = (mask & *a) != 0; in __test_and_set_bit() 78 return retval; in __test_and_set_bit() 83 int mask, retval; in __test_and_clear_bit() local 88 retval = (mask & *a) != 0; in __test_and_clear_bit() 90 return retval; in __test_and_clear_bit() 95 int mask, retval; in __test_and_change_bit() local 100 retval = (mask & *a) != 0; in __test_and_change_bit() 102 return retval; in __test_and_change_bit()
|
/u-boot/drivers/usb/gadget/ |
A D | rndis.c | 190 retval = 0; in gen_ndis_query_resp() 204 retval = 0; in gen_ndis_query_resp() 211 retval = 0; in gen_ndis_query_resp() 219 retval = 0; in gen_ndis_query_resp() 240 retval = 0; in gen_ndis_query_resp() 265 retval = 0; in gen_ndis_query_resp() 273 retval = 0; in gen_ndis_query_resp() 280 retval = 0; in gen_ndis_query_resp() 287 retval = 0; in gen_ndis_query_resp() 294 retval = 0; in gen_ndis_query_resp() [all …]
|
/u-boot/drivers/power/ |
A D | tps6586x.c | 38 int retval = -1; in tps6586x_read() local 42 retval = (int)data; in tps6586x_read() 51 debug("pmu_read %x=%x\n", reg, retval); in tps6586x_read() 52 if (retval < 0) in tps6586x_read() 54 retval); in tps6586x_read() 55 return retval; in tps6586x_read() 61 int retval = -1; in tps6586x_write() local 65 retval = 0; in tps6586x_write() 74 debug("pmu_write %x=%x: ", reg, retval); in tps6586x_write() 77 if (retval) in tps6586x_write() [all …]
|
/u-boot/tools/ |
A D | dumpimage.c | 33 int retval = -1; in dumpimage_extract_subimage() local 36 retval = tparams->verify_header((unsigned char *)ptr, in dumpimage_extract_subimage() 38 if (retval != 0) { in dumpimage_extract_subimage() 49 retval = tparams->extract_subimage(ptr, ¶ms); in dumpimage_extract_subimage() 50 if (retval != 0) { in dumpimage_extract_subimage() 63 return retval; in dumpimage_extract_subimage() 72 int retval = EXIT_SUCCESS; in main() local 185 retval = dumpimage_extract_subimage(tparams, ptr, &sbuf); in main() 186 if (retval) in main() 194 retval = imagetool_verify_print_header(ptr, &sbuf, tparams, in main() [all …]
|
A D | imagetool.c | 35 int retval = -1; in imagetool_verify_print_header() local 44 retval = (*curr)->verify_header((unsigned char *)ptr, in imagetool_verify_print_header() 47 if (retval == 0) { in imagetool_verify_print_header() 65 return retval; in imagetool_verify_print_header() 74 int retval; in imagetool_verify_print_header_by_type() local 76 retval = tparams->verify_header((unsigned char *)ptr, sbuf->st_size, in imagetool_verify_print_header_by_type() 79 if (retval == 0) { in imagetool_verify_print_header_by_type() 94 params->cmdname, tparams->name, retval); in imagetool_verify_print_header_by_type() 97 return retval; in imagetool_verify_print_header_by_type()
|
/u-boot/arch/nds32/include/asm/ |
A D | bitops.h | 82 int mask, retval; in __test_and_set_bit() local 87 retval = (mask & *a) != 0; in __test_and_set_bit() 89 return retval; in __test_and_set_bit() 96 int mask, retval; in __test_and_clear_bit() local 101 retval = (mask & *a) != 0; in __test_and_clear_bit() 103 return retval; in __test_and_clear_bit() 110 int mask, retval; in __test_and_change_bit() local 115 retval = (mask & *a) != 0; in __test_and_change_bit() 117 return retval; in __test_and_change_bit()
|
/u-boot/board/astro/mcf5373l/ |
A D | mcf5373l.c | 181 int retval = 0; in misc_init_r() local 184 retval = astro5373l_xilinx_load(); in misc_init_r() 185 if (!retval) { in misc_init_r() 187 return retval; in misc_init_r() 192 retval = astro5373l_altera_load(); in misc_init_r() 193 if (!retval) { in misc_init_r() 195 return retval; in misc_init_r() 199 return retval; in misc_init_r()
|
/u-boot/scripts/coccinelle/net/ |
A D | mdio_register.cocci | 15 + int retval; 23 + retval = mdio_register(mdiodev); 24 + if (retval < 0) return retval; 73 + int retval = E; 74 + if (retval < 0) 75 + return retval;
|
/u-boot/arch/sandbox/cpu/ |
A D | eth-raw-os.c | 198 int retval; in sandbox_eth_raw_os_send() local 242 retval = bind(priv->local_bind_sd, (struct sockaddr *)&addr, in sandbox_eth_raw_os_send() 244 if (retval < 0) in sandbox_eth_raw_os_send() 249 retval = sendto(priv->sd, packet, length, 0, in sandbox_eth_raw_os_send() 252 if (retval < 0) { in sandbox_eth_raw_os_send() 257 return retval; in sandbox_eth_raw_os_send() 263 int retval; in sandbox_eth_raw_os_recv() local 269 retval = recvfrom(priv->sd, packet, 1536, 0, in sandbox_eth_raw_os_recv() 273 if (retval >= 0) { in sandbox_eth_raw_os_recv() 274 *length = retval; in sandbox_eth_raw_os_recv()
|
/u-boot/cmd/ |
A D | time.c | 31 int retval = 0; in do_time() local 37 retval = cmd_process(0, argc - 1, argv + 1, &repeatable, &cycles); in do_time() 40 return retval; in do_time()
|
/u-boot/arch/m68k/include/asm/ |
A D | bitops.h | 32 char retval; in test_and_set_bit() local 36 : "=d" (retval), "=m" (*p) in test_and_set_bit() 39 return retval; in test_and_set_bit()
|
/u-boot/arch/x86/lib/ |
A D | bios_interrupts.c | 106 int retval = 1; in int1a_handler() local 130 retval = 1; in int1a_handler() 152 retval = 1; in int1a_handler() 156 retval = 0; in int1a_handler() 208 retval = 1; in int1a_handler() 214 retval = 0; in int1a_handler() 218 return retval; in int1a_handler()
|
/u-boot/lib/ |
A D | hashtable.c | 226 *retval = NULL; in hmatch_r() 261 *retval = NULL; in _compare_and_overwrite_entry() 271 *retval = NULL; in _compare_and_overwrite_entry() 279 *retval = NULL; in _compare_and_overwrite_entry() 379 *retval = NULL; in hsearch_r() 396 *retval = NULL; in hsearch_r() 414 *retval = NULL; in hsearch_r() 425 *retval = NULL; in hsearch_r() 435 *retval = NULL; in hsearch_r() 1004 int retval; in hwalk_r() local [all …]
|
/u-boot/drivers/rng/ |
A D | rockchip_rng.c | 82 int retval; in rk_v1_rng_read() local 94 retval = readl_poll_timeout(pdata->base + CRYPTO_V1_CTRL, reg, in rk_v1_rng_read() 97 if (retval) in rk_v1_rng_read() 113 int retval; in rk_v2_rng_read() local 128 retval = readl_poll_timeout(pdata->base + CRYPTO_V2_RNG_CTL, reg, in rk_v2_rng_read() 131 if (retval) in rk_v2_rng_read() 140 return retval; in rk_v2_rng_read()
|
/u-boot/post/cpu/mpc83xx/ |
A D | ecc.c | 52 u32 pattern[2], writeback[2], retval[2]; in ecc_post_test() local 110 ppcDWload((u32*)addr, retval); in ecc_post_test() 125 retval[0], retval[1]); in ecc_post_test()
|
/u-boot/tools/env/ |
A D | fw_env_main.c | 211 int retval = EXIT_SUCCESS; in main() local 267 retval = EXIT_FAILURE; in main() 271 retval = EXIT_FAILURE; in main() 274 retval = EXIT_FAILURE; in main() 283 return retval; in main()
|
/u-boot/drivers/net/phy/ |
A D | mscc.c | 1115 int retval; in mscc_startup() local 1119 if (retval) in mscc_startup() 1120 return retval; in mscc_startup() 1151 return retval; in mscc_phy_soft_reset() 1229 int retval; in vsc8531_vsc8541_clkout_config() local 1233 if (!retval) in vsc8531_vsc8541_clkout_config() 1316 return retval; in vsc8531_config() 1332 return retval; in vsc8531_config() 1351 return retval; in vsc8531_config() 1390 return retval; in vsc8541_config() [all …]
|