Lines Matching refs:ios
684 if (card->host->ios.clock) in mmc_set_data_timeout()
686 (card->host->ios.clock / 1000); in mmc_set_data_timeout()
886 struct mmc_ios *ios = &host->ios; in mmc_set_ios() local
890 mmc_hostname(host), ios->clock, ios->bus_mode, in mmc_set_ios()
891 ios->power_mode, ios->chip_select, ios->vdd, in mmc_set_ios()
892 1 << ios->bus_width, ios->timing); in mmc_set_ios()
894 host->ops->set_ios(host, ios); in mmc_set_ios()
902 host->ios.chip_select = mode; in mmc_set_chip_select()
917 host->ios.clock = hz; in mmc_set_clock()
960 host->ios.bus_mode = mode; in mmc_set_bus_mode()
969 host->ios.bus_width = width; in mmc_set_bus_width()
984 host->ios.chip_select = MMC_CS_HIGH; in mmc_set_initial_state()
986 host->ios.chip_select = MMC_CS_DONTCARE; in mmc_set_initial_state()
987 host->ios.bus_mode = MMC_BUSMODE_PUSHPULL; in mmc_set_initial_state()
988 host->ios.bus_width = MMC_BUS_WIDTH_1; in mmc_set_initial_state()
989 host->ios.timing = MMC_TIMING_LEGACY; in mmc_set_initial_state()
990 host->ios.drv_type = 0; in mmc_set_initial_state()
991 host->ios.enhanced_strobe = false; in mmc_set_initial_state()
999 host->ops->hs400_enhanced_strobe(host, &host->ios); in mmc_set_initial_state()
1144 if (bit != host->ios.vdd) in mmc_select_voltage()
1154 int old_signal_voltage = host->ios.signal_voltage; in mmc_set_signal_voltage()
1156 host->ios.signal_voltage = signal_voltage; in mmc_set_signal_voltage()
1158 err = host->ops->start_signal_voltage_switch(host, &host->ios); in mmc_set_signal_voltage()
1161 host->ios.signal_voltage = old_signal_voltage; in mmc_set_signal_voltage()
1186 clock = host->ios.clock; in mmc_host_set_uhs_voltage()
1187 host->ios.clock = 0; in mmc_host_set_uhs_voltage()
1195 host->ios.clock = clock; in mmc_host_set_uhs_voltage()
1271 host->ios.timing = timing; in mmc_set_timing()
1280 host->ios.drv_type = drv_type; in mmc_set_driver_type()
1330 if (host->ios.power_mode == MMC_POWER_ON) in mmc_power_up()
1335 host->ios.vdd = fls(ocr) - 1; in mmc_power_up()
1336 host->ios.power_mode = MMC_POWER_UP; in mmc_power_up()
1346 mmc_delay(host->ios.power_delay_ms); in mmc_power_up()
1350 host->ios.clock = host->f_init; in mmc_power_up()
1352 host->ios.power_mode = MMC_POWER_ON; in mmc_power_up()
1359 mmc_delay(host->ios.power_delay_ms); in mmc_power_up()
1364 if (host->ios.power_mode == MMC_POWER_OFF) in mmc_power_off()
1369 host->ios.clock = 0; in mmc_power_off()
1370 host->ios.vdd = 0; in mmc_power_off()
1372 host->ios.power_mode = MMC_POWER_OFF; in mmc_power_off()
1524 (card->host->ios.clock / 1000); in mmc_mmc_erase_timeout()