Lines Matching refs:ios
722 static void usdhi6_clk_set(struct usdhi6_host *host, struct mmc_ios *ios) in usdhi6_clk_set() argument
724 unsigned long rate = ios->clock; in usdhi6_clk_set()
745 if (ios->timing != MMC_TIMING_UHS_DDR50) { in usdhi6_clk_set()
789 static void usdhi6_set_power(struct usdhi6_host *host, struct mmc_ios *ios) in usdhi6_set_power() argument
796 ios->power_mode ? ios->vdd : 0); in usdhi6_set_power()
813 static void usdhi6_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) in usdhi6_set_ios() argument
820 ios->clock, ios->vdd, ios->power_mode, ios->bus_width, ios->timing); in usdhi6_set_ios()
822 switch (ios->power_mode) { in usdhi6_set_ios()
824 usdhi6_set_power(host, ios); in usdhi6_set_ios()
836 usdhi6_set_power(host, ios); in usdhi6_set_ios()
847 if (ios->bus_width == MMC_BUS_WIDTH_1) { in usdhi6_set_ios()
848 if (ios->timing == MMC_TIMING_UHS_DDR50) in usdhi6_set_ios()
855 mode = ios->timing == MMC_TIMING_UHS_DDR50; in usdhi6_set_ios()
862 if (host->rate != ios->clock) in usdhi6_set_ios()
863 usdhi6_clk_set(host, ios); in usdhi6_set_ios()
1170 static int usdhi6_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) in usdhi6_sig_volt_switch() argument
1174 ret = mmc_regulator_set_vqmmc(mmc, ios); in usdhi6_sig_volt_switch()
1178 ret = usdhi6_set_pinstates(mmc_priv(mmc), ios->signal_voltage); in usdhi6_sig_volt_switch()