Lines Matching refs:argc
46 static const void *boot_get_kernel(cmd_tbl_t *cmdtp, int flag, int argc,
71 static int bootm_start(cmd_tbl_t *cmdtp, int flag, int argc, in bootm_start() argument
85 static int bootm_find_os(cmd_tbl_t *cmdtp, int flag, int argc, in bootm_find_os() argument
93 os_hdr = boot_get_kernel(cmdtp, flag, argc, argv, in bootm_find_os()
242 int bootm_find_images(int flag, int argc, char * const argv[]) in bootm_find_images() argument
247 ret = boot_get_ramdisk(argc, argv, &images, IH_INITRD_ARCH, in bootm_find_images()
256 ret = boot_get_fdt(flag, argc, argv, IH_ARCH_DEFAULT, &images, in bootm_find_images()
269 ret = boot_get_fpga(argc, argv, &images, IH_ARCH_DEFAULT, in bootm_find_images()
278 ret = boot_get_loadable(argc, argv, &images, IH_ARCH_DEFAULT, in bootm_find_images()
289 static int bootm_find_other(cmd_tbl_t *cmdtp, int flag, int argc, in bootm_find_other() argument
297 return bootm_find_images(flag, argc, argv); in bootm_find_other()
691 int do_bootm_states(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[], in do_bootm_states() argument
705 ret = bootm_start(cmdtp, flag, argc, argv); in do_bootm_states()
708 ret = bootm_find_os(cmdtp, flag, argc, argv); in do_bootm_states()
711 ret = bootm_find_other(cmdtp, flag, argc, argv); in do_bootm_states()
767 ret = boot_fn(BOOTM_STATE_OS_CMDLINE, argc, argv, images); in do_bootm_states()
769 ret = boot_fn(BOOTM_STATE_OS_BD_T, argc, argv, images); in do_bootm_states()
775 ret = boot_fn(BOOTM_STATE_OS_PREP, argc, argv, images); in do_bootm_states()
783 ret = boot_selected_os(argc, argv, BOOTM_STATE_OS_FAKE_GO, in do_bootm_states()
798 ret = boot_selected_os(argc, argv, BOOTM_STATE_OS_GO, in do_bootm_states()
809 do_reset(cmdtp, flag, argc, argv); in do_bootm_states()
879 static const void *boot_get_kernel(cmd_tbl_t *cmdtp, int flag, int argc, in boot_get_kernel() argument
894 img_addr = genimg_get_kernel_addr_fit(argc < 1 ? NULL : argv[0], in boot_get_kernel()