/u-boot/drivers/power/ |
A D | axp209.c | 35 int rc; in axp_set_dcdc2() local 43 if (rc) in axp_set_dcdc2() 57 if (rc) in axp_set_dcdc2() 67 int rc; in axp_set_dcdc3() local 74 if (rc) in axp_set_dcdc3() 82 int rc; in axp_set_aldo2() local 92 if (rc) in axp_set_aldo2() 97 if (rc) in axp_set_aldo2() 106 int rc; in axp_set_aldo3() local 123 if (rc) in axp_set_aldo3() [all …]
|
A D | axp152.c | 23 int rc; in axp_set_dcdc2() local 35 rc = pmic_bus_write(AXP152_DCDC2_VOLTAGE, current); in axp_set_dcdc2() 36 if (rc) in axp_set_dcdc2() 39 return rc; in axp_set_dcdc2() 66 int rc; in axp_init() local 68 rc = pmic_bus_init(); in axp_init() 69 if (rc) in axp_init() 70 return rc; in axp_init() 72 rc = pmic_bus_read(AXP152_CHIP_VERSION, &ver); in axp_init() 73 if (rc) in axp_init() [all …]
|
/u-boot/arch/arm/mach-omap2/am33xx/ |
A D | clk_synthesizer.c | 27 int rc; in clk_synthesizer_reg_read() local 35 if (rc) in clk_synthesizer_reg_read() 43 if (rc) in clk_synthesizer_reg_read() 80 if (rc) in clk_synthesizer_reg_write() 96 int rc; in setup_clock_synthesizer() local 101 if (rc) { in setup_clock_synthesizer() 108 if (rc) { in setup_clock_synthesizer() 121 if (rc) in setup_clock_synthesizer() 125 if (rc) in setup_clock_synthesizer() 129 if (rc) in setup_clock_synthesizer() [all …]
|
/u-boot/cmd/ |
A D | sata.c | 28 int rc; in sata_remove() local 41 if (rc) { in sata_remove() 43 rc); in sata_remove() 57 int rc; in sata_probe() local 60 if (rc) in sata_probe() 62 if (rc) { in sata_probe() 71 if (rc) { in sata_probe() 85 int rc = 0; in do_sata() local 98 if (rc) in do_sata() 109 if (rc) in do_sata() [all …]
|
A D | tpm-v1.c | 20 int rc; in do_tpm_startup() local 23 if (rc) in do_tpm_startup() 24 return rc; in do_tpm_startup() 46 int rc; in do_tpm_nv_define_space() local 49 if (rc) in do_tpm_nv_define_space() 69 if (rc) in do_tpm_nv_read_value() 96 if (rc) in do_tpm_nv_write_value() 122 if (rc) in do_tpm_extend() 150 if (rc) in do_tpm_pcr_read() 173 int rc; in do_tpm_tsc_physical_presence() local [all …]
|
A D | tpm-common.c | 264 rc = 0; in tpm_set_device() 271 if (!rc) in tpm_set_device() 274 return rc; in tpm_set_device() 279 int rc; in get_tpm() local 287 if (rc) { in get_tpm() 302 int rc; in do_tpm_device() local 308 if (rc) in do_tpm_device() 321 int rc; in do_tpm_info() local 324 if (rc) in do_tpm_info() 339 int rc; in do_tpm_init() local [all …]
|
A D | usb_mass_storage.c | 146 int rc; in do_usb_mass_storage() local 162 if (rc < 0) in do_usb_mass_storage() 169 rc = CMD_RET_FAILURE; in do_usb_mass_storage() 174 if (rc) { in do_usb_mass_storage() 176 rc = CMD_RET_FAILURE; in do_usb_mass_storage() 181 if (rc) { in do_usb_mass_storage() 183 rc = CMD_RET_FAILURE; in do_usb_mass_storage() 221 if (rc) { in do_usb_mass_storage() 223 if (rc == -EIO) in do_usb_mass_storage() 227 if (rc == -EPIPE) in do_usb_mass_storage() [all …]
|
A D | optee_rpmb.c | 23 int rc; in avb_ta_open_session() local 32 if (!rc) in avb_ta_open_session() 78 int rc = 0; in read_persistent_value() local 90 if (rc) in read_persistent_value() 95 if (rc) { in read_persistent_value() 112 if (rc) in read_persistent_value() 129 return rc; in read_persistent_value() 151 if (rc) in write_persistent_value() 156 if (rc) { in write_persistent_value() 174 if (rc) in write_persistent_value() [all …]
|
/u-boot/drivers/rtc/ |
A D | imxdi.c | 120 rc = -1; in di_write_wait() 123 return rc; in di_write_wait() 141 if (rc) in di_init() 147 if (rc) in di_init() 150 if (rc) in di_init() 156 if (rc) in di_init() 163 if (rc) in di_init() 170 if (rc) in di_init() 188 if (rc) in rtc_get() 202 int rc; in rtc_set() local [all …]
|
/u-boot/board/BuR/common/ |
A D | br_resetc.c | 61 int rc; in resetc_init() local 64 if (rc) { in resetc_init() 72 if (rc) { in resetc_init() 78 if (rc) in resetc_init() 81 return rc; in resetc_init() 86 int rc = 0; in br_resetc_regget() local 92 return rc; in br_resetc_regget() 99 int rc = 0; in br_resetc_regset() local 106 return rc; in br_resetc_regset() 116 int rc = 0; in br_resetc_bmode() local [all …]
|
/u-boot/drivers/tpm/ |
A D | tpm_tis_infineon.c | 76 int rc; in tpm_tis_i2c_read() local 88 if (rc) in tpm_tis_i2c_read() 119 if (rc) in tpm_tis_i2c_read() 152 if (rc) in tpm_tis_i2c_write_generic() 198 int rc; in tpm_tis_i2c_check_locality() local 232 int rc; in tpm_tis_i2c_request_locality() local 283 int rc; in tpm_tis_i2c_ready() local 290 if (rc) in tpm_tis_i2c_ready() 350 int rc; in tpm_tis_i2c_recv_data() local 378 int rc; in tpm_tis_i2c_recv() local [all …]
|
A D | tpm2_tis_sandbox.c | 233 recv += sizeof(rc); in sandbox_tpm2_fill_buf() 290 rc = TPM2_RC_SIZE; in sandbox_tpm2_xfer() 298 if (rc) { in sandbox_tpm2_xfer() 304 if (rc) { in sandbox_tpm2_xfer() 318 rc = TPM2_RC_VALUE; in sandbox_tpm2_xfer() 334 rc = TPM2_RC_VALUE; in sandbox_tpm2_xfer() 369 rc = TPM2_RC_SIZE; in sandbox_tpm2_xfer() 408 recv += sizeof(rc); in sandbox_tpm2_xfer() 457 rc = TPM2_RC_VALUE; in sandbox_tpm2_xfer() 465 rc = TPM2_RC_VALUE; in sandbox_tpm2_xfer() [all …]
|
/u-boot/test/dm/ |
A D | tee.c | 22 int rc; in open_session() local 27 if (rc) in open_session() 28 return rc; in open_session() 58 int rc; in invoke_func_rpc_test() local 66 if (rc) in invoke_func_rpc_test() 67 return rc; in invoke_func_rpc_test() 82 rc = -1; in invoke_func_rpc_test() 90 return rc; in invoke_func_rpc_test() 110 int rc; in test_tee() local 159 int rc; in test_tee_rpc() local [all …]
|
/u-boot/tools/ |
A D | kwboot.c | 163 rc = -1; in kwboot_tty_recv() 192 rc = 0; in kwboot_tty_recv() 200 int rc; in kwboot_tty_send() local 206 rc = -1; in kwboot_tty_send() 253 rc = -1; in kwboot_open_tty() 271 if (rc) in kwboot_open_tty() 274 rc = fd; in kwboot_open_tty() 287 int rc; in kwboot_bootmsg() local 323 int rc; in kwboot_debugmsg() local 535 rc = 0; in kwboot_terminal() [all …]
|
/u-boot/drivers/usb/eth/ |
A D | mcs7830.c | 167 int rc; in mcs7830_phy_emit_wait() local 201 int rc; in mcs7830_read_phy() local 228 int rc; in mcs7830_write_phy() local 258 int rc; in mcs7830_write_config() local 284 int rc; in mcs7830_write_mchash() local 308 int rc; in mcs7830_set_autoneg() local 349 int rc; in mcs7830_get_rev() local 409 int rc; in mcs7830_basic_reset() local 459 int rc; in mcs7830_read_mac() local 477 int rc; in mcs7830_write_mac_common() local [all …]
|
/u-boot/board/ti/common/ |
A D | board_detect.c | 35 int rc; in ti_i2c_eeprom_init() local 39 if (rc) in ti_i2c_eeprom_init() 90 int rc; in ti_i2c_eeprom_get() local 97 if (rc) in ti_i2c_eeprom_get() 100 if (rc) in ti_i2c_eeprom_get() 107 if (rc) in ti_i2c_eeprom_get() 111 if (rc) in ti_i2c_eeprom_get() 132 if (rc) in ti_i2c_eeprom_get() 139 if (rc) in ti_i2c_eeprom_get() 148 if (rc) in ti_i2c_eeprom_get() [all …]
|
/u-boot/board/freescale/mx7ulp_evk/ |
A D | mx7ulp_evk.c | 57 int rc, nodeoff; in ft_board_setup() local 73 rc = fdt_delprop(blob, nodeoff, "vqmmc-supply"); in ft_board_setup() 74 if (!rc) { in ft_board_setup() 77 rc = fdt_setprop(blob, nodeoff, in ft_board_setup() 79 if (rc == -FDT_ERR_NOSPACE) { in ft_board_setup() 80 rc = fdt_increase_size(blob, 32); in ft_board_setup() 81 if (!rc) in ft_board_setup() 83 } else if (rc) { in ft_board_setup() 84 printf("Failed to add no-1-8-v property, %d\n", rc); in ft_board_setup() 89 printf("Failed to remove vqmmc-supply property, %d\n", rc); in ft_board_setup()
|
/u-boot/arch/arm/cpu/armv7/bcm235xx/ |
A D | clk-eth.c | 44 int rc = -1; in clk_eth_enable() local 60 rc = -1; in clk_eth_enable() 64 rc = 0; in clk_eth_enable() 70 if (rc == -1) { in clk_eth_enable() 90 rc = -1; in clk_eth_enable() 95 rc = 0; in clk_eth_enable() 101 if (rc == -1) { in clk_eth_enable() 121 rc = -1; in clk_eth_enable() 127 rc = 0; in clk_eth_enable() 133 if (rc == -1) { in clk_eth_enable() [all …]
|
/u-boot/arch/arm/cpu/armv7/bcm281xx/ |
A D | clk-eth.c | 44 int rc = -1; in clk_eth_enable() local 60 rc = -1; in clk_eth_enable() 64 rc = 0; in clk_eth_enable() 70 if (rc == -1) { in clk_eth_enable() 90 rc = -1; in clk_eth_enable() 95 rc = 0; in clk_eth_enable() 101 if (rc == -1) { in clk_eth_enable() 121 rc = -1; in clk_eth_enable() 127 rc = 0; in clk_eth_enable() 133 if (rc == -1) { in clk_eth_enable() [all …]
|
/u-boot/drivers/net/fm/ |
A D | fdt.c | 22 int rc, fmnode, fwnode = -1; in fdt_fixup_fman_firmware() local 75 rc = fdt_increase_size(blob, length); in fdt_fixup_fman_firmware() 76 if (rc < 0) { in fdt_fixup_fman_firmware() 78 fdt_strerror(rc)); in fdt_fixup_fman_firmware() 93 if (rc < 0) { in fdt_fixup_fman_firmware() 97 fdt_strerror(rc)); in fdt_fixup_fman_firmware() 105 fdt_strerror(rc)); in fdt_fixup_fman_firmware() 109 if (rc < 0) { in fdt_fixup_fman_firmware() 113 fdt_strerror(rc)); in fdt_fixup_fman_firmware() 122 if (rc < 0) { in fdt_fixup_fman_firmware() [all …]
|
/u-boot/include/bedbug/ |
A D | ppc.h | 171 #define X_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x3ff) << 1) | \ argument 172 ((rc) & 0x1)) 203 ((rc) & 0x1)) 215 ((rc) & 0x1)) 227 ((rc) & 0x1)) 243 (((xo) & 0x1ff) << 1) | ((rc) & 0x1)) 257 #define A_OPCODE(i,xo,rc) (MAKE_OPCODE(i) | (((xo) & 0x1f) << 1) | \ argument 258 ((rc) & 0x1)) 270 #define M_OPCODE(i,rc) (MAKE_OPCODE(i) | ((rc) & 0x1)) argument 283 ((rc) & 0x1)) [all …]
|
/u-boot/board/BuR/brppt1/ |
A D | board.c | 84 int rc; in am33xx_spl_board_init() local 117 rc = gpio_request(64 + 29, "GPMC_WAIT1"); in am33xx_spl_board_init() 118 if (rc != 0) in am33xx_spl_board_init() 120 rc = gpio_direction_output(64 + 29, 1); in am33xx_spl_board_init() 121 if (rc != 0) in am33xx_spl_board_init() 124 rc = gpio_request(64 + 28, "GPMC_WAIT0"); in am33xx_spl_board_init() 125 if (rc != 0) in am33xx_spl_board_init() 127 rc = gpio_direction_output(64 + 28, 1); in am33xx_spl_board_init() 128 if (rc != 0) in am33xx_spl_board_init() 172 int rc; in board_late_init() local [all …]
|
/u-boot/drivers/mtd/nand/raw/ |
A D | octeontx_nand.c | 724 int rc; in ndf_wait_idle() local 898 if (rc) in ndf_build_pre_cmd() 902 if (rc) in ndf_build_pre_cmd() 906 if (rc) in ndf_build_pre_cmd() 910 if (rc) in ndf_build_pre_cmd() 914 if (rc) in ndf_build_pre_cmd() 943 int rc; in ndf_build_post_cmd() local 947 if (rc) in ndf_build_post_cmd() 951 if (rc) in ndf_build_post_cmd() 956 if (rc) in ndf_build_post_cmd() [all …]
|
/u-boot/board/ti/ks2_evm/ |
A D | board_k2g.c | 263 int rc; in k2g_alt_board_detect() local 266 if (rc) in k2g_alt_board_detect() 270 if (rc) in k2g_alt_board_detect() 274 int rc; in k2g_alt_board_detect() 277 if (rc) in k2g_alt_board_detect() 280 if (rc) in k2g_alt_board_detect() 303 int rc; in embedded_dtb_select() local 306 if (rc) { in embedded_dtb_select() 308 if (rc) { in embedded_dtb_select() 351 int rc; in board_late_init() local [all …]
|
/u-boot/arch/arm/mach-stm32mp/ |
A D | pwr_regulator.c | 146 int rc; in stm32mp_pwr_regulator_probe() local 154 return rc; in stm32mp_pwr_regulator_probe() 211 int rc; in stm32mp_pwr_regulator_get_enable() local 215 if (rc) in stm32mp_pwr_regulator_get_enable() 216 return rc; in stm32mp_pwr_regulator_get_enable() 226 int rc; in stm32mp_pwr_regulator_set_enable() local 233 if (rc) in stm32mp_pwr_regulator_set_enable() 234 return rc; in stm32mp_pwr_regulator_set_enable() 245 if (rc) in stm32mp_pwr_regulator_set_enable() 246 return rc; in stm32mp_pwr_regulator_set_enable() [all …]
|