MMC_PM_KEEP_POWER
if (!(pm_flags & MMC_PM_KEEP_POWER)) {
return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
host->pm_caps |= MMC_PM_KEEP_POWER;
host->pm_flags &= ~MMC_PM_KEEP_POWER;
if (host->slot && host->slot->mmc->pm_flags & MMC_PM_KEEP_POWER)
mmc->pm_caps |= MMC_PM_KEEP_POWER;
if ((mmc->pm_caps & MMC_PM_WAKE_SDIO_IRQ) && (mmc->pm_caps & MMC_PM_KEEP_POWER)) {
if (!(host->mmc->pm_flags & MMC_PM_KEEP_POWER)) {
if (!(host->mmc->pm_flags & MMC_PM_KEEP_POWER))
.pm_caps = MMC_PM_KEEP_POWER,
if ((host->mmc->pm_caps & MMC_PM_KEEP_POWER) &&
host->mmc->pm_caps |= MMC_PM_KEEP_POWER | MMC_PM_WAKE_SDIO_IRQ;
host->mmc->pm_caps = MMC_PM_KEEP_POWER;
if ((pm_flags & MMC_PM_KEEP_POWER) && (pm_flags & MMC_PM_WAKE_SDIO_IRQ))
host->mmc->pm_caps |= MMC_PM_KEEP_POWER;
if ((mmc->pm_flags & MMC_PM_KEEP_POWER) &&
sdhci_init(host, (mmc->pm_flags & MMC_PM_KEEP_POWER));
pm_flag = MMC_PM_KEEP_POWER;
!(flags & MMC_PM_KEEP_POWER))
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
if (!(flags & MMC_PM_KEEP_POWER))
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
func->card->host->pm_flags &= ~MMC_PM_KEEP_POWER;
if (!(pm_caps & MMC_PM_KEEP_POWER))
sdio_flags = MMC_PM_KEEP_POWER;
(sdio_get_host_pm_caps(sdiodev->func1) & MMC_PM_KEEP_POWER) &&
if (!(flags & MMC_PM_KEEP_POWER)) {
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
if (!(pm_flag & MMC_PM_KEEP_POWER)) {
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
return sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
if (pm_flag & MMC_PM_KEEP_POWER)
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
if (mmcflags & MMC_PM_KEEP_POWER)
if (!(sdio_flags & MMC_PM_KEEP_POWER)) {
ret = sdio_set_host_pm_flags(func, MMC_PM_KEEP_POWER);
return host->pm_flags & MMC_PM_KEEP_POWER;