Home
last modified time | relevance | path

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

123

/external/u-boot/cmd/
Dflash.c194 int rcode = 0; in flash_fill_sect_ranges() local
242 rcode = 1; in flash_fill_sect_ranges()
249 rcode = 1; in flash_fill_sect_ranges()
257 rcode = 1; in flash_fill_sect_ranges()
262 rcode = 1; in flash_fill_sect_ranges()
267 return rcode; in flash_fill_sect_ranges()
310 int rcode = 0; in do_flerase() local
319 rcode = flash_erase (info, 0, info->sector_count-1); in do_flerase()
321 return rcode; in do_flerase()
331 rcode = flash_erase(info, sect_first, sect_last); in do_flerase()
[all …]
Ddate.c35 int rcode = 0; in do_date() local
42 rcode = uclass_get_device(UCLASS_RTC, 0, &dev); in do_date()
43 if (rcode) { in do_date()
44 printf("Cannot find RTC: err=%d\n", rcode); in do_date()
60 rcode = dm_rtc_reset(dev); in do_date()
61 if (!rcode) in do_date()
62 rcode = dm_rtc_set(dev, &default_tm); in do_date()
65 rcode = rtc_set(&default_tm); in do_date()
67 if (rcode) in do_date()
72 rcode = dm_rtc_get(dev, &tm); in do_date()
[all …]
Deeprom.c160 int rcode = 0; in eeprom_rw() local
168 rcode = eeprom_rw_block(offset, addr, alen, buffer, len, read); in eeprom_rw()
177 return rcode; in eeprom_rw()
297 int rcode = 0; in eeprom_execute_command() local
311 rcode = eeprom_read(i2c_addr, off, (uchar *)addr, cnt); in eeprom_execute_command()
314 return rcode; in eeprom_execute_command()
318 rcode = eeprom_write(i2c_addr, off, (uchar *)addr, cnt); in eeprom_execute_command()
321 return rcode; in eeprom_execute_command()
325 rcode = eeprom_read(i2c_addr, 0, eeprom_buf, CONFIG_SYS_EEPROM_SIZE); in eeprom_execute_command()
326 if (rcode < 0) in eeprom_execute_command()
[all …]
Dboot.c27 int rcode = 0; in do_go() local
41 if (rc != 0) rcode = 1; in do_go()
44 return rcode; in do_go()
Dmii.c276 int rcode = 0; in do_mii() local
365 rcode = 1; in do_mii()
382 rcode = 1; in do_mii()
395 rcode = 1; in do_mii()
403 rcode = 1; in do_mii()
424 rcode = 1; in do_mii()
452 return rcode; in do_mii()
Dpcmcia.c54 int rcode = 0; in do_pinit() local
61 rcode = pcmcia_on (); in do_pinit()
63 rcode = pcmcia_off (); in do_pinit()
69 return rcode; in do_pinit()
Dsource.c145 int rcode; in do_source() local
163 rcode = source (addr, fit_uname); in do_source()
164 return rcode; in do_source()
Dnet.c182 int rcode = 0; in netboot_common() local
257 rcode = bootm_maybe_autostart(cmdtp, argv[0]); in netboot_common()
259 if (rcode == CMD_RET_SUCCESS) in netboot_common()
263 return rcode; in netboot_common()
Dbedbug.c107 int rcode = 0; in do_bedbug_asm() local
132 rcode = 1; in do_bedbug_asm()
138 return rcode; in do_bedbug_asm()
Delf.c196 int rcode = 0; in do_bootelf() local
224 return rcode; in do_bootelf()
234 rcode = 1; in do_bootelf()
238 return rcode; in do_bootelf()
Dload.c45 int rcode = 0; in do_load_serial() local
105 rcode = 1; in do_load_serial()
125 return rcode; in do_load_serial()
422 int rcode = 0; in do_load_serial_bin() local
486 rcode = 1; in do_load_serial_bin()
505 return rcode; in do_load_serial_bin()
/external/u-boot/arch/arm/mach-keystone/
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()
/external/u-boot/env/
Dnvram.c71 int rcode = 0; in env_nvram_save() local
73 rcode = env_export(&env_new); in env_nvram_save()
74 if (rcode) in env_nvram_save()
75 return rcode; in env_nvram_save()
81 rcode = 1; in env_nvram_save()
83 return rcode; in env_nvram_save()
Deeprom.c26 int rcode; in eeprom_bus_read() local
34 rcode = eeprom_read(dev_addr, offset, buffer, cnt); in eeprom_bus_read()
40 return rcode; in eeprom_bus_read()
46 int rcode; in eeprom_bus_write() local
54 rcode = eeprom_write(dev_addr, offset, buffer, cnt); in eeprom_bus_write()
60 return rcode; in eeprom_bus_write()
/external/u-boot/common/
Dcli_hush.c545 int rcode = EXIT_SUCCESS; in builtin_eval() local
552 rcode = last_return_code; in builtin_eval()
554 return rcode; in builtin_eval()
1265 int i, rcode; local
1294 rcode = x->function(child);
1296 _exit(rcode);
1341 rcode = run_list_real(child->group);
1344 _exit(rcode);
1434 int i, rcode = 0; local
1438 rcode=WEXITSTATUS(status);
[all …]
Dcli.c77 int rcode = 0; in run_command_list() local
97 rcode = parse_string_outer(buff, FLAG_PARSE_SEMICOLON); in run_command_list()
107 rcode = cli_simple_run_command_list(buff, flag); in run_command_list()
109 rcode = board_run_command(buff); in run_command_list()
115 return rcode; in run_command_list()
Dcli_simple.c311 int rcode = 0; in cli_simple_run_command_list() local
326 rcode = 1; in cli_simple_run_command_list()
334 if (rcode == 0 && *line) in cli_simple_run_command_list()
335 rcode = (cli_simple_run_command(line, 0) < 0); in cli_simple_run_command_list()
337 return rcode; in cli_simple_run_command_list()
Dcommand.c25 int rcode = 0; in _do_help() local
74 rcode |= cmd_usage(cmdtp); in _do_help()
78 rcode = 1; in _do_help()
81 return rcode; in _do_help()
/external/u-boot/arch/powerpc/cpu/mpc8xx/
Dimmap.c177 uint rcode = 0; in do_iopset() local
199 rcode = 1; in do_iopset()
202 rcode = 1; in do_iopset()
212 rcode = 1; in do_iopset()
228 rcode = 1; in do_iopset()
235 rcode = 1; in do_iopset()
236 if (rcode == 0) { in do_iopset()
279 return rcode; in do_iopset()
/external/u-boot/board/BuS/eb_cpu5282/
Deb_cpu5282.c229 int rcode = 0; in do_brightness() local
240 rcode = 0; in do_brightness()
244 rcode = 1; in do_brightness()
249 rcode = 1; in do_brightness()
252 return rcode; in do_brightness()
/external/toybox/toys/pending/
Dhost.c71 i, j, ret, sec, count, rcode, qlen, alen, pllen = 0; in host_main() local
136 rcode = abuf[3] & 15; in host_main()
140 rcode, rct[rcode], 256*abuf[6] + abuf[7]); in host_main()
144 if (rcode) error_exit("Host not found."); in host_main()
213 toys.exitval = rcode; in host_main()
/external/u-boot/arch/arm/mach-imx/
Dhab.c309 int rcode = 0; in do_authenticate_image() local
318 rcode = imx_hab_authenticate_image(addr, length, ivt_offset); in do_authenticate_image()
319 if (rcode == 0) in do_authenticate_image()
320 rcode = CMD_RET_SUCCESS; in do_authenticate_image()
322 rcode = CMD_RET_FAILURE; in do_authenticate_image()
324 return rcode; in do_authenticate_image()
/external/dnsmasq/src/
Dforward.c357 if (header->opcode != QUERY || (header->rcode != NOERROR && header->rcode != NXDOMAIN)) in process_reply()
361 if (!header->ra && header->rcode == NOERROR && ntohs(header->ancount) == 0 && server && in process_reply()
368 if (daemon->bogus_addr && header->rcode != NXDOMAIN && in process_reply()
371 header->rcode = NXDOMAIN; in process_reply()
374 if (header->rcode == NXDOMAIN && extract_request(header, n, daemon->namebuff, NULL) && in process_reply()
381 header->rcode = NOERROR; in process_reply()
440 if ((header->rcode == SERVFAIL || header->rcode == REFUSED) && !(daemon->options & OPT_ORDER) && in reply_query()
464 if (header->rcode == SERVFAIL || header->rcode == REFUSED) in reply_query()
486 (header->rcode != REFUSED && header->rcode != SERVFAIL)) { in reply_query()
/external/kernel-headers/original/uapi/linux/
Dfirewire-cdev.h119 __u32 rcode; member
356 __u32 rcode; member
534 __u32 rcode; member
/external/u-boot/board/freescale/m5253demo/
Dflash.c182 int rcode = 0, flashtype = 0; in flash_erase() local
299 rcode = 1; in flash_erase()
315 return rcode; in flash_erase()

123