Home
last modified time | relevance | path

Searched refs:cmdarg (Results 1 – 25 of 34) sorted by relevance

12

/u-boot/drivers/mmc/
A Dsandbox_mmc.c73 if ((cmd->cmdarg & 0xF) == UHS_SDR12_BUS_SPEED) in sandbox_mmc_send_cmd()
74 resp[4] = (cmd->cmdarg & 0xF) << 24; in sandbox_mmc_send_cmd()
79 memcpy(data->dest, &priv->buf[cmd->cmdarg * data->blocksize], in sandbox_mmc_send_cmd()
84 memcpy(&priv->buf[cmd->cmdarg * data->blocksize], data->src, 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()
107 debug("block len %d\n", cmd->cmdarg); in sandbox_mmc_send_cmd()
A Dmmc_boot.c33 cmd.cmdarg = MMC_CMD62_ARG1; in mmc_boot_partition_size_change()
44 cmd.cmdarg = MMC_CMD62_ARG2; in mmc_boot_partition_size_change()
57 cmd.cmdarg = bootsize; in mmc_boot_partition_size_change()
69 cmd.cmdarg = rpmbsize; in mmc_boot_partition_size_change()
A Dmmc_write.c40 cmd.cmdarg = start; in mmc_erase_t()
48 cmd.cmdarg = end; in mmc_erase_t()
55 cmd.cmdarg = MMC_ERASE_ARG; in mmc_erase_t()
151 cmd.cmdarg = start; in mmc_write_blocks()
153 cmd.cmdarg = start * mmc->write_bl_len; in mmc_write_blocks()
172 cmd.cmdarg = 0; in mmc_write_blocks()
A Dmmc_spi.c89 ushort cmdidx, u32 cmdarg, u32 resp_type, in mmc_spi_sendcmd() argument
101 __func__, cmdidx, cmdarg, resp_type, in mmc_spi_sendcmd()
106 cmdo[2] = cmdarg >> 24; in mmc_spi_sendcmd()
107 cmdo[3] = cmdarg >> 16; in mmc_spi_sendcmd()
108 cmdo[4] = cmdarg >> 8; in mmc_spi_sendcmd()
109 cmdo[5] = cmdarg; in mmc_spi_sendcmd()
338 cmd->cmdarg = 0x40000000; in dm_mmc_spi_request()
387 ret = mmc_spi_sendcmd(dev, cmd->cmdidx, cmd->cmdarg, cmd->resp_type, in dm_mmc_spi_request()
A Dmmc.c322 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 …]
A Dgen_atmel_mci.c276 writel(cmd->cmdarg, &mci->argr);
280 dump_cmd(cmdr, cmd->cmdarg, 0, "DEBUG");
287 dump_cmd(cmdr, cmd->cmdarg, status, "Command Time Out");
290 dump_cmd(cmdr, cmd->cmdarg, status, "Command Failed");
339 dump_cmd(cmdr, cmd->cmdarg, status,
351 dump_cmd(cmdr, cmd->cmdarg, status,
358 dump_cmd(cmdr, cmd->cmdarg, status,
A Drpmb.c84 cmd.cmdarg = blockcount & 0x0000FFFF; in mmc_set_blockcount()
86 cmd.cmdarg |= 1 << 31; in mmc_set_blockcount()
108 cmd.cmdarg = 0; in mmc_rpmb_request()
143 cmd.cmdarg = 0; in mmc_rpmb_response()
A Dmvebu_mmc.c77 DRIVER_NAME, cmd->cmdidx, cmd->resp_type, cmd->cmdarg); in mvebu_mmc_send_cmd()
157 mvebu_mmc_write(SDIO_ARG_LOW, cmd->cmdarg & 0xffff); in mvebu_mmc_send_cmd()
158 mvebu_mmc_write(SDIO_ARG_HI, cmd->cmdarg >> 16); in mvebu_mmc_send_cmd()
A Docteontx_hsmmc.c793 c = (cmd->cmdarg & 1) ? 1 : 2; in octeontx_mmc_get_cr_mods()
1134 ulong start = cmd->cmdarg; in octeontx_mmc_read_blocks()
1208 cmd->cmdarg, cmd->cmdarg, data->dest, in octeontx_mmc_read_blocks()
1224 cmd.cmdarg = mmc->rca << 16; in octeontx_mmc_poll_ready()
1249 ulong start = cmd->cmdarg; in octeontx_mmc_write_blocks()
1428 emm_cmd.s.arg = cmd->cmdarg; in octeontx_mmc_send_cmd()
1494 cmd->cmdidx, cmd->cmdarg); in octeontx_mmc_send_cmd()
1562 cmd->cmdarg, rsp_sts.u); in octeontx_mmc_send_cmd()
1625 cmd.cmdarg = mmc->rca << 16; in octeontx_mmc_test_cmd()
1649 cmd.cmdarg = 0; in octeontx_mmc_test_get_ext_csd()
[all …]
A Dpxa_mmc_gen.c132 writel(cmd->cmdarg >> 16, &regs->argh); in pxa_mmc_start_cmd()
133 writel(cmd->cmdarg & 0xffff, &regs->argl); in pxa_mmc_start_cmd()
A Dsh_sdhi.c547 opc, cmd->cmdarg, cmd->resp_type); in sh_sdhi_start_cmd()
582 (unsigned short)(cmd->cmdarg & ARG0_MASK)); in sh_sdhi_start_cmd()
584 (unsigned short)((cmd->cmdarg >> 16) & ARG1_MASK)); in sh_sdhi_start_cmd()
A Dtegra_mmc.c181 debug("cmd->arg: %08x\n", cmd->cmdarg); in tegra_mmc_send_cmd_bounced()
182 writel(cmd->cmdarg, &priv->reg->argument); in tegra_mmc_send_cmd_bounced()
A Dstm32_sdmmc2.c292 writel(cmd->cmdarg, priv->base + SDMMC_ARG); in stm32_sdmmc2_start_cmd()
484 stop_cmd.cmdarg = 0; in stm32_sdmmc2_send_cmd()
A Dsunxi_mmc.c394 cmd->cmdidx, cmdval | cmd->cmdidx, cmd->cmdarg); in sunxi_mmc_send_cmd_common()
395 writel(cmd->cmdarg, &priv->reg->arg); in sunxi_mmc_send_cmd_common()
A Dfsl_esdhc.c38 uint cmdarg; /* Command argument register */ member
384 esdhc_write32(&regs->cmdarg, cmd->cmdarg); in esdhc_send_cmd_common()
A Diproc_sdhci.c193 cmd.cmdarg = 0; in sdhci_iproc_execute_tuning()
A Dmeson_gx_mmc.c213 meson_write(mmc, cmd->cmdarg, MESON_SD_EMMC_CMD_ARG); in meson_dm_mmc_send_cmd()
A Dfsl_esdhc_imx.c66 uint cmdarg; /* Command argument register */ member
489 esdhc_write32(&regs->cmdarg, cmd->cmdarg); in esdhc_send_cmd_common()
854 cmd.cmdarg = 0; in esdhc_stop_tuning()
A Dsh_mmcif.c478 debug("CMD%d ARG:%08x\n", cmd->cmdidx, cmd->cmdarg); in sh_mmcif_start_cmd()
480 sh_mmcif_write(cmd->cmdarg, &host->regs->ce_arg); in sh_mmcif_start_cmd()
A Dtmio-common.c414 tmio_sd_writel(priv, cmd->cmdarg, TMIO_SD_ARG); in tmio_sd_send_cmd()
460 cmd->cmdidx, tmp, cmd->cmdarg); in tmio_sd_send_cmd()
A Djz_mmc.c212 writel(cmd->cmdarg, priv->regs + MSC_ARG); in jz_mmc_send_cmd()
A Dmxcmmc.c190 writel(cmd->cmdarg, &host->base->arg); in mxcmci_start_cmd()
A Ddavinci_mmc.c237 set_val(&regs->mmcarghl, cmd->cmdarg);
A Dftsdc010_mci.c73 uint32_t arg = mmc_cmd->cmdarg; in ftsdc010_send_cmd()
/u-boot/common/
A Davb_verify.c191 char *cmdarg[AVB_MAX_ARGS]; in avb_set_enforce_option() local
196 memset(cmdarg, 0, sizeof(cmdarg)); in avb_set_enforce_option()
197 cmdarg[i++] = strtok((char *)cmdline, " "); in avb_set_enforce_option()
200 cmdarg[i] = strtok(NULL, " "); in avb_set_enforce_option()
201 if (!cmdarg[i]) in avb_set_enforce_option()
212 i = avb_find_dm_args(&cmdarg[0], VERITY_TABLE_OPT_LOGGING); in avb_set_enforce_option()
214 cmdarg[i] = (char *)option; in avb_set_enforce_option()
216 i = avb_find_dm_args(&cmdarg[0], VERITY_TABLE_OPT_RESTART); in avb_set_enforce_option()
222 cmdarg[i] = (char *)option; in avb_set_enforce_option()
226 newargs = append_cmd_line(newargs, cmdarg[i]); in avb_set_enforce_option()

Completed in 43 milliseconds

12