/u-boot/board/chipspark/popmetal_rk3288/ |
H A D | popmetal-rk3288.c | 14 int ret; local 16 ret = gpio_request(GPIO7A3_HUB_RST, "hub_rst"); 17 if (ret) 18 return ret; 19 ret = gpio_direction_output(GPIO7A3_HUB_RST, 1); 20 if (ret) 21 return ret;
|
/u-boot/post/lib_powerpc/ |
H A D | cpu.c | 62 int ret = 0; local 68 if (ret == 0) 69 ret = cpu_post_test_cmp (); 70 if (ret == 0) 71 ret = cpu_post_test_cmpi (); 72 if (ret == 0) 73 ret = cpu_post_test_two (); 74 if (ret == 0) 75 ret = cpu_post_test_twox (); 77 if (ret [all...] |
/u-boot/post/lib_powerpc/fpu/ |
H A D | fpu.c | 44 int ret = 0; local 51 if (ret == 0) 52 ret = fpu_post_test_math1 (); 53 if (ret == 0) 54 ret = fpu_post_test_math2 (); 55 if (ret == 0) 56 ret = fpu_post_test_math3 (); 57 if (ret == 0) 58 ret = fpu_post_test_math4 (); 59 if (ret [all...] |
/u-boot/board/theobroma-systems/ringneck_px30/ |
H A D | ringneck-px30.c | 32 int ret; local 34 ret = gpio_request(STM32_RST, "STM32_RST"); 35 if (ret) { 40 ret = gpio_request(STM32_BOOT, "STM32_BOOT"); 41 if (ret) { 47 ret = gpio_direction_input(STM32_BOOT); 48 if (ret) { 53 ret = gpio_direction_output(STM32_RST, 0); 54 if (ret) { 61 ret [all...] |
/u-boot/board/google/veyron/ |
H A D | veyron.c | 29 int ret; local 31 ret = regulator_get_by_platname("vdd_arm", &dev); 32 if (ret) { 34 return ret; 38 ret = regulator_set_value(dev, 1200000); 39 if (ret) 40 return ret; 42 ret = regulator_set_value(dev, 1400000); 43 if (ret) 44 return ret; 78 int ret; local [all...] |
/u-boot/arch/sandbox/lib/ |
H A D | fdt_fixup.c | 11 int ret; local 13 ret = fdt_find_or_add_subnode(blob, 0, "chosen");; 14 if (ret < 0) 16 ret = fdt_setprop_u32(blob, ret, "boot-hartid", 1); 17 if (ret < 0) 21 log_err("Setting /chosen/boot-hartid failed: %s\n", fdt_strerror(ret)); 22 return ret;
|
/u-boot/board/freescale/common/ |
H A D | i2c_mux.c | 21 int ret; local 25 ret = fsl_i2c_get_device(I2C_MUX_PCA_ADDR_PRI, bus, &dev); 26 if (ret) { 28 return ret; 31 ret = I2C_WRITE(dev, 0, &ch, sizeof(ch)); 32 if (ret) { 33 printf("PCA: Unable to select channel %d (%d)\n", (int)ch, ret); 34 return ret;
|
/u-boot/arch/riscv/cpu/fu540/ |
H A D | spl.c | 12 int ret; local 16 ret = uclass_get_device(UCLASS_RAM, 0, &dev); 17 if (ret) { 18 debug("DRAM init failed: %d\n", ret); 19 return ret;
|
/u-boot/lib/efi_loader/ |
H A D | efi_setup.c | 37 efi_status_t ret; local 46 ret = efi_set_variable_int(u"PlatformLangCodes", 53 if (ret != EFI_SUCCESS) 60 ret = efi_get_variable_int(u"PlatformLang", 63 if (ret == EFI_BUFFER_TOO_SMALL) { 65 ret = EFI_SUCCESS; 77 ret = efi_set_variable_int(u"PlatformLang", 84 if (ret != EFI_SUCCESS) 86 return ret; 101 efi_status_t ret; local 129 efi_status_t ret = EFI_SUCCESS; local 191 efi_status_t ret; local 225 efi_status_t ret = EFI_SUCCESS; local [all...] |
/u-boot/arch/arm/lib/ |
H A D | xferlist.c | 13 int ret; local 15 ret = bloblist_check(saved_args[3], size); 16 if (ret) 17 return ret; 19 ret = bloblist_check_reg_conv(saved_args[0], saved_args[2], 21 if (ret) 22 return ret;
|
/u-boot/board/st/stm32h743-disco/ |
H A D | stm32h743-disco.c | 18 int ret; local 20 ret = uclass_get_device(UCLASS_RAM, 0, &dev); 21 if (ret) { 22 debug("DRAM init failed: %d\n", ret); 23 return ret; 27 ret = -EINVAL; 29 return ret;
|
/u-boot/board/st/stm32h743-eval/ |
H A D | stm32h743-eval.c | 18 int ret; local 20 ret = uclass_get_device(UCLASS_RAM, 0, &dev); 21 if (ret) { 22 debug("DRAM init failed: %d\n", ret); 23 return ret; 27 ret = -EINVAL; 29 return ret;
|
/u-boot/board/st/stm32h750-art-pi/ |
H A D | stm32h750-art-pi.c | 18 int ret; local 20 ret = uclass_get_device(UCLASS_RAM, 0, &dev); 21 if (ret) { 22 debug("DRAM init failed: %d\n", ret); 23 return ret; 27 ret = -EINVAL; 29 return ret;
|
/u-boot/board/xilinx/common/ |
H A D | cpu-info.c | 15 int ret; local 17 ret = soc_get(&soc); 18 if (ret) { 23 ret = soc_get_family(soc, name, SOC_MAX_STR_SIZE); 24 if (ret) 27 ret = soc_get_revision(soc, name, SOC_MAX_STR_SIZE); 28 if (ret) 31 ret = soc_get_machine(soc, name, SOC_MAX_STR_SIZE); 32 if (ret)
|
/u-boot/board/google/chameleonv3/ |
H A D | mercury_aa1.c | 18 int ret; local 20 ret = uclass_get_device_by_name(UCLASS_MISC, "atsha204a@64", &dev); 21 if (ret) 22 return ret; 24 ret = atsha204a_wakeup(dev); 25 if (ret) 26 return ret; 28 ret = atsha204a_read(dev, ATSHA204A_ZONE_OTP, false, 30 if (ret) 33 ret [all...] |
/u-boot/arch/mips/lib/ |
H A D | udivdi3.c | 11 long long ret = u; local 13 __div64_32(&ret, b); 14 return ret;
|
/u-boot/board/firefly/firefly-rk3288/ |
H A D | firefly-rk3288.c | 19 int ret; local 24 ret = led_get_by_label(led_name, &dev); 25 if (ret) { 26 debug("%s: get=%d\n", __func__, ret); 27 return ret; 29 ret = led_set_state(dev, LEDST_ON); 30 if (ret) 31 return ret; 39 int ret; local 41 ret [all...] |
/u-boot/drivers/misc/ |
H A D | stm32mp_fuse.c | 23 int ret; local 28 ret = uclass_get_device_by_driver(UCLASS_MISC, 31 if (ret) 32 return ret; 33 ret = misc_read(dev, word * 4 + STM32_BSEC_SHADOW_OFFSET, 35 if (ret != 4) 36 ret = -EINVAL; 38 ret = 0; 43 ret = uclass_get_device_by_driver(UCLASS_MISC, 46 if (ret) 69 int ret; local 113 int ret; local 157 int ret; local [all...] |
/u-boot/board/atmel/common/ |
H A D | mac_eeprom.c | 21 int ret; local 26 ret = uclass_first_device_err(UCLASS_I2C_EEPROM, &dev); 27 if (ret) 28 return ret; 30 ret = i2c_eeprom_read(dev, offset, ethaddr, 6); 31 if (ret) 32 return ret; 48 int ret; local 54 ret = uclass_first_device_err(UCLASS_I2C_EEPROM, &dev); 55 if (ret) [all...] |
/u-boot/drivers/usb/cdns3/ |
H A D | debug.h | 20 int ret; local 22 ret = sprintf(str, "IRQ %08x = ", usb_ists); 25 ret += sprintf(str + ret, "Connection %s\n", 29 ret += sprintf(str + ret, "Disconnection "); 31 ret += sprintf(str + ret, "suspended "); 33 ret += sprintf(str + ret, "L 56 int ret; local 117 int ret = 0; local [all...] |
/u-boot/drivers/mtd/nand/raw/ |
H A D | mxs_nand_dt.c | 77 int ret; local 87 ret = dev_read_resource_byname(dev, "gpmi-nand", &res); 88 if (ret) 89 return ret; 94 ret = dev_read_resource_byname(dev, "bch", &res); 95 if (ret) 96 return ret; 110 ret = PTR_ERR(info->gpmi_clk); 111 debug("Can't get gpmi io clk: %d\n", ret); 112 return ret; 174 int ret; local [all...] |
/u-boot/lib/efi_selftest/ |
H A D | efi_selftest_hii.c | 36 efi_status_t ret; local 41 ret = boottime->locate_protocol(&hii_database_protocol_guid, NULL, 43 if (ret != EFI_SUCCESS) { 50 ret = boottime->locate_protocol(&hii_string_protocol_guid, NULL, 52 if (ret != EFI_SUCCESS) { 77 efi_status_t ret; local 80 ret = hii_database_protocol->new_package_list(hii_database_protocol, 83 if (ret != EFI_SUCCESS || !handle) { 85 (unsigned int)ret); 89 ret 111 efi_status_t ret; local 161 efi_status_t ret; local 380 efi_status_t ret; local 465 efi_status_t ret; local 556 efi_status_t ret; local 586 efi_status_t ret; local 627 int ret; local 688 efi_status_t ret; local 741 efi_status_t ret; local 820 efi_status_t ret; local 880 efi_status_t ret; local 948 efi_status_t ret; local 1009 int ret; local 1041 int ret; local [all...] |
/u-boot/board/nvidia/p3450-0000/ |
H A D | p3450-0000.c | 23 int ret; local 27 ret = i2c_get_chip_for_busnum(0, MAX77620_I2C_ADDR_7BIT, 1, &dev); 28 if (ret) { 34 ret = dm_i2c_write(dev, MAX77620_CNFG1_L2_REG, &val, 1); 35 if (ret) 36 printf("i2c_write 0 0x3c 0x27 failed: %d\n", ret); 39 ret = dm_i2c_read(dev, MAX77620_CNFG2_L4_REG, &val, 1); 40 if (ret) { 41 printf("i2c_read 0 0x3c 0x2c failed: %d\n", ret); 44 ret 66 int ret; local [all...] |
/u-boot/common/spl/ |
H A D | spl_nvme.c | 15 int ret; local 17 ret = nvme_scan_namespace(); 18 if (ret < 0) 19 return ret; 21 ret = spl_blk_load_image(spl_image, bootdev, UCLASS_NVME, 24 return ret;
|
/u-boot/boot/ |
H A D | vbe_simple_os.c | 22 int ret; local 28 ret = ofnode_write_string(node, "cur-version", version); 29 if (ret) 30 return log_msg_ret("ver", ret); 31 ret = ofnode_write_u32(node, "cur-vernum", state->fw_vernum); 32 if (ret) 33 return log_msg_ret("num", ret); 39 ret = ofnode_write_string(node, "bootloader-version", str); 40 if (ret) 41 return log_msg_ret("bl", ret); 66 int ret; local [all...] |