sdhci_writeb
sdhci_writeb(host, reg, SDHCI_POWER_CONTROL);
sdhci_writeb(host, reg, SDHCI_POWER_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, reg, SDHCI_POWER_CONTROL);
sdhci_writeb(host, reg, SDHCI_POWER_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, mc1r, SDMMC_MC1R);
sdhci_writeb(host, PHY_SDCLKDL_CNFG_EXTDLY_EN, PHY_SDCLKDL_CNFG_R);
sdhci_writeb(host, val, PHY_SDCLKDL_CNFG_R);
sdhci_writeb(host, 10, PHY_SDCLKDL_DC_R);
sdhci_writeb(host, val, PHY_SDCLKDL_CNFG_R);
sdhci_writeb(host, PHY_SMPLDL_CNFG_BYPASS_EN, PHY_SMPLDL_CNFG_R);
sdhci_writeb(host, val, PHY_ATDL_CNFG_R);
sdhci_writeb(host, PHY_SDCLKDL_CNFG_UPDATE, PHY_SDCLKDL_CNFG_R);
sdhci_writeb(host, delay, PHY_SDCLKDL_DC_R);
sdhci_writeb(host, 0x0, PHY_SDCLKDL_CNFG_R);
sdhci_writeb(host, FIELD_PREP(PHY_DLL_CNFG1_SLVDLY_MASK, PHY_DLL_CNFG1_SLVDLY) |
sdhci_writeb(host, 0x02, PHY_DLL_CNFG2_R);
sdhci_writeb(host, FIELD_PREP(PHY_DLLDL_CNFG_SLV_INPSEL_MASK,
sdhci_writeb(host, 0x00, PHY_DLL_OFFST_R);
sdhci_writeb(host, PHY_DLL_CTRL_ENABLE, PHY_DLL_CTRL_R);
sdhci_writeb(host, PHY_SDCLKDL_CNFG_UPDATE, PHY_SDCLKDL_CNFG_R);
sdhci_writeb(host, priv->delay_line, PHY_SDCLKDL_DC_R);
sdhci_writeb(host, PHY_DLL_CNFG2_JUMPSTEP, PHY_DLL_CNFG2_R);
sdhci_writeb(host, val, PHY_SDCLKDL_CNFG_R);
sdhci_writeb(host, sel, PHY_DLLDL_CNFG_R);
sdhci_writeb(host, PHY_DLL_CTRL_ENABLE, PHY_DLL_CTRL_R);
sdhci_writeb(host, FIELD_PREP(PHY_DLL_CNFG1_SLVDLY_MASK, PHY_DLL_CNFG1_SLVDLY) |
sdhci_writeb(host, 0, PHY_DLLDL_CNFG_R);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, FIELD_PREP(PHY_ATDL_CNFG_INPSEL_MASK, PHY_ATDL_CNFG_INPSEL),
sdhci_writeb(host, 0xe, SDHCI_TIMEOUT_CONTROL);
sdhci_writeb(host, regs[idx], restore_data[idx].reg);
sdhci_writeb(host, value, MSHC2_EMMC_CTRL);
sdhci_writeb(host, value, MSHC2_EMMC_CTRL);
sdhci_writeb(host, value | MSHC2_EMMC_CTRL_EMMC_RST_N,
sdhci_writeb(host, mask, SDHCI_SOFTWARE_RESET);
sdhci_writeb(host, ctrl, SDHCI_SOFTWARE_RESET);
sdhci_writeb(host, reg, SDHCI_POWER_CONTROL);
sdhci_writeb(host, reg, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, reg, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_SOFTWARE_RESET);
sdhci_writeb(host, mask, SDHCI_SOFTWARE_RESET);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, pwr & 0xf, SDHCI_POWER_CONTROL);
sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL);
sdhci_writeb(host, mask, SDHCI_SOFTWARE_RESET);
sdhci_writeb(host, value, SDHCI_POWER_CONTROL);
sdhci_writeb(host, value, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0xA7, SDHCI_UHS2_TIMER_CTRL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, pwr & 0xf, SDHCI_POWER_CONTROL);
sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_CLOCK_CONTROL);
sdhci_writeb(host, scratch_8, SDHCI_CLOCK_CONTROL);
sdhci_writeb(host, scratch_8,
sdhci_writeb(host, 0, SDHCI_CLOCK_CONTROL);
sdhci_writeb(host, scratch8, SDHCI_POWER_CONTROL);
sdhci_writeb(host, scratch8, SDHCI_POWER_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, 0, SDHCI_UHS2_SW_RESET);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, pwr & 0xf, SDHCI_POWER_CONTROL);
sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL);
sdhci_writeb(host, cmd_res, SDHCI_UHS2_TIMER_CTRL);
sdhci_writeb(host, cmd_res, SDHCI_UHS2_TIMER_CTRL);
sdhci_writeb(host, count, SDHCI_TIMEOUT_CONTROL);
sdhci_writeb(host, mask, SDHCI_SOFTWARE_RESET);
sdhci_writeb(host, SDHCI_POWER_ON, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, 0, SDHCI_POWER_CONTROL);
sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL);
sdhci_writeb(host, pwr, SDHCI_POWER_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, val, SDHCI_WAKE_UP_CONTROL);
sdhci_writeb(host, val, SDHCI_WAKE_UP_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);
sdhci_writeb(host, ctrl, SDHCI_HOST_CONTROL);