/u-boot/drivers/net/fsl-mc/ |
H A D | dpni.c | 31 struct mc_command cmd = { 0 }; local 36 cmd.header = mc_encode_cmd_header(DPNI_CMDID_OPEN, 39 cmd_params = (struct dpni_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(DPNI_CMDID_CLOSE, 74 return mc_send_command(mc_io, &cmd); 103 struct mc_command cmd = { 0 }; local 107 cmd 154 struct mc_command cmd = { 0 }; local 183 struct mc_command cmd = { 0 }; local 219 struct mc_command cmd = { 0 }; local 240 struct mc_command cmd = { 0 }; local 261 struct mc_command cmd = { 0 }; local 284 struct mc_command cmd = { 0 }; local 336 struct mc_command cmd = { 0 }; local 376 struct mc_command cmd = { 0 }; local 412 struct mc_command cmd = { 0 }; local 445 struct mc_command cmd = { 0 }; local 473 struct mc_command cmd = { 0 }; local 521 struct mc_command cmd = { 0 }; local 552 struct mc_command cmd = { 0 }; local 588 struct mc_command cmd = { 0 }; local 639 struct mc_command cmd = { 0 }; local 702 struct mc_command cmd = { 0 }; local 741 struct mc_command cmd = { 0 }; local [all...] |
/u-boot/test/py/tests/ |
H A D | test_ums.py | 138 cmd = 'ums %s %s %s' % (tgt_usb_ctlr, tgt_dev_type, tgt_dev_id) 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) [all...] |
H A D | test_shell_basics.py | 19 cmd = 'echo hello; echo world' 20 response = u_boot_console.run_command(cmd) 28 cmd = 'setenv list 1; setenv list ${list}2; setenv list ${list}3; ' + \ 30 response = u_boot_console.run_command(cmd)
|
H 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) 253 cmd = 'mw.b %s 0 0x%x' % (addr, count_bytes) 254 u_boot_console.run_command(cmd) 256 cmd [all...] |
H A D | test_sf.py | 70 cmd = 'sf probe %d %d' % (probe_id, sf_params['speed']) 72 output = u_boot_console.run_command(cmd) 124 cmd = 'mw.b %08x %02x %x' % (addr, pattern, count) 125 u_boot_console.run_command(cmd) 130 cmd = 'sf read %08x %08x %x' % (addr, offset, count) 131 response = u_boot_console.run_command(cmd) 157 cmd = 'mw.b %08x %02x %x' % (addr, pattern, count) 158 u_boot_console.run_command(cmd) 161 cmd = 'sf update %08x %08x %x' % (addr, offset, count) 162 u_boot_console.run_command(cmd) [all...] |
/u-boot/board/variscite/common/ |
H A D | mmc.c | 34 char cmd[32]; local 45 sprintf(cmd, "mmc dev %d", dev_no); 46 run_command(cmd, 0);
|
/u-boot/board/freescale/common/ |
H A D | mmc.c | 34 char cmd[32]; local 47 sprintf(cmd, "mmc dev %d", dev_no); 48 run_command(cmd, 0);
|
/u-boot/board/congatec/common/ |
H A D | mmc.c | 33 char cmd[32]; local 47 sprintf(cmd, "mmc dev %d", dev_no); 48 run_command(cmd, 0);
|
/u-boot/test/py/ |
H A D | u_boot_console_sandbox.py | 54 cmd = [] 56 cmd += ['gdbserver', self.config.gdbserver] 57 cmd += [self.config.build_dir + fname, '-v'] 59 cmd += ['-d', self.config.dtb] 60 cmd += self.sandbox_flags 61 return Spawn(cmd, cwd=self.config.source_dir)
|
/u-boot/test/py/tests/test_eficonfig/ |
H 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, 26 u_boot_console.run_command(cmd='\x1b\x5b\x41', wait_for_prompt=False, 30 u_boot_console.run_command(cmd='\x1b\x5b\x42', wait_for_prompt=False, 34 u_boot_console.run_command(cmd='\x0d', wait_for_prompt=False, 42 u_boot_console.run_command(cmd='\x1b', wait_for_prompt=wait_prompt, wait_for_echo=False, send_nl=False) 45 u_boot_console.run_command(cmd='\x0d', wait_for_prompt=wait_prompt, 97 u_boot_console.run_command(cmd = f'host bind 0 {efi_eficonfig_data}') 106 u_boot_console.run_command(cmd=' ', wait_for_prompt=False, 155 u_boot_console.run_command(cmd [all...] |
/u-boot/drivers/sm/ |
H A D | sm-uclass.c | 18 int sm_call(struct udevice *dev, u32 cmd, s32 *ret, struct pt_regs *args) argument 23 return ops->sm_call(dev, cmd, ret, args); 29 u32 cmd, struct pt_regs *args) 34 return ops->sm_call_read(dev, buffer, size, cmd, 41 u32 cmd, struct pt_regs *args) 46 return ops->sm_call_write(dev, buffer, size, cmd, 28 sm_call_read(struct udevice *dev, void *buffer, size_t size, u32 cmd, struct pt_regs *args) argument 40 sm_call_write(struct udevice *dev, void *buffer, size_t size, u32 cmd, struct pt_regs *args) argument
|
H A D | meson-sm.c | 35 struct meson_sm_cmd cmd[]; member in struct:meson_sm_data 44 static unsigned long __meson_sm_call(u32 cmd, const struct pt_regs *args) argument 48 r.regs[0] = cmd; 57 struct meson_sm_cmd cmd; local 62 cmd = data->cmd[cmd_index]; 63 return cmd.smc_id; 70 u32 cmd, ret; local 72 cmd = meson_sm_get_cmd(priv->data, cmd_index); 73 if (!cmd) [all...] |
/u-boot/cmd/ |
H A D | temperature.c | 69 struct cmd_tbl *cmd; local 74 cmd = find_cmd_tbl(argv[0], temperature_subcmd, ARRAY_SIZE(temperature_subcmd)); 75 if (!cmd || argc > cmd->maxargs) 78 return cmd->cmd(cmdtp, flag, argc, argv);
|
H A D | cros_ec.c | 263 const char *cmd; local 269 cmd = argv[1]; 270 if (0 == strcmp("init", cmd)) { 288 if (0 == strcmp("id", cmd)) { 296 } else if (0 == strcmp("info", cmd)) { 305 } else if (!strcmp("features", cmd)) { 310 } else if (!strcmp("switches", cmd)) { 315 } else if (0 == strcmp("curimage", cmd)) { 323 } else if (0 == strcmp("hash", cmd)) { 344 } else if (0 == strcmp("reboot", cmd)) { 346 enum ec_reboot_cmd cmd; local [all...] |
/u-boot/drivers/mmc/ |
H A D | mmc_write.c | 20 struct mmc_cmd cmd; local 39 cmd.cmdidx = start_cmd; 40 cmd.cmdarg = start; 41 cmd.resp_type = MMC_RSP_R1; 43 err = mmc_send_cmd(mmc, &cmd, NULL); 47 cmd.cmdidx = end_cmd; 48 cmd.cmdarg = end; 50 err = mmc_send_cmd(mmc, &cmd, NULL); 54 cmd.cmdidx = MMC_CMD_ERASE; 55 cmd 145 struct mmc_cmd cmd; local [all...] |
H A D | sandbox_mmc.c | 42 static int sandbox_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, argument 48 switch (cmd->cmdidx) { 50 memset(cmd->response, '\0', sizeof(cmd->response)); 53 cmd->response[0] = 0 << 16; /* mmc->rca */ 57 cmd->response[0] = 0xaa; 60 cmd->response[0] = MMC_STATUS_RDY_FOR_DATA; 65 cmd->response[0] = 0; 66 cmd->response[1] = (MMC_BL_LEN_SHIFT << 16) | 68 cmd [all...] |
H A D | mvebu_mmc.c | 74 static int mvebu_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, argument 86 cmd->cmdidx, cmd->resp_type, cmd->cmdarg); 88 dev_dbg(dev, "cmd %d (hw state 0x%04x)\n", 89 cmd->cmdidx, mvebu_mmc_read(mmc, SDIO_HW_STATE)); 121 resptype = SDIO_CMD_INDEX(cmd->cmdidx); 124 if (cmd->resp_type & MMC_RSP_BUSY) 126 else if (cmd->resp_type & MMC_RSP_136) 128 else if (cmd [all...] |
/u-boot/tools/u_boot_pylib/ |
H A D | command.py | 82 cmd = pipeline.pop(0) 95 last_pipe = cros_subprocess.Popen(cmd, cwd=cwd, **kwargs) 113 def output(*cmd, **kwargs): 115 return run_pipe([cmd], capture=True, **kwargs).stdout 117 def output_one_line(*cmd, **kwargs): 126 result = run_pipe([cmd], capture=True, oneline=True, 130 def run(*cmd, **kwargs): 131 return run_pipe([cmd], **kwargs).stdout 133 def run_list(cmd): 134 return run_pipe([cmd], captur [all...] |
/u-boot/doc/sphinx/ |
H A D | kerneldoc.py | 62 cmd = [env.config.kerneldoc_bin, '-rst', '-enable-lineno'] 67 cmd += ['-sphinx-version', sphinx.__version__] 83 cmd += ['-export'] 86 cmd += ['-internal'] 89 cmd += ['-function', str(self.options.get('doc'))] 94 cmd += ['-function', i] 96 cmd += ['-no-doc-sections'] 102 cmd += ['-nosymbol', i] 107 cmd += ['-export-file', f] 109 cmd [all...] |
/u-boot/board/synopsys/axs10x/ |
H A D | axs10x.c | 75 int cmd = readl((void __iomem *)AXC003_CREG_CPU_START); local 78 cmd |= (1 << BITS_CORE_SEL) | (1 << BITS_START); 79 cmd &= ~(1 << BITS_START_MODE); 81 cmd |= (1 << BITS_START_CORE1); 83 writel(cmd, (void __iomem *)AXC003_CREG_CPU_START);
|
/u-boot/drivers/crypto/fsl/ |
H A D | desc_constr.h | 135 u32 *cmd = desc_end(desc); local 137 *cmd = command; 186 #define APPEND_CMD_RET(cmd, op) \ 187 static inline u32 *append_##cmd(u32 *desc, u32 options) \ 189 u32 *cmd = desc_end(desc); \ 192 return cmd; \ 209 #define APPEND_CMD(cmd, op) \ 210 static inline void append_##cmd(u32 *desc, u32 options) \ 217 #define APPEND_CMD_LEN(cmd, op) \ 218 static inline void append_##cmd(u3 [all...] |
/u-boot/arch/x86/include/asm/ |
H A D | scu.h | 26 int scu_ipc_simple_command(u32 cmd, u32 sub); 27 int scu_ipc_command(u32 cmd, u32 sub, u32 *in, int inlen, u32 *out, int outlen); 28 int scu_ipc_raw_command(u32 cmd, u32 sub, u32 *in, int inlen, u32 *out,
|
/u-boot/tools/ |
H A D | aisimage.h | 28 uint32_t cmd; member in struct:ais_cmd_load 35 uint32_t cmd; member in struct:ais_cmd_func 41 uint32_t cmd; member in struct:ais_cmd_jmpclose
|
/u-boot/board/cssi/cmpcpro/ |
H A D | nand.c | 23 static void nand_hwcontrol(struct mtd_info *mtdinfo, int cmd, unsigned int ctrl) argument 32 if (cmd != NAND_CMD_NONE) 33 out_8(chip->IO_ADDR_W, cmd);
|
/u-boot/board/cssi/cmpc885/ |
H A D | nand.c | 26 static void nand_hwcontrol(struct mtd_info *mtdinfo, int cmd, unsigned int ctrl) argument 35 if (cmd != NAND_CMD_NONE) 36 out_8(chip->IO_ADDR_W, cmd);
|