SDHCI_CLOCK_CONTROL
reg = sdhci_readl(host, SDHCI_CLOCK_CONTROL);
sdhci_writel(host, reg | new_mask, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
case SDHCI_CLOCK_CONTROL:
esdhc_clrset_be(host, 0x0000fff7, temp, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
ctl = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, ctl, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
1000, 20000, false, host, SDHCI_CLOCK_CONTROL)) {
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
ctrl = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, ctrl, SDHCI_CLOCK_CONTROL);
ctrl = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, ctrl, SDHCI_CLOCK_CONTROL);
ctrl = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, ctrl, SDHCI_CLOCK_CONTROL);
{ SDHCI_CLOCK_CONTROL, sizeof(u32)},
u16 clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk & ~SDHCI_CLOCK_CARD_EN, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, SDHCI_CLOCK_INT_EN, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
value = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, value, SDHCI_CLOCK_CONTROL);
value = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, value, SDHCI_CLOCK_CONTROL);
clock = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clock, SDHCI_CLOCK_CONTROL);
clock = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clock, SDHCI_CLOCK_CONTROL);
1000, 150000, false, host, SDHCI_CLOCK_CONTROL)) {
sdhci_writew(host, clock, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
10, 20000, false, host, SDHCI_CLOCK_CONTROL)) {
sdhci_writeb(host, 0, SDHCI_CLOCK_CONTROL);
sdhci_writeb(host, scratch_8, SDHCI_CLOCK_CONTROL);
SDHCI_CLOCK_CONTROL);
reg_val = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, reg_val, SDHCI_CLOCK_CONTROL);
reg_val = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, reg_val, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
sdhci_writeb(host, 0, SDHCI_CLOCK_CONTROL);
writew(0, host->ioaddr + SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
while (!((clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL))
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
u16 ctrl = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, ctrl, SDHCI_CLOCK_CONTROL);
ctrl = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, ctrl, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
reg = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, reg, SDHCI_CLOCK_CONTROL);
u16 clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
u16 clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
10, timeout_us, true, host, SDHCI_CLOCK_CONTROL)) {
1100, 20000, false, host, SDHCI_CLOCK_CONTROL);
reg = sdhci_readl(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, reg, SDHCI_CLOCK_CONTROL);
reg = sdhci_readl(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, reg, SDHCI_CLOCK_CONTROL);
reg = sdhci_readl(host, SDHCI_CLOCK_CONTROL);
sdhci_writel(host, reg, SDHCI_CLOCK_CONTROL);
reg = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, 0, SDHCI_CLOCK_CONTROL);
clk = sdhci_readw(host, SDHCI_CLOCK_CONTROL);
sdhci_writew(host, clk, SDHCI_CLOCK_CONTROL);
sdhci_readw(host, SDHCI_CLOCK_CONTROL));
if (sdhci_readw(host, SDHCI_CLOCK_CONTROL) == 0)
sdhci_writew(host, 0xBC01, SDHCI_CLOCK_CONTROL);