Home
last modified time | relevance | path

Searched refs:cmdval (Results 1 – 2 of 2) sorted by relevance

/external/u-boot/drivers/mmc/
Dsunxi_mmc.c329 unsigned int cmdval = SUNXI_MMC_CMD_START; in sunxi_mmc_send_cmd_common() local
343 cmdval |= SUNXI_MMC_CMD_SEND_INIT_SEQ; in sunxi_mmc_send_cmd_common()
345 cmdval |= SUNXI_MMC_CMD_RESP_EXPIRE; in sunxi_mmc_send_cmd_common()
347 cmdval |= SUNXI_MMC_CMD_LONG_RESPONSE; in sunxi_mmc_send_cmd_common()
349 cmdval |= SUNXI_MMC_CMD_CHK_RESPONSE_CRC; in sunxi_mmc_send_cmd_common()
357 cmdval |= SUNXI_MMC_CMD_DATA_EXPIRE|SUNXI_MMC_CMD_WAIT_PRE_OVER; in sunxi_mmc_send_cmd_common()
359 cmdval |= SUNXI_MMC_CMD_WRITE; in sunxi_mmc_send_cmd_common()
361 cmdval |= SUNXI_MMC_CMD_AUTO_STOP; in sunxi_mmc_send_cmd_common()
367 cmd->cmdidx, cmdval | cmd->cmdidx, cmd->cmdarg); in sunxi_mmc_send_cmd_common()
371 writel(cmdval | cmd->cmdidx, &priv->reg->cmd); in sunxi_mmc_send_cmd_common()
[all …]
/external/u-boot/drivers/net/
Dnatsemi.c450 short cmdval = (wren_cmd & (1 << i)) ? EE_Write1 : EE_Write0;
451 OUTL(dev, cmdval, ee_addr);
453 OUTL(dev, cmdval | EE_ShiftClk, ee_addr);
463 short cmdval = (write_cmd & (1 << i)) ? EE_Write1 : EE_Write0;
464 OUTL(dev, cmdval, ee_addr);
466 OUTL(dev, cmdval | EE_ShiftClk, ee_addr);
471 short cmdval = (value & (1 << i)) ? EE_Write1 : EE_Write0;
472 OUTL(dev, cmdval, ee_addr);
474 OUTL(dev, cmdval | EE_ShiftClk, ee_addr);