Lines Matching refs:ios
779 static void omap_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in omap_mmc_set_ios() argument
786 switch (ios->power_mode) { in omap_mmc_set_ios()
801 host->mmc->ios.vdd = vdd; in omap_mmc_set_ios()
805 mmc_slot(host).set_power(host->dev, host->slot_id, 1, ios->vdd); in omap_mmc_set_ios()
809 switch (mmc->ios.bus_width) { in omap_mmc_set_ios()
825 (ios->vdd == DUAL_VOLT_OCR_BIT)) { in omap_mmc_set_ios()
832 if (omap_mmc_switch_opcond(host, ios->vdd) != 0) in omap_mmc_set_ios()
838 if (ios->clock) { in omap_mmc_set_ios()
839 dsor = OMAP_MMC_MASTER_CLOCK / ios->clock; in omap_mmc_set_ios()
843 if (OMAP_MMC_MASTER_CLOCK / dsor > ios->clock) in omap_mmc_set_ios()
866 if (ios->power_mode == MMC_POWER_ON) in omap_mmc_set_ios()
869 if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) in omap_mmc_set_ios()