Home
last modified time | relevance | path

Searched refs:ios (Results 1 - 13 of 13) sorted by relevance

/device/soc/rockchip/common/sdk_linux/drivers/mmc/host/
H A Ddw_mmc-rockchip.c41 static void dw_mci_rk3288_set_ios(struct dw_mci *host, struct mmc_ios *ios) in dw_mci_rk3288_set_ios() argument
48 if (ios->clock == 0) { in dw_mci_rk3288_set_ios()
56 * ios->clock = (div == 0) ? bus_hz : (bus_hz / (2 * div)) in dw_mci_rk3288_set_ios()
61 if (ios->clock < priv->f_min) { in dw_mci_rk3288_set_ios()
62 ios->clock = priv->f_min; in dw_mci_rk3288_set_ios()
65 if (ios->bus_width == MMC_BUS_WIDTH_8 && ios->timing == MMC_TIMING_MMC_DDR52) { in dw_mci_rk3288_set_ios()
66 cclkin = RK3288_CLKGEN_MUL * ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
68 cclkin = ios->clock * RK3288_CLKGEN_DIV; in dw_mci_rk3288_set_ios()
73 dev_warn(host->dev, "failed to set rate %uHz\n", ios in dw_mci_rk3288_set_ios()
[all...]
H A Dsdhci-of-dwcmshc.c136 static void dwcmshc_hs400_enhanced_strobe(struct mmc_host *mmc, struct mmc_ios *ios) in dwcmshc_hs400_enhanced_strobe() argument
142 if (ios->enhanced_strobe) { in dwcmshc_hs400_enhanced_strobe()
217 if (host->mmc->ios.timing == MMC_TIMING_MMC_HS200 || host->mmc->ios.timing == MMC_TIMING_MMC_HS400) { in dwcmshc_rk_set_clock()
H A Ddw_mmc.h67 * @timing: Record of current ios timing.
545 void (*set_ios)(struct dw_mci *host, struct mmc_ios *ios);
548 int (*prepare_hs400_tuning)(struct dw_mci *host, struct mmc_ios *ios);
549 int (*switch_voltage)(struct mmc_host *mmc, struct mmc_ios *ios);
H A Drk_sdmmc.h338 void (*set_ios)(struct dw_mci *host, struct mmc_ios *ios);
/device/soc/rockchip/common/sdk_linux/include/linux/mmc/
H A Dhost.h106 * ios->clock might be 0. For some controllers, setting 0Hz
111 void (*set_ios)(struct mmc_host *host, struct mmc_ios *ios);
138 int (*start_signal_voltage_switch)(struct mmc_host *host, struct mmc_ios *ios);
148 int (*prepare_hs400_tuning)(struct mmc_host *host, struct mmc_ios *ios);
160 void (*hs400_enhanced_strobe)(struct mmc_host *host, struct mmc_ios *ios);
384 struct mmc_ios ios; /* current io bus settings */ member
523 int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios);
530 static inline int mmc_regulator_set_vqmmc(struct mmc_host *mmc, struct mmc_ios *ios) in mmc_regulator_set_vqmmc() argument
556 return card->host->ios.timing == MMC_TIMING_SD_HS || card->host->ios in mmc_card_hs()
[all...]
/device/soc/rockchip/rk3568/hardware/codec/jpeg/src/
H A Dcodec_jpeg_decoder.cpp210 std::ofstream out("/data/out.raw", std::ios::trunc | std::ios::binary); in DumpOutFile()
230 std::ofstream out("/data/in.raw", std::ios::trunc | std::ios::binary); in DumpInFile()
/device/soc/rockchip/rk3588/hardware/codec/jpeg/src/
H A Dcodec_jpeg_decoder.cpp263 std::ofstream out("/data/out.raw", std::ios::trunc | std::ios::binary); in DumpOutFile()
275 std::ofstream out("/data/in.raw", std::ios::trunc | std::ios::binary); in DumpInFile()
/device/soc/rockchip/common/sdk_linux/drivers/mmc/core/
H A Dhost.c200 if (host->ios.timing == MMC_TIMING_MMC_HS400) { in mmc_retune()
418 device_property_read_u32(dev, "post-power-on-delay-ms", &host->ios.power_delay_ms); in mmc_of_parse()
550 host->ios.power_delay_ms = MMC_POWER_DELAY_MS; in mmc_alloc_host()
551 host->ios.power_mode = MMC_POWER_UNDEFINED; in mmc_alloc_host()
H A Dsdio.c579 ((card->host->ios.timing == MMC_TIMING_UHS_SDR50) || (card->host->ios.timing == MMC_TIMING_UHS_SDR104))) { in mmc_sdio_init_uhs_card()
871 if ((host->caps2 & MMC_CAP2_AVOID_3_3V) && (host->ios.signal_voltage == MMC_SIGNAL_VOLTAGE_330)) { in mmc_sdio_init_card()
H A Dblock.c939 if (host->ios.clock) { in mmc_blk_clock_khz()
940 return host->ios.clock / (MMC_CLK_DIV * MMC_CLK_DIV_FACTOR); in mmc_blk_clock_khz()
/device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/
H A Dbcmsdh_sdmmc.c80 return host->ios.clock; in mmc_host_clk_rate()
1770 struct mmc_ios *ios = &host->ios; in sdmmc_set_clock_rate()
1773 DHD_INFO(("%s: Before change: sd clock rate is %u\n", __FUNCTION__, ios->clock)); in sdmmc_set_clock_rate()
1783 ios->clock = hz; in sdmmc_set_clock_rate()
1784 host->ops->set_ios(host, ios); in sdmmc_set_clock_rate()
1785 DHD_ERROR(("%s: After change: sd clock rate is %u\n", __FUNCTION__, ios->clock)); in sdmmc_set_clock_rate()
/device/soc/rockchip/common/vendor/drivers/mmc/host/
H A Drk_sdmmc.h338 void (*set_ios)(struct dw_mci *host, struct mmc_ios *ios);
/device/soc/rockchip/rk3588/kernel/drivers/mmc/host/
H A Drk_sdmmc.h369 void (*set_ios)(struct dw_mci *host, struct mmc_ios *ios);

Completed in 17 milliseconds