/u-boot/arch/arm/include/asm/xen/ |
H A D | hypercall.h | 15 int HYPERVISOR_xen_version(int cmd, void *arg); 16 int HYPERVISOR_console_io(int cmd, int count, char *str); 17 int HYPERVISOR_grant_table_op(unsigned int cmd, void *uop, unsigned int count); 18 int HYPERVISOR_sched_op(int cmd, void *arg); 19 int HYPERVISOR_event_channel_op(int cmd, void *arg); 21 int HYPERVISOR_memory_op(unsigned int cmd, void *arg);
|
/u-boot/test/py/tests/test_efi_bootmgr/ |
H A D | test_efi_bootmgr.py | 21 u_boot_console.run_command(cmd = f'host bind 0 {efi_bootmgr_data}') 23 u_boot_console.run_command(cmd = 'efidebug boot add ' \ 26 u_boot_console.run_command(cmd = 'efidebug boot dump') 27 u_boot_console.run_command(cmd = 'efidebug boot order 0001') 28 u_boot_console.run_command(cmd = 'bootefi bootmgr') 29 response = u_boot_console.run_command(cmd = 'load', wait_for_echo=False) 31 u_boot_console.run_command(cmd = 'exit', wait_for_echo=False) 33 u_boot_console.run_command(cmd = 'efidebug boot add ' \ 36 u_boot_console.run_command(cmd = 'efidebug boot dump') 37 u_boot_console.run_command(cmd [all...] |
/u-boot/common/ |
H A D | button_cmd.c | 19 const char *cmd; member in struct:button_cmd 28 * and populate the cmd struct with the command string and pressed 33 static int get_button_cmd(int n, struct button_cmd *cmd) argument 40 cmd->btn_name = env_get(buf); 41 if (!cmd->btn_name) 44 button_get_by_label(cmd->btn_name, &btn); 46 log_err("No button labelled '%s'\n", cmd->btn_name); 50 cmd->pressed = button_get_state(btn) == BUTTON_ON; 51 /* If the button isn't pressed then cmd->cmd wil 71 struct button_cmd cmd = {0}; local [all...] |
H A D | cli.c | 40 * @param cmd Command to run 44 int run_command(const char *cmd, int flag) argument 51 if (cli_simple_run_command(cmd, flag) == -1) 61 return parse_string_outer(cmd, hush_flags); 78 return parse_string_outer_modern(cmd, FLAG_EXIT_FROM_LOOP); 85 * @param cmd Command to run 89 int run_command_repeatable(const char *cmd, int flag) argument 92 return cli_simple_run_command(cmd, flag); 97 ret = parse_string_outer(cmd, 101 ret = parse_string_outer_modern(cmd, 125 run_command_list(const char *cmd, int len, int flag) argument 254 cli_secure_boot_cmd(const char *cmd) argument [all...] |
/u-boot/drivers/net/fsl-mc/ |
H A D | dpsparser.c | 29 struct mc_command cmd = { 0 }; local 33 cmd.header = mc_encode_cmd_header(DPSPARSER_CMDID_OPEN, 38 err = mc_send_command(mc_io, &cmd); 43 *token = mc_cmd_hdr_read_token(&cmd); 61 struct mc_command cmd = { 0 }; local 64 cmd.header = mc_encode_cmd_header(DPSPARSER_CMDID_CLOSE, cmd_flags, 68 return mc_send_command(mc_io, &cmd); 94 struct mc_command cmd = { 0 }; local 98 cmd.header = mc_encode_cmd_header(DPSPARSER_CMDID_CREATE, 103 err = mc_send_command(mc_io, &cmd); 125 struct mc_command cmd = { 0 }; local 153 struct mc_command cmd = { 0 }; local 188 struct mc_command cmd = { 0 }; local [all...] |
H A D | dpbp.c | 32 struct mc_command cmd = { 0 }; local 36 cmd.header = mc_encode_cmd_header(DPBP_CMDID_OPEN, 38 cmd_params = (struct dpbp_cmd_open *)cmd.params; 42 err = mc_send_command(mc_io, &cmd); 47 *token = mc_cmd_hdr_read_token(&cmd); 65 struct mc_command cmd = { 0 }; local 68 cmd.header = mc_encode_cmd_header(DPBP_CMDID_CLOSE, cmd_flags, 72 return mc_send_command(mc_io, &cmd); 96 struct mc_command cmd = { 0 }; local 102 cmd 129 struct mc_command cmd = { 0 }; local 152 struct mc_command cmd = { 0 }; local 172 struct mc_command cmd = { 0 }; local 192 struct mc_command cmd = { 0 }; local 216 struct mc_command cmd = { 0 }; local 248 struct mc_command cmd = { 0 }; local [all...] |
H A D | dpmac.c | 34 struct mc_command cmd = { 0 }; local 38 cmd.header = mc_encode_cmd_header(DPMAC_CMDID_OPEN, cmd_flags, 0); 39 cmd_params = (struct dpmac_cmd_open *)cmd.params; 43 err = mc_send_command(mc_io, &cmd); 48 *token = mc_cmd_hdr_read_token(&cmd); 66 struct mc_command cmd = { 0 }; local 69 cmd.header = mc_encode_cmd_header(DPMAC_CMDID_CLOSE, cmd_flags, token); 72 return mc_send_command(mc_io, &cmd); 98 struct mc_command cmd = { 0 }; local 102 cmd 136 struct mc_command cmd = { 0 }; local 162 struct mc_command cmd = { 0 }; local 193 struct mc_command cmd = { 0 }; local 226 struct mc_command cmd = { 0 }; local [all...] |
H A D | mc_sys.c | 16 static u16 mc_cmd_hdr_read_cmdid(struct mc_command *cmd) argument 18 struct mc_cmd_header *hdr = (struct mc_cmd_header *)&cmd->header; 28 * @cmd: MC command buffer. On input, it contains the command to send to the MC. 37 struct mc_command *cmd) 42 mc_write_command(mc_io->mmio_regs, cmd); 45 status = mc_read_response(mc_io->mmio_regs, cmd); 60 (unsigned int)mc_cmd_hdr_read_token(cmd), 61 (unsigned int)mc_cmd_hdr_read_cmdid(cmd), 36 mc_send_command(struct fsl_mc_io *mc_io, struct mc_command *cmd) argument
|
H A D | dprc.c | 23 struct mc_command cmd = { 0 }; local 27 cmd.header = mc_encode_cmd_header(DPRC_CMDID_GET_CONT_ID, 32 err = mc_send_command(mc_io, &cmd); 37 *container_id = (int)mc_cmd_read_object_id(&cmd); 56 struct mc_command cmd = { 0 }; local 60 cmd.header = mc_encode_cmd_header(DPRC_CMDID_OPEN, cmd_flags, 62 cmd_params = (struct dprc_cmd_open *)cmd.params; 66 err = mc_send_command(mc_io, &cmd); 71 *token = mc_cmd_hdr_read_token(&cmd); 89 struct mc_command cmd local 116 struct mc_command cmd = { 0 }; local 168 struct mc_command cmd = { 0 }; local 199 struct mc_command cmd = { 0 }; local 235 struct mc_command cmd = { 0 }; local 273 struct mc_command cmd = { 0 }; local 314 struct mc_command cmd = { 0 }; local [all...] |
H A D | dpmng.c | 22 struct mc_command cmd = { 0 }; local 26 cmd.header = mc_encode_cmd_header(DPMNG_CMDID_GET_VERSION, 31 err = mc_send_command(mc_io, &cmd); 36 rsp_params = (struct dpmng_rsp_get_version *)cmd.params;
|
/u-boot/drivers/mmc/ |
H A D | mmc_boot.c | 28 struct mmc_cmd cmd; local 31 cmd.cmdidx = MMC_CMD_RES_MAN; 32 cmd.resp_type = MMC_RSP_R1b; 33 cmd.cmdarg = MMC_CMD62_ARG1; 35 err = mmc_send_cmd(mmc, &cmd, NULL); 42 cmd.cmdidx = MMC_CMD_RES_MAN; 43 cmd.resp_type = MMC_RSP_R1b; 44 cmd.cmdarg = MMC_CMD62_ARG2; 46 err = mmc_send_cmd(mmc, &cmd, NULL); 55 cmd [all...] |
/u-boot/include/ |
H A D | fb_nand.h | 25 * @cmd: Named device to write image to 30 void fastboot_nand_flash_write(const char *cmd, void *download_buffer, 36 * @cmd: Named device to erase 39 void fastboot_nand_erase(const char *cmd, char *response);
|
H A D | fb_mmc.h | 28 * @cmd: Named partition to write image to 33 void fastboot_mmc_flash_write(const char *cmd, void *download_buffer, 38 * @cmd: Named partition to erase 41 void fastboot_mmc_erase(const char *cmd, char *response);
|
H A D | sm-uclass.h | 40 int (*sm_call)(struct udevice *dev, u32 cmd, s32 *smc_ret, 49 * @cmd: Index of the SMC function ID 55 size_t size, u32 cmd, struct pt_regs *args); 63 * @cmd: Index of the SMC function ID 69 size_t size, u32 cmd, struct pt_regs *args);
|
H A D | sm.h | 13 * each driver should convert @cmd to some raw 37 int sm_call(struct udevice *dev, u32 cmd, s32 *ret, struct pt_regs *args); 45 * @cmd: Index of the SMC function ID 51 u32 cmd, struct pt_regs *args); 59 * @cmd: Index of the SMC function ID 65 u32 cmd, struct pt_regs *args);
|
/u-boot/drivers/net/fsl-mc/dpio/ |
H A D | dpio.c | 32 struct mc_command cmd = { 0 }; local 36 cmd.header = mc_encode_cmd_header(DPIO_CMDID_OPEN, 39 cmd_params = (struct dpio_cmd_open *)cmd.params; 43 err = mc_send_command(mc_io, &cmd); 48 *token = mc_cmd_hdr_read_token(&cmd); 63 struct mc_command cmd = { 0 }; local 66 cmd.header = mc_encode_cmd_header(DPIO_CMDID_CLOSE, 71 return mc_send_command(mc_io, &cmd); 100 struct mc_command cmd = { 0 }; local 104 cmd 143 struct mc_command cmd = { 0 }; local 168 struct mc_command cmd = { 0 }; local 189 struct mc_command cmd = { 0 }; local 213 struct mc_command cmd = { 0 }; local 252 struct mc_command cmd = { 0 }; local [all...] |
/u-boot/test/py/tests/ |
H A D | test_mmc_wr.py | 71 cmd = 'random %s %x' % (src_addr, count_bytes) 72 response = u_boot_console.run_command(cmd) 77 cmd = 'mmc dev %d' % devid 79 cmd += ' %d' % partid 80 response = u_boot_console.run_command(cmd) 90 cmd = 'mmc write %s %x %x' % (src_addr, sector, count_sectors) 91 response = u_boot_console.run_command(cmd) 96 cmd = 'mmc read %s %x %x' % (dst_addr, sector, count_sectors) 97 response = u_boot_console.run_command(cmd) 102 cmd [all...] |
H A D | test_efi_selftest.py | 17 u_boot_console.run_command(cmd='setenv efi_selftest') 18 u_boot_console.run_command(cmd='bootefi selftest', wait_for_prompt=False) 34 u_boot_console.run_command(cmd='setenv efi_selftest list') 37 u_boot_console.run_command(cmd='setenv efi_selftest device tree') 39 u_boot_console.run_command(cmd='setenv efi_test "${serial#}x"') 40 u_boot_console.run_command(cmd='test "${efi_test}" = x && setenv serial# 0') 41 u_boot_console.run_command(cmd='bootefi selftest ${fdtcontroladdr}', wait_for_prompt=False) 54 u_boot_console.run_command(cmd='setenv efi_selftest list') 57 u_boot_console.run_command(cmd='setenv efi_selftest watchdog reboot') 58 u_boot_console.run_command(cmd [all...] |
/u-boot/drivers/net/octeontx2/ |
H A D | cgx_intf.c | 114 u8 cmd = cmd_args.cmd.id; local 125 scr1.s.cmd.id = cmd; 147 if (cmd == CGX_CMD_INTF_SHUTDOWN) 151 debug("%s received async event instead of cmd resp event\n", 156 if (scr0.s.evt_sts.id != cmd) { 157 debug("%s received resp for cmd %d expected cmd %d\n", 158 __func__, scr0.s.evt_sts.id, cmd); 187 union cgx_cmd_s cmd; local 205 union cgx_cmd_s cmd; local 223 union cgx_cmd_s cmd; local 243 union cgx_cmd_s cmd; local 262 union cgx_cmd_s cmd; local 273 union cgx_cmd_s cmd; local 358 union cgx_cmd_s cmd; local 409 union cgx_cmd_s cmd; local 454 union cgx_cmd_s cmd; local 509 union cgx_cmd_s cmd; local 529 union cgx_cmd_s cmd; local 550 union cgx_cmd_s cmd; local 572 union cgx_cmd_s cmd; local 595 union cgx_cmd_s cmd; local 631 union cgx_cmd_s cmd; local 662 union cgx_cmd_s cmd; local 685 union cgx_cmd_s cmd; local 703 union cgx_cmd_s cmd; local [all...] |
/u-boot/tools/ |
H A D | rmboard.py | 46 cmd = ['git', 'grep', path] 47 stdout = command.run_pipe([cmd], capture=True, raise_on_error=False).stdout 53 cmd = ['sed', '-i', '\|%s|d' % path, fname] 54 stdout = command.run_pipe([cmd], capture=True).stdout 56 cmd = ['git', 'add', fname] 57 stdout = command.run_pipe([cmd], capture=True).stdout 71 cmd = ['git', 'grep', '-l', board] 72 stdout = command.run_pipe([cmd], capture=True).stdout 112 cmd = ['find', path] 113 stdout = (command.run_pipe([cmd], captur 134 cmd = ['git', 'commit', '-s', '-m', msg] variable 139 cmd = ['git', 'grep', '-il', board] variable [all...] |
/u-boot/test/py/ |
H A D | u_boot_console_exec_attach.py | 41 cmd = ['u-boot-test-flash', config.board_type, config.board_identity] 42 runner = self.log.get_runner(cmd[0], sys.stdout) 43 runner.run(cmd) 64 cmd = ['u-boot-test-reset'] + args 65 runner = self.log.get_runner(cmd[0], sys.stdout) 66 runner.run(cmd)
|
/u-boot/cmd/ |
H A D | help.c | 14 struct cmd_tbl *start = ll_entry_start(struct cmd_tbl, cmd); 15 const int len = ll_entry_count(struct cmd_tbl, cmd); 36 ll_entry_declare(struct cmd_tbl, question_mark, cmd) = {
|
/u-boot/include/fsl-mc/ |
H A D | fsl_mc_sys.h | 23 struct mc_command *cmd);
|
/u-boot/drivers/scsi/ |
H A D | scsi.c | 41 pccb->cmd[0] = SCSI_READ16; 42 pccb->cmd[1] = pccb->lun << 5; 43 pccb->cmd[2] = (unsigned char)(start >> 56) & 0xff; 44 pccb->cmd[3] = (unsigned char)(start >> 48) & 0xff; 45 pccb->cmd[4] = (unsigned char)(start >> 40) & 0xff; 46 pccb->cmd[5] = (unsigned char)(start >> 32) & 0xff; 47 pccb->cmd[6] = (unsigned char)(start >> 24) & 0xff; 48 pccb->cmd[7] = (unsigned char)(start >> 16) & 0xff; 49 pccb->cmd[8] = (unsigned char)(start >> 8) & 0xff; 50 pccb->cmd[ [all...] |
/u-boot/test/py/tests/test_android/ |
H A D | test_ab.py | 37 cmd = ('sgdisk', persistent) 38 u_boot_utils.run_and_log(u_boot_console, cmd) 40 cmd = ('sgdisk', '--new=1:64:512', '--change-name=1:misc', 42 u_boot_utils.run_and_log(u_boot_console, cmd) 43 cmd = ('sgdisk', '--load-backup=' + persistent) 44 u_boot_utils.run_and_log(u_boot_console, cmd) 46 cmd = ('cp', persistent, self.path) 47 u_boot_utils.run_and_log(u_boot_console, cmd)
|