Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mmc/host/
Dsdhci-of-esdhc.c37 const unsigned int max_clk[MMC_TIMING_NUM]; member
42 .max_clk[MMC_TIMING_MMC_HS] = 46500000,
43 .max_clk[MMC_TIMING_SD_HS] = 46500000,
48 .max_clk[MMC_TIMING_UHS_SDR104] = 167000000,
49 .max_clk[MMC_TIMING_MMC_HS200] = 167000000,
54 .max_clk[MMC_TIMING_UHS_SDR104] = 125000000,
55 .max_clk[MMC_TIMING_MMC_HS200] = 125000000,
60 .max_clk[MMC_TIMING_LEGACY] = 20000000,
61 .max_clk[MMC_TIMING_MMC_HS] = 42000000,
62 .max_clk[MMC_TIMING_SD_HS] = 40000000,
[all …]
Dsdhci-cns3xxx.c40 while (host->max_clk / div > clock) { in sdhci_cns3xxx_set_clock()
54 clock, host->max_clk / div); in sdhci_cns3xxx_set_clock()
Dsdhci.c1429 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()
1433 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()
1453 if (host->max_clk <= clock) in sdhci_calc_clk()
1458 if ((host->max_clk / div) <= clock) in sdhci_calc_clk()
1465 && !div && host->max_clk <= 25000000) in sdhci_calc_clk()
1471 if ((host->max_clk / div) <= clock) in sdhci_calc_clk()
1480 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()
3479 u32 max_clk; in sdhci_setup_host() local
3620 host->max_clk = (host->caps & SDHCI_CLOCK_V3_BASE_MASK) in sdhci_setup_host()
3623 host->max_clk = (host->caps & SDHCI_CLOCK_BASE_MASK) in sdhci_setup_host()
[all …]
Dbcm2835.c166 unsigned int max_clk; /* Max possible freq */ member
1131 div = host->max_clk / clock; in bcm2835_set_clock()
1134 if ((host->max_clk / div) > clock) in bcm2835_set_clock()
1141 clock = host->max_clk / (div + 2); in bcm2835_set_clock()
1268 if (!mmc->f_max || mmc->f_max > host->max_clk) in bcm2835_add_host()
1269 mmc->f_max = host->max_clk; in bcm2835_add_host()
1270 mmc->f_min = host->max_clk / SDCDIV_MAX_CDIV; in bcm2835_add_host()
1405 host->max_clk = clk_get_rate(clk); in bcm2835_probe()
Dsdhci-tegra.c228 host->max_clk = host_clk; in tegra_sdhci_set_clock()
230 host->max_clk = clk_get_rate(pltfm_host->clk); in tegra_sdhci_set_clock()
Dsdhci-cadence.c183 return host->max_clk; in sdhci_cdns_get_timeout_clock()
Dsdhci.h492 unsigned int max_clk; /* Max possible freq (MHz) */ member
Dsdhci-of-arasan.c187 sdhci_set_clock(host, host->max_clk); in sdhci_arasan_set_clock()
Dsdhci-s3c.c264 host->max_clk = ourhost->clk_rates[best_src]; in sdhci_s3c_set_clock()
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_cfg.c106 .max_clk = 200000000,
188 .max_clk = 200000000,
283 .max_clk = 320000000,
350 .max_clk = 320000000,
445 .max_clk = 400000000,
553 .max_clk = 412500000,
Dmdp5_cfg.h105 uint32_t max_clk; member
Dmdp5_kms.c984 clk_set_rate(mdp5_kms->core_clk, config->hw->max_clk); in mdp5_init()
/Linux-v4.19/arch/x86/include/asm/
Dintel-mid.h63 u32 max_clk; member
/Linux-v4.19/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_kms.c490 clk_set_rate(mdp4_kms->clk, config->max_clk); in mdp4_kms_init()
491 clk_set_rate(mdp4_kms->lut_clk, config->max_clk); in mdp4_kms_init()
566 config.max_clk = 266667000; in mdp4_get_config()
Dmdp4_kms.h59 uint32_t max_clk; member
/Linux-v4.19/arch/x86/platform/intel-mid/
Dsfi.c432 sd_info.max_clk = pentry->max_freq; in sfi_handle_sd_dev()
437 sd_info.max_clk, in sfi_handle_sd_dev()
/Linux-v4.19/drivers/gpu/drm/bridge/
Dsil-sii8620.c1179 int max_clk; in sii8620_start_video() member
1196 if (clk < clk_spec[i].max_clk) in sii8620_start_video()
1199 if (100 * clk >= 98 * clk_spec[i].max_clk) in sii8620_start_video()