/u-boot/drivers/mmc/ |
A D | sandbox_mmc.c | 73 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 D | mmc_boot.c | 33 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 D | mmc_write.c | 40 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 D | mmc_spi.c | 89 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 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 …]
|
A D | gen_atmel_mci.c | 276 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 D | rpmb.c | 84 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 D | mvebu_mmc.c | 77 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 D | octeontx_hsmmc.c | 793 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 D | pxa_mmc_gen.c | 132 writel(cmd->cmdarg >> 16, ®s->argh); in pxa_mmc_start_cmd() 133 writel(cmd->cmdarg & 0xffff, ®s->argl); in pxa_mmc_start_cmd()
|
A D | sh_sdhi.c | 547 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 D | tegra_mmc.c | 181 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 D | stm32_sdmmc2.c | 292 writel(cmd->cmdarg, priv->base + SDMMC_ARG); in stm32_sdmmc2_start_cmd() 484 stop_cmd.cmdarg = 0; in stm32_sdmmc2_send_cmd()
|
A D | sunxi_mmc.c | 394 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 D | fsl_esdhc.c | 38 uint cmdarg; /* Command argument register */ member 384 esdhc_write32(®s->cmdarg, cmd->cmdarg); in esdhc_send_cmd_common()
|
A D | iproc_sdhci.c | 193 cmd.cmdarg = 0; in sdhci_iproc_execute_tuning()
|
A D | meson_gx_mmc.c | 213 meson_write(mmc, cmd->cmdarg, MESON_SD_EMMC_CMD_ARG); in meson_dm_mmc_send_cmd()
|
A D | fsl_esdhc_imx.c | 66 uint cmdarg; /* Command argument register */ member 489 esdhc_write32(®s->cmdarg, cmd->cmdarg); in esdhc_send_cmd_common() 854 cmd.cmdarg = 0; in esdhc_stop_tuning()
|
A D | sh_mmcif.c | 478 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 D | tmio-common.c | 414 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 D | jz_mmc.c | 212 writel(cmd->cmdarg, priv->regs + MSC_ARG); in jz_mmc_send_cmd()
|
A D | mxcmmc.c | 190 writel(cmd->cmdarg, &host->base->arg); in mxcmci_start_cmd()
|
A D | davinci_mmc.c | 237 set_val(®s->mmcarghl, cmd->cmdarg);
|
A D | ftsdc010_mci.c | 73 uint32_t arg = mmc_cmd->cmdarg; in ftsdc010_send_cmd()
|
/u-boot/common/ |
A D | avb_verify.c | 191 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()
|