Lines Matching refs:HCTL
571 regval = OMAP_HSMMC_READ(host->base, HCTL); in omap_hsmmc_set_clock()
577 OMAP_HSMMC_WRITE(host->base, HCTL, regval); in omap_hsmmc_set_clock()
600 OMAP_HSMMC_WRITE(host->base, HCTL, in omap_hsmmc_set_bus_width()
601 OMAP_HSMMC_READ(host->base, HCTL) | FOUR_BIT); in omap_hsmmc_set_bus_width()
605 OMAP_HSMMC_WRITE(host->base, HCTL, in omap_hsmmc_set_bus_width()
606 OMAP_HSMMC_READ(host->base, HCTL) & ~FOUR_BIT); in omap_hsmmc_set_bus_width()
636 host->hctl == OMAP_HSMMC_READ(host->base, HCTL) && in omap_hsmmc_context_restore()
658 OMAP_HSMMC_WRITE(host->base, HCTL, in omap_hsmmc_context_restore()
659 OMAP_HSMMC_READ(host->base, HCTL) | hctl); in omap_hsmmc_context_restore()
664 OMAP_HSMMC_WRITE(host->base, HCTL, in omap_hsmmc_context_restore()
665 OMAP_HSMMC_READ(host->base, HCTL) | SDBP); in omap_hsmmc_context_restore()
668 while ((OMAP_HSMMC_READ(host->base, HCTL) & SDBP) != SDBP in omap_hsmmc_context_restore()
698 host->hctl = OMAP_HSMMC_READ(host->base, HCTL); in omap_hsmmc_context_save()
1090 OMAP_HSMMC_WRITE(host->base, HCTL, in set_sd_bus_power()
1091 OMAP_HSMMC_READ(host->base, HCTL) | SDBP); in set_sd_bus_power()
1093 if (OMAP_HSMMC_READ(host->base, HCTL) & SDBP) in set_sd_bus_power()
1125 OMAP_HSMMC_WRITE(host->base, HCTL, in omap_hsmmc_switch_opcond()
1126 OMAP_HSMMC_READ(host->base, HCTL) & SDVSCLR); in omap_hsmmc_switch_opcond()
1127 reg_val = OMAP_HSMMC_READ(host->base, HCTL); in omap_hsmmc_switch_opcond()
1149 OMAP_HSMMC_WRITE(host->base, HCTL, reg_val); in omap_hsmmc_switch_opcond()
1480 if ((OMAP_HSMMC_READ(host->base, HCTL) & SDVSDET) && in omap_hsmmc_set_ios()
1576 OMAP_HSMMC_WRITE(host->base, HCTL, in omap_hsmmc_configure_wake_irq()
1577 OMAP_HSMMC_READ(host->base, HCTL) | IWE); in omap_hsmmc_configure_wake_irq()
1601 value = OMAP_HSMMC_READ(host->base, HCTL) & ~SDVS_MASK; in omap_hsmmc_conf_bus_power()
1602 OMAP_HSMMC_WRITE(host->base, HCTL, value | hctl); in omap_hsmmc_conf_bus_power()
1656 OMAP_HSMMC_READ(host->base, HCTL)); in mmc_regs_show()
2016 OMAP_HSMMC_WRITE(host->base, HCTL, in omap_hsmmc_suspend()
2017 OMAP_HSMMC_READ(host->base, HCTL) & ~SDBP); in omap_hsmmc_suspend()