Lines Matching refs:con
195 u32 con; member
682 u32 con; in omap_hsmmc_set_bus_width() local
684 con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_set_bus_width()
687 con |= DDR; /* configure in DDR mode */ in omap_hsmmc_set_bus_width()
689 con &= ~DDR; in omap_hsmmc_set_bus_width()
692 OMAP_HSMMC_WRITE(host->base, CON, con | DW8); in omap_hsmmc_set_bus_width()
695 OMAP_HSMMC_WRITE(host->base, CON, con & ~DW8); in omap_hsmmc_set_bus_width()
700 OMAP_HSMMC_WRITE(host->base, CON, con & ~DW8); in omap_hsmmc_set_bus_width()
710 u32 con; in omap_hsmmc_set_bus_mode() local
712 con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_set_bus_mode()
714 OMAP_HSMMC_WRITE(host->base, CON, con | OD); in omap_hsmmc_set_bus_mode()
716 OMAP_HSMMC_WRITE(host->base, CON, con & ~OD); in omap_hsmmc_set_bus_mode()
731 if (host->con == OMAP_HSMMC_READ(host->base, CON) && in omap_hsmmc_context_restore()
793 host->con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_context_save()
1722 u32 irq_mask, con; in omap_hsmmc_enable_sdio_irq() local
1727 con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_enable_sdio_irq()
1732 con |= CTPL | CLKEXTFREE; in omap_hsmmc_enable_sdio_irq()
1736 con &= ~(CTPL | CLKEXTFREE); in omap_hsmmc_enable_sdio_irq()
1738 OMAP_HSMMC_WRITE(host->base, CON, con); in omap_hsmmc_enable_sdio_irq()