/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 225 MC_CMD_OP(cmd, 0, 8, 8, uint8_t, tc); \ 229 #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/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/scsi/ |
A D | scsi.c | 83 pccb->cmd[0], pccb->cmd[1], in scsi_setup_read16() 84 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_read16() 85 pccb->cmd[6], pccb->cmd[7], pccb->cmd[8], pccb->cmd[9], in scsi_setup_read16() 86 pccb->cmd[11], pccb->cmd[12], pccb->cmd[13], pccb->cmd[14]); in scsi_setup_read16() 122 pccb->cmd[0], pccb->cmd[1], in scsi_setup_read_ext() 123 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_read_ext() 124 pccb->cmd[7], pccb->cmd[8]); in scsi_setup_read_ext() 144 pccb->cmd[0], pccb->cmd[1], in scsi_setup_write_ext() 145 pccb->cmd[2], pccb->cmd[3], pccb->cmd[4], pccb->cmd[5], in scsi_setup_write_ext() 146 pccb->cmd[7], pccb->cmd[8]); in scsi_setup_write_ext() [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 | sandbox_mmc.c | 44 switch (cmd->cmdidx) { in sandbox_mmc_send_cmd() 46 memset(cmd->response, '\0', sizeof(cmd->response)); in sandbox_mmc_send_cmd() 53 cmd->response[0] = 0xaa; in sandbox_mmc_send_cmd() 61 cmd->response[0] = 0; in sandbox_mmc_send_cmd() 65 cmd->response[3] = 0; in sandbox_mmc_send_cmd() 74 resp[4] = (cmd->cmdarg & 0xF) << 24; in sandbox_mmc_send_cmd() 90 erase_start = cmd->cmdarg; in sandbox_mmc_send_cmd() 93 erase_end = cmd->cmdarg; in sandbox_mmc_send_cmd() 101 cmd->response[1] = 0; in sandbox_mmc_send_cmd() 102 cmd->response[2] = 0; in sandbox_mmc_send_cmd() [all …]
|
A D | mvebu_mmc.c | 77 DRIVER_NAME, cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mvebu_mmc_send_cmd() 115 if (cmd->resp_type & MMC_RSP_BUSY) in mvebu_mmc_send_cmd() 124 if (cmd->resp_type & MMC_RSP_CRC) in mvebu_mmc_send_cmd() 171 DRIVER_NAME, cmd->cmdidx, in mvebu_mmc_send_cmd() 190 if (cmd->resp_type & MMC_RSP_136) { in mvebu_mmc_send_cmd() 219 cmd->response[2] = 0; in mvebu_mmc_send_cmd() 220 cmd->response[3] = 0; in mvebu_mmc_send_cmd() 222 cmd->response[0] = 0; in mvebu_mmc_send_cmd() 223 cmd->response[1] = 0; in mvebu_mmc_send_cmd() 224 cmd->response[2] = 0; in mvebu_mmc_send_cmd() [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() 55 cmd.cmdarg = MMC_ERASE_ARG; in mmc_erase_t() 133 struct mmc_cmd cmd; in mmc_write_blocks() local 151 cmd.cmdarg = start; in mmc_write_blocks() [all …]
|
A D | mmc.c | 322 cmd.cmdarg = len; in mmc_set_blocklen() 379 cmd.cmdarg = 0; in mmc_send_tuning() 426 cmd.cmdarg = 0; in mmc_read_blocks() 516 cmd.cmdarg = 0; in mmc_go_idle() 543 cmd.cmdarg = 0; in mmc_switch_voltage() 600 cmd.cmdarg = 0; in sd_send_op_cond() 646 cmd.cmdarg = 0; in sd_send_op_cond() 678 cmd.cmdarg = 0; in mmc_send_op_cond_iter() 776 cmd.cmdarg = 0; in mmc_send_ext_csd() 1307 cmd.cmdarg = 0; in sd_get_capabilities() [all …]
|
/u-boot/common/ |
A D | cli.c | 33 int run_command(const char *cmd, int flag) in run_command() argument 49 return parse_string_outer(cmd, hush_flags); in run_command() 63 return cli_simple_run_command(cmd, flag); in run_command_repeatable() 69 if (parse_string_outer(cmd, in run_command_repeatable() 92 len = strlen(cmd); in run_command_list() 98 need_buff = strchr(cmd, '\n') != NULL; in run_command_list() 105 memcpy(buff, cmd, len); in run_command_list() 191 if (!cmd) { in cli_secure_boot_cmd() 201 cmdtp = find_cmd(cmd); in cli_secure_boot_cmd() 208 rc = (cmdtp->cmd)(cmdtp, 0, 1, (char **)&cmd); in cli_secure_boot_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.RunPipe([cmd], capture=True).stdout 56 cmd = ['git', 'add', fname] 57 stdout = command.RunPipe([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/test/py/tests/ |
A D | test_efi_selftest.py | 18 u_boot_console.run_command(cmd='setenv efi_selftest') 36 u_boot_console.run_command(cmd='setenv efi_selftest list') 41 u_boot_console.run_command(cmd='setenv efi_test "${serial#}x"') 57 u_boot_console.run_command(cmd='setenv efi_selftest list') 76 output = u_boot_console.run_command(cmd='bootefi selftest', 84 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False, 92 u_boot_console.run_command(cmd=chr(8), wait_for_echo=False, 100 u_boot_console.run_command(cmd=chr(9), wait_for_echo=False, 146 output = u_boot_console.run_command(cmd='bootefi selftest', 154 u_boot_console.run_command(cmd=chr(4), wait_for_echo=False, [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 …]
|
A D | test_ums.py | 139 u_boot_console.run_command(cmd, wait_for_prompt=False) 157 cmd = ('/bin/mount', host_ums_part_node) 158 u_boot_utils.run_and_log(u_boot_console, cmd) 174 cmd = ('/bin/umount', host_ums_part_node) 175 u_boot_utils.run_and_log(u_boot_console, cmd, ignore_errors) 208 cmd = ('rm', '-f', mounted_test_fn) 209 u_boot_utils.run_and_log(u_boot_console, cmd) 212 cmd = ('cp', test_f.abs_fn, mounted_test_fn) 213 u_boot_utils.run_and_log(u_boot_console, cmd) 227 cmd = ('rm', '-f', mounted_test_fn) [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/cmd/ |
A D | cros_ec.c | 264 const char *cmd; in do_cros_ec() local 270 cmd = argv[1]; in do_cros_ec() 271 if (0 == strcmp("init", cmd)) { in do_cros_ec() 289 if (0 == strcmp("id", cmd)) { in do_cros_ec() 297 } else if (0 == strcmp("info", cmd)) { in do_cros_ec() 347 enum ec_reboot_cmd cmd; in do_cros_ec() local 350 cmd = EC_REBOOT_COLD; in do_cros_ec() 354 cmd = EC_REBOOT_JUMP_RO; in do_cros_ec() 356 cmd = EC_REBOOT_JUMP_RW; in do_cros_ec() 361 if (cros_ec_reboot(dev, cmd, 0)) { in do_cros_ec() [all …]
|