Home
last modified time | relevance | path

Searched refs:max_clk (Results 1 – 18 of 18) sorted by relevance

/Linux-v5.4/drivers/mmc/host/
Dsdhci-of-esdhc.c34 const unsigned int max_clk[MMC_TIMING_NUM]; member
39 .max_clk[MMC_TIMING_MMC_HS] = 46500000,
40 .max_clk[MMC_TIMING_SD_HS] = 46500000,
45 .max_clk[MMC_TIMING_UHS_SDR104] = 167000000,
46 .max_clk[MMC_TIMING_MMC_HS200] = 167000000,
51 .max_clk[MMC_TIMING_UHS_SDR104] = 125000000,
52 .max_clk[MMC_TIMING_MMC_HS200] = 125000000,
57 .max_clk[MMC_TIMING_LEGACY] = 20000000,
58 .max_clk[MMC_TIMING_MMC_HS] = 42000000,
59 .max_clk[MMC_TIMING_SD_HS] = 40000000,
[all …]
Dsdhci-cns3xxx.c37 while (host->max_clk / div > clock) { in sdhci_cns3xxx_set_clock()
51 clock, host->max_clk / div); in sdhci_cns3xxx_set_clock()
Dsdhci.c1571 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()
1575 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()
1595 if (host->max_clk <= clock) in sdhci_calc_clk()
1600 if ((host->max_clk / div) <= clock) in sdhci_calc_clk()
1607 && !div && host->max_clk <= 25000000) in sdhci_calc_clk()
1613 if ((host->max_clk / div) <= clock) in sdhci_calc_clk()
1622 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()
3726 u32 max_clk; in sdhci_setup_host() local
3862 host->max_clk = (host->caps & SDHCI_CLOCK_V3_BASE_MASK) in sdhci_setup_host()
3865 host->max_clk = (host->caps & SDHCI_CLOCK_BASE_MASK) in sdhci_setup_host()
[all …]
Dbcm2835.c154 unsigned int max_clk; /* Max possible freq */ member
1135 div = host->max_clk / clock; in bcm2835_set_clock()
1138 if ((host->max_clk / div) > clock) in bcm2835_set_clock()
1145 clock = host->max_clk / (div + 2); in bcm2835_set_clock()
1272 if (!mmc->f_max || mmc->f_max > host->max_clk) in bcm2835_add_host()
1273 mmc->f_max = host->max_clk; in bcm2835_add_host()
1274 mmc->f_min = host->max_clk / SDCDIV_MAX_CDIV; in bcm2835_add_host()
1408 host->max_clk = clk_get_rate(clk); in bcm2835_probe()
Dsdhci-of-aspeed.c68 if (WARN_ON(clock > host->max_clk)) in aspeed_sdhci_set_clock()
69 clock = host->max_clk; in aspeed_sdhci_set_clock()
Dsdhci-cadence.c174 return host->max_clk; in sdhci_cdns_get_timeout_clock()
Dsdhci.h523 unsigned int max_clk; /* Max possible freq (MHz) */ member
Dsdhci-of-arasan.c194 sdhci_set_clock(host, host->max_clk); in sdhci_arasan_set_clock()
Dsdhci-s3c.c261 host->max_clk = ourhost->clk_rates[best_src]; in sdhci_s3c_set_clock()
Dsdhci-tegra.c752 host->max_clk = host_clk; in tegra_sdhci_set_clock()
754 host->max_clk = clk_get_rate(pltfm_host->clk); in tegra_sdhci_set_clock()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.c98 .max_clk = 200000000,
180 .max_clk = 200000000,
275 .max_clk = 320000000,
342 .max_clk = 320000000,
437 .max_clk = 400000000,
545 .max_clk = 412500000,
630 .max_clk = 320000000,
738 .max_clk = 412500000,
Dmdp5_cfg.h97 uint32_t max_clk; member
Dmdp5_kms.c1000 clk_set_rate(mdp5_kms->core_clk, config->hw->max_clk); in mdp5_init()
/Linux-v5.4/arch/x86/include/asm/
Dintel-mid.h59 u32 max_clk; member
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c499 clk_set_rate(mdp4_kms->clk, config->max_clk); in mdp4_kms_init()
501 clk_set_rate(mdp4_kms->lut_clk, config->max_clk); in mdp4_kms_init()
576 config.max_clk = 266667000; in mdp4_get_config()
Dmdp4_kms.h48 uint32_t max_clk; member
/Linux-v5.4/arch/x86/platform/intel-mid/
Dsfi.c428 sd_info.max_clk = pentry->max_freq; in sfi_handle_sd_dev()
433 sd_info.max_clk, in sfi_handle_sd_dev()
/Linux-v5.4/drivers/gpu/drm/bridge/
Dsil-sii8620.c1175 int max_clk; in sii8620_start_video() member
1192 if (clk < clk_spec[i].max_clk) in sii8620_start_video()
1195 if (100 * clk >= 98 * clk_spec[i].max_clk) in sii8620_start_video()