Searched refs:cmd (Results 276 - 300 of 544) sorted by relevance

<<11121314151617181920>>

/u-boot/drivers/input/
H A Di8042.c126 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 Dblkcache.c66 return c->cmd(cmdtp, flag, argc, argv);
H A Dbmp.c87 return c->cmd(cmdtp, flag, argc, argv);
H A Dbootstage.c84 return c->cmd(cmdtp, flag, argc, argv);
H A Dpmc.c76 return cp->cmd(cmdtp, flag, argc, argv);
H A Dsound.c93 return c->cmd(cmdtp, flag, argc, argv);
H A Deeprom.c272 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 Dregulator.c446 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 Dfru.c69 ret = c->cmd(c, flag, argc, argv);
/u-boot/drivers/crypto/aspeed/
H A Daspeed_hace.c43 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 Dmicrochip_coreqspi.c199 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 Dmtk_snor.c126 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 Dmtk_spim.c344 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 Dlpc32xx_nand_slc.c31 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 Dbuilderthread.py577 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 Diproc_sdhci.c182 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 Dmmc-uclass.c37 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 Dsplash_source.c223 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 Dimx8image.c79 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 Dimximage.c178 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 Dspi-nor-tiny.c98 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 = &params->reads[cmd];
/u-boot/tools/binman/
H A Dbintool_test.py244 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 Dsys_eeprom.c391 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 Dkernel-doc425 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 Dmipi_dsi.h309 * @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,

Completed in 180 milliseconds

<<11121314151617181920>>