/u-boot/cmd/ |
A D | date.c | 37 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 D | flash.c | 196 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 D | eeprom.c | 169 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 D | boot.c | 27 int rcode = 0; in do_go() local 41 if (rc != 0) rcode = 1; in do_go() 44 return rcode; in do_go()
|
A D | source.c | 168 int rcode; in do_source() local 187 rcode = image_source_script(addr, fit_uname); in do_source() 188 return rcode; in do_source()
|
A D | mii.c | 287 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 D | elf.c | 45 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 D | bedbug.c | 111 int rcode = 0; in do_bedbug_asm() local 136 rcode = 1; in do_bedbug_asm() 142 return rcode; in do_bedbug_asm()
|
A D | net.c | 198 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 D | load.c | 55 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 D | bootm.c | 236 int rcode = 0; in do_iminfo() local 245 rcode = 1; in do_iminfo() 247 return rcode; in do_iminfo()
|
A D | nvedit.c | 131 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 D | cmd_mon.c | 19 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 D | nvram.c | 74 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 D | eeprom.c | 30 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 D | cli.c | 89 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 D | cli_simple.c | 321 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 D | cli_hush.c | 553 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 D | command.c | 31 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 D | eb_cpu5282.c | 231 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 D | immap.c | 182 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 D | hab.c | 332 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 D | flash.c | 185 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 D | st_smi.c | 534 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 D | nand_bbt.c | 628 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()
|