/u-boot/drivers/input/ |
H A D | i8042.c | 126 static int kbd_cmd_read(int cmd) argument 128 if (kbd_write(I8042_CMD_REG, cmd)) 134 static int kbd_cmd_write(int cmd, int data) argument 136 if (kbd_write(I8042_CMD_REG, cmd))
|
/u-boot/cmd/ |
H A D | blkcache.c | 66 return c->cmd(cmdtp, flag, argc, argv);
|
H A D | bmp.c | 87 return c->cmd(cmdtp, flag, argc, argv);
|
H A D | bootstage.c | 84 return c->cmd(cmdtp, flag, argc, argv);
|
H A D | pmc.c | 76 return cp->cmd(cmdtp, flag, argc, argv);
|
H A D | sound.c | 93 return c->cmd(cmdtp, flag, argc, argv);
|
H A D | eeprom.c | 272 static enum eeprom_action parse_action(char *cmd) argument 274 if (!strncmp(cmd, "read", 4)) 276 if (!strncmp(cmd, "write", 5)) 279 if (!strncmp(cmd, "print", 5)) 281 if (!strncmp(cmd, "update", 6))
|
H A D | regulator.c | 446 struct cmd_tbl *cmd; local 451 cmd = find_cmd_tbl(argv[0], subcmd, ARRAY_SIZE(subcmd)); 452 if (cmd == NULL || argc > cmd->maxargs) 455 return cmd->cmd(cmdtp, flag, argc, argv);
|
/u-boot/board/xilinx/common/ |
H A D | fru.c | 69 ret = c->cmd(c, flag, argc, argv);
|
/u-boot/drivers/crypto/aspeed/ |
H A D | aspeed_hace.c | 43 uint32_t cmd; member in struct:aspeed_hace_ctx 107 writel(hace_ctx->cmd, hace->base + HACE_HASH_CMD); 125 hace_ctx->cmd = HACE_HASH_MODE_ACCUM | HACE_HASH_SHA_BE_EN; 131 hace_ctx->cmd |= HACE_HASH_ALGO_SHA1; 137 hace_ctx->cmd |= HACE_HASH_ALGO_SHA256; 143 hace_ctx->cmd |= HACE_HASH_ALGO_SHA384; 149 hace_ctx->cmd |= HACE_HASH_ALGO_SHA512;
|
/u-boot/drivers/spi/ |
H A D | microchip_coreqspi.c | 199 cmd_bytes = op->cmd.nbytes + op->addr.nbytes; 206 * the cmd and total bytes accordingly. 286 if (op->cmd.buswidth == 1 && (op->addr.buswidth == 1 || 289 else if (op->cmd.buswidth == 1) 310 u8 opcode = op->cmd.opcode; 323 if (op->cmd.opcode) { 326 qspi->tx_len = op->cmd.nbytes; 368 (op->cmd.buswidth == 1 && (op->addr.buswidth == 1 ||
|
H A D | mtk_snor.c | 126 static inline int mtk_snor_cmd_exec(struct mtk_snor_priv *priv, u32 cmd, argument 133 writel(cmd, priv->base + MTK_NOR_REG_CMD); 136 !(reg & cmd), delay); 138 dev_err(priv->dev, "command %u timeout.\n", cmd); 201 (op->cmd.buswidth != 1 || op->data.buswidth != 1)) 217 writeb(op->cmd.opcode, priv->base + MTK_NOR_REG_PRGDATA(4)); 222 writeb(op->cmd.opcode, priv->base + MTK_NOR_REG_PRGDATA(3)); 226 if (op->cmd.opcode == 0x0b) 404 txbuf[tx_cnt] = op->cmd.opcode; 446 writeb(op->cmd [all...] |
H A D | mtk_spim.c | 344 u32 cmd; local 346 cmd = readl(priv->base + SPI_CMD_REG); 348 cmd |= SPI_CMD_ACT; 350 cmd |= SPI_CMD_RESUME; 351 writel(cmd, priv->base + SPI_CMD_REG); 360 if (op->cmd.buswidth == 0 || op->cmd.buswidth > 4 || 365 if (!priv->hw_cap.support_quad && (op->cmd.buswidth > 2 || 515 tx_tmp_buf[0] = op->cmd.opcode;
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | lpc32xx_nand_slc.c | 31 u32 cmd; member in struct:lpc32xx_nand_slc_regs 142 int cmd, unsigned int ctrl) 144 debug("ctrl: 0x%08x, cmd: 0x%08x\n", ctrl, cmd); 151 if (cmd == NAND_CMD_NONE) 155 writel(cmd & 0xFF, &lpc32xx_nand_slc_regs->cmd); 157 writel(cmd & 0xFF, &lpc32xx_nand_slc_regs->addr); 141 lpc32xx_nand_cmd_ctrl(struct mtd_info *mtd, int cmd, unsigned int ctrl) argument
|
/u-boot/tools/buildman/ |
H A D | builderthread.py | 577 with open(os.path.join(build_dir, 'out-cmd'), 'w', 579 for cmd in result.cmd_list: 580 print(' '.join(cmd), file=outf) 584 cmd = [f'{self.toolchain.cross}nm', '--size-sort', fname] 585 nm_result = command.run_pipe([cmd], capture=True, 594 cmd = [f'{self.toolchain.cross}objdump', '-h', fname] 595 dump_result = command.run_pipe([cmd], capture=True, 609 cmd = [f'{self.toolchain.cross}size', fname] 610 size_result = command.run_pipe([cmd], capture=True, 618 cmd [all...] |
/u-boot/drivers/mmc/ |
H A D | iproc_sdhci.c | 182 struct mmc_cmd cmd; local 191 cmd.cmdidx = opcode; 192 cmd.resp_type = MMC_RSP_R1; 193 cmd.cmdarg = 0; 203 mmc_send_cmd(mmc, &cmd, NULL);
|
H A D | mmc-uclass.c | 37 static int dm_mmc_send_cmd(struct udevice *dev, struct mmc_cmd *cmd, argument 44 mmmc_trace_before_send(mmc, cmd); 46 ret = ops->send_cmd(dev, cmd, data); 49 mmmc_trace_after_send(mmc, cmd, ret); 54 int mmc_send_cmd(struct mmc *mmc, struct mmc_cmd *cmd, struct mmc_data *data) argument 56 return dm_mmc_send_cmd(mmc->dev, cmd, data);
|
/u-boot/common/ |
H A D | splash_source.c | 223 char cmd[32]; local 225 sprintf(cmd, "ubi part %s", location->mtdpart); 226 res = run_command(cmd, 0); 230 sprintf(cmd, "ubifsmount %s", location->ubivol); 231 res = run_command(cmd, 0);
|
/u-boot/tools/ |
H A D | imx8image.c | 79 static void parse_cfg_cmd(image_t *param_stack, int32_t cmd, char *token, argument 82 switch (cmd) { 145 static void parse_cfg_fld(image_t *param_stack, int32_t *cmd, char *token, argument 150 *cmd = get_table_entry_id(imx8image_cmds, "imx8image cmds", 152 if (*cmd < 0) { 157 if (*cmd == CMD_CONTAINER) { 163 parse_cfg_cmd(param_stack, *cmd, token, name, lineno); 166 if (*cmd == CMD_MSG_BLOCK) { 198 (*cmd == CMD_DATA) ? DATA : AP; 204 (*cmd 247 int32_t cmd; local [all...] |
H A D | imximage.c | 178 int32_t cmd) 192 switch (cmd) { 603 static void parse_cfg_cmd(struct imx_header *imxhdr, int32_t cmd, char *token, argument 609 switch (cmd) { 662 (*set_dcd_param)(imxhdr, dcd_len, cmd); 685 static void parse_cfg_fld(struct imx_header *imxhdr, int32_t *cmd, argument 692 *cmd = get_table_entry_id(imximage_cmds, 694 if (*cmd < 0) { 701 parse_cfg_cmd(imxhdr, *cmd, token, name, lineno, fld, *dcd_len); 705 switch(*cmd) { 177 set_dcd_param_v2(struct imx_header *imxhdr, uint32_t dcd_len, int32_t cmd) argument 749 int32_t cmd; local [all...] |
/u-boot/drivers/mtd/spi/ |
H A D | spi-nor-tiny.c | 98 op.cmd.buswidth = spi_nor_get_protocol_inst_nbits(nor->read_proto); 216 u8 cmd; local 228 cmd = enable ? SPINOR_OP_EN4B : SPINOR_OP_EX4B; 229 status = spi_nor_write_reg(nor, cmd, NULL, 0); 610 int cmd; local 617 cmd = SNOR_CMD_READ_1_1_4; 619 cmd = SNOR_CMD_READ_FAST; 621 cmd = SNOR_CMD_READ; 623 read = ¶ms->reads[cmd];
|
/u-boot/tools/binman/ |
H A D | bintool_test.py | 244 def fake_run(*cmd): 245 if cmd[0] == 'make': 247 tmpdir = cmd[2] 301 def fake_run(*cmd): 302 if cmd[0] == 'make': 304 tmpdir = cmd[2]
|
/u-boot/board/freescale/common/ |
H A D | sys_eeprom.c | 391 char cmd; local 398 cmd = argv[1][0]; 400 if (cmd == 'r') { 405 if (cmd == 'i') { 422 switch (cmd) { 435 switch (cmd) {
|
/u-boot/scripts/ |
H A D | kernel-doc | 425 my $cmd = $1; 427 if ($cmd eq "man") { 431 } elsif ($cmd eq "rst") { 435 } elsif ($cmd eq "none") { 437 } elsif ($cmd eq "module") { # not needed for XML, inherits from calling document 439 } elsif ($cmd eq "function") { # to only output specific functions 443 } elsif ($cmd eq "nosymbol") { # Exclude specific symbols 446 } elsif ($cmd eq "export") { # only exported symbols 449 } elsif ($cmd eq "internal") { # only non-exported symbols 452 } elsif ($cmd e [all...] |
/u-boot/include/ |
H A D | mipi_dsi.h | 309 * @cmd: DCS command 318 ssize_t mipi_dsi_dcs_write(struct mipi_dsi_device *dsi, u8 cmd, 324 * @cmd: DCS command 330 ssize_t mipi_dsi_dcs_read(struct mipi_dsi_device *dsi, u8 cmd, void *data,
|