Home
last modified time | relevance | path

Searched refs:rcode (Results 1 – 25 of 27) sorted by relevance

12

/u-boot/cmd/
A Ddate.c37 int rcode = 0; in do_date() local
45 if (rcode) { in do_date()
63 if (!rcode) in do_date()
69 if (rcode) in do_date()
76 rcode = rtc_get(&tm); in do_date()
78 if (!rcode) { in do_date()
90 if (rcode) { in do_date()
92 rcode); in do_date()
103 rcode = rtc_get(&tm); in do_date()
105 if (rcode) { in do_date()
[all …]
A Dflash.c196 int rcode = 0; in flash_fill_sect_ranges() local
244 rcode = 1; in flash_fill_sect_ranges()
251 rcode = 1; in flash_fill_sect_ranges()
259 rcode = 1; in flash_fill_sect_ranges()
264 rcode = 1; in flash_fill_sect_ranges()
269 return rcode; in flash_fill_sect_ranges()
390 return rcode; in do_flerase()
430 rcode = 1; in flash_sect_erase()
432 return rcode; in flash_sect_erase()
602 int rcode; in flash_sect_protect() local
[all …]
A Deeprom.c169 int rcode = 0; in eeprom_rw() local
181 rcode = eeprom_rw_block(offset, addr, alen, buffer, len, read); in eeprom_rw()
190 return rcode; in eeprom_rw()
310 int rcode = 0; in eeprom_execute_command() local
324 rcode = eeprom_read(i2c_addr, off, (uchar *)addr, cnt); in eeprom_execute_command()
327 return rcode; in eeprom_execute_command()
331 rcode = eeprom_write(i2c_addr, off, (uchar *)addr, cnt); in eeprom_execute_command()
334 return rcode; in eeprom_execute_command()
339 if (rcode < 0) in eeprom_execute_command()
340 return rcode; in eeprom_execute_command()
[all …]
A Dboot.c27 int rcode = 0; in do_go() local
41 if (rc != 0) rcode = 1; in do_go()
44 return rcode; in do_go()
A Dsource.c168 int rcode; in do_source() local
187 rcode = image_source_script(addr, fit_uname); in do_source()
188 return rcode; in do_source()
A Dmii.c287 int rcode = 0; in do_mii() local
376 rcode = 1; in do_mii()
393 rcode = 1; in do_mii()
406 rcode = 1; in do_mii()
414 rcode = 1; in do_mii()
434 rcode = 1; in do_mii()
462 return rcode; in do_mii()
A Delf.c45 int rcode = 0; in do_bootelf() local
73 return rcode; in do_bootelf()
83 rcode = 1; in do_bootelf()
87 return rcode; in do_bootelf()
A Dbedbug.c111 int rcode = 0; in do_bedbug_asm() local
136 rcode = 1; in do_bedbug_asm()
142 return rcode; in do_bedbug_asm()
A Dnet.c198 int rcode = 0; in netboot_common() local
279 rcode = bootm_maybe_autostart(cmdtp, argv[0]); in netboot_common()
281 if (rcode == CMD_RET_SUCCESS) in netboot_common()
285 return rcode; in netboot_common()
A Dload.c55 int rcode = 0; in do_load_serial() local
115 rcode = 1; in do_load_serial()
135 return rcode; in do_load_serial()
432 int rcode = 0; in do_load_serial_bin() local
496 rcode = 1; in do_load_serial_bin()
515 return rcode; in do_load_serial_bin()
A Dbootm.c236 int rcode = 0; in do_iminfo() local
245 rcode = 1; in do_iminfo()
247 return rcode; in do_iminfo()
A Dnvedit.c131 int rcode = 0; in do_env_print() local
147 rcode = env_print(NULL, env_flag); in do_env_print()
148 if (!rcode) in do_env_print()
151 rcode, (ulong)ENV_SIZE); in do_env_print()
161 ++rcode; in do_env_print()
165 return rcode; in do_env_print()
/u-boot/arch/arm/mach-keystone/
A Dcmd_mon.c19 int rcode = 0; in do_mon_install() local
45 rcode = mon_install(load_addr, dpsc_base, freq, ecrypt_bm_addr); in do_mon_install()
47 load_addr, freq, rcode); in do_mon_install()
71 int rcode = 0, core_id, on; in do_mon_power() local
83 rcode = mon_power_on(core_id, fn); in do_mon_power()
85 rcode = mon_power_off(core_id); in do_mon_power()
88 if (!rcode) in do_mon_power()
/u-boot/env/
A Dnvram.c74 int rcode = 0; in env_nvram_save() local
76 rcode = env_export(&env_new); in env_nvram_save()
77 if (rcode) in env_nvram_save()
78 return rcode; in env_nvram_save()
84 rcode = 1; in env_nvram_save()
86 return rcode; in env_nvram_save()
A Deeprom.c30 int rcode; in eeprom_bus_read() local
38 rcode = eeprom_read(dev_addr, offset, buffer, cnt); in eeprom_bus_read()
44 return rcode; in eeprom_bus_read()
50 int rcode; in eeprom_bus_write() local
58 rcode = eeprom_write(dev_addr, offset, buffer, cnt); in eeprom_bus_write()
64 return rcode; in eeprom_bus_write()
/u-boot/common/
A Dcli.c89 int rcode = 0; in run_command_list() local
109 rcode = parse_string_outer(buff, FLAG_PARSE_SEMICOLON); in run_command_list()
119 rcode = cli_simple_run_command_list(buff, flag); in run_command_list()
121 rcode = board_run_command(buff); in run_command_list()
127 return rcode; in run_command_list()
A Dcli_simple.c321 int rcode = 0; in cli_simple_run_command_list() local
336 rcode = 1; in cli_simple_run_command_list()
344 if (rcode == 0 && *line) in cli_simple_run_command_list()
345 rcode = (cli_simple_run_command(line, 0) < 0); in cli_simple_run_command_list()
347 return rcode; in cli_simple_run_command_list()
A Dcli_hush.c553 return rcode; in builtin_eval()
1264 int i, rcode; local
1575 int rcode; local
1584 int rcode;
1645 int rcode; local
1923 return rcode;
2018 int rcode=0; local
3179 int rcode; local
3254 int rcode; local
3282 int rcode; local
[all …]
A Dcommand.c31 int rcode = 0; in _do_help() local
80 rcode |= cmd_usage(cmdtp); in _do_help()
84 rcode = 1; in _do_help()
87 return rcode; in _do_help()
/u-boot/board/BuS/eb_cpu5282/
A Deb_cpu5282.c231 int rcode = 0; in do_brightness() local
242 rcode = 0; in do_brightness()
246 rcode = 1; in do_brightness()
251 rcode = 1; in do_brightness()
254 return rcode; in do_brightness()
/u-boot/arch/powerpc/cpu/mpc8xx/
A Dimmap.c182 uint rcode = 0; in do_iopset() local
204 rcode = 1; in do_iopset()
207 rcode = 1; in do_iopset()
217 rcode = 1; in do_iopset()
233 rcode = 1; in do_iopset()
240 rcode = 1; in do_iopset()
241 if (rcode == 0) { in do_iopset()
284 return rcode; in do_iopset()
/u-boot/arch/arm/mach-imx/
A Dhab.c332 int rcode = 0; in do_authenticate_image() local
344 rcode = imx_hab_authenticate_image(addr, length, ivt_offset); in do_authenticate_image()
345 if (rcode == 0) in do_authenticate_image()
346 rcode = CMD_RET_SUCCESS; in do_authenticate_image()
348 rcode = CMD_RET_FAILURE; in do_authenticate_image()
350 return rcode; in do_authenticate_image()
/u-boot/board/freescale/m5253demo/
A Dflash.c185 int rcode = 0, flashtype = 0; in flash_erase() local
302 rcode = 1; in flash_erase()
318 return rcode; in flash_erase()
/u-boot/drivers/mtd/
A Dst_smi.c534 int rcode = 0; in flash_erase() local
557 rcode = 1; in flash_erase()
563 return rcode; in flash_erase()
/u-boot/drivers/mtd/nand/raw/
A Dnand_bbt.c628 uint8_t rcode = td->reserved_block_code; in write_bbt() local
638 if (!rcode) in write_bbt()
639 rcode = 0xff; in write_bbt()
699 msk[2] = ~rcode; in write_bbt()

Completed in 56 milliseconds

12