Lines Matching refs:con
202 u32 con; member
579 u32 con; in omap_hsmmc_set_bus_width() local
581 con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_set_bus_width()
584 con |= DDR; /* configure in DDR mode */ in omap_hsmmc_set_bus_width()
586 con &= ~DDR; in omap_hsmmc_set_bus_width()
589 OMAP_HSMMC_WRITE(host->base, CON, con | DW8); in omap_hsmmc_set_bus_width()
592 OMAP_HSMMC_WRITE(host->base, CON, con & ~DW8); in omap_hsmmc_set_bus_width()
597 OMAP_HSMMC_WRITE(host->base, CON, con & ~DW8); in omap_hsmmc_set_bus_width()
607 u32 con; in omap_hsmmc_set_bus_mode() local
609 con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_set_bus_mode()
611 OMAP_HSMMC_WRITE(host->base, CON, con | OD); in omap_hsmmc_set_bus_mode()
613 OMAP_HSMMC_WRITE(host->base, CON, con & ~OD); in omap_hsmmc_set_bus_mode()
628 if (host->con == OMAP_HSMMC_READ(host->base, CON) && in omap_hsmmc_context_restore()
690 host->con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_context_save()
1634 u32 irq_mask, con; in omap_hsmmc_enable_sdio_irq() local
1639 con = OMAP_HSMMC_READ(host->base, CON); in omap_hsmmc_enable_sdio_irq()
1644 con |= CTPL | CLKEXTFREE; in omap_hsmmc_enable_sdio_irq()
1648 con &= ~(CTPL | CLKEXTFREE); in omap_hsmmc_enable_sdio_irq()
1650 OMAP_HSMMC_WRITE(host->base, CON, con); in omap_hsmmc_enable_sdio_irq()