Home
last modified time | relevance | path

Searched refs:pwrcon (Results 1 – 4 of 4) sorted by relevance

/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Dtegra_mmc.h35 unsigned char pwrcon; /* _POWER_CONTROL_HOST_0 15:8 */ member
/openbmc/qemu/include/hw/sd/
H A Dsdhci.h63 uint8_t pwrcon; /* Power control Register */ member
/openbmc/qemu/hw/sd/
H A Dsdhci.c263 s->pwrcon &= ~SDHC_POWER_ON; in sdhci_set_inserted()
1056 ret = s->hostctl1 | (s->pwrcon << 8) | (s->blkgap << 16) | in sdhci_read()
1258 MASKED_WRITE(s->pwrcon, mask >> 8, value >> 8); in sdhci_write()
1260 if (!(s->prnsts & SDHC_CARD_PRESENT) || ((s->pwrcon >> 1) & 0x7) < 5 || in sdhci_write()
1261 !(s->capareg & (1 << (31 - ((s->pwrcon >> 1) & 0x7))))) { in sdhci_write()
1262 s->pwrcon &= ~SDHC_POWER_ON; in sdhci_write()
1513 VMSTATE_UINT8(pwrcon, SDHCIState),
1824 value |= (uint16_t)s->pwrcon << 8; in usdhc_write()
/openbmc/u-boot/drivers/mmc/
H A Dtegra_mmc.c58 writeb(pwr, &priv->reg->pwrcon); in tegra_mmc_set_power()
64 writeb(pwr, &priv->reg->pwrcon); in tegra_mmc_set_power()
503 readb(&priv->reg->pwrcon), readb(&priv->reg->hostctl)); in tegra_mmc_reset()