Searched refs:ios (Results 51 - 75 of 111) sorted by relevance

12345

/linux-master/drivers/mmc/host/
H A Djz4740_mmc.c939 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)
H A Dmmci.c487 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4)
489 if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_8)
492 if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50 ||
493 host->mmc->ios.timing == MMC_TIMING_MMC_DDR52)
1283 if (host->mmc->ios.timing == MMC_TIMING_UHS_DDR50 ||
1284 host->mmc->ios.timing == MMC_TIMING_MMC_DDR52)
1926 static void mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
1934 switch (ios->power_mode) {
1947 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd);
1971 if (variant->signal_direction && ios
2053 mmci_sig_volt_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument
[all...]
H A Dsdhci-pci-gli.c522 struct mmc_ios *ios = &host->mmc->ios; local
534 if (clock == 200000000 && ios->timing == MMC_TIMING_UHS_SDR104) {
719 struct mmc_ios *ios = &host->mmc->ios; local
733 if (clock == 200000000 && ios->timing == MMC_TIMING_UHS_SDR104) {
908 struct mmc_ios *ios = &host->mmc->ios; local
929 if (clock == 200000000 && ios->timing == MMC_TIMING_UHS_SDR104) {
992 static int gl9767_init_sd_express(struct mmc_host *mmc, struct mmc_ios *ios) argument
1177 gl9763e_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) argument
[all...]
H A Dcavium.c822 static void cvm_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
833 switch (ios->power_mode) {
849 mmc_regulator_set_ocr(mmc, mmc->supply.vmmc, ios->vdd);
854 switch (ios->bus_width) {
867 if (ios->bus_width && ios->timing == MMC_TIMING_MMC_DDR52)
871 clock = ios->clock;
880 (ios->timing == MMC_TIMING_MMC_HS)) |
H A Dmeson-mx-sdio.c197 if (mmc->ios.bus_width == MMC_BUS_WIDTH_4)
258 static void meson_mx_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
261 unsigned short vdd = ios->vdd;
262 unsigned long clk_rate = ios->clock;
264 switch (ios->bus_width) {
279 ios->bus_width);
284 host->error = clk_set_rate(host->cfg_div_clk, ios->clock);
294 switch (ios->power_mode) {
H A Dsdhci-tegra.c530 struct mmc_ios *ios = &host->mmc->ios; local
536 switch (ios->timing) {
544 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180)
579 ret = tegra_sdhci_set_padctrl(host, ios->signal_voltage, false);
793 struct mmc_ios *ios)
800 if (ios->enhanced_strobe) {
1104 struct mmc_ios *ios)
1111 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_330) {
1112 ret = tegra_sdhci_set_padctrl(host, ios
792 tegra_sdhci_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) argument
1103 sdhci_tegra_start_signal_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument
[all...]
H A Dushc.c371 static void ushc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
375 ushc_set_power(ushc, ios->power_mode);
376 ushc_set_bus_width(ushc, 1 << ios->bus_width);
377 ushc_set_bus_freq(ushc, ios->clock, ios->timing == MMC_TIMING_SD_HS);
H A Dcb710-mmc.c560 static void cb710_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
566 cb710_mmc_select_clock_divider(mmc, ios->clock);
568 if (ios->power_mode != reader->last_power_mode) {
569 switch (ios->power_mode) {
596 cb710_mmc_enable_4bit_data(slot, ios->bus_width != MMC_BUS_WIDTH_1);
H A Dmxcmmc.c835 static void mxcmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
844 if (ios->bus_width == MMC_BUS_WIDTH_4)
861 if (ios->bus_width == MMC_BUS_WIDTH_4)
866 if (host->power_mode != ios->power_mode) {
867 host->power_mode = ios->power_mode;
868 mxcmci_set_power(host, ios->vdd);
870 if (ios->power_mode == MMC_POWER_ON)
874 if (ios->clock) {
875 mxcmci_set_clk_rate(host, ios->clock);
881 host->clock = ios
[all...]
H A Dsdhci-pci-o2micro.c400 if (mmc->ios.bus_width == MMC_BUS_WIDTH_8) {
401 current_bus_width = mmc->ios.bus_width;
402 mmc->ios.bus_width = MMC_BUS_WIDTH_4;
415 mmc->ios.bus_width = MMC_BUS_WIDTH_8;
635 static int sdhci_pci_o2_init_sd_express(struct mmc_host *mmc, struct mmc_ios *ios) argument
650 if (host->mmc->ios.timing == MMC_TIMING_SD_EXP_1_2V &&
684 host->mmc->ios.timing = MMC_TIMING_LEGACY;
H A Dmoxart-mmc.c480 static void moxart_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
489 if (ios->clock) {
491 if (ios->clock >= host->sysclk / (2 * (div + 1)))
501 if (ios->power_mode == MMC_POWER_OFF) {
505 if (ios->vdd < MIN_POWER)
508 power = ios->vdd - MIN_POWER;
514 switch (ios->bus_width) {
H A Dwbsd.c837 static void wbsd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
848 if (ios->power_mode == MMC_POWER_OFF)
851 if (ios->clock >= 24000000)
853 else if (ios->clock >= 16000000)
855 else if (ios->clock >= 12000000)
872 if (ios->power_mode != MMC_POWER_OFF) {
884 if (ios->chip_select == MMC_CS_HIGH) {
885 BUG_ON(ios->bus_width != MMC_BUS_WIDTH_1);
905 host->bus_width = ios->bus_width;
H A Ddw_mmc.h73 * @timing: Record of current ios timing.
578 void (*set_ios)(struct dw_mci *host, struct mmc_ios *ios);
582 struct mmc_ios *ios);
584 struct mmc_ios *ios);
H A Dsdhci-brcmstb.c41 void (*hs400es)(struct mmc_host *mmc, struct mmc_ios *ios);
111 static void sdhci_brcmstb_hs400es(struct mmc_host *mmc, struct mmc_ios *ios) argument
120 if (ios->enhanced_strobe)
H A Dsdhci-cadence.c443 struct mmc_ios *ios)
449 priv->enhanced_strobe = ios->enhanced_strobe;
453 if (mode == SDHCI_CDNS_HRS06_MODE_MMC_HS400 && ios->enhanced_strobe)
457 if (mode == SDHCI_CDNS_HRS06_MODE_MMC_HS400ES && !ios->enhanced_strobe)
442 sdhci_cdns_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) argument
H A Duniphier-sd.c441 if (host->mmc->ios.timing == MMC_TIMING_UHS_SDR50 ||
442 host->mmc->ios.timing == MMC_TIMING_UHS_SDR104)
544 struct mmc_ios *ios)
552 switch (ios->signal_voltage) {
543 uniphier_sd_start_signal_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument
H A Drtsx_usb_sdmmc.c1102 static void sdmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
1110 sd_set_power_mode(host, ios->power_mode);
1111 sd_set_bus_width(host, ios->bus_width);
1112 sd_set_timing(host, ios->timing, &host->ddr_mode);
1117 switch (ios->timing) {
1133 host->initial_mode = (ios->clock <= 1000000) ? true : false;
1134 host->clock = ios->clock;
1143 static int sdmmc_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios) argument
1150 __func__, ios->signal_voltage);
1155 if (ios
[all...]
H A Dau1xmmc.c740 static void au1xmmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
745 if (ios->power_mode == MMC_POWER_OFF)
747 else if (ios->power_mode == MMC_POWER_ON) {
751 if (ios->clock && ios->clock != host->clock) {
752 au1xmmc_set_clock(host, ios->clock);
753 host->clock = ios->clock;
757 switch (ios->bus_width) {
H A Dsdhci-acpi.c174 struct mmc_ios *ios)
183 err = sdhci_start_signal_voltage_switch(mmc, ios);
187 switch (ios->signal_voltage) {
537 static void amd_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
545 sdhci_set_ios(mmc, ios);
951 host->mmc->ios.signal_voltage != MMC_SIGNAL_VOLTAGE_330) {
173 intel_start_signal_voltage_switch(struct mmc_host *mmc, struct mmc_ios *ios) argument
H A Dwmt-sdmmc.c669 static void wmt_mci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
676 if (ios->power_mode == MMC_POWER_UP) {
681 if (ios->power_mode == MMC_POWER_OFF)
684 if (ios->clock != 0)
685 clk_set_rate(priv->clk_sdmmc, ios->clock);
693 switch (ios->bus_width) {
H A Dmtk-sd.c1486 static int msdc_ops_switch_volt(struct mmc_host *mmc, struct mmc_ios *ios) argument
1492 if (ios->signal_voltage != MMC_SIGNAL_VOLTAGE_330 &&
1493 ios->signal_voltage != MMC_SIGNAL_VOLTAGE_180) {
1498 ret = mmc_regulator_set_vqmmc(mmc, ios);
1501 ret, ios->signal_voltage);
1506 if (ios->signal_voltage == MMC_SIGNAL_VOLTAGE_180)
1901 static void msdc_ops_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) argument
1906 msdc_set_buswidth(host, ios->bus_width);
1909 switch (ios->power_mode) {
1914 ios
2363 msdc_prepare_hs400_tuning(struct mmc_host *mmc, struct mmc_ios *ios) argument
2481 msdc_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) argument
[all...]
/linux-master/block/
H A Dgenhd.c113 stat->ios[group] += ptr->ios[group];
979 stat.ios[STAT_READ],
983 stat.ios[STAT_WRITE],
994 stat.ios[STAT_DISCARD],
998 stat.ios[STAT_FLUSH],
1273 stat.ios[STAT_READ],
1278 stat.ios[STAT_WRITE],
1290 stat.ios[STAT_DISCARD],
1295 stat.ios[STAT_FLUS
[all...]
/linux-master/drivers/mmc/core/
H A Dsd.c536 voltage = 1 << host->ios.vdd;
668 (card->host->ios.timing == MMC_TIMING_UHS_SDR50 ||
669 card->host->ios.timing == MMC_TIMING_UHS_DDR50 ||
670 card->host->ios.timing == MMC_TIMING_UHS_SDR104)) {
680 if (err && card->host->ios.timing == MMC_TIMING_UHS_DDR50) {
1489 host->ios.signal_voltage != MMC_SIGNAL_VOLTAGE_180) {
1521 if (host->ios.timing == MMC_TIMING_SD_HS &&
1540 if (host->ios.timing == MMC_TIMING_SD_HS &&
1573 host->ios.signal_voltage == MMC_SIGNAL_VOLTAGE_330) {
H A Dhost.c195 if (host->ios.timing == MMC_TIMING_MMC_HS400) {
429 &host->ios.power_delay_ms);
581 host->ios.power_delay_ms = 10;
582 host->ios.power_mode = MMC_POWER_UNDEFINED;
/linux-master/arch/alpha/kernel/
H A Dio.c656 const u16 __iomem *ios = (const u16 __iomem *) s; local
668 u16 tmp = __raw_readw(ios++);
673 memcpy_fromio(d, ios, count);

Completed in 486 milliseconds

12345