Home
last modified time | relevance | path

Searched refs:ret_val (Results 1 – 19 of 19) sorted by relevance

/u-boot/drivers/ddr/marvell/a38x/
A Dmv_ddr_spd.c174 return ret_val; in mv_ddr_spd_dev_width_get()
217 return ret_val; in mv_ddr_spd_die_capacity_get()
249 return ret_val; in mv_ddr_spd_pri_bus_width_get()
268 return ret_val; in mv_ddr_spd_bus_width_ext_get()
305 return ret_val; in mv_ddr_spd_pkg_rank_get()
315 ret_val = MV_DDR_DIE_CNT_1; in mv_ddr_spd_die_count_get()
318 ret_val = MV_DDR_DIE_CNT_2; in mv_ddr_spd_die_count_get()
321 ret_val = MV_DDR_DIE_CNT_3; in mv_ddr_spd_die_count_get()
324 ret_val = MV_DDR_DIE_CNT_4; in mv_ddr_spd_die_count_get()
327 ret_val = MV_DDR_DIE_CNT_5; in mv_ddr_spd_die_count_get()
[all …]
/u-boot/drivers/net/
A De1000.c962 if (ret_val) in e1000_update_flash_i210()
1099 if (ret_val) in e1000_set_phy_mode()
1381 int ret_val; in e1000_read_mac_addr() local
1389 if (ret_val) in e1000_read_mac_addr()
2378 if (ret_val) in e1000_copper_link_preconfig()
2702 if (ret_val) in e1000_copper_link_igp_setup()
2730 if (ret_val) in e1000_copper_link_igp_setup()
3041 if (ret_val) in e1000_copper_link_mgp_setup()
3079 if (ret_val) in e1000_copper_link_mgp_setup()
3166 if (ret_val) in e1000_copper_link_autoneg()
[all …]
/u-boot/drivers/fpga/
A Dfpga.c81 int ret_val = FPGA_FAIL; /* assume failure */ in fpga_dev_info() local
92 ret_val = xilinx_info(desc->devdesc); in fpga_dev_info()
100 ret_val = altera_info(desc->devdesc); in fpga_dev_info()
108 ret_val = lattice_info(desc->devdesc); in fpga_dev_info()
121 return ret_val; in fpga_dev_info()
219 return ret_val; in fpga_fsload()
227 int ret_val = FPGA_FAIL; in fpga_loads() local
236 ret_val = xilinx_loads(desc->devdesc, buf, size, in fpga_loads()
248 return ret_val; in fpga_loads()
291 return ret_val; in fpga_load()
[all …]
A DstratixII.c19 int ret_val = FPGA_FAIL; in StratixII_load() local
23 ret_val = StratixII_ps_fpp_load (desc, buf, bsize, 1, 0); in StratixII_load()
37 return ret_val; in StratixII_load()
42 int ret_val = FPGA_FAIL; in StratixII_dump() local
48 ret_val = StratixII_ps_fpp_dump (desc, buf, bsize); in StratixII_dump()
55 return ret_val; in StratixII_dump()
74 int ret_val = FPGA_FAIL; in StratixII_ps_fpp_load() local
111 if ((ret_val = fns->pre (cookie)) < 0) { in StratixII_ps_fpp_load()
112 return ret_val; in StratixII_ps_fpp_load()
183 if ((ret_val = fns->post (cookie)) < 0) { in StratixII_ps_fpp_load()
[all …]
A Dcyclon2.c41 int ret_val = FPGA_FAIL; in CYC2_load() local
46 ret_val = CYC2_ps_load(desc, buf, bsize); in CYC2_load()
56 ret_val = CYC2_ps_load(desc, buf, bsize); in CYC2_load()
66 return ret_val; in CYC2_load()
71 int ret_val = FPGA_FAIL; in CYC2_dump() local
76 ret_val = CYC2_ps_dump(desc, buf, bsize); in CYC2_dump()
86 return ret_val; in CYC2_dump()
98 int ret_val = FPGA_FAIL; /* assume the worst */ in CYC2_ps_load() local
179 ret_val = FPGA_SUCCESS; in CYC2_ps_load()
182 if (ret_val == FPGA_SUCCESS) in CYC2_ps_load()
[all …]
A Dvirtex2.c99 int ret_val = FPGA_FAIL; in virtex2_load() local
116 return ret_val; in virtex2_load()
121 int ret_val = FPGA_FAIL; in virtex2_dump() local
138 return ret_val; in virtex2_dump()
287 ret_val = FPGA_FAIL; in virtex2_slave_post()
317 return ret_val; in virtex2_slave_post()
322 int ret_val = FPGA_FAIL; in virtex2_ssm_load() local
330 return ret_val; in virtex2_ssm_load()
397 int ret_val = FPGA_FAIL; in virtex2_ssm_dump() local
444 return ret_val; in virtex2_ssm_dump()
[all …]
A Dspartan2.c46 int ret_val = FPGA_FAIL; in spartan2_load() local
64 return ret_val; in spartan2_load()
69 int ret_val = FPGA_FAIL; in spartan2_dump() local
87 return ret_val; in spartan2_dump()
215 ret_val = FPGA_SUCCESS; in spartan2_sp_load()
226 ret_val = FPGA_FAIL; in spartan2_sp_load()
248 return ret_val; in spartan2_sp_load()
293 return ret_val; in spartan2_sp_dump()
402 ret_val = FPGA_SUCCESS; in spartan2_ss_load()
416 ret_val = FPGA_FAIL; in spartan2_ss_load()
[all …]
A Dspartan3.c50 int ret_val = FPGA_FAIL; in spartan3_load() local
68 return ret_val; in spartan3_load()
73 int ret_val = FPGA_FAIL; in spartan3_dump() local
91 return ret_val; in spartan3_dump()
219 ret_val = FPGA_SUCCESS; in spartan3_sp_load()
232 ret_val = FPGA_FAIL; in spartan3_sp_load()
254 return ret_val; in spartan3_sp_load()
299 return ret_val; in spartan3_sp_dump()
418 ret_val = FPGA_SUCCESS; in spartan3_ss_load()
434 ret_val = FPGA_FAIL; in spartan3_ss_load()
[all …]
A Dlattice.c262 int ret_val = false; in lattice_validate() local
270 ret_val = true; in lattice_validate()
286 return ret_val; in lattice_validate()
291 int ret_val = FPGA_FAIL; in lattice_load() local
306 ret_val = ispVM(); in lattice_load()
307 if (ret_val) in lattice_load()
309 __func__, ret_val); in lattice_load()
319 return ret_val; in lattice_load()
332 int ret_val = FPGA_FAIL; in lattice_info() local
375 ret_val = FPGA_SUCCESS; in lattice_info()
[all …]
A DACEX1K.c43 int ret_val = FPGA_FAIL; in ACEX1K_load() local
48 ret_val = ACEX1K_ps_load (desc, buf, bsize); in ACEX1K_load()
58 return ret_val; in ACEX1K_load()
63 int ret_val = FPGA_FAIL; in ACEX1K_dump() local
68 ret_val = ACEX1K_ps_dump (desc, buf, bsize); in ACEX1K_dump()
78 return ret_val; in ACEX1K_dump()
92 int ret_val = FPGA_FAIL; /* assume the worst */ in ACEX1K_ps_load() local
224 ret_val = FPGA_SUCCESS; in ACEX1K_ps_load()
227 if (ret_val == FPGA_SUCCESS) { in ACEX1K_ps_load()
240 return ret_val; in ACEX1K_ps_load()
A Dxilinx.c210 int ret_val = FPGA_FAIL; in xilinx_info() local
286 ret_val = FPGA_SUCCESS; in xilinx_info()
291 return ret_val; in xilinx_info()
298 int ret_val = false; in xilinx_validate() local
306 ret_val = true; in xilinx_validate()
317 return ret_val; in xilinx_validate()
/u-boot/arch/arm/cpu/arm1136/mx35/
A Dgeneric.c196 u32 pll, ret_val = 0, usb_podf; in mxc_get_main_clock() local
207 ret_val = get_mcu_main_clk(); in mxc_get_main_clock()
210 ret_val = get_mcu_main_clk(); in mxc_get_main_clock()
218 ret_val = pll / hsp_podf; in mxc_get_main_clock()
221 ret_val = 0; in mxc_get_main_clock()
224 ret_val = get_mcu_main_clk(); in mxc_get_main_clock()
228 ret_val = get_ipg_clk(); in mxc_get_main_clock()
231 ret_val = get_ipg_per_clk(); in mxc_get_main_clock()
237 ret_val = pll / (nfc_pdf + 1); in mxc_get_main_clock()
253 return ret_val; in mxc_get_main_clock()
[all …]
/u-boot/drivers/power/
A Dpower_i2c.c80 u32 ret_val = 0; in pmic_reg_read() local
107 ret_val = le32_to_cpu(buf[2] << 16 in pmic_reg_read()
110 ret_val = le32_to_cpu(buf[0] << 16 | in pmic_reg_read()
115 ret_val = le32_to_cpu(buf[1] << 8 | buf[0]); in pmic_reg_read()
117 ret_val = le32_to_cpu(buf[0] << 8 | buf[1]); in pmic_reg_read()
120 ret_val = le32_to_cpu(buf[0]); in pmic_reg_read()
126 memcpy(val, &ret_val, sizeof(ret_val)); in pmic_reg_read()
/u-boot/arch/arm/mach-imx/mx5/
A Dclock.c236 u32 ret_val = 0; in get_lp_apm() local
241 ret_val = get_fpm(); in get_lp_apm()
246 ret_val = MXC_HCLK; in get_lp_apm()
248 return ret_val; in get_lp_apm()
379 return ret_val; in imx_get_cspiclk()
450 u32 ret_val = 0; in get_ddr_clk() local
461 return ret_val; in get_ddr_clk()
466 ret_val = get_axi_a_clk(); in get_ddr_clk()
469 ret_val = get_axi_b_clk(); in get_ddr_clk()
475 ret_val = get_ahb_clk(); in get_ddr_clk()
[all …]
/u-boot/env/
A Dcommon.c54 char *ret_val; in env_get_default() local
61 ret_val = env_get(name); in env_get_default()
64 return ret_val; in env_get_default()
/u-boot/fs/yaffs2/
A Dyaffs_tagscompat.c147 int ret_val; in yaffs_rd_chunk_nand() local
157 ret_val = in yaffs_rd_chunk_nand()
216 ret_val = dev->param.read_chunk_fn(dev, nand_chunk, data, in yaffs_rd_chunk_nand()
255 return ret_val; in yaffs_rd_chunk_nand()
A Dyaffs_guts.c422 int ret_val; in yaffs_alloc_chunk() local
462 return ret_val; in yaffs_alloc_chunk()
1005 return ret_val; in yaffs_find_chunk_in_file()
1011 return ret_val; in yaffs_find_chunk_in_file()
1032 return ret_val; in yaffs_find_del_file_chunk()
1043 return ret_val; in yaffs_find_del_file_chunk()
3814 int ret_val; in yaffs_unlink_file_if_needed() local
3822 ret_val = in yaffs_unlink_file_if_needed()
3834 ret_val = in yaffs_unlink_file_if_needed()
3936 ret_val = 0; in yaffs_del_obj()
[all …]
/u-boot/arch/x86/cpu/quark/
A Dmrc_util.c968 uint32_t ret_val = sizeof(vref_codes) / 2; in get_vref() local
981 ret_val = j; in get_vref()
988 return ret_val; in get_vref()
1036 uint32_t ret_val = 0x00; /* assume all '0' samples */ in sample_dqs() local
1076 ret_val |= (1 << (bl + bl_grp * 2)); in sample_dqs()
1086 return ret_val; in sample_dqs()
1257 uint32_t ret_val = 0x00; in byte_lane_mask() local
1266 ret_val |= (1 << ((j / NUM_BYTE_LANES) * NUM_BYTE_LANES)); in byte_lane_mask()
1273 ret_val |= (ret_val << 2); in byte_lane_mask()
1275 return ret_val; in byte_lane_mask()
/u-boot/arch/arm/mach-sunxi/
A Ddram_sun4i.c568 int ret_val; in dramc_init_helper() local
671 ret_val = dramc_scan_readpipe(); in dramc_init_helper()
673 if (ret_val < 0) in dramc_init_helper()

Completed in 60 milliseconds