ios 593 arch/alpha/kernel/io.c const u16 __iomem *ios = (const u16 __iomem *) s; ios 605 arch/alpha/kernel/io.c u16 tmp = __raw_readw(ios++); ios 610 arch/alpha/kernel/io.c memcpy_fromio(d, ios, count); ios 1779 block/bio.c part_stat_inc(part, ios[sgrp]); ios 1337 block/blk-core.c part_stat_inc(part, ios[sgrp]); ios 1391 block/genhd.c part_stat_read(hd, ios[STAT_READ]), ios 1395 block/genhd.c part_stat_read(hd, ios[STAT_WRITE]), ios 1402 block/genhd.c part_stat_read(hd, ios[STAT_DISCARD]), ios 132 block/partition-generic.c part_stat_read(p, ios[STAT_READ]), ios 136 block/partition-generic.c part_stat_read(p, ios[STAT_WRITE]), ios 143 block/partition-generic.c part_stat_read(p, ios[STAT_DISCARD]), ios 207 drivers/gpu/drm/v3d/v3d_sched.c V3D_WRITE(V3D_TFU_IOS, job->args.ios); ios 27 drivers/md/dm-stats.c unsigned long long ios[2]; ios 553 drivers/md/dm-stats.c p->ios[idx] += 1; ios 682 drivers/md/dm-stats.c shared->tmp.ios[READ] = 0; ios 683 drivers/md/dm-stats.c shared->tmp.ios[WRITE] = 0; ios 700 drivers/md/dm-stats.c shared->tmp.ios[READ] += READ_ONCE(p->ios[READ]); ios 701 drivers/md/dm-stats.c shared->tmp.ios[WRITE] += READ_ONCE(p->ios[WRITE]); ios 733 drivers/md/dm-stats.c p->ios[READ] -= shared->tmp.ios[READ]; ios 734 drivers/md/dm-stats.c p->ios[WRITE] -= shared->tmp.ios[WRITE]; ios 845 drivers/md/dm-stats.c shared->tmp.ios[READ], ios 849 drivers/md/dm-stats.c shared->tmp.ios[WRITE], ios 408 drivers/md/md.c part_stat_inc(&mddev->gendisk->part0, ios[sgrp]); ios 966 drivers/mmc/core/block.c if (host->ios.clock) ios 967 drivers/mmc/core/block.c return host->ios.clock / 2000; ios 700 drivers/mmc/core/core.c if (card->host->ios.clock) ios 702 drivers/mmc/core/core.c (card->host->ios.clock / 1000); ios 902 drivers/mmc/core/core.c struct mmc_ios *ios = &host->ios; ios 906 drivers/mmc/core/core.c mmc_hostname(host), ios->clock, ios->bus_mode, ios 907 drivers/mmc/core/core.c ios->power_mode, ios->chip_select, ios->vdd, ios 908 drivers/mmc/core/core.c 1 << ios->bus_width, ios->timing); ios 910 drivers/mmc/core/core.c host->ops->set_ios(host, ios); ios 918 drivers/mmc/core/core.c host->ios.chip_select = mode; ios 933 drivers/mmc/core/core.c host->ios.clock = hz; ios 970 drivers/mmc/core/core.c host->ios.bus_mode = mode; ios 979 drivers/mmc/core/core.c host->ios.bus_width = width; ios 994 drivers/mmc/core/core.c host->ios.chip_select = MMC_CS_HIGH; ios 996 drivers/mmc/core/core.c host->ios.chip_select = MMC_CS_DONTCARE; ios 997 drivers/mmc/core/core.c host->ios.bus_mode = MMC_BUSMODE_PUSHPULL; ios 998 drivers/mmc/core/core.c host->ios.bus_width = MMC_BUS_WIDTH_1; ios 999 drivers/mmc/core/core.c host->ios.timing = MMC_TIMING_LEGACY; ios 1000 drivers/mmc/core/core.c host->ios.drv_type = 0; ios 1001 drivers/mmc/core/core.c host->ios.enhanced_strobe = false; ios 1009 drivers/mmc/core/core.c host->ops->hs400_enhanced_strobe(host, &host->ios); ios 1146 drivers/mmc/core/core.c if (bit != host->ios.vdd) ios 1156 drivers/mmc/core/core.c int old_signal_voltage = host->ios.signal_voltage; ios 1158 drivers/mmc/core/core.c host->ios.signal_voltage = signal_voltage; ios 1160 drivers/mmc/core/core.c err = host->ops->start_signal_voltage_switch(host, &host->ios); ios 1163 drivers/mmc/core/core.c host->ios.signal_voltage = old_signal_voltage; ios 1188 drivers/mmc/core/core.c clock = host->ios.clock; ios 1189 drivers/mmc/core/core.c host->ios.clock = 0; ios 1197 drivers/mmc/core/core.c host->ios.clock = clock; ios 1273 drivers/mmc/core/core.c host->ios.timing = timing; ios 1282 drivers/mmc/core/core.c host->ios.drv_type = drv_type; ios 1332 drivers/mmc/core/core.c if (host->ios.power_mode == MMC_POWER_ON) ios 1337 drivers/mmc/core/core.c host->ios.vdd = fls(ocr) - 1; ios 1338 drivers/mmc/core/core.c host->ios.power_mode = MMC_POWER_UP; ios 1348 drivers/mmc/core/core.c mmc_delay(host->ios.power_delay_ms); ios 1352 drivers/mmc/core/core.c host->ios.clock = host->f_init; ios 1354 drivers/mmc/core/core.c host->ios.power_mode = MMC_POWER_ON; ios 1361 drivers/mmc/core/core.c mmc_delay(host->ios.power_delay_ms); ios 1366 drivers/mmc/core/core.c if (host->ios.power_mode == MMC_POWER_OFF) ios 1371 drivers/mmc/core/core.c host->ios.clock = 0; ios 1372 drivers/mmc/core/core.c host->ios.vdd = 0; ios 1374 drivers/mmc/core/core.c host->ios.power_mode = MMC_POWER_OFF; ios 1582 drivers/mmc/core/core.c (card->host->ios.clock / 1000); ios 2352 drivers/mmc/core/core.c host->ios.power_mode = MMC_POWER_UNDEFINED; ios 55 drivers/mmc/core/debugfs.c struct mmc_ios *ios = &host->ios; ios 58 drivers/mmc/core/debugfs.c seq_printf(s, "clock:\t\t%u Hz\n", ios->clock); ios 61 drivers/mmc/core/debugfs.c seq_printf(s, "vdd:\t\t%u ", ios->vdd); ios 62 drivers/mmc/core/debugfs.c if ((1 << ios->vdd) & MMC_VDD_165_195) ios 64 drivers/mmc/core/debugfs.c else if (ios->vdd < (ARRAY_SIZE(vdd_str) - 1) ios 65 drivers/mmc/core/debugfs.c && vdd_str[ios->vdd] && vdd_str[ios->vdd + 1]) ios 66 drivers/mmc/core/debugfs.c seq_printf(s, "(%s ~ %s V)\n", vdd_str[ios->vdd], ios 67 drivers/mmc/core/debugfs.c vdd_str[ios->vdd + 1]); ios 71 drivers/mmc/core/debugfs.c switch (ios->bus_mode) { ios 82 drivers/mmc/core/debugfs.c seq_printf(s, "bus mode:\t%u (%s)\n", ios->bus_mode, str); ios 84 drivers/mmc/core/debugfs.c switch (ios->chip_select) { ios 98 drivers/mmc/core/debugfs.c seq_printf(s, "chip select:\t%u (%s)\n", ios->chip_select, str); ios 100 drivers/mmc/core/debugfs.c switch (ios->power_mode) { ios 114 drivers/mmc/core/debugfs.c seq_printf(s, "power mode:\t%u (%s)\n", ios->power_mode, str); ios 116 drivers/mmc/core/debugfs.c ios->bus_width, 1 << ios->bus_width); ios 118 drivers/mmc/core/debugfs.c switch (ios->timing) { ios 157 drivers/mmc/core/debugfs.c seq_printf(s, "timing spec:\t%u (%s)\n", ios->timing, str); ios 159 drivers/mmc/core/debugfs.c switch (ios->signal_voltage) { ios 173 drivers/mmc/core/debugfs.c seq_printf(s, "signal voltage:\t%u (%s)\n", ios->signal_voltage, str); ios 175 drivers/mmc/core/debugfs.c switch (ios->drv_type) { ios 192 drivers/mmc/core/debugfs.c seq_printf(s, "driver type:\t%u (%s)\n", ios->drv_type, str); ios 202 drivers/mmc/core/debugfs.c *val = host->ios.clock; ios 137 drivers/mmc/core/host.c if (host->ios.timing == MMC_TIMING_MMC_HS400) { ios 338 drivers/mmc/core/host.c &host->ios.power_delay_ms); ios 447 drivers/mmc/core/host.c host->ios.power_delay_ms = 10; ios 62 drivers/mmc/core/host.h return card->host->ios.timing == MMC_TIMING_MMC_HS200; ios 67 drivers/mmc/core/host.h return card->host->ios.timing == MMC_TIMING_MMC_DDR52; ios 72 drivers/mmc/core/host.h return card->host->ios.timing == MMC_TIMING_MMC_HS400; ios 77 drivers/mmc/core/host.h return card->host->ios.enhanced_strobe; ios 874 drivers/mmc/core/mmc.c switch (1 << host->ios.vdd) { ios 876 drivers/mmc/core/mmc.c if (host->ios.clock <= MMC_HIGH_26_MAX_DTR) ios 878 drivers/mmc/core/mmc.c else if (host->ios.clock <= MMC_HIGH_52_MAX_DTR) ios 882 drivers/mmc/core/mmc.c else if (host->ios.clock <= MMC_HS200_MAX_DTR) ios 894 drivers/mmc/core/mmc.c if (host->ios.clock <= MMC_HIGH_26_MAX_DTR) ios 896 drivers/mmc/core/mmc.c else if (host->ios.clock <= MMC_HIGH_52_MAX_DTR) ios 900 drivers/mmc/core/mmc.c else if (host->ios.clock <= MMC_HS200_MAX_DTR) ios 939 drivers/mmc/core/mmc.c bus_width = host->ios.bus_width; ios 1079 drivers/mmc/core/mmc.c bus_width = host->ios.bus_width; ios 1151 drivers/mmc/core/mmc.c host->ios.bus_width == MMC_BUS_WIDTH_8)) ios 1297 drivers/mmc/core/mmc.c host->ops->prepare_hs400_tuning(host, &host->ios); ios 1407 drivers/mmc/core/mmc.c host->ios.enhanced_strobe = true; ios 1409 drivers/mmc/core/mmc.c host->ops->hs400_enhanced_strobe(host, &host->ios); ios 1437 drivers/mmc/core/mmc.c old_signal_voltage = host->ios.signal_voltage; ios 1464 drivers/mmc/core/mmc.c old_timing = host->ios.timing; ios 1535 drivers/mmc/core/mmc.c host->ios.bus_width == MMC_BUS_WIDTH_8) ios 1537 drivers/mmc/core/mmc.c host->ops->prepare_hs400_tuning(host, &host->ios); ios 1868 drivers/mmc/core/mmc.c host->ios.signal_voltage == MMC_SIGNAL_VOLTAGE_330) { ios 533 drivers/mmc/core/mmc_ops.c unsigned char old_timing = host->ios.timing; ios 617 drivers/mmc/core/mmc_ops.c struct mmc_ios *ios = &host->ios; ios 622 drivers/mmc/core/mmc_ops.c if (ios->bus_width == MMC_BUS_WIDTH_8) { ios 625 drivers/mmc/core/mmc_ops.c } else if (ios->bus_width == MMC_BUS_WIDTH_4) { ios 167 drivers/mmc/core/regulator.c int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios) ios 176 drivers/mmc/core/regulator.c switch (ios->signal_voltage) { ios 184 drivers/mmc/core/regulator.c ret = mmc_ocrbitnum_to_vdd(mmc->ios.vdd, &volt, &max_uV); ios 511 drivers/mmc/core/sd.c voltage = 1 << host->ios.vdd; ios 643 drivers/mmc/core/sd.c (card->host->ios.timing == MMC_TIMING_UHS_SDR50 || ios 644 drivers/mmc/core/sd.c card->host->ios.timing == MMC_TIMING_UHS_DDR50 || ios 645 drivers/mmc/core/sd.c card->host->ios.timing == MMC_TIMING_UHS_SDR104)) { ios 655 drivers/mmc/core/sd.c if (err && card->host->ios.timing == MMC_TIMING_UHS_DDR50) { ios 1029 drivers/mmc/core/sd.c host->ios.signal_voltage != MMC_SIGNAL_VOLTAGE_180) { ios 1086 drivers/mmc/core/sd.c host->ios.signal_voltage == MMC_SIGNAL_VOLTAGE_330) { ios 539 drivers/mmc/core/sdio.c ((card->host->ios.timing == MMC_TIMING_UHS_SDR50) || ios 540 drivers/mmc/core/sdio.c (card->host->ios.timing == MMC_TIMING_UHS_SDR104))) ios 794 drivers/mmc/core/sdio.c host->ios.signal_voltage == MMC_SIGNAL_VOLTAGE_330) { ios 692 drivers/mmc/host/alcor.c static void alcor_set_timing(struct mmc_host *mmc, struct mmc_ios *ios) ios 696 drivers/mmc/host/alcor.c if (ios->timing == MMC_TIMING_LEGACY) { ios 705 drivers/mmc/host/alcor.c static void alcor_set_bus_width(struct mmc_host *mmc, struct mmc_ios *ios) ios 710 drivers/mmc/host/alcor.c if (ios->bus_width == MMC_BUS_WIDTH_1) { ios 712 drivers/mmc/host/alcor.c } else if (ios->bus_width == MMC_BUS_WIDTH_4) { ios 845 drivers/mmc/host/alcor.c static void alcor_set_power_mode(struct mmc_host *mmc, struct mmc_ios *ios) ios 850 drivers/mmc/host/alcor.c switch (ios->power_mode) { ios 852 drivers/mmc/host/alcor.c alcor_set_clock(host, ios->clock); ios 880 drivers/mmc/host/alcor.c alcor_set_clock(host, ios->clock); ios 887 drivers/mmc/host/alcor.c alcor_set_clock(host, ios->clock); ios 906 drivers/mmc/host/alcor.c static void alcor_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 913 drivers/mmc/host/alcor.c ios->bus_width, ios->power_mode); ios 915 drivers/mmc/host/alcor.c if (ios->power_mode != host->cur_power_mode) { ios 916 drivers/mmc/host/alcor.c alcor_set_power_mode(mmc, ios); ios 917 drivers/mmc/host/alcor.c host->cur_power_mode = ios->power_mode; ios 919 drivers/mmc/host/alcor.c alcor_set_timing(mmc, ios); ios 920 drivers/mmc/host/alcor.c alcor_set_bus_width(mmc, ios); ios 921 drivers/mmc/host/alcor.c alcor_set_clock(host, ios->clock); ios 928 drivers/mmc/host/alcor.c struct mmc_ios *ios) ios 934 drivers/mmc/host/alcor.c switch (ios->signal_voltage) { ios 417 drivers/mmc/host/android-goldfish.c static void goldfish_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 421 drivers/mmc/host/android-goldfish.c host->bus_mode = ios->bus_mode; ios 785 drivers/mmc/host/atmel-mci.c if (mmc->ios.bus_mode == MMC_BUSMODE_OPENDRAIN) ios 1372 drivers/mmc/host/atmel-mci.c static void atmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1379 drivers/mmc/host/atmel-mci.c switch (ios->bus_width) { ios 1391 drivers/mmc/host/atmel-mci.c if (ios->clock) { ios 1407 drivers/mmc/host/atmel-mci.c slot->clock = ios->clock; ios 1451 drivers/mmc/host/atmel-mci.c if (ios->timing == MMC_TIMING_SD_HS) ios 1487 drivers/mmc/host/atmel-mci.c switch (ios->power_mode) { ios 1495 drivers/mmc/host/atmel-mci.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); ios 756 drivers/mmc/host/au1xmmc.c static void au1xmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 761 drivers/mmc/host/au1xmmc.c if (ios->power_mode == MMC_POWER_OFF) ios 763 drivers/mmc/host/au1xmmc.c else if (ios->power_mode == MMC_POWER_ON) { ios 767 drivers/mmc/host/au1xmmc.c if (ios->clock && ios->clock != host->clock) { ios 768 drivers/mmc/host/au1xmmc.c au1xmmc_set_clock(host, ios->clock); ios 769 drivers/mmc/host/au1xmmc.c host->clock = ios->clock; ios 773 drivers/mmc/host/au1xmmc.c switch (ios->bus_width) { ios 1233 drivers/mmc/host/bcm2835.c static void bcm2835_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1239 drivers/mmc/host/bcm2835.c if (!ios->clock || ios->clock != host->clock) { ios 1240 drivers/mmc/host/bcm2835.c bcm2835_set_clock(host, ios->clock); ios 1241 drivers/mmc/host/bcm2835.c host->clock = ios->clock; ios 1246 drivers/mmc/host/bcm2835.c if (ios->bus_width == MMC_BUS_WIDTH_4) ios 824 drivers/mmc/host/cavium.c static void cvm_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 835 drivers/mmc/host/cavium.c switch (ios->power_mode) { ios 851 drivers/mmc/host/cavium.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); ios 856 drivers/mmc/host/cavium.c switch (ios->bus_width) { ios 869 drivers/mmc/host/cavium.c if (ios->bus_width && ios->timing == MMC_TIMING_MMC_DDR52) ios 873 drivers/mmc/host/cavium.c clock = ios->clock; ios 882 drivers/mmc/host/cavium.c (ios->timing == MMC_TIMING_MMC_HS)) | ios 558 drivers/mmc/host/cb710-mmc.c static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 564 drivers/mmc/host/cb710-mmc.c cb710_mmc_select_clock_divider(mmc, ios->clock); ios 566 drivers/mmc/host/cb710-mmc.c if (ios->power_mode != reader->last_power_mode) { ios 567 drivers/mmc/host/cb710-mmc.c switch (ios->power_mode) { ios 594 drivers/mmc/host/cb710-mmc.c cb710_mmc_enable_4bit_data(slot, ios->bus_width != MMC_BUS_WIDTH_1); ios 640 drivers/mmc/host/davinci_mmc.c static void calculate_clk_divider(struct mmc_host *mmc, struct mmc_ios *ios) ios 646 drivers/mmc/host/davinci_mmc.c if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) { ios 666 drivers/mmc/host/davinci_mmc.c mmc_push_pull_freq = calculate_freq_for_card(host, ios->clock); ios 686 drivers/mmc/host/davinci_mmc.c static void mmc_davinci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 694 drivers/mmc/host/davinci_mmc.c ios->clock, ios->bus_mode, ios->power_mode, ios 695 drivers/mmc/host/davinci_mmc.c ios->vdd); ios 697 drivers/mmc/host/davinci_mmc.c switch (ios->power_mode) { ios 708 drivers/mmc/host/davinci_mmc.c switch (ios->bus_width) { ios 739 drivers/mmc/host/davinci_mmc.c calculate_clk_divider(mmc, ios); ios 741 drivers/mmc/host/davinci_mmc.c host->bus_mode = ios->bus_mode; ios 742 drivers/mmc/host/davinci_mmc.c if (ios->power_mode == MMC_POWER_UP) { ios 1077 drivers/mmc/host/davinci_mmc.c calculate_clk_divider(mmc, &mmc->ios); ios 23 drivers/mmc/host/dw_mmc-bluefield.c static void dw_mci_bluefield_set_ios(struct dw_mci *host, struct mmc_ios *ios) ios 294 drivers/mmc/host/dw_mmc-exynos.c static void dw_mci_exynos_set_ios(struct dw_mci *host, struct mmc_ios *ios) ios 297 drivers/mmc/host/dw_mmc-exynos.c unsigned int wanted = ios->clock; ios 298 drivers/mmc/host/dw_mmc-exynos.c u32 timing = ios->timing, clksel; ios 310 drivers/mmc/host/dw_mmc-exynos.c if (ios->bus_width == MMC_BUS_WIDTH_8) ios 501 drivers/mmc/host/dw_mmc-exynos.c struct mmc_ios *ios) ios 506 drivers/mmc/host/dw_mmc-exynos.c dw_mci_exynos_adjust_clock(host, (ios->clock) << 1); ios 32 drivers/mmc/host/dw_mmc-hi3798cv200.c static void dw_mci_hi3798cv200_set_ios(struct dw_mci *host, struct mmc_ios *ios) ios 38 drivers/mmc/host/dw_mmc-hi3798cv200.c if (ios->timing == MMC_TIMING_MMC_DDR52 || ios 39 drivers/mmc/host/dw_mmc-hi3798cv200.c ios->timing == MMC_TIMING_UHS_DDR50) ios 46 drivers/mmc/host/dw_mmc-hi3798cv200.c if (ios->timing == MMC_TIMING_MMC_DDR52) ios 53 drivers/mmc/host/dw_mmc-hi3798cv200.c if (ios->timing == MMC_TIMING_MMC_HS400) ios 59 drivers/mmc/host/dw_mmc-hi3798cv200.c if (ios->timing == MMC_TIMING_MMC_HS || ios 60 drivers/mmc/host/dw_mmc-hi3798cv200.c ios->timing == MMC_TIMING_LEGACY) ios 62 drivers/mmc/host/dw_mmc-hi3798cv200.c else if (ios->timing == MMC_TIMING_MMC_HS200) ios 102 drivers/mmc/host/dw_mmc-k3.c static void dw_mci_k3_set_ios(struct dw_mci *host, struct mmc_ios *ios) ios 106 drivers/mmc/host/dw_mmc-k3.c ret = clk_set_rate(host->ciu_clk, ios->clock); ios 108 drivers/mmc/host/dw_mmc-k3.c dev_warn(host->dev, "failed to set rate %uHz\n", ios->clock); ios 141 drivers/mmc/host/dw_mmc-k3.c static int dw_mci_hi6220_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) ios 155 drivers/mmc/host/dw_mmc-k3.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { ios 160 drivers/mmc/host/dw_mmc-k3.c } else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { ios 188 drivers/mmc/host/dw_mmc-k3.c static void dw_mci_hi6220_set_ios(struct dw_mci *host, struct mmc_ios *ios) ios 193 drivers/mmc/host/dw_mmc-k3.c clock = (ios->clock <= 25000000) ? 25000000 : ios->clock; ios 297 drivers/mmc/host/dw_mmc-k3.c static void dw_mci_hi3660_set_ios(struct dw_mci *host, struct mmc_ios *ios) ios 304 drivers/mmc/host/dw_mmc-k3.c if (!ios->clock || ios->clock == priv->cur_speed) ios 307 drivers/mmc/host/dw_mmc-k3.c wanted = ios->clock * (GENCLK_DIV + 1); ios 315 drivers/mmc/host/dw_mmc-k3.c dw_mci_hs_set_timing(host, ios->timing, -1); ios 380 drivers/mmc/host/dw_mmc-k3.c dw_mci_hs_set_timing(host, mmc->ios.timing, smpl_phase); ios 394 drivers/mmc/host/dw_mmc-k3.c dw_mci_hs_set_timing(host, mmc->ios.timing, best_clksmpl); ios 402 drivers/mmc/host/dw_mmc-k3.c struct mmc_ios *ios) ios 418 drivers/mmc/host/dw_mmc-k3.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) ios 420 drivers/mmc/host/dw_mmc-k3.c else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) ios 426 drivers/mmc/host/dw_mmc-k3.c ret = mmc_regulator_set_vqmmc(mmc, ios); ios 27 drivers/mmc/host/dw_mmc-rockchip.c static void dw_mci_rk3288_set_ios(struct dw_mci *host, struct mmc_ios *ios) ios 34 drivers/mmc/host/dw_mmc-rockchip.c if (ios->clock == 0) ios 46 drivers/mmc/host/dw_mmc-rockchip.c if (ios->bus_width == MMC_BUS_WIDTH_8 && ios 47 drivers/mmc/host/dw_mmc-rockchip.c ios->timing == MMC_TIMING_MMC_DDR52) ios 48 drivers/mmc/host/dw_mmc-rockchip.c cclkin = 2 * ios->clock * RK3288_CLKGEN_DIV; ios 50 drivers/mmc/host/dw_mmc-rockchip.c cclkin = ios->clock * RK3288_CLKGEN_DIV; ios 54 drivers/mmc/host/dw_mmc-rockchip.c dev_warn(host->dev, "failed to set rate %uHz\n", ios->clock); ios 104 drivers/mmc/host/dw_mmc-rockchip.c switch (ios->timing) { ios 111 drivers/mmc/host/dw_mmc-rockchip.c if (ios->bus_width == MMC_BUS_WIDTH_8) ios 129 drivers/mmc/host/dw_mmc-zx.c struct mmc_ios *ios) ios 1403 drivers/mmc/host/dw_mmc.c static void dw_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1410 drivers/mmc/host/dw_mmc.c switch (ios->bus_width) { ios 1425 drivers/mmc/host/dw_mmc.c if (ios->timing == MMC_TIMING_MMC_DDR52 || ios 1426 drivers/mmc/host/dw_mmc.c ios->timing == MMC_TIMING_UHS_DDR50 || ios 1427 drivers/mmc/host/dw_mmc.c ios->timing == MMC_TIMING_MMC_HS400) ios 1433 drivers/mmc/host/dw_mmc.c slot->host->timing = ios->timing; ios 1439 drivers/mmc/host/dw_mmc.c slot->clock = ios->clock; ios 1442 drivers/mmc/host/dw_mmc.c drv_data->set_ios(slot->host, ios); ios 1444 drivers/mmc/host/dw_mmc.c switch (ios->power_mode) { ios 1448 drivers/mmc/host/dw_mmc.c ios->vdd); ios 1504 drivers/mmc/host/dw_mmc.c if (slot->host->state == STATE_WAITING_CMD11_DONE && ios->clock != 0) ios 1522 drivers/mmc/host/dw_mmc.c static int dw_mci_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) ios 1532 drivers/mmc/host/dw_mmc.c return drv_data->switch_voltage(mmc, ios); ios 1540 drivers/mmc/host/dw_mmc.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) ios 1546 drivers/mmc/host/dw_mmc.c ret = mmc_regulator_set_vqmmc(mmc, ios); ios 1694 drivers/mmc/host/dw_mmc.c struct mmc_ios *ios) ios 1701 drivers/mmc/host/dw_mmc.c return drv_data->prepare_hs400_tuning(host, ios); ios 3458 drivers/mmc/host/dw_mmc.c dw_mci_set_ios(host->slot->mmc, &host->slot->mmc->ios); ios 559 drivers/mmc/host/dw_mmc.h void (*set_ios)(struct dw_mci *host, struct mmc_ios *ios); ios 563 drivers/mmc/host/dw_mmc.h struct mmc_ios *ios); ios 565 drivers/mmc/host/dw_mmc.h struct mmc_ios *ios); ios 873 drivers/mmc/host/jz4740_mmc.c static void jz4740_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 876 drivers/mmc/host/jz4740_mmc.c if (ios->clock) ios 877 drivers/mmc/host/jz4740_mmc.c jz4740_mmc_set_clock_rate(host, ios->clock); ios 879 drivers/mmc/host/jz4740_mmc.c switch (ios->power_mode) { ios 883 drivers/mmc/host/jz4740_mmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); ios 896 drivers/mmc/host/jz4740_mmc.c switch (ios->bus_width) { ios 548 drivers/mmc/host/meson-gx-mmc.c struct mmc_ios *ios) ios 552 drivers/mmc/host/meson-gx-mmc.c switch (ios->timing) { ios 563 drivers/mmc/host/meson-gx-mmc.c return meson_mmc_clk_set(host, ios->clock, ddr); ios 567 drivers/mmc/host/meson-gx-mmc.c struct mmc_ios *ios) ios 569 drivers/mmc/host/meson-gx-mmc.c switch (ios->timing) { ios 579 drivers/mmc/host/meson-gx-mmc.c static void meson_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 589 drivers/mmc/host/meson-gx-mmc.c switch (ios->power_mode) { ios 603 drivers/mmc/host/meson-gx-mmc.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); ios 622 drivers/mmc/host/meson-gx-mmc.c switch (ios->bus_width) { ios 634 drivers/mmc/host/meson-gx-mmc.c ios->bus_width); ios 643 drivers/mmc/host/meson-gx-mmc.c meson_mmc_check_resampling(host, ios); ios 644 drivers/mmc/host/meson-gx-mmc.c err = meson_mmc_prepare_ios_clock(host, ios); ios 1006 drivers/mmc/host/meson-gx-mmc.c static int meson_mmc_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) ios 1017 drivers/mmc/host/meson-gx-mmc.c return mmc_regulator_set_vqmmc(mmc, ios); ios 1021 drivers/mmc/host/meson-gx-mmc.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) ios 197 drivers/mmc/host/meson-mx-sdio.c if (mmc->ios.bus_width == MMC_BUS_WIDTH_4) ios 255 drivers/mmc/host/meson-mx-sdio.c static void meson_mx_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 258 drivers/mmc/host/meson-mx-sdio.c unsigned short vdd = ios->vdd; ios 259 drivers/mmc/host/meson-mx-sdio.c unsigned long clk_rate = ios->clock; ios 261 drivers/mmc/host/meson-mx-sdio.c switch (ios->bus_width) { ios 276 drivers/mmc/host/meson-mx-sdio.c ios->bus_width); ios 281 drivers/mmc/host/meson-mx-sdio.c host->error = clk_set_rate(host->cfg_div_clk, ios->clock); ios 291 drivers/mmc/host/meson-mx-sdio.c switch (ios->power_mode) { ios 1171 drivers/mmc/host/mmc_spi.c static void mmc_spi_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1175 drivers/mmc/host/mmc_spi.c if (host->power_mode != ios->power_mode) { ios 1181 drivers/mmc/host/mmc_spi.c mmc_powerstring(ios->power_mode), ios 1182 drivers/mmc/host/mmc_spi.c ios->vdd, ios 1189 drivers/mmc/host/mmc_spi.c switch (ios->power_mode) { ios 1193 drivers/mmc/host/mmc_spi.c ios->vdd); ios 1194 drivers/mmc/host/mmc_spi.c if (ios->power_mode == MMC_POWER_UP) ios 1200 drivers/mmc/host/mmc_spi.c if (ios->power_mode == MMC_POWER_ON) ios 1212 drivers/mmc/host/mmc_spi.c if (canpower && ios->power_mode == MMC_POWER_OFF) { ios 1245 drivers/mmc/host/mmc_spi.c host->power_mode = ios->power_mode; ios 1248 drivers/mmc/host/mmc_spi.c if (host->spi->max_speed_hz != ios->clock && ios->clock != 0) { ios 1251 drivers/mmc/host/mmc_spi.c host->spi->max_speed_hz = ios->clock; ios 410 drivers/mmc/host/mmci.c if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) ios 412 drivers/mmc/host/mmci.c if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) ios 415 drivers/mmc/host/mmci.c if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50 || ios 416 drivers/mmc/host/mmci.c host->mmc->ios.timing == MMC_TIMING_MMC_DDR52) ios 1037 drivers/mmc/host/mmci.c if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50 || ios 1038 drivers/mmc/host/mmci.c host->mmc->ios.timing == MMC_TIMING_MMC_DDR52) ios 1586 drivers/mmc/host/mmci.c static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1595 drivers/mmc/host/mmci.c host->plat->ios_handler(mmc_dev(mmc), ios)) ios 1598 drivers/mmc/host/mmci.c switch (ios->power_mode) { ios 1611 drivers/mmc/host/mmci.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); ios 1635 drivers/mmc/host/mmci.c if (variant->signal_direction && ios->power_mode != MMC_POWER_OFF) { ios 1643 drivers/mmc/host/mmci.c if (ios->bus_width == MMC_BUS_WIDTH_4) ios 1645 drivers/mmc/host/mmci.c else if (ios->bus_width == MMC_BUS_WIDTH_1) ios 1652 drivers/mmc/host/mmci.c if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) ios 1659 drivers/mmc/host/mmci.c if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) ios 1669 drivers/mmc/host/mmci.c if (!ios->clock && variant->pwrreg_clkgate) ios 1673 drivers/mmc/host/mmci.c ios->clock != host->clock_cache) { ios 1674 drivers/mmc/host/mmci.c ret = clk_set_rate(host->clk, ios->clock); ios 1681 drivers/mmc/host/mmci.c host->clock_cache = ios->clock; ios 1686 drivers/mmc/host/mmci.c host->ops->set_clkreg(host, ios->clock); ios 1688 drivers/mmc/host/mmci.c mmci_set_clkreg(host, ios->clock); ios 1715 drivers/mmc/host/mmci.c static int mmci_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) ios 1721 drivers/mmc/host/mmci.c switch (ios->signal_voltage) { ios 174 drivers/mmc/host/mmci_stm32_sdmmc.c if (host->mmc->ios.timing == MMC_TIMING_MMC_DDR52 || ios 175 drivers/mmc/host/mmci_stm32_sdmmc.c host->mmc->ios.timing == MMC_TIMING_UHS_DDR50) ios 203 drivers/mmc/host/mmci_stm32_sdmmc.c if (host->mmc->ios.power_mode == MMC_POWER_ON) ios 208 drivers/mmc/host/mmci_stm32_sdmmc.c if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4) ios 210 drivers/mmc/host/mmci_stm32_sdmmc.c if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) ios 221 drivers/mmc/host/mmci_stm32_sdmmc.c if (host->mmc->ios.timing >= MMC_TIMING_UHS_SDR50) { ios 223 drivers/mmc/host/mmci_stm32_sdmmc.c if (host->mmc->ios.timing == MMC_TIMING_UHS_SDR104) { ios 234 drivers/mmc/host/mmci_stm32_sdmmc.c struct mmc_ios ios = host->mmc->ios; ios 238 drivers/mmc/host/mmci_stm32_sdmmc.c if (ios.power_mode == MMC_POWER_OFF) { ios 251 drivers/mmc/host/mmci_stm32_sdmmc.c } else if (ios.power_mode == MMC_POWER_ON) { ios 492 drivers/mmc/host/moxart-mmc.c static void moxart_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 501 drivers/mmc/host/moxart-mmc.c if (ios->clock) { ios 503 drivers/mmc/host/moxart-mmc.c if (ios->clock >= host->sysclk / (2 * (div + 1))) ios 513 drivers/mmc/host/moxart-mmc.c if (ios->power_mode == MMC_POWER_OFF) { ios 517 drivers/mmc/host/moxart-mmc.c if (ios->vdd < MIN_POWER) ios 520 drivers/mmc/host/moxart-mmc.c power = ios->vdd - MIN_POWER; ios 526 drivers/mmc/host/moxart-mmc.c switch (ios->bus_width) { ios 1330 drivers/mmc/host/mtk-sd.c static int msdc_ops_switch_volt(struct mmc_host *mmc, struct mmc_ios *ios) ios 1336 drivers/mmc/host/mtk-sd.c if (ios->signal_voltage != MMC_SIGNAL_VOLTAGE_330 && ios 1337 drivers/mmc/host/mtk-sd.c ios->signal_voltage != MMC_SIGNAL_VOLTAGE_180) { ios 1342 drivers/mmc/host/mtk-sd.c ret = mmc_regulator_set_vqmmc(mmc, ios); ios 1345 drivers/mmc/host/mtk-sd.c ret, ios->signal_voltage); ios 1348 drivers/mmc/host/mtk-sd.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) ios 1655 drivers/mmc/host/mtk-sd.c static void msdc_ops_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1660 drivers/mmc/host/mtk-sd.c msdc_set_buswidth(host, ios->bus_width); ios 1663 drivers/mmc/host/mtk-sd.c switch (ios->power_mode) { ios 1668 drivers/mmc/host/mtk-sd.c ios->vdd); ios 1697 drivers/mmc/host/mtk-sd.c if (host->mclk != ios->clock || host->timing != ios->timing) ios 1698 drivers/mmc/host/mtk-sd.c msdc_set_mclk(host, ios->timing, ios->clock); ios 1792 drivers/mmc/host/mtk-sd.c if (mmc->ios.timing == MMC_TIMING_MMC_HS200 || ios 1793 drivers/mmc/host/mtk-sd.c mmc->ios.timing == MMC_TIMING_UHS_SDR104) ios 1887 drivers/mmc/host/mtk-sd.c if (mmc->ios.timing == MMC_TIMING_MMC_HS200 || ios 1888 drivers/mmc/host/mtk-sd.c mmc->ios.timing == MMC_TIMING_UHS_SDR104) ios 2082 drivers/mmc/host/mtk-sd.c static int msdc_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) ios 598 drivers/mmc/host/mvsdio.c static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 604 drivers/mmc/host/mvsdio.c if (ios->power_mode == MMC_POWER_UP) ios 607 drivers/mmc/host/mvsdio.c if (ios->clock == 0) { ios 612 drivers/mmc/host/mvsdio.c } else if (ios->clock != host->clock) { ios 613 drivers/mmc/host/mvsdio.c u32 m = DIV_ROUND_UP(host->base_clock, ios->clock) - 1; ios 617 drivers/mmc/host/mvsdio.c host->clock = ios->clock; ios 620 drivers/mmc/host/mvsdio.c ios->clock, host->base_clock / (m+1), m); ios 631 drivers/mmc/host/mvsdio.c if (ios->bus_mode == MMC_BUSMODE_PUSHPULL) ios 634 drivers/mmc/host/mvsdio.c if (ios->bus_width == MMC_BUS_WIDTH_4) ios 645 drivers/mmc/host/mvsdio.c if (ios->timing == MMC_TIMING_MMC_HS || ios 646 drivers/mmc/host/mvsdio.c ios->timing == MMC_TIMING_SD_HS) ios 660 drivers/mmc/host/mvsdio.c if (ios->power_mode == MMC_POWER_OFF) ios 839 drivers/mmc/host/mxcmmc.c static void mxcmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 848 drivers/mmc/host/mxcmmc.c if (ios->bus_width == MMC_BUS_WIDTH_4) ios 865 drivers/mmc/host/mxcmmc.c if (ios->bus_width == MMC_BUS_WIDTH_4) ios 870 drivers/mmc/host/mxcmmc.c if (host->power_mode != ios->power_mode) { ios 871 drivers/mmc/host/mxcmmc.c host->power_mode = ios->power_mode; ios 872 drivers/mmc/host/mxcmmc.c mxcmci_set_power(host, ios->vdd); ios 874 drivers/mmc/host/mxcmmc.c if (ios->power_mode == MMC_POWER_ON) ios 878 drivers/mmc/host/mxcmmc.c if (ios->clock) { ios 879 drivers/mmc/host/mxcmmc.c mxcmci_set_clk_rate(host, ios->clock); ios 885 drivers/mmc/host/mxcmmc.c host->clock = ios->clock; ios 495 drivers/mmc/host/mxs-mmc.c static void mxs_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 499 drivers/mmc/host/mxs-mmc.c if (ios->bus_width == MMC_BUS_WIDTH_8) ios 501 drivers/mmc/host/mxs-mmc.c else if (ios->bus_width == MMC_BUS_WIDTH_4) ios 506 drivers/mmc/host/mxs-mmc.c if (ios->clock) ios 507 drivers/mmc/host/mxs-mmc.c mxs_ssp_set_clk_rate(&host->ssp, ios->clock); ios 1125 drivers/mmc/host/omap.c static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios) ios 1132 drivers/mmc/host/omap.c if (ios->clock == 0) ios 1135 drivers/mmc/host/omap.c dsor = func_clk_rate / ios->clock; ios 1139 drivers/mmc/host/omap.c if (func_clk_rate / dsor > ios->clock) ios 1147 drivers/mmc/host/omap.c if (ios->bus_width == MMC_BUS_WIDTH_4) ios 1153 drivers/mmc/host/omap.c static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1162 drivers/mmc/host/omap.c dsor = mmc_omap_calc_divisor(mmc, ios); ios 1164 drivers/mmc/host/omap.c if (ios->vdd != slot->vdd) ios 1165 drivers/mmc/host/omap.c slot->vdd = ios->vdd; ios 1169 drivers/mmc/host/omap.c switch (ios->power_mode) { ios 1171 drivers/mmc/host/omap.c mmc_omap_set_power(slot, 0, ios->vdd); ios 1175 drivers/mmc/host/omap.c mmc_omap_set_power(slot, 1, ios->vdd); ios 1176 drivers/mmc/host/omap.c slot->power_mode = ios->power_mode; ios 1186 drivers/mmc/host/omap.c slot->power_mode = ios->power_mode; ios 1188 drivers/mmc/host/omap.c if (slot->bus_mode != ios->bus_mode) { ios 1191 drivers/mmc/host/omap.c ios->bus_mode); ios 1192 drivers/mmc/host/omap.c slot->bus_mode = ios->bus_mode; ios 220 drivers/mmc/host/omap_hsmmc.c struct mmc_ios *ios = &mmc->ios; ios 223 drivers/mmc/host/omap_hsmmc.c ret = mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); ios 520 drivers/mmc/host/omap_hsmmc.c static u16 calc_divisor(struct omap_hsmmc_host *host, struct mmc_ios *ios) ios 524 drivers/mmc/host/omap_hsmmc.c if (ios->clock) { ios 525 drivers/mmc/host/omap_hsmmc.c dsor = DIV_ROUND_UP(clk_get_rate(host->fclk), ios->clock); ios 535 drivers/mmc/host/omap_hsmmc.c struct mmc_ios *ios = &host->mmc->ios; ios 540 drivers/mmc/host/omap_hsmmc.c dev_vdbg(mmc_dev(host->mmc), "Set clock to %uHz\n", ios->clock); ios 546 drivers/mmc/host/omap_hsmmc.c clkdiv = calc_divisor(host, ios); ios 568 drivers/mmc/host/omap_hsmmc.c (ios->timing != MMC_TIMING_MMC_DDR52) && ios 569 drivers/mmc/host/omap_hsmmc.c (ios->timing != MMC_TIMING_UHS_DDR50) && ios 585 drivers/mmc/host/omap_hsmmc.c struct mmc_ios *ios = &host->mmc->ios; ios 589 drivers/mmc/host/omap_hsmmc.c if (ios->timing == MMC_TIMING_MMC_DDR52 || ios 590 drivers/mmc/host/omap_hsmmc.c ios->timing == MMC_TIMING_UHS_DDR50) ios 594 drivers/mmc/host/omap_hsmmc.c switch (ios->bus_width) { ios 613 drivers/mmc/host/omap_hsmmc.c struct mmc_ios *ios = &host->mmc->ios; ios 617 drivers/mmc/host/omap_hsmmc.c if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) ios 631 drivers/mmc/host/omap_hsmmc.c struct mmc_ios *ios = &host->mmc->ios; ios 645 drivers/mmc/host/omap_hsmmc.c (1 << ios->vdd) <= MMC_VDD_23_24) ios 1459 drivers/mmc/host/omap_hsmmc.c static void omap_hsmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1464 drivers/mmc/host/omap_hsmmc.c if (ios->power_mode != host->power_mode) { ios 1465 drivers/mmc/host/omap_hsmmc.c switch (ios->power_mode) { ios 1476 drivers/mmc/host/omap_hsmmc.c host->power_mode = ios->power_mode; ios 1488 drivers/mmc/host/omap_hsmmc.c (ios->vdd == DUAL_VOLT_OCR_BIT)) { ios 1495 drivers/mmc/host/omap_hsmmc.c if (omap_hsmmc_switch_opcond(host, ios->vdd) != 0) ios 441 drivers/mmc/host/pxamci.c static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 445 drivers/mmc/host/pxamci.c if (ios->clock) { ios 447 drivers/mmc/host/pxamci.c unsigned int clk = rate / ios->clock; ios 452 drivers/mmc/host/pxamci.c if (ios->clock == 26000000) { ios 465 drivers/mmc/host/pxamci.c if (rate / clk > ios->clock) ios 481 drivers/mmc/host/pxamci.c if (host->power_mode != ios->power_mode) { ios 484 drivers/mmc/host/pxamci.c host->power_mode = ios->power_mode; ios 486 drivers/mmc/host/pxamci.c ret = pxamci_set_power(host, ios->power_mode, ios->vdd); ios 498 drivers/mmc/host/pxamci.c if (ios->power_mode == MMC_POWER_ON) ios 502 drivers/mmc/host/pxamci.c if (ios->bus_width == MMC_BUS_WIDTH_4) ios 182 drivers/mmc/host/renesas_sdhi_core.c if (!(host->mmc->ios.timing == MMC_TIMING_MMC_HS400)) ios 218 drivers/mmc/host/renesas_sdhi_core.c struct mmc_ios *ios) ios 225 drivers/mmc/host/renesas_sdhi_core.c switch (ios->signal_voltage) { ios 241 drivers/mmc/host/renesas_sdhi_core.c return ios->signal_voltage == ios 244 drivers/mmc/host/renesas_sdhi_core.c ret = mmc_regulator_set_vqmmc(host->mmc, ios); ios 502 drivers/mmc/host/renesas_sdhi_core.c if (!(host->mmc->ios.timing == MMC_TIMING_UHS_SDR104) && ios 503 drivers/mmc/host/renesas_sdhi_core.c !(host->mmc->ios.timing == MMC_TIMING_MMC_HS200) && ios 504 drivers/mmc/host/renesas_sdhi_core.c !(host->mmc->ios.timing == MMC_TIMING_MMC_HS400 && !use_4tap)) ios 1037 drivers/mmc/host/rtsx_pci_sdmmc.c static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1052 drivers/mmc/host/rtsx_pci_sdmmc.c sd_set_bus_width(host, ios->bus_width); ios 1053 drivers/mmc/host/rtsx_pci_sdmmc.c sd_set_power_mode(host, ios->power_mode); ios 1054 drivers/mmc/host/rtsx_pci_sdmmc.c sd_set_timing(host, ios->timing); ios 1059 drivers/mmc/host/rtsx_pci_sdmmc.c switch (ios->timing) { ios 1076 drivers/mmc/host/rtsx_pci_sdmmc.c host->initial_mode = (ios->clock <= 1000000) ? true : false; ios 1078 drivers/mmc/host/rtsx_pci_sdmmc.c host->clock = ios->clock; ios 1079 drivers/mmc/host/rtsx_pci_sdmmc.c rtsx_pci_switch_clock(pcr, ios->clock, host->ssc_depth, ios 1208 drivers/mmc/host/rtsx_pci_sdmmc.c static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) ios 1216 drivers/mmc/host/rtsx_pci_sdmmc.c __func__, ios->signal_voltage); ios 1229 drivers/mmc/host/rtsx_pci_sdmmc.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) ios 1278 drivers/mmc/host/rtsx_pci_sdmmc.c switch (mmc->ios.timing) { ios 1299 drivers/mmc/host/rtsx_pci_sdmmc.c if ((mmc->ios.timing == MMC_TIMING_UHS_SDR104) || ios 1300 drivers/mmc/host/rtsx_pci_sdmmc.c (mmc->ios.timing == MMC_TIMING_UHS_SDR50)) ios 1302 drivers/mmc/host/rtsx_pci_sdmmc.c else if (mmc->ios.timing == MMC_TIMING_UHS_DDR50) ios 1111 drivers/mmc/host/rtsx_usb_sdmmc.c static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1119 drivers/mmc/host/rtsx_usb_sdmmc.c sd_set_power_mode(host, ios->power_mode); ios 1120 drivers/mmc/host/rtsx_usb_sdmmc.c sd_set_bus_width(host, ios->bus_width); ios 1121 drivers/mmc/host/rtsx_usb_sdmmc.c sd_set_timing(host, ios->timing, &host->ddr_mode); ios 1126 drivers/mmc/host/rtsx_usb_sdmmc.c switch (ios->timing) { ios 1142 drivers/mmc/host/rtsx_usb_sdmmc.c host->initial_mode = (ios->clock <= 1000000) ? true : false; ios 1143 drivers/mmc/host/rtsx_usb_sdmmc.c host->clock = ios->clock; ios 1152 drivers/mmc/host/rtsx_usb_sdmmc.c static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) ios 1159 drivers/mmc/host/rtsx_usb_sdmmc.c __func__, ios->signal_voltage); ios 1164 drivers/mmc/host/rtsx_usb_sdmmc.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_120) ios 1180 drivers/mmc/host/rtsx_usb_sdmmc.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { ios 1181 drivers/mmc/host/s3cmci.c static void s3cmci_set_clk(struct s3cmci_host *host, struct mmc_ios *ios) ios 1189 drivers/mmc/host/s3cmci.c if (host->real_rate <= ios->clock) ios 1200 drivers/mmc/host/s3cmci.c if (ios->clock == 0) ios 1204 drivers/mmc/host/s3cmci.c static void s3cmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1213 drivers/mmc/host/s3cmci.c switch (ios->power_mode) { ios 1222 drivers/mmc/host/s3cmci.c host->pdata->set_power(ios->power_mode, ios->vdd); ios 1238 drivers/mmc/host/s3cmci.c host->pdata->set_power(ios->power_mode, ios->vdd); ios 1243 drivers/mmc/host/s3cmci.c s3cmci_set_clk(host, ios); ios 1246 drivers/mmc/host/s3cmci.c if (ios->clock) ios 1253 drivers/mmc/host/s3cmci.c if ((ios->power_mode == MMC_POWER_ON) || ios 1254 drivers/mmc/host/s3cmci.c (ios->power_mode == MMC_POWER_UP)) { ios 1256 drivers/mmc/host/s3cmci.c host->real_rate/1000, ios->clock/1000); ios 1261 drivers/mmc/host/s3cmci.c host->bus_width = ios->bus_width; ios 1347 drivers/mmc/host/s3cmci.c if (mmc->ios.power_mode != MMC_POWER_OFF && ios 1348 drivers/mmc/host/s3cmci.c mmc->ios.clock != 0) ios 1349 drivers/mmc/host/s3cmci.c s3cmci_set_clk(host, &mmc->ios); ios 167 drivers/mmc/host/sdhci-acpi.c struct mmc_ios *ios) ios 176 drivers/mmc/host/sdhci-acpi.c err = sdhci_start_signal_voltage_switch(mmc, ios); ios 180 drivers/mmc/host/sdhci-acpi.c switch (ios->signal_voltage) { ios 558 drivers/mmc/host/sdhci-acpi.c static void amd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 563 drivers/mmc/host/sdhci-acpi.c sdhci_set_ios(mmc, ios); ios 565 drivers/mmc/host/sdhci-acpi.c ios->timing == MMC_TIMING_MMC_HS) ios 568 drivers/mmc/host/sdhci-acpi.c ios->timing == MMC_TIMING_MMC_HS400) { ios 321 drivers/mmc/host/sdhci-cadence.c struct mmc_ios *ios) ios 327 drivers/mmc/host/sdhci-cadence.c priv->enhanced_strobe = ios->enhanced_strobe; ios 331 drivers/mmc/host/sdhci-cadence.c if (mode == SDHCI_CDNS_HRS06_MODE_MMC_HS400 && ios->enhanced_strobe) ios 335 drivers/mmc/host/sdhci-cadence.c if (mode == SDHCI_CDNS_HRS06_MODE_MMC_HS400ES && !ios->enhanced_strobe) ios 931 drivers/mmc/host/sdhci-esdhc-imx.c static void esdhc_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) ios 937 drivers/mmc/host/sdhci-esdhc-imx.c if (ios->enhanced_strobe) ios 305 drivers/mmc/host/sdhci-msm.c struct mmc_ios ios = host->mmc->ios; ios 312 drivers/mmc/host/sdhci-msm.c if (ios.timing == MMC_TIMING_UHS_DDR50 || ios 313 drivers/mmc/host/sdhci-msm.c ios.timing == MMC_TIMING_MMC_DDR52 || ios 314 drivers/mmc/host/sdhci-msm.c ios.timing == MMC_TIMING_MMC_HS400 || ios 325 drivers/mmc/host/sdhci-msm.c struct mmc_ios curr_ios = host->mmc->ios; ios 745 drivers/mmc/host/sdhci-msm.c struct mmc_ios ios = host->mmc->ios; ios 761 drivers/mmc/host/sdhci-msm.c if ((msm_host->tuning_done || ios.enhanced_strobe) && ios 814 drivers/mmc/host/sdhci-msm.c struct mmc_ios ios = host->mmc->ios; ios 816 drivers/mmc/host/sdhci-msm.c if (ios.timing == MMC_TIMING_MMC_HS400 || ios 951 drivers/mmc/host/sdhci-msm.c if (mmc->ios.enhanced_strobe) { ios 1010 drivers/mmc/host/sdhci-msm.c if (!mmc->ios.enhanced_strobe) { ios 1035 drivers/mmc/host/sdhci-msm.c struct mmc_ios *ios = &host->mmc->ios; ios 1042 drivers/mmc/host/sdhci-msm.c !(ios->timing == MMC_TIMING_MMC_HS400 || ios 1043 drivers/mmc/host/sdhci-msm.c ios->timing == MMC_TIMING_MMC_HS200 || ios 1044 drivers/mmc/host/sdhci-msm.c ios->timing == MMC_TIMING_UHS_SDR104) || ios 1045 drivers/mmc/host/sdhci-msm.c ios->enhanced_strobe) ios 1102 drivers/mmc/host/sdhci-msm.c struct mmc_ios ios = host->mmc->ios; ios 1128 drivers/mmc/host/sdhci-msm.c msm_set_clock_rate_for_bus_mode(host, ios.clock); ios 1192 drivers/mmc/host/sdhci-msm.c static void sdhci_msm_hs400(struct sdhci_host *host, struct mmc_ios *ios) ios 1199 drivers/mmc/host/sdhci-msm.c (msm_host->tuning_done || ios->enhanced_strobe) && ios 1283 drivers/mmc/host/sdhci-msm.c if (mmc->ios.timing == MMC_TIMING_MMC_HS400) ios 1284 drivers/mmc/host/sdhci-msm.c sdhci_msm_hs400(host, &mmc->ios); ios 237 drivers/mmc/host/sdhci-of-arasan.c struct mmc_ios *ios) ios 243 drivers/mmc/host/sdhci-of-arasan.c if (ios->enhanced_strobe) ios 267 drivers/mmc/host/sdhci-of-arasan.c struct mmc_ios *ios) ios 269 drivers/mmc/host/sdhci-of-arasan.c switch (ios->signal_voltage) { ios 617 drivers/mmc/host/sdhci-of-esdhc.c esdhc->clk_fixup && host->mmc->ios.timing == MMC_TIMING_LEGACY) ios 620 drivers/mmc/host/sdhci-of-esdhc.c fixup = esdhc->clk_fixup->max_clk[host->mmc->ios.timing]; ios 638 drivers/mmc/host/sdhci-of-esdhc.c (host->mmc->ios.timing == MMC_TIMING_MMC_HS400 || ios 669 drivers/mmc/host/sdhci-of-esdhc.c if (host->mmc->ios.timing == MMC_TIMING_MMC_HS400 && ios 816 drivers/mmc/host/sdhci-of-esdhc.c struct mmc_ios *ios) ios 833 drivers/mmc/host/sdhci-of-esdhc.c switch (ios->signal_voltage) { ios 285 drivers/mmc/host/sdhci-omap.c struct mmc_ios *ios = &mmc->ios; ios 298 drivers/mmc/host/sdhci-omap.c if (ios->clock <= 52000000) ios 302 drivers/mmc/host/sdhci-omap.c if (ios->timing == MMC_TIMING_UHS_SDR50 && !(reg & CAPA2_TSDR50)) ios 507 drivers/mmc/host/sdhci-omap.c struct mmc_ios *ios) ios 521 drivers/mmc/host/sdhci-omap.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { ios 526 drivers/mmc/host/sdhci-omap.c sdhci_omap_conf_bus_power(omap_host, ios->signal_voltage); ios 533 drivers/mmc/host/sdhci-omap.c } else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { ios 538 drivers/mmc/host/sdhci-omap.c sdhci_omap_conf_bus_power(omap_host, ios->signal_voltage); ios 610 drivers/mmc/host/sdhci-omap.c static void sdhci_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 619 drivers/mmc/host/sdhci-omap.c sdhci_omap_set_bus_mode(omap_host, ios->bus_mode); ios 620 drivers/mmc/host/sdhci-omap.c sdhci_omap_set_timing(omap_host, ios->timing); ios 621 drivers/mmc/host/sdhci-omap.c sdhci_set_ios(mmc, ios); ios 622 drivers/mmc/host/sdhci-omap.c sdhci_omap_set_power_mode(omap_host, ios->power_mode); ios 250 drivers/mmc/host/sdhci-pci-arasan.c if (arasan_host->chg_clk == host->mmc->ios.clock) ios 253 drivers/mmc/host/sdhci-pci-arasan.c arasan_host->chg_clk = host->mmc->ios.clock; ios 254 drivers/mmc/host/sdhci-pci-arasan.c if (host->mmc->ios.clock == 200000000) ios 256 drivers/mmc/host/sdhci-pci-arasan.c else if (host->mmc->ios.clock == 100000000) ios 258 drivers/mmc/host/sdhci-pci-arasan.c else if (host->mmc->ios.clock == 50000000) ios 267 drivers/mmc/host/sdhci-pci-arasan.c switch (host->mmc->ios.timing) { ios 280 drivers/mmc/host/sdhci-pci-arasan.c host->mmc->ios.drv_type, 0x0, ios 290 drivers/mmc/host/sdhci-pci-arasan.c host->mmc->ios.drv_type, 0xa, ios 664 drivers/mmc/host/sdhci-pci-core.c struct mmc_ios *ios) ios 670 drivers/mmc/host/sdhci-pci-core.c if (ios->enhanced_strobe) ios 678 drivers/mmc/host/sdhci-pci-core.c struct mmc_ios *ios) ios 688 drivers/mmc/host/sdhci-pci-core.c err = sdhci_start_signal_voltage_switch(mmc, ios); ios 692 drivers/mmc/host/sdhci-pci-core.c switch (ios->signal_voltage) { ios 326 drivers/mmc/host/sdhci-pci-o2micro.c if (mmc->ios.bus_width == MMC_BUS_WIDTH_8) { ios 327 drivers/mmc/host/sdhci-pci-o2micro.c current_bus_width = mmc->ios.bus_width; ios 328 drivers/mmc/host/sdhci-pci-o2micro.c mmc->ios.bus_width = MMC_BUS_WIDTH_4; ios 341 drivers/mmc/host/sdhci-pci-o2micro.c mmc->ios.bus_width = MMC_BUS_WIDTH_8; ios 346 drivers/mmc/host/sdhci-sprd.c if (!mmc->ios.enhanced_strobe) ios 417 drivers/mmc/host/sdhci-sprd.c static int sdhci_sprd_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) ios 424 drivers/mmc/host/sdhci-sprd.c ret = mmc_regulator_set_vqmmc(mmc, ios); ios 435 drivers/mmc/host/sdhci-sprd.c switch (ios->signal_voltage) { ios 467 drivers/mmc/host/sdhci-sprd.c struct mmc_ios *ios) ios 474 drivers/mmc/host/sdhci-sprd.c if (!ios->enhanced_strobe) ios 337 drivers/mmc/host/sdhci-tegra.c struct mmc_ios *ios) ios 344 drivers/mmc/host/sdhci-tegra.c if (ios->enhanced_strobe) ios 518 drivers/mmc/host/sdhci-tegra.c struct mmc_ios *ios = &host->mmc->ios; ios 524 drivers/mmc/host/sdhci-tegra.c switch (ios->timing) { ios 532 drivers/mmc/host/sdhci-tegra.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) ios 567 drivers/mmc/host/sdhci-tegra.c ret = tegra_sdhci_set_padctrl(host, ios->signal_voltage, false); ios 1050 drivers/mmc/host/sdhci-tegra.c struct mmc_ios *ios) ios 1057 drivers/mmc/host/sdhci-tegra.c if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { ios 1058 drivers/mmc/host/sdhci-tegra.c ret = tegra_sdhci_set_padctrl(host, ios->signal_voltage, true); ios 1061 drivers/mmc/host/sdhci-tegra.c ret = sdhci_start_signal_voltage_switch(mmc, ios); ios 1062 drivers/mmc/host/sdhci-tegra.c } else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { ios 1063 drivers/mmc/host/sdhci-tegra.c ret = sdhci_start_signal_voltage_switch(mmc, ios); ios 1066 drivers/mmc/host/sdhci-tegra.c ret = tegra_sdhci_set_padctrl(host, ios->signal_voltage, true); ios 463 drivers/mmc/host/sdhci-xenon-phy.c if (host->mmc->ios.enhanced_strobe) ios 776 drivers/mmc/host/sdhci-xenon-phy.c int xenon_phy_adj(struct sdhci_host *host, struct mmc_ios *ios) ios 793 drivers/mmc/host/sdhci-xenon-phy.c (ios->bus_width == priv->bus_width) && ios 794 drivers/mmc/host/sdhci-xenon-phy.c (ios->timing == priv->timing)) ios 797 drivers/mmc/host/sdhci-xenon-phy.c xenon_emmc_phy_set(host, ios->timing); ios 800 drivers/mmc/host/sdhci-xenon-phy.c priv->bus_width = ios->bus_width; ios 802 drivers/mmc/host/sdhci-xenon-phy.c priv->timing = ios->timing; ios 806 drivers/mmc/host/sdhci-xenon-phy.c if (ios->timing == MMC_TIMING_LEGACY) ios 270 drivers/mmc/host/sdhci-xenon.c static void xenon_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 284 drivers/mmc/host/sdhci-xenon.c if ((ios->timing == MMC_TIMING_MMC_HS400) || ios 285 drivers/mmc/host/sdhci-xenon.c (ios->timing == MMC_TIMING_MMC_HS200) || ios 286 drivers/mmc/host/sdhci-xenon.c (ios->timing == MMC_TIMING_MMC_HS)) { ios 298 drivers/mmc/host/sdhci-xenon.c sdhci_set_ios(mmc, ios); ios 299 drivers/mmc/host/sdhci-xenon.c xenon_phy_adj(host, ios); ios 306 drivers/mmc/host/sdhci-xenon.c struct mmc_ios *ios) ios 322 drivers/mmc/host/sdhci-xenon.c xenon_soc_pad_ctrl(host, ios->signal_voltage); ios 332 drivers/mmc/host/sdhci-xenon.c return sdhci_start_signal_voltage_switch(mmc, ios); ios 95 drivers/mmc/host/sdhci-xenon.h int xenon_phy_adj(struct sdhci_host *host, struct mmc_ios *ios); ios 334 drivers/mmc/host/sdhci.c mmc->ops->set_ios(mmc, &mmc->ios); ios 876 drivers/mmc/host/sdhci.c struct mmc_ios *ios = &mmc->ios; ios 877 drivers/mmc/host/sdhci.c unsigned char bus_width = 1 << ios->bus_width; ios 1890 drivers/mmc/host/sdhci.c void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1895 drivers/mmc/host/sdhci.c if (ios->power_mode == MMC_POWER_UNDEFINED) ios 1900 drivers/mmc/host/sdhci.c ios->power_mode == MMC_POWER_OFF) ios 1909 drivers/mmc/host/sdhci.c if (ios->power_mode == MMC_POWER_OFF) { ios 1915 drivers/mmc/host/sdhci.c (ios->power_mode == MMC_POWER_UP) && ios 1919 drivers/mmc/host/sdhci.c if (!ios->clock || ios->clock != host->clock) { ios 1920 drivers/mmc/host/sdhci.c host->ops->set_clock(host, ios->clock); ios 1921 drivers/mmc/host/sdhci.c host->clock = ios->clock; ios 1937 drivers/mmc/host/sdhci.c host->ops->set_power(host, ios->power_mode, ios->vdd); ios 1939 drivers/mmc/host/sdhci.c sdhci_set_power(host, ios->power_mode, ios->vdd); ios 1942 drivers/mmc/host/sdhci.c host->ops->platform_send_init_74_clocks(host, ios->power_mode); ios 1944 drivers/mmc/host/sdhci.c host->ops->set_bus_width(host, ios->bus_width); ios 1949 drivers/mmc/host/sdhci.c if (ios->timing == MMC_TIMING_SD_HS || ios 1950 drivers/mmc/host/sdhci.c ios->timing == MMC_TIMING_MMC_HS || ios 1951 drivers/mmc/host/sdhci.c ios->timing == MMC_TIMING_MMC_HS400 || ios 1952 drivers/mmc/host/sdhci.c ios->timing == MMC_TIMING_MMC_HS200 || ios 1953 drivers/mmc/host/sdhci.c ios->timing == MMC_TIMING_MMC_DDR52 || ios 1954 drivers/mmc/host/sdhci.c ios->timing == MMC_TIMING_UHS_SDR50 || ios 1955 drivers/mmc/host/sdhci.c ios->timing == MMC_TIMING_UHS_SDR104 || ios 1956 drivers/mmc/host/sdhci.c ios->timing == MMC_TIMING_UHS_DDR50 || ios 1957 drivers/mmc/host/sdhci.c ios->timing == MMC_TIMING_UHS_SDR25) ios 1974 drivers/mmc/host/sdhci.c if (ios->drv_type == MMC_SET_DRIVER_TYPE_A) ios 1976 drivers/mmc/host/sdhci.c else if (ios->drv_type == MMC_SET_DRIVER_TYPE_B) ios 1978 drivers/mmc/host/sdhci.c else if (ios->drv_type == MMC_SET_DRIVER_TYPE_C) ios 1980 drivers/mmc/host/sdhci.c else if (ios->drv_type == MMC_SET_DRIVER_TYPE_D) ios 2013 drivers/mmc/host/sdhci.c host->ops->set_uhs_signaling(host, ios->timing); ios 2014 drivers/mmc/host/sdhci.c host->timing = ios->timing; ios 2017 drivers/mmc/host/sdhci.c ((ios->timing == MMC_TIMING_UHS_SDR12) || ios 2018 drivers/mmc/host/sdhci.c (ios->timing == MMC_TIMING_UHS_SDR25) || ios 2019 drivers/mmc/host/sdhci.c (ios->timing == MMC_TIMING_UHS_SDR50) || ios 2020 drivers/mmc/host/sdhci.c (ios->timing == MMC_TIMING_UHS_SDR104) || ios 2021 drivers/mmc/host/sdhci.c (ios->timing == MMC_TIMING_UHS_DDR50) || ios 2022 drivers/mmc/host/sdhci.c (ios->timing == MMC_TIMING_MMC_DDR52))) { ios 2027 drivers/mmc/host/sdhci.c ios->drv_type = (preset & SDHCI_PRESET_DRV_MASK) ios 2167 drivers/mmc/host/sdhci.c struct mmc_ios *ios) ios 2182 drivers/mmc/host/sdhci.c switch (ios->signal_voltage) { ios 2191 drivers/mmc/host/sdhci.c ret = mmc_regulator_set_vqmmc(mmc, ios); ios 2214 drivers/mmc/host/sdhci.c ret = mmc_regulator_set_vqmmc(mmc, ios); ios 2246 drivers/mmc/host/sdhci.c ret = mmc_regulator_set_vqmmc(mmc, ios); ios 2272 drivers/mmc/host/sdhci.c static int sdhci_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) ios 2368 drivers/mmc/host/sdhci.c mmc->ios.bus_width == MMC_BUS_WIDTH_8) ios 3304 drivers/mmc/host/sdhci.c mmc->ops->set_ios(mmc, &mmc->ios); ios 3361 drivers/mmc/host/sdhci.c if (mmc->ios.power_mode != MMC_POWER_UNDEFINED && ios 3362 drivers/mmc/host/sdhci.c mmc->ios.power_mode != MMC_POWER_OFF) { ios 3366 drivers/mmc/host/sdhci.c mmc->ops->start_signal_voltage_switch(mmc, &mmc->ios); ios 3367 drivers/mmc/host/sdhci.c mmc->ops->set_ios(mmc, &mmc->ios); ios 3378 drivers/mmc/host/sdhci.c mmc->ops->hs400_enhanced_strobe(mmc, &mmc->ios); ios 771 drivers/mmc/host/sdhci.h void sdhci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios); ios 773 drivers/mmc/host/sdhci.h struct mmc_ios *ios); ios 120 drivers/mmc/host/sdhci_am654.c if (host->mmc->ios.timing == MMC_TIMING_MMC_HS400) { ios 220 drivers/mmc/host/sdhci_am654.c unsigned char timing = host->mmc->ios.timing; ios 338 drivers/mmc/host/sdricoh_cs.c static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 343 drivers/mmc/host/sdricoh_cs.c if (ios->power_mode == MMC_POWER_ON) { ios 346 drivers/mmc/host/sdricoh_cs.c if (ios->bus_width == MMC_BUS_WIDTH_4) { ios 353 drivers/mmc/host/sdricoh_cs.c } else if (ios->power_mode == MMC_POWER_UP) { ios 1021 drivers/mmc/host/sh_mmcif.c static void sh_mmcif_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 1038 drivers/mmc/host/sh_mmcif.c switch (ios->power_mode) { ios 1041 drivers/mmc/host/sh_mmcif.c mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); ios 1062 drivers/mmc/host/sh_mmcif.c sh_mmcif_clock_control(host, ios->clock); ios 1066 drivers/mmc/host/sh_mmcif.c host->timing = ios->timing; ios 1067 drivers/mmc/host/sh_mmcif.c host->bus_width = ios->bus_width; ios 718 drivers/mmc/host/sunxi-mmc.c struct mmc_ios *ios, u32 rate) ios 736 drivers/mmc/host/sunxi-mmc.c if (ios->timing != MMC_TIMING_UHS_DDR50 && ios 737 drivers/mmc/host/sunxi-mmc.c ios->timing != MMC_TIMING_MMC_DDR52) { ios 739 drivers/mmc/host/sunxi-mmc.c } else if (ios->bus_width == MMC_BUS_WIDTH_8) { ios 756 drivers/mmc/host/sunxi-mmc.c struct mmc_ios *ios) ios 760 drivers/mmc/host/sunxi-mmc.c u32 rval, clock = ios->clock, div = 1; ios 770 drivers/mmc/host/sunxi-mmc.c if (!ios->clock) ios 782 drivers/mmc/host/sunxi-mmc.c if (ios->timing == MMC_TIMING_MMC_DDR52 && ios 784 drivers/mmc/host/sunxi-mmc.c ios->bus_width == MMC_BUS_WIDTH_8)) { ios 838 drivers/mmc/host/sunxi-mmc.c ret = sunxi_mmc_clk_set_phase(host, ios, rate); ios 880 drivers/mmc/host/sunxi-mmc.c static void sunxi_mmc_set_clk(struct sunxi_mmc_host *host, struct mmc_ios *ios) ios 886 drivers/mmc/host/sunxi-mmc.c if (ios->timing == MMC_TIMING_UHS_DDR50 || ios 887 drivers/mmc/host/sunxi-mmc.c ios->timing == MMC_TIMING_MMC_DDR52) ios 893 drivers/mmc/host/sunxi-mmc.c host->ferror = sunxi_mmc_clk_set_rate(host, ios); ios 898 drivers/mmc/host/sunxi-mmc.c struct mmc_ios *ios) ios 902 drivers/mmc/host/sunxi-mmc.c switch (ios->power_mode) { ios 909 drivers/mmc/host/sunxi-mmc.c ios->vdd); ios 943 drivers/mmc/host/sunxi-mmc.c static void sunxi_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 947 drivers/mmc/host/sunxi-mmc.c sunxi_mmc_card_power(host, ios); ios 948 drivers/mmc/host/sunxi-mmc.c sunxi_mmc_set_bus_width(host, ios->bus_width); ios 949 drivers/mmc/host/sunxi-mmc.c sunxi_mmc_set_clk(host, ios); ios 952 drivers/mmc/host/sunxi-mmc.c static int sunxi_mmc_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) ios 956 drivers/mmc/host/sunxi-mmc.c return mmc_regulator_set_vqmmc(mmc, ios); ios 959 drivers/mmc/host/sunxi-mmc.c if (mmc->ios.signal_voltage == MMC_SIGNAL_VOLTAGE_330) ios 1480 drivers/mmc/host/sunxi-mmc.c sunxi_mmc_set_bus_width(host, mmc->ios.bus_width); ios 1481 drivers/mmc/host/sunxi-mmc.c sunxi_mmc_set_clk(host, &mmc->ios); ios 794 drivers/mmc/host/tifm_sd.c static void tifm_sd_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 805 drivers/mmc/host/tifm_sd.c ios->clock, ios->vdd, ios->bus_mode, ios->chip_select, ios 806 drivers/mmc/host/tifm_sd.c ios->power_mode, ios->bus_width); ios 808 drivers/mmc/host/tifm_sd.c if (ios->bus_width == MMC_BUS_WIDTH_4) { ios 817 drivers/mmc/host/tifm_sd.c if (ios->clock) { ios 818 drivers/mmc/host/tifm_sd.c clk_div1 = 20000000 / ios->clock; ios 822 drivers/mmc/host/tifm_sd.c clk_div2 = 24000000 / ios->clock; ios 826 drivers/mmc/host/tifm_sd.c if ((20000000 / clk_div1) > ios->clock) ios 828 drivers/mmc/host/tifm_sd.c if ((24000000 / clk_div2) > ios->clock) ios 852 drivers/mmc/host/tifm_sd.c host->open_drain = (ios->bus_mode == MMC_BUSMODE_OPENDRAIN); ios 690 drivers/mmc/host/tmio_mmc_core.c if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4 || ios 691 drivers/mmc/host/tmio_mmc_core.c host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) { ios 934 drivers/mmc/host/tmio_mmc_core.c static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 948 drivers/mmc/host/tmio_mmc_core.c ios->clock, ios->power_mode); ios 967 drivers/mmc/host/tmio_mmc_core.c switch (ios->power_mode) { ios 973 drivers/mmc/host/tmio_mmc_core.c tmio_mmc_power_on(host, ios->vdd); ios 974 drivers/mmc/host/tmio_mmc_core.c host->set_clock(host, ios->clock); ios 975 drivers/mmc/host/tmio_mmc_core.c tmio_mmc_set_bus_width(host, ios->bus_width); ios 978 drivers/mmc/host/tmio_mmc_core.c host->set_clock(host, ios->clock); ios 979 drivers/mmc/host/tmio_mmc_core.c tmio_mmc_set_bus_width(host, ios->bus_width); ios 989 drivers/mmc/host/tmio_mmc_core.c ios->clock, ios->power_mode); ios 992 drivers/mmc/host/tmio_mmc_core.c host->clk_cache = ios->clock; ios 1025 drivers/mmc/host/tmio_mmc_core.c struct mmc_ios *ios) ios 78 drivers/mmc/host/toshsd.c static void __toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 82 drivers/mmc/host/toshsd.c if (ios->clock) { ios 86 drivers/mmc/host/toshsd.c while (ios->clock < HCLK / div) ios 105 drivers/mmc/host/toshsd.c switch (ios->power_mode) { ios 122 drivers/mmc/host/toshsd.c switch (ios->bus_width) { ios 357 drivers/mmc/host/toshsd.c __toshsd_set_ios(host->mmc, &host->mmc->ios); ios 524 drivers/mmc/host/toshsd.c static void toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 530 drivers/mmc/host/toshsd.c __toshsd_set_ios(mmc, ios); ios 499 drivers/mmc/host/uniphier-sd.c struct mmc_ios *ios) ios 506 drivers/mmc/host/uniphier-sd.c switch (ios->signal_voltage) { ios 722 drivers/mmc/host/usdhi6rol0.c static void usdhi6_clk_set(struct usdhi6_host *host, struct mmc_ios *ios) ios 724 drivers/mmc/host/usdhi6rol0.c unsigned long rate = ios->clock; ios 745 drivers/mmc/host/usdhi6rol0.c if (ios->timing != MMC_TIMING_UHS_DDR50) { ios 789 drivers/mmc/host/usdhi6rol0.c static void usdhi6_set_power(struct usdhi6_host *host, struct mmc_ios *ios) ios 796 drivers/mmc/host/usdhi6rol0.c ios->power_mode ? ios->vdd : 0); ios 813 drivers/mmc/host/usdhi6rol0.c static void usdhi6_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 820 drivers/mmc/host/usdhi6rol0.c ios->clock, ios->vdd, ios->power_mode, ios->bus_width, ios->timing); ios 822 drivers/mmc/host/usdhi6rol0.c switch (ios->power_mode) { ios 824 drivers/mmc/host/usdhi6rol0.c usdhi6_set_power(host, ios); ios 836 drivers/mmc/host/usdhi6rol0.c usdhi6_set_power(host, ios); ios 847 drivers/mmc/host/usdhi6rol0.c if (ios->bus_width == MMC_BUS_WIDTH_1) { ios 848 drivers/mmc/host/usdhi6rol0.c if (ios->timing == MMC_TIMING_UHS_DDR50) ios 855 drivers/mmc/host/usdhi6rol0.c mode = ios->timing == MMC_TIMING_UHS_DDR50; ios 862 drivers/mmc/host/usdhi6rol0.c if (host->rate != ios->clock) ios 863 drivers/mmc/host/usdhi6rol0.c usdhi6_clk_set(host, ios); ios 1170 drivers/mmc/host/usdhi6rol0.c static int usdhi6_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) ios 1174 drivers/mmc/host/usdhi6rol0.c ret = mmc_regulator_set_vqmmc(mmc, ios); ios 1178 drivers/mmc/host/usdhi6rol0.c ret = usdhi6_set_pinstates(mmc_priv(mmc), ios->signal_voltage); ios 371 drivers/mmc/host/ushc.c static void ushc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 375 drivers/mmc/host/ushc.c ushc_set_power(ushc, ios->power_mode); ios 376 drivers/mmc/host/ushc.c ushc_set_bus_width(ushc, 1 << ios->bus_width); ios 377 drivers/mmc/host/ushc.c ushc_set_bus_freq(ushc, ios->clock, ios->timing == MMC_TIMING_SD_HS); ios 714 drivers/mmc/host/via-sdmmc.c static void via_sdc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 730 drivers/mmc/host/via-sdmmc.c if (ios->bus_width == MMC_BUS_WIDTH_1) ios 735 drivers/mmc/host/via-sdmmc.c if (ios->power_mode == MMC_POWER_OFF) ios 740 drivers/mmc/host/via-sdmmc.c if (ios->timing == MMC_TIMING_SD_HS) ios 748 drivers/mmc/host/via-sdmmc.c if (ios->clock >= 48000000) ios 750 drivers/mmc/host/via-sdmmc.c else if (ios->clock >= 33000000) ios 752 drivers/mmc/host/via-sdmmc.c else if (ios->clock >= 24000000) ios 754 drivers/mmc/host/via-sdmmc.c else if (ios->clock >= 16000000) ios 756 drivers/mmc/host/via-sdmmc.c else if (ios->clock >= 12000000) ios 758 drivers/mmc/host/via-sdmmc.c else if (ios->clock >= 8000000) ios 769 drivers/mmc/host/via-sdmmc.c if (ios->power_mode != MMC_POWER_OFF) ios 770 drivers/mmc/host/via-sdmmc.c via_sdc_set_power(host, ios->vdd, 1); ios 772 drivers/mmc/host/via-sdmmc.c via_sdc_set_power(host, ios->vdd, 0); ios 1965 drivers/mmc/host/vub300.c struct mmc_ios *ios) ios 1970 drivers/mmc/host/vub300.c if (ios->clock >= 48000000) ios 1972 drivers/mmc/host/vub300.c else if (ios->clock >= 24000000) ios 1974 drivers/mmc/host/vub300.c else if (ios->clock >= 20000000) ios 1976 drivers/mmc/host/vub300.c else if (ios->clock >= 15000000) ios 1978 drivers/mmc/host/vub300.c else if (ios->clock >= 200000) ios 2004 drivers/mmc/host/vub300.c static void vub300_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 2011 drivers/mmc/host/vub300.c if ((ios->power_mode == MMC_POWER_OFF) && vub300->card_powered) { ios 2019 drivers/mmc/host/vub300.c } else if ((ios->power_mode == MMC_POWER_UP) && !vub300->card_powered) { ios 2026 drivers/mmc/host/vub300.c } else if (ios->power_mode == MMC_POWER_ON) { ios 2029 drivers/mmc/host/vub300.c __set_clock_speed(vub300, buf, ios); ios 835 drivers/mmc/host/wbsd.c static void wbsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 846 drivers/mmc/host/wbsd.c if (ios->power_mode == MMC_POWER_OFF) ios 849 drivers/mmc/host/wbsd.c if (ios->clock >= 24000000) ios 851 drivers/mmc/host/wbsd.c else if (ios->clock >= 16000000) ios 853 drivers/mmc/host/wbsd.c else if (ios->clock >= 12000000) ios 870 drivers/mmc/host/wbsd.c if (ios->power_mode != MMC_POWER_OFF) { ios 882 drivers/mmc/host/wbsd.c if (ios->chip_select == MMC_CS_HIGH) { ios 883 drivers/mmc/host/wbsd.c BUG_ON(ios->bus_width != MMC_BUS_WIDTH_1); ios 903 drivers/mmc/host/wbsd.c host->bus_width = ios->bus_width; ios 670 drivers/mmc/host/wmt-sdmmc.c static void wmt_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 677 drivers/mmc/host/wmt-sdmmc.c if (ios->power_mode == MMC_POWER_UP) { ios 682 drivers/mmc/host/wmt-sdmmc.c if (ios->power_mode == MMC_POWER_OFF) ios 685 drivers/mmc/host/wmt-sdmmc.c if (ios->clock != 0) ios 686 drivers/mmc/host/wmt-sdmmc.c clk_set_rate(priv->clk_sdmmc, ios->clock); ios 694 drivers/mmc/host/wmt-sdmmc.c switch (ios->bus_width) { ios 846 drivers/net/wireless/marvell/libertas/if_sdio.c (host->ios.bus_width == MMC_BUS_WIDTH_1)) { ios 192 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.chip_select = MMC_CS_DONTCARE; ios 193 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.bus_mode = MMC_BUSMODE_OPENDRAIN; ios 194 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.power_mode = MMC_POWER_UP; ios 195 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.bus_width = MMC_BUS_WIDTH_1; ios 196 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.timing = MMC_TIMING_LEGACY; ios 197 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 205 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.clock = host->f_min; ios 206 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.power_mode = MMC_POWER_ON; ios 207 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 216 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.chip_select = MMC_CS_HIGH; ios 217 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 224 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.chip_select = MMC_CS_DONTCARE; ios 225 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 272 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.bus_mode = MMC_BUSMODE_PUSHPULL; ios 273 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 303 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.timing = MMC_TIMING_SD_HS; ios 304 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 317 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.clock = clock; ios 318 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 331 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.bus_width = MMC_BUS_WIDTH_4; ios 332 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 353 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ios.clock = clock; ios 354 drivers/net/wireless/rsi/rsi_91x_sdio.c host->ops->set_ios(host, &host->ios); ios 81 drivers/nvme/target/admin-cmd.c host_reads = part_stat_read(ns->bdev->bd_part, ios[READ]); ios 84 drivers/nvme/target/admin-cmd.c host_writes = part_stat_read(ns->bdev->bd_part, ios[WRITE]); ios 113 drivers/nvme/target/admin-cmd.c host_reads += part_stat_read(ns->bdev->bd_part, ios[READ]); ios 116 drivers/nvme/target/admin-cmd.c host_writes += part_stat_read(ns->bdev->bd_part, ios[WRITE]); ios 586 drivers/staging/greybus/sdio.c static void gb_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) ios 599 drivers/staging/greybus/sdio.c request.clock = cpu_to_le32(ios->clock); ios 601 drivers/staging/greybus/sdio.c if (ios->vdd) ios 602 drivers/staging/greybus/sdio.c vdd = 1 << (ios->vdd - GB_SDIO_VDD_SHIFT); ios 605 drivers/staging/greybus/sdio.c request.bus_mode = ios->bus_mode == MMC_BUSMODE_OPENDRAIN ? ios 609 drivers/staging/greybus/sdio.c switch (ios->power_mode) { ios 626 drivers/staging/greybus/sdio.c switch (ios->bus_width) { ios 640 drivers/staging/greybus/sdio.c switch (ios->timing) { ios 678 drivers/staging/greybus/sdio.c switch (ios->signal_voltage) { ios 692 drivers/staging/greybus/sdio.c switch (ios->drv_type) { ios 713 drivers/staging/greybus/sdio.c memcpy(&mmc->ios, ios, sizeof(mmc->ios)); ios 747 drivers/staging/greybus/sdio.c static int gb_mmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) ios 175 drivers/staging/iio/meter/meter.h IIO_DEVICE_ATTR(ios, _mode, _show, _store, _addr) ios 444 drivers/usb/gadget/udc/mv_udc_core.c unsigned char ios, mult; ios 480 drivers/usb/gadget/udc/mv_udc_core.c ios = 0; ios 487 drivers/usb/gadget/udc/mv_udc_core.c ios = 1; ios 506 drivers/usb/gadget/udc/mv_udc_core.c | (ios ? EP_QUEUE_HEAD_IOS : 0); ios 89 include/linux/genhd.h unsigned long ios[NR_STAT_GROUPS]; ios 110 include/linux/mmc/host.h void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios); ios 137 include/linux/mmc/host.h int (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios); ios 146 include/linux/mmc/host.h int (*prepare_hs400_tuning)(struct mmc_host *host, struct mmc_ios *ios); ios 159 include/linux/mmc/host.h struct mmc_ios *ios); ios 390 include/linux/mmc/host.h struct mmc_ios ios; /* current io bus settings */ ios 523 include/linux/mmc/host.h int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios); ios 533 include/linux/mmc/host.h struct mmc_ios *ios) ios 559 include/linux/mmc/host.h return card->host->ios.timing == MMC_TIMING_SD_HS || ios 560 include/linux/mmc/host.h card->host->ios.timing == MMC_TIMING_MMC_HS; ios 566 include/linux/mmc/host.h return card->host->ios.timing >= MMC_TIMING_UHS_SDR12 && ios 567 include/linux/mmc/host.h card->host->ios.timing <= MMC_TIMING_UHS_DDR50; ios 221 include/uapi/drm/v3d_drm.h __u32 ios;