/u-boot/board/freescale/imxrt1050-evk/ |
H A D | imxrt1050-evk.c | 23 int rv; local 26 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 27 if (rv) { 28 debug("DRAM init failed: %d\n", rv); 29 return rv; 54 int rv; local 56 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 57 if (rv) 58 debug("DRAM init failed: %d\n", rv); 59 return rv; [all...] |
/u-boot/board/freescale/imxrt1020-evk/ |
H A D | imxrt1020-evk.c | 23 int rv; local 26 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 27 if (rv) { 28 debug("DRAM init failed: %d\n", rv); 29 return rv; 54 int rv; local 56 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 57 if (rv) 58 debug("DRAM init failed: %d\n", rv); 59 return rv; [all...] |
/u-boot/board/freescale/imxrt1170-evk/ |
H A D | imxrt1170-evk.c | 23 int rv; local 26 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 27 if (rv) { 28 debug("DRAM init failed: %d\n", rv); 29 return rv; 54 int rv; local 56 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 57 if (rv) 58 debug("DRAM init failed: %d\n", rv); 59 return rv; [all...] |
/u-boot/board/st/stm32f429-discovery/ |
H A D | stm32f429-discovery.c | 27 int rv; local 30 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 31 if (rv) { 32 debug("DRAM init failed: %d\n", rv); 33 return rv; 37 rv = -EINVAL; 39 return rv;
|
/u-boot/board/st/stm32f469-discovery/ |
H A D | stm32f469-discovery.c | 21 int rv; local 24 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 25 if (rv) { 26 debug("DRAM init failed: %d\n", rv); 27 return rv; 31 rv = -EINVAL; 33 return rv;
|
/u-boot/board/st/stm32f429-evaluation/ |
H A D | stm32f429-evaluation.c | 21 int rv; local 24 rv = uclass_get_device(UCLASS_RAM, 0, &dev); 25 if (rv) { 26 debug("DRAM init failed: %d\n", rv); 27 return rv; 31 rv = -EINVAL; 33 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 | 33 int rv; local 38 rv = eth_initialize(); 39 if (rv == 0) { 45 rv = net_loop(BOOTP); 46 if (rv < 0) { 48 return rv;
|
/u-boot/board/logicpd/am3517evm/ |
H A D | am3517evm.c | 141 int rv, n = 0; local 143 rv = cpu_eth_init(bis); 144 if (rv > 0) 145 n += rv; 147 rv = usb_eth_initialize(bis); 148 if (rv > 0) 149 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 | 46 int rv; local 48 rv = dm_i2c_set_bus_speed(bus, I2C_SPEED_STANDARD_RATE); 49 if (rv) 68 int rv; local 70 rv = dm_i2c_set_bus_speed(bus, speed); 71 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 | 372 int i, rv = 0; local 380 rv = hsi2c_prepare_transaction 382 if (rv != I2C_OK) 383 return rv; 387 rv = hsi2c_poll_fifo(i2c, false); 388 if (rv != I2C_OK) { 396 rv = hsi2c_poll_fifo(i2c, false); 397 if (rv != I2C_OK) { 404 rv = hsi2c_wait_for_trx(i2c); 409 if (rv 424 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 | 370 int rv, len; local 382 rv = ofnode_read_size(subnode, "pinmux"); 383 if (rv < 0) 384 return rv; 385 len = rv / sizeof(pin_mux[0]); 389 rv = ofnode_read_u32_array(subnode, "pinmux", pin_mux, len); 390 if (rv < 0) 391 return rv; 398 rv = uclass_get_device_by_seq(UCLASS_GPIO, 401 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);
|