/u-boot/board/freescale/imxrt1170-evk/ |
H A D | imxrt1170-evk.c | 22 int rv; local 25 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 26 if (rv) { 27 debug("DRAM init failed: %d\n", rv); 28 return rv; 53 int rv; local 55 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 56 if (rv) 57 debug("DRAM init failed: %d\n", rv); 58 return rv; [all...] |
/u-boot/board/freescale/imxrt1050-evk/ |
H A D | imxrt1050-evk.c | 22 int rv; local 25 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 26 if (rv) { 27 debug("DRAM init failed: %d\n", rv); 28 return rv; 53 int rv; local 55 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 56 if (rv) 57 debug("DRAM init failed: %d\n", rv); 58 return rv; [all...] |
/u-boot/board/freescale/imxrt1020-evk/ |
H A D | imxrt1020-evk.c | 22 int rv; local 25 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 26 if (rv) { 27 debug("DRAM init failed: %d\n", rv); 28 return rv; 53 int rv; local 55 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 56 if (rv) 57 debug("DRAM init failed: %d\n", rv); 58 return rv; [all...] |
/u-boot/board/st/stm32f429-discovery/ |
H A D | stm32f429-discovery.c | 26 int rv; local 29 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 30 if (rv) { 31 debug("DRAM init failed: %d\n", rv); 32 return rv; 36 rv = -EINVAL; 38 return rv;
|
/u-boot/board/st/stm32f469-discovery/ |
H A D | stm32f469-discovery.c | 20 int rv; local 23 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 24 if (rv) { 25 debug("DRAM init failed: %d\n", rv); 26 return rv; 30 rv = -EINVAL; 32 return rv;
|
/u-boot/board/st/stm32f429-evaluation/ |
H A D | stm32f429-evaluation.c | 20 int rv; local 23 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 24 if (rv) { 25 debug("DRAM init failed: %d\n", rv); 26 return rv; 30 rv = -EINVAL; 32 return rv;
|
/u-boot/board/st/stm32f746-disco/ |
H A D | stm32f746-disco.c | 31 int rv; local 33 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 34 if (rv) { 35 debug("DRAM init failed: %d\n", rv); 36 return rv; 61 int rv; local 62 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 63 if (rv) 64 debug("DRAM init failed: %d\n", rv); 65 return rv; [all...] |
/u-boot/common/spl/ |
H A D | spl_net.c | 32 int rv; local 37 rv = eth_initialize(); 38 if (rv == 0) { 44 rv = net_loop(BOOTP); 45 if (rv < 0) { 47 return rv;
|
/u-boot/board/logicpd/am3517evm/ |
H A D | am3517evm.c | 140 int rv, n = 0; local 142 rv = cpu_eth_init(bis); 143 if (rv > 0) 144 n += rv; 146 rv = usb_eth_initialize(bis); 147 if (rv > 0) 148 n += rv;
|
/u-boot/drivers/misc/ |
H A D | cros_ec_spi.c | 28 int rv; local 36 rv = spi_xfer(slave, out_bytes * 8, dev->dout, NULL, SPI_XFER_BEGIN); 37 if (rv) 41 rv = spi_xfer(slave, 8, NULL, &byte, 0); 44 if (rv) 47 rv = -ETIMEDOUT; 52 rv = spi_xfer(slave, in_bytes * 8, NULL, dev->din, 0); 57 if (rv) { 90 int rv; local 139 rv [all...] |
H A D | atsha204a-i2c.c | 45 int rv; local 47 rv = dm_i2c_set_bus_speed(bus, I2C_SPEED_STANDARD_RATE); 48 if (rv) 67 int rv; local 69 rv = dm_i2c_set_bus_speed(bus, speed); 70 if (rv)
|
/u-boot/arch/mips/mach-octeon/ |
H A D | cvmx-fpa-resource.c | 85 int rv = 0; local 102 rv = cvmx_reserve_global_resource_range(tag, owner, 105 rv = cvmx_resource_alloc_reverse(tag, owner); 107 if (rv < 0) { 113 aura = __cvmx_fpa3_gaura(node, rv); 134 int rv = 0; local 151 rv = cvmx_reserve_global_resource_range(tag, owner, 154 rv = cvmx_resource_alloc_reverse(tag, owner); 156 if (rv < 0) { 161 pool = __cvmx_fpa3_pool(node, rv); 188 int rv; local [all...] |
H A D | cvmx-global-resources.c | 391 int rv = 0; local 403 rv = cvmx_range_init(addr, nelements); 405 return rv; 431 int rv; local 441 rv = cvmx_range_alloc_ordered(addr, owner, 1, 1, 1); 443 return rv; 462 int rv; local 469 rv = cvmx_range_free_with_base(addr, base, nelements); 471 return rv; 478 int rv; local [all...] |
H A D | cvmx-pko-internal-ports-range.c | 68 int rv = 0; local 73 rv = cvmx_create_global_resource_range(CVMX_GR_TAG_PKO_IPORTS, 75 if (rv != 0) 77 return rv;
|
/u-boot/drivers/i2c/ |
H A D | exynos_hs_i2c.c | 371 int i, rv = 0; local 379 rv = hsi2c_prepare_transaction 381 if (rv != I2C_OK) 382 return rv; 386 rv = hsi2c_poll_fifo(i2c, false); 387 if (rv != I2C_OK) { 395 rv = hsi2c_poll_fifo(i2c, false); 396 if (rv != I2C_OK) { 403 rv = hsi2c_wait_for_trx(i2c); 408 if (rv 423 int i, rv, tmp_ret; local [all...] |
/u-boot/examples/api/ |
H A D | demo.c | 29 int rv = 0, h, i, j, devs_no; local 92 if ((rv = ub_dev_open(h)) != 0) { 93 errf("open device %d error %d\n", h, rv); 96 if ((rv = ub_dev_open(h)) != 0) 97 errf("open device %d error %d\n", h, rv); 115 if ((rv = ub_dev_open(i)) != 0) 116 errf("open device %d error %d\n", i, rv); 118 else if ((rv = ub_dev_read(i, buf, 1, 0, &rlen)) != 0) 119 errf("could not read from device %d, error %d\n", i, rv); 140 if ((rv [all...] |
/u-boot/board/compulab/cm_t43/ |
H A D | cm_t43.c | 155 int rv; local 161 rv = cpsw_register(&cpsw_data); 162 if (rv < 0) 163 printf("Error %d registering CPSW switch\n", rv); 165 return rv;
|
/u-boot/board/tcl/sl50/ |
H A D | board.c | 312 int rv, n = 0; local 356 rv = cpsw_register(&cpsw_data); 357 if (rv < 0) 358 printf("Error %d registering CPSW switch\n", rv); 360 n += rv; 381 rv = usb_eth_initialize(bis); 382 if (rv < 0) 383 printf("Error %d registering USB_ETHER\n", rv); 385 n += rv;
|
/u-boot/drivers/pinctrl/ |
H A D | pinctrl_stm32.c | 369 int rv, len; local 381 rv = ofnode_read_size(subnode, "pinmux"); 382 if (rv < 0) 383 return rv; 384 len = rv / sizeof(pin_mux[0]); 388 rv = ofnode_read_u32_array(subnode, "pinmux", pin_mux, len); 389 if (rv < 0) 390 return rv; 397 rv = uclass_get_device_by_seq(UCLASS_GPIO, 400 if (rv) [all...] |
/u-boot/arch/arm/include/debug/ |
H A D | 8250.S | 9 .macro addruart, rp, rv, tmp 11 ldr \rv, =CONFIG_DEBUG_UART_VIRT
|
/u-boot/board/siemens/rut/ |
H A D | board.c | 169 int rv; local 178 rv = cpsw_register(&cpsw_data); 179 if (rv < 0) 180 printf("Error %d registering CPSW switch\n", rv); 182 n += rv;
|
/u-boot/board/siemens/pxm2/ |
H A D | board.c | 212 int rv; local 222 rv = cpsw_register(&cpsw_data); 223 if (rv < 0) 224 printf("Error %d registering CPSW switch\n", rv); 226 n += rv;
|
/u-boot/board/purism/librem5/ |
H A D | spl.c | 355 int i, rv; local 363 rv = power_bd71837_init(POWER_BD71837_I2C_BUS); 364 if (rv) { 366 POWER_BD71837_I2C_BUS, rv); 373 rv = -ENODEV; 377 rv = pmic_probe(p); 378 if (rv) { 379 log_err("%s: pmic_probe() error %d\n", __func__, rv); 404 rv = pmic_reg_read(p, ldo[i], &val); 405 if (rv) { [all...] |
/u-boot/arch/arm/mach-davinci/include/mach/ |
H A D | pll_defs.h | 17 unsigned int rv; /* 0x10c */ member in struct:dv_pll_regs
|
/u-boot/arch/x86/cpu/intel_common/ |
H A D | mrc.c | 206 int rv; local 216 rv = func(pei_data); 221 rv = func(pei_data); 224 if (rv) { 225 switch (rv) { 233 printf("MRC returned %x.\n", rv);
|