| /u-boot/doc/usage/ |
| A D | index.rst | 23 cmd/acpi 26 cmd/base 28 cmd/bind 40 cmd/cat 42 cmd/cls 43 cmd/cmp 46 cmd/cp 48 cmd/dm 51 cmd/efi 53 cmd/env [all …]
|
| /u-boot/include/fsl-mc/ |
| A D | fsl_dprc.h | 39 MC_RSP_OP(cmd, 0, 0, 32, int, container_id) 42 #define DPRC_CMD_OPEN(cmd, container_id) \ argument 43 MC_CMD_OP(cmd, 0, 0, 32, int, container_id) 46 #define DPRC_CMD_CREATE_CONTAINER(cmd, cfg) \ argument 85 #define DPRC_RSP_GET_ATTRIBUTES(cmd, attr) \ argument 95 MC_RSP_OP(cmd, 0, 32, 32, int, obj_count) 98 #define DPRC_CMD_GET_OBJ(cmd, obj_index) \ argument 99 MC_CMD_OP(cmd, 0, 0, 32, int, obj_index) 102 #define DPRC_RSP_GET_OBJ(cmd, obj_desc) \ argument 149 MC_CMD_OP(cmd, 0, 0, 32, int, obj_id);\ [all …]
|
| A D | fsl_dpni.h | 47 #define DPNI_CMD_OPEN(cmd, dpni_id) \ argument 48 MC_CMD_OP(cmd, 0, 0, 32, int, dpni_id) 75 #define DPNI_CMD_CREATE(cmd, cfg) \ argument 87 #define DPNI_CMD_SET_POOLS(cmd, cfg) \ argument 117 #define DPNI_RSP_GET_ATTR(cmd, attr) \ argument 154 #define DPNI_RSP_GET_QDID(cmd, qdid) \ argument 155 MC_RSP_OP(cmd, 0, 0, 16, uint16_t, qdid) 162 #define DPNI_CMD_SET_LINK_CFG(cmd, cfg) \ argument 223 MC_CMD_OP(cmd, 0, 8, 8, uint8_t, tc); \ 227 #define DPNI_RSP_GET_QUEUE(cmd, queue) \ argument [all …]
|
| A D | fsl_dpmac.h | 34 #define DPMAC_CMD_CREATE(cmd, cfg) \ argument 38 #define DPMAC_CMD_OPEN(cmd, dpmac_id) \ argument 39 MC_CMD_OP(cmd, 0, 0, 32, int, dpmac_id) 42 #define DPMAC_RSP_GET_ATTRIBUTES(cmd, attr) \ argument 45 MC_RSP_OP(cmd, 0, 32, 32, int, attr->id);\ 52 #define DPMAC_CMD_MDIO_READ(cmd, cfg) \ argument 59 #define DPMAC_RSP_MDIO_READ(cmd, data) \ argument 60 MC_RSP_OP(cmd, 0, 16, 16, uint16_t, data) 63 #define DPMAC_CMD_MDIO_WRITE(cmd, cfg) \ argument 71 #define DPMAC_RSP_GET_LINK_CFG(cmd, cfg) \ argument [all …]
|
| A D | fsl_dpio.h | 27 #define DPIO_CMD_OPEN(cmd, dpio_id) \ argument 28 MC_CMD_OP(cmd, 0, 0, 32, int, dpio_id) 31 #define DPIO_CMD_CREATE(cmd, cfg) \ argument 33 MC_CMD_OP(cmd, 0, 16, 2, enum dpio_channel_mode, \ 35 MC_CMD_OP(cmd, 0, 32, 8, uint8_t, cfg->num_priorities);\ 39 #define DPIO_RSP_GET_ATTR(cmd, attr) \ argument 41 MC_RSP_OP(cmd, 0, 0, 32, int, attr->id);\ 42 MC_RSP_OP(cmd, 0, 32, 16, uint16_t, attr->qbman_portal_id);\ 43 MC_RSP_OP(cmd, 0, 48, 8, uint8_t, attr->num_priorities);\ 45 MC_RSP_OP(cmd, 1, 0, 64, uint64_t, attr->qbman_portal_ce_offset);\ [all …]
|
| /u-boot/drivers/net/fsl-mc/ |
| A D | dpni.c | 36 struct mc_command cmd = { 0 }; in dpni_open() local 43 DPNI_CMD_OPEN(cmd, dpni_id); in dpni_open() 60 struct mc_command cmd = { 0 }; in dpni_close() local 77 struct mc_command cmd = { 0 }; in dpni_create() local 84 DPNI_CMD_CREATE(cmd, cfg); in dpni_create() 102 struct mc_command cmd = { 0 }; in dpni_destroy() local 121 struct mc_command cmd = { 0 }; in dpni_set_pools() local 127 DPNI_CMD_SET_POOLS(cmd, cfg); in dpni_set_pools() 137 struct mc_command cmd = { 0 }; in dpni_enable() local 152 struct mc_command cmd = { 0 }; in dpni_disable() local [all …]
|
| A D | dprc.c | 17 struct mc_command cmd = { 0 }; in dprc_get_container_id() local 26 err = mc_send_command(mc_io, &cmd); in dprc_get_container_id() 41 struct mc_command cmd = { 0 }; in dprc_open() local 47 DPRC_CMD_OPEN(cmd, container_id); in dprc_open() 64 struct mc_command cmd = { 0 }; in dprc_close() local 81 struct mc_command cmd = { 0 }; in dprc_create_container() local 108 struct mc_command cmd = { 0 }; in dprc_destroy_container() local 125 struct mc_command cmd = { 0 }; in dprc_reset_container() local 142 struct mc_command cmd = { 0 }; in dprc_get_attributes() local 166 struct mc_command cmd = { 0 }; in dprc_get_obj_count() local [all …]
|
| A D | dpmac.c | 19 struct mc_command cmd = { 0 }; in dpmac_open() local 26 DPMAC_CMD_OPEN(cmd, dpmac_id); in dpmac_open() 43 struct mc_command cmd = { 0 }; in dpmac_close() local 59 struct mc_command cmd = { 0 }; in dpmac_create() local 66 DPMAC_CMD_CREATE(cmd, cfg); in dpmac_create() 84 struct mc_command cmd = { 0 }; in dpmac_destroy() local 103 struct mc_command cmd = { 0 }; in dpmac_get_attributes() local 127 struct mc_command cmd = { 0 }; in dpmac_mdio_read() local 134 DPMAC_CMD_MDIO_READ(cmd, cfg); in dpmac_mdio_read() 152 struct mc_command cmd = { 0 }; in dpmac_mdio_write() local [all …]
|
| A D | dpbp.c | 17 struct mc_command cmd = { 0 }; in dpbp_open() local 24 DPBP_CMD_OPEN(cmd, dpbp_id); in dpbp_open() 27 err = mc_send_command(mc_io, &cmd); in dpbp_open() 41 struct mc_command cmd = { 0 }; in dpbp_close() local 57 struct mc_command cmd = { 0 }; in dpbp_create() local 83 struct mc_command cmd = { 0 }; in dpbp_destroy() local 101 struct mc_command cmd = { 0 }; in dpbp_enable() local 115 struct mc_command cmd = { 0 }; in dpbp_disable() local 130 struct mc_command cmd = { 0 }; in dpbp_reset() local 146 struct mc_command cmd = { 0 }; in dpbp_get_attributes() local [all …]
|
| A D | dpsparser.c | 15 struct mc_command cmd = { 0 }; in dpsparser_open() local 24 err = mc_send_command(mc_io, &cmd); in dpsparser_open() 38 struct mc_command cmd = { 0 }; in dpsparser_close() local 45 return mc_send_command(mc_io, &cmd); in dpsparser_close() 53 struct mc_command cmd = { 0 }; in dpsparser_create() local 62 err = mc_send_command(mc_io, &cmd); in dpsparser_create() 67 MC_CMD_READ_OBJ_ID(cmd, *obj_id); in dpsparser_create() 77 struct mc_command cmd = { 0 }; in dpsparser_destroy() local 97 struct mc_command cmd = { 0 }; in dpsparser_apply_spb() local 107 err = mc_send_command(mc_io, &cmd); in dpsparser_apply_spb() [all …]
|
| /u-boot/drivers/net/fsl-mc/dpio/ |
| A D | dpio.c | 16 struct mc_command cmd = { 0 }; in dpio_open() local 23 DPIO_CMD_OPEN(cmd, dpio_id); in dpio_open() 40 struct mc_command cmd = { 0 }; in dpio_close() local 57 struct mc_command cmd = { 0 }; in dpio_create() local 64 DPIO_CMD_CREATE(cmd, cfg); in dpio_create() 82 struct mc_command cmd = { 0 }; in dpio_destroy() local 100 struct mc_command cmd = { 0 }; in dpio_enable() local 115 struct mc_command cmd = { 0 }; in dpio_disable() local 130 struct mc_command cmd = { 0 }; in dpio_reset() local 146 struct mc_command cmd = { 0 }; in dpio_get_attributes() local [all …]
|
| /u-boot/test/py/tests/test_efi_bootmgr/ |
| A D | test_efi_bootmgr.py | 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') 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 = 'efidebug boot order 0002') 38 u_boot_console.run_command(cmd = 'bootefi bootmgr') 43 u_boot_console.run_command(cmd = 'efidebug boot rm 0001') [all …]
|
| /u-boot/drivers/net/octeontx2/ |
| A D | cgx_intf.c | 114 u8 cmd = cmd_args.cmd.id; in cgx_intf_req() local 125 scr1.s.cmd.id = cmd; in cgx_intf_req() 189 cmd.cmd.id = CGX_CMD_GET_MAC_ADDR; in cgx_intf_get_mac_addr() 207 cmd.cmd.id = CGX_CMD_GET_FW_VER; in cgx_intf_get_ver() 225 cmd.cmd.id = CGX_CMD_GET_LINK_STS; in cgx_intf_get_link_sts() 264 cmd.cmd.id = CGX_CMD_INTF_SHUTDOWN; in cgx_intf_shutdown() 275 cmd.cmd.id = CGX_CMD_PRBS; in cgx_intf_prbs() 360 cmd.cmd.id = CGX_CMD_MODE_CHANGE; in cgx_intf_set_mode() 371 cmd.cmd.id = CGX_CMD_GET_LINK_STS; in cgx_intf_set_mode() 511 cmd.cmd.id = CGX_CMD_SET_FEC; in cgx_intf_set_fec() [all …]
|
| /u-boot/drivers/mmc/ |
| A D | mmc_boot.c | 28 struct mmc_cmd cmd; in mmc_boot_partition_size_change() local 31 cmd.cmdidx = MMC_CMD_RES_MAN; in mmc_boot_partition_size_change() 32 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 33 cmd.cmdarg = MMC_CMD62_ARG1; in mmc_boot_partition_size_change() 42 cmd.cmdidx = MMC_CMD_RES_MAN; in mmc_boot_partition_size_change() 43 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 44 cmd.cmdarg = MMC_CMD62_ARG2; in mmc_boot_partition_size_change() 56 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() 57 cmd.cmdarg = bootsize; in mmc_boot_partition_size_change() 68 cmd.resp_type = MMC_RSP_R1b; in mmc_boot_partition_size_change() [all …]
|
| A D | mmc_write.c | 20 struct mmc_cmd cmd; in mmc_erase_t() local 39 cmd.cmdidx = start_cmd; in mmc_erase_t() 40 cmd.cmdarg = start; in mmc_erase_t() 41 cmd.resp_type = MMC_RSP_R1; in mmc_erase_t() 47 cmd.cmdidx = end_cmd; in mmc_erase_t() 48 cmd.cmdarg = end; in mmc_erase_t() 54 cmd.cmdidx = MMC_CMD_ERASE; in mmc_erase_t() 56 cmd.resp_type = MMC_RSP_R1b; in mmc_erase_t() 145 struct mmc_cmd cmd; in mmc_write_blocks() local 163 cmd.cmdarg = start; in mmc_write_blocks() [all …]
|
| A D | sandbox_mmc.c | 48 switch (cmd->cmdidx) { in sandbox_mmc_send_cmd() 50 memset(cmd->response, '\0', sizeof(cmd->response)); in sandbox_mmc_send_cmd() 57 cmd->response[0] = 0xaa; in sandbox_mmc_send_cmd() 65 cmd->response[0] = 0; in sandbox_mmc_send_cmd() 69 cmd->response[3] = 0; in sandbox_mmc_send_cmd() 78 resp[4] = (cmd->cmdarg & 0xF) << 24; in sandbox_mmc_send_cmd() 94 erase_start = cmd->cmdarg; in sandbox_mmc_send_cmd() 97 erase_end = cmd->cmdarg; in sandbox_mmc_send_cmd() 110 cmd->response[1] = 0; in sandbox_mmc_send_cmd() 111 cmd->response[2] = 0; in sandbox_mmc_send_cmd() [all …]
|
| A D | mmc.c | 325 cmd.cmdarg = len; in mmc_set_blocklen() 382 cmd.cmdarg = 0; in mmc_send_tuning() 429 cmd.cmdarg = 0; in mmc_read_blocks() 519 cmd.cmdarg = 0; in mmc_go_idle() 546 cmd.cmdarg = 0; in mmc_switch_voltage() 603 cmd.cmdarg = 0; in sd_send_op_cond() 649 cmd.cmdarg = 0; in sd_send_op_cond() 681 cmd.cmdarg = 0; in mmc_send_op_cond_iter() 779 cmd.cmdarg = 0; in mmc_send_ext_csd() 1340 cmd.cmdarg = 0; in sd_get_capabilities() [all …]
|
| /u-boot/drivers/scsi/ |
| A D | scsi.c | 87 pccb->cmd[0], pccb->cmd[1], in scsi_setup_read16() 88 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_read16() 89 pccb->cmd[6], pccb->cmd[7], pccb->cmd[8], pccb->cmd[9], in scsi_setup_read16() 90 pccb->cmd[11], pccb->cmd[12], pccb->cmd[13], pccb->cmd[14]); in scsi_setup_read16() 126 pccb->cmd[0], pccb->cmd[1], in scsi_setup_read_ext() 127 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_read_ext() 128 pccb->cmd[7], pccb->cmd[8]); in scsi_setup_read_ext() 148 pccb->cmd[0], pccb->cmd[1], in scsi_setup_write_ext() 149 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_write_ext() 150 pccb->cmd[7], pccb->cmd[8]); in scsi_setup_write_ext() [all …]
|
| /u-boot/common/ |
| A D | cli.c | 35 int run_command(const char *cmd, int flag) in run_command() argument 51 return parse_string_outer(cmd, hush_flags); in run_command() 65 return cli_simple_run_command(cmd, flag); in run_command_repeatable() 71 if (parse_string_outer(cmd, in run_command_repeatable() 94 len = strlen(cmd); in run_command_list() 100 need_buff = strchr(cmd, '\n') != NULL; in run_command_list() 107 memcpy(buff, cmd, len); in run_command_list() 219 if (!cmd) { in cli_secure_boot_cmd() 229 cmdtp = find_cmd(cmd); in cli_secure_boot_cmd() 236 rc = (cmdtp->cmd)(cmdtp, 0, 1, (char **)&cmd); in cli_secure_boot_cmd() [all …]
|
| /u-boot/test/py/tests/ |
| A D | test_efi_selftest.py | 17 u_boot_console.run_command(cmd='setenv efi_selftest') 34 u_boot_console.run_command(cmd='setenv efi_selftest list') 54 u_boot_console.run_command(cmd='setenv efi_selftest list') 77 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False, 83 u_boot_console.run_command(cmd=chr(8), wait_for_echo=False, 89 u_boot_console.run_command(cmd=chr(9), wait_for_echo=False, 132 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False, 138 u_boot_console.run_command(cmd=chr(8), wait_for_echo=False, 144 u_boot_console.run_command(cmd=chr(9), wait_for_echo=False, 190 u_boot_console.run_command(cmd='setenv efi_selftest list') [all …]
|
| 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 = 'cmp.b %s %s %x' % (src_addr, dst_addr, count_bytes) [all …]
|
| A D | test_mmc_rd.py | 122 cmd = 'mmc dev %d' % devid 124 cmd += ' %d' % partid 125 response = u_boot_console.run_command(cmd) 177 cmd = 'mmc rescan' 178 response = u_boot_console.run_command(cmd) 207 cmd = 'mmc info' 208 response = u_boot_console.run_command(cmd) 254 u_boot_console.run_command(cmd) 257 response = u_boot_console.run_command(cmd) 266 response = u_boot_console.run_command(cmd) [all …]
|
| /u-boot/tools/ |
| A D | rmboard.py | 46 cmd = ['git', 'grep', path] 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] 112 cmd = ['find', path] 120 cmd = ['git', 'rm', '-r'] + real 134 cmd = ['git', 'commit', '-s', '-m', msg] 139 cmd = ['git', 'grep', '-il', board] [all …]
|
| /u-boot/arch/arm/include/asm/xen/ |
| 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_eficonfig/ |
| A D | test_eficonfig.py | 15 u_boot_console.run_command(cmd=user_str, wait_for_prompt=False, 17 u_boot_console.run_command(cmd='\x0d', wait_for_prompt=False, 34 u_boot_console.run_command(cmd='\x0d', wait_for_prompt=False, 106 u_boot_console.run_command(cmd=' ', wait_for_prompt=False, 155 u_boot_console.run_command(cmd = 'bootefi bootmgr') 204 u_boot_console.run_command(cmd='+', wait_for_prompt=False, 215 u_boot_console.run_command(cmd = 'bootefi bootmgr') 231 u_boot_console.run_command(cmd='-', wait_for_prompt=False, 241 u_boot_console.run_command(cmd = 'bootefi bootmgr') 317 u_boot_console.run_command(cmd = 'bootefi bootmgr') [all …]
|