Home
last modified time | relevance | path

Searched refs:ret (Results 1501 – 1525 of 1703) sorted by relevance

1...<<616263646566676869

/rk3399_rockchip-uboot/drivers/ata/
H A Ddwc_ahsata.c1000 int ret; in dwc_ahsata_scan() local
1009 ret = blk_create_devicef(dev, "dwc_ahsata_blk", "blk", in dwc_ahsata_scan()
1011 if (ret) { in dwc_ahsata_scan()
1013 return ret; in dwc_ahsata_scan()
1018 ret = dwc_ahsata_scan_common(uc_priv, desc); in dwc_ahsata_scan()
1019 if (ret) { in dwc_ahsata_scan()
1021 return ret; in dwc_ahsata_scan()
1030 int ret; in dwc_ahsata_probe() local
1037 ret = ahci_host_init(uc_priv); in dwc_ahsata_probe()
1038 if (ret) in dwc_ahsata_probe()
[all …]
/rk3399_rockchip-uboot/drivers/clk/aspeed/
H A Dclk_ast2500.c441 int ret; in ast2500_clk_bind() local
444 ret = device_bind_driver(gd->dm_root, "ast_sysreset", "reset", &dev); in ast2500_clk_bind()
445 if (ret) in ast2500_clk_bind()
446 debug("Warning: No reset driver: ret=%d\n", ret); in ast2500_clk_bind()
/rk3399_rockchip-uboot/drivers/rtc/
H A Dds1306.c421 int ret; in rtc_read() local
423 ret = spi_w8r8(slave, reg); in rtc_read()
424 return ret < 0 ? 0 : ret; in rtc_read()
/rk3399_rockchip-uboot/net/
H A Deth_legacy.c138 int ret = 0; in eth_write_hwaddr() local
176 ret = dev->write_hwaddr(dev); in eth_write_hwaddr()
177 if (ret) in eth_write_hwaddr()
182 return ret; in eth_write_hwaddr()
/rk3399_rockchip-uboot/lib/
H A Dstring.c119 size_t ret = strlen(src); in strlcpy() local
122 size_t len = (ret >= size) ? size - 1 : ret; in strlcpy()
126 return ret; in strlcpy()
H A Dhashtable.c279 int ret; in hsearch_r() local
311 ret = _compare_and_overwrite_entry(item, action, retval, htab, in hsearch_r()
313 if (ret != -1) in hsearch_r()
314 return ret; in hsearch_r()
340 ret = _compare_and_overwrite_entry(item, action, retval, in hsearch_r()
342 if (ret != -1) in hsearch_r()
343 return ret; in hsearch_r()
/rk3399_rockchip-uboot/arch/powerpc/cpu/mpc83xx/
H A Dpcie.c89 int ret; \
91 ret = mpc83xx_pcie_remap_cfg(hose, dev); \
92 if (ret) { \
94 return ret; \
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dqconf.h156 ConfigItem *ret = NULL; in nextSibling() local
160 ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1); in nextSibling()
163 ret = (ConfigItem *)_treeWidget->topLevelItem(_treeWidget->indexOfTopLevelItem(this)+1); in nextSibling()
166 return ret; in nextSibling()
/rk3399_rockchip-uboot/drivers/serial/
H A Dserial-uclass.c451 int ret; in serial_post_probe() local
471 ret = ops->setbrg(dev, gd->baudrate); in serial_post_probe()
472 if (ret) in serial_post_probe()
473 return ret; in serial_post_probe()
/rk3399_rockchip-uboot/arch/arc/include/asm/
H A Dptrace.h16 long ret; member
/rk3399_rockchip-uboot/board/keymile/common/
H A Divm.c335 int ret; in ivm_read_eeprom() local
341 ret = i2c_read(CONFIG_SYS_IVM_EEPROM_ADR, 0, 1, buf, len); in ivm_read_eeprom()
342 if (ret != 0) { in ivm_read_eeprom()
/rk3399_rockchip-uboot/common/
H A Dautoboot.c61 int ret; in passwd_abort() local
71 ret = hash_parse_string(algo_name, sha_env_str, sha_env); in passwd_abort()
72 if (ret) { in passwd_abort()
H A Dimage.c1512 int ret; in image_setup_linux() local
1518 ret = boot_get_cmdline(lmb, &images->cmdline_start, in image_setup_linux()
1520 if (ret) { in image_setup_linux()
1522 return ret; in image_setup_linux()
1527 ret = boot_relocate_fdt(lmb, of_flat_tree, &of_size); in image_setup_linux()
1528 if (ret) in image_setup_linux()
1529 return ret; in image_setup_linux()
1533 ret = image_setup_libfdt(images, *of_flat_tree, of_size, lmb); in image_setup_linux()
1534 if (ret) in image_setup_linux()
1535 return ret; in image_setup_linux()
H A DxyzModem.c99 int ret = 0; in _from_hex() local
103 ret = (c - '0'); in _from_hex()
107 ret = (c - 'a' + 0x0a); in _from_hex()
111 ret = (c - 'A' + 0x0A); in _from_hex()
113 return ret; in _from_hex()
H A Dimage-fdt.c622 int ret = -EPERM; in image_setup_libfdt() local
665 ret = fdt_shrink_to_minimum(blob, 0); in image_setup_libfdt()
666 if (ret < 0) in image_setup_libfdt()
668 of_size = ret; in image_setup_libfdt()
691 return ret; in image_setup_libfdt()
H A Dusb_kbd.c713 int ret; local
717 ret = -ENXIO;
722 ret = -EPERM;
727 ret = -ENOLINK;
739 printf("%s: warning, ret=%d", __func__, ret);
740 return ret;
/rk3399_rockchip-uboot/drivers/usb/musb/
H A Dmusb_udc.c810 int ret = 0; in udc_endpoint_write() local
861 return ret; in udc_endpoint_write()
936 int ret; in udc_init() local
939 ret = musb_platform_init(); in udc_init()
940 if (ret < 0) in udc_init()
955 ret = 0; in udc_init()
958 return ret; in udc_init()
/rk3399_rockchip-uboot/drivers/usb/musb-new/
H A Dmusb_host.c1643 int ret, length; in musb_host_rx() local
1742 ret = c->channel_program( in musb_host_rx()
1746 if (!ret) { in musb_host_rx()
1924 int ret; local
1933 ret = usb_hcd_link_urb_to_ep(hcd, urb);
1934 qh = ret ? NULL : hep->hcpriv;
1947 if (qh || ret)
1948 return ret;
1984 ret = -EMSGSIZE;
2094 ret = 0;
[all …]
/rk3399_rockchip-uboot/board/renesas/blanche/
H A Dblanche.c438 int ret = -ENODEV; in board_mmc_init() local
453 ret = sh_sdhi_init(CONFIG_SYS_SH_SDHI0_BASE, 0, in board_mmc_init()
456 if (ret) in board_mmc_init()
457 return ret; in board_mmc_init()
459 return ret; in board_mmc_init()
/rk3399_rockchip-uboot/arch/arm/mach-at91/arm920t/
H A Dclock.c45 unsigned ret = (out_freq > 155000000) ? 0xbe00 : 0x3e00; in at91_pll_calc() local
85 return ret | ((mul - 1) << 16) | div; in at91_pll_calc()
/rk3399_rockchip-uboot/drivers/video/sunxi/
H A Dsunxi_display.c1189 int ret, hpd, hpd_delay, edid; local
1225 ret = sunxi_hdmi_hpd_detect(hpd_delay);
1226 if (ret) {
1345 int offset, ret; local
1384 ret = fdt_stringlist_search(blob, offset, "allwinner,pipeline",
1386 if (ret == 0)
1404 ret = fdt_fixup_memory_banks(blob, &start, &size, 1);
1405 if (ret) {
1407 return ret;
1410 ret = fdt_setup_simplefb_node(blob, offset, sunxi_display.fb_addr,
[all …]
/rk3399_rockchip-uboot/drivers/net/
H A Drtl8169.c616 int ret; in rtl_send_common() local
667 ret = -ETIMEDOUT; in rtl_send_common()
672 ret = 0; in rtl_send_common()
676 return ret; in rtl_send_common()
1174 int ret; in rtl8169_eth_probe() local
1189 ret = rtl_init(priv->iobase, dev->name, plat->enetaddr); in rtl8169_eth_probe()
1190 if (ret < 0) { in rtl8169_eth_probe()
1191 printf(pr_fmt("failed to initialize card: %d\n"), ret); in rtl8169_eth_probe()
1192 return ret; in rtl8169_eth_probe()
/rk3399_rockchip-uboot/cmd/
H A Dubi.c624 int ret; in do_ubi() local
637 ret = ubi_volume_continue_write(argv[3], in do_ubi()
642 ret = ubi_volume_begin_write(argv[3], in do_ubi()
646 ret = ubi_volume_write(argv[3], (void *)addr, size); in do_ubi()
648 if (!ret) { in do_ubi()
653 return ret; in do_ubi()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Datmel_nand.c1393 int ret = 0; in board_nand_init() local
1415 ret = atmel_pmecc_nand_init_params(nand, mtd); in board_nand_init()
1419 return ret; in board_nand_init()
1460 int ret; in atmel_nand_chip_init() local
1483 ret = nand_scan_ident(mtd, CONFIG_SYS_NAND_MAX_CHIPS, NULL); in atmel_nand_chip_init()
1484 if (ret) in atmel_nand_chip_init()
1485 return ret; in atmel_nand_chip_init()
1489 ret = atmel_pmecc_nand_init_params(nand, mtd); in atmel_nand_chip_init()
1491 ret = atmel_hwecc_nand_init_param(nand, mtd); in atmel_nand_chip_init()
1493 if (ret) in atmel_nand_chip_init()
[all …]
/rk3399_rockchip-uboot/arch/x86/lib/
H A Dcrt0_x86_64_efi.S37 ret

1...<<616263646566676869