/linux-master/drivers/mmc/host/ |
H A D | usdhi6rol0.c | 727 static void usdhi6_clk_set(struct usdhi6_host *host, struct mmc_ios *ios) argument 729 unsigned long rate = ios->clock; 750 if (ios->timing != MMC_TIMING_UHS_DDR50) { 794 static void usdhi6_set_power(struct usdhi6_host *host, struct mmc_ios *ios) argument 801 ios->power_mode ? ios->vdd : 0); 818 static void usdhi6_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 825 ios->clock, ios->vdd, ios 1174 usdhi6_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument [all...] |
H A D | toshsd.c | 78 static void __toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 82 if (ios->clock) { 86 while (ios->clock < HCLK / div) 105 switch (ios->power_mode) { 122 switch (ios->bus_width) { 357 __toshsd_set_ios(host->mmc, &host->mmc->ios); 524 static void toshsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 530 __toshsd_set_ios(mmc, ios);
|
H A D | sdhci-xenon-phy.c | 493 if (host->mmc->ios.enhanced_strobe) 810 int xenon_phy_adj(struct sdhci_host *host, struct mmc_ios *ios) argument 827 (ios->bus_width == priv->bus_width) && 828 (ios->timing == priv->timing)) 831 xenon_emmc_phy_set(host, ios->timing); 834 priv->bus_width = ios->bus_width; 836 priv->timing = ios->timing; 840 if (ios->timing == MMC_TIMING_LEGACY)
|
H A D | mvsdio.c | 633 static void mvsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 639 if (ios->power_mode == MMC_POWER_UP) 642 if (ios->clock == 0) { 647 } else if (ios->clock != host->clock) { 648 u32 m = DIV_ROUND_UP(host->base_clock, ios->clock) - 1; 652 host->clock = ios->clock; 655 ios->clock, host->base_clock / (m+1), m); 666 if (ios->bus_mode == MMC_BUSMODE_PUSHPULL) 669 if (ios->bus_width == MMC_BUS_WIDTH_4) 680 if (ios [all...] |
H A D | meson-gx-mmc.c | 563 struct mmc_ios *ios) 567 switch (ios->timing) { 578 return meson_mmc_clk_set(host, ios->clock, ddr); 582 struct mmc_ios *ios) 584 switch (ios->timing) { 594 static void meson_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 604 switch (ios->power_mode) { 612 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); 623 switch (ios->bus_width) { 634 dev_err(host->dev, "Invalid ios 562 meson_mmc_prepare_ios_clock(struct meson_host *host, struct mmc_ios *ios) argument 581 meson_mmc_check_resampling(struct meson_host *host, struct mmc_ios *ios) argument 1086 meson_mmc_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument [all...] |
H A D | tmio_mmc_core.c | 211 tmio_mmc_set_bus_width(host, host->mmc->ios.bus_width); 737 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4 || 738 host->mmc->ios.bus_width == MMC_BUS_WIDTH_8) { 946 static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 960 ios->clock, ios->power_mode); 980 switch (ios->power_mode) { 990 tmio_mmc_power_on(host, ios->vdd); 991 host->set_clock(host, ios->clock); 992 tmio_mmc_set_bus_width(host, ios [all...] |
H A D | sdhci-omap.c | 205 ret = mmc_regulator_set_vqmmc(mmc, &mmc->ios); 323 struct mmc_ios *ios = &mmc->ios; local 336 if (ios->clock <= 52000000) 340 if (ios->timing == MMC_TIMING_UHS_SDR50 && !(reg & CAPA2_TSDR50)) 545 struct mmc_ios *ios) 559 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) { 569 sdhci_omap_conf_bus_power(omap_host, ios->signal_voltage); 575 } else if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180) { 582 sdhci_omap_conf_bus_power(omap_host, ios 544 sdhci_omap_start_signal_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument 652 sdhci_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument [all...] |
H A D | pxamci.c | 440 static void pxamci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 444 if (ios->clock) { 446 unsigned int clk = rate / ios->clock; 451 if (ios->clock == 26000000) { 464 if (rate / clk > ios->clock) 480 if (host->power_mode != ios->power_mode) { 483 host->power_mode = ios->power_mode; 485 ret = pxamci_set_power(host, ios->power_mode, ios->vdd); 497 if (ios [all...] |
H A D | renesas_sdhi_core.c | 145 bool need_slow_clkh = host->mmc->ios.timing == MMC_TIMING_MMC_HS400; 217 if (!(host->mmc->ios.timing == MMC_TIMING_MMC_HS400)) 252 struct mmc_ios *ios) 259 switch (ios->signal_voltage) { 275 return ios->signal_voltage == 278 ret = mmc_regulator_set_vqmmc(host->mmc, ios); 556 static int renesas_sdhi_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) argument 739 host->mmc->ios.timing == MMC_TIMING_MMC_HS400) { 809 if (!(host->mmc->ios.timing == MMC_TIMING_UHS_SDR104) && 810 !(host->mmc->ios 251 renesas_sdhi_start_signal_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument [all...] |
H A D | tifm_sd.c | 788 static void tifm_sd_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 797 dev_dbg(&sock->dev, "ios: clock = %u, vdd = %x, bus_mode = %x, " 799 ios->clock, ios->vdd, ios->bus_mode, ios->chip_select, 800 ios->power_mode, ios->bus_width); 802 if (ios->bus_width == MMC_BUS_WIDTH_4) { 811 if (ios [all...] |
H A D | davinci_mmc.c | 628 static void calculate_clk_divider(struct mmc_host *mmc, struct mmc_ios *ios) argument 634 if (ios->bus_mode == MMC_BUSMODE_OPENDRAIN) { 654 mmc_push_pull_freq = calculate_freq_for_card(host, ios->clock); 674 static void mmc_davinci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 682 ios->clock, ios->bus_mode, ios->power_mode, 683 ios->vdd); 685 switch (ios->power_mode) { 696 switch (ios [all...] |
H A D | rtsx_pci_sdmmc.c | 49 static int sdmmc_init_sd_express(struct mmc_host *mmc, struct mmc_ios *ios); 1088 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 1103 sd_set_bus_width(host, ios->bus_width); 1104 sd_set_power_mode(host, ios->power_mode); 1105 sd_set_timing(host, ios->timing); 1110 switch (ios->timing) { 1127 host->initial_mode = (ios->clock <= 1000000) ? true : false; 1129 host->clock = ios->clock; 1130 rtsx_pci_switch_clock(pcr, ios->clock, host->ssc_depth, 1259 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) argument 1362 sdmmc_init_sd_express(struct mmc_host *mmc, struct mmc_ios *ios) argument [all...] |
H A D | meson-mx-sdhc-mmc.c | 267 static int meson_mx_sdhc_set_clk(struct mmc_host *mmc, struct mmc_ios *ios) argument 275 if (ios->clock) { 276 ret = clk_set_rate(host->sd_clk, ios->clock); 280 ios->clock, host->error); 307 static void meson_mx_sdhc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 310 unsigned short vdd = ios->vdd; 312 switch (ios->power_mode) { 332 host->error = meson_mx_sdhc_set_clk(mmc, ios); 336 switch (ios->bus_width) { 357 ios [all...] |
H A D | via-sdmmc.c | 719 static void via_sdc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 735 if (ios->bus_width == MMC_BUS_WIDTH_1) 740 if (ios->power_mode == MMC_POWER_OFF) 745 if (ios->timing == MMC_TIMING_SD_HS) 753 if (ios->clock >= 48000000) 755 else if (ios->clock >= 33000000) 757 else if (ios->clock >= 24000000) 759 else if (ios->clock >= 16000000) 761 else if (ios->clock >= 12000000) 763 else if (ios [all...] |
H A D | omap.c | 1153 static int mmc_omap_calc_divisor(struct mmc_host *mmc, struct mmc_ios *ios) argument 1160 if (ios->clock == 0) 1163 dsor = func_clk_rate / ios->clock; 1167 if (func_clk_rate / dsor > ios->clock) 1175 if (ios->bus_width == MMC_BUS_WIDTH_4) 1181 static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 1190 dsor = mmc_omap_calc_divisor(mmc, ios); 1192 if (ios->vdd != slot->vdd) 1193 slot->vdd = ios->vdd; 1197 switch (ios [all...] |
H A D | dw_mmc-exynos.c | 310 static void dw_mci_exynos_set_ios(struct dw_mci *host, struct mmc_ios *ios) argument 313 unsigned int wanted = ios->clock; 314 u32 timing = ios->timing, clksel; 326 if (ios->bus_width == MMC_BUS_WIDTH_8) 536 struct mmc_ios *ios) 541 dw_mci_exynos_adjust_clock(host, (ios->clock) << 1); 535 dw_mci_exynos_prepare_hs400_tuning(struct dw_mci *host, struct mmc_ios *ios) argument
|
H A D | sdricoh_cs.c | 335 static void sdricoh_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 340 if (ios->power_mode == MMC_POWER_ON) { 343 if (ios->bus_width == MMC_BUS_WIDTH_4) { 350 } else if (ios->power_mode == MMC_POWER_UP) {
|
H A D | jz4740_mmc.c | 939 static void jz4740_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument 944 if (ios->clock) 945 jz4740_mmc_set_clock_rate(host, ios->clock); 947 switch (ios->power_mode) { 951 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd); 977 switch (ios->bus_width) { 1000 static int jz4740_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument 1006 ret = mmc_regulator_set_vqmmc(mmc, ios); 1011 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330)
|
/linux-master/include/linux/ |
H A D | part_stat.h | 11 unsigned long ios[NR_STAT_GROUPS]; member in struct:disk_stats
|
/linux-master/drivers/scsi/elx/efct/ |
H A D | efct_io.c | 15 struct efct_io *ios[EFCT_NUM_SCSI_IOS]; member in struct:efct_io_pool 43 io_pool->ios[i] = io; 86 io = io_pool->ios[i];
|
/linux-master/drivers/md/ |
H A D | dm-stats.c | 27 unsigned long long ios[2]; member in struct:dm_stat_percpu 603 p->ios[idx] += 1; 733 shared->tmp.ios[READ] = 0; 734 shared->tmp.ios[WRITE] = 0; 751 shared->tmp.ios[READ] += READ_ONCE(p->ios[READ]); 752 shared->tmp.ios[WRITE] += READ_ONCE(p->ios[WRITE]); 785 p->ios[READ] -= shared->tmp.ios[REA [all...] |
/linux-master/drivers/mmc/core/ |
H A D | mmc.c | 904 switch (1 << host->ios.vdd) { 906 if (host->ios.clock <= MMC_HIGH_26_MAX_DTR) 908 else if (host->ios.clock <= MMC_HIGH_52_MAX_DTR) 912 else if (host->ios.clock <= MMC_HS200_MAX_DTR) 924 if (host->ios.clock <= MMC_HIGH_26_MAX_DTR) 926 else if (host->ios.clock <= MMC_HIGH_52_MAX_DTR) 930 else if (host->ios.clock <= MMC_HS200_MAX_DTR) 969 bus_width = host->ios.bus_width; 1111 bus_width = host->ios.bus_width; 1183 host->ios [all...] |
H A D | sd_ops.c | 253 host->ios.timing = MMC_TIMING_SD_EXP_1_2V; 255 host->ios.timing = MMC_TIMING_SD_EXP; 261 return host->ops->init_sd_express(host, &host->ios);
|
/linux-master/fs/bcachefs/ |
H A D | move.h | 30 struct list_head ios; member in struct:moving_context
|
/linux-master/drivers/scsi/fnic/ |
H A D | fnic_stats.h | 30 atomic64_t ios[FNIC_MQ_MAX_QUEUES]; member in struct:io_path_stats
|