Home
last modified time | relevance | path

Searched refs:clk_mul (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/mmc/host/
Dsdhci-of-at91.c168 unsigned int clk_base, clk_mul; in sdhci_at91_set_clks_presets() local
183 clk_mul = gck_rate / clk_base_rate - 1; in sdhci_at91_set_clks_presets()
188 caps1 |= FIELD_PREP(SDHCI_CLOCK_MUL_MASK, clk_mul); in sdhci_at91_set_clks_presets()
197 clk_mul, gck_rate, clk_base_rate); in sdhci_at91_set_clks_presets()
Dsdhci.c1866 int real_div = div, clk_mul = 1; in sdhci_calc_clk() local
1877 if (host->clk_mul && in sdhci_calc_clk()
1881 clk_mul = host->clk_mul; in sdhci_calc_clk()
1892 if (host->clk_mul) { in sdhci_calc_clk()
1894 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()
1898 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()
1905 clk_mul = host->clk_mul; in sdhci_calc_clk()
1916 if (!host->clk_mul || switch_base_clk) { in sdhci_calc_clk()
1945 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()
4307 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host()
[all …]
Dsdhci.h519 unsigned int clk_mul; /* Clock Muliplier value */ member
/kernel/linux/linux-5.10/drivers/clk/
Dclk-versaclock5.c193 struct clk_hw clk_mul; member
287 container_of(hw, struct vc5_driver_data, clk_mul); in vc5_dbl_recalc_rate()
310 container_of(hw, struct vc5_driver_data, clk_mul); in vc5_dbl_set_rate()
928 vc5->clk_mul.init = &init; in vc5_probe()
929 ret = devm_clk_hw_register(&client->dev, &vc5->clk_mul); in vc5_probe()
942 parent_names[0] = clk_hw_get_name(&vc5->clk_mul); in vc5_probe()
/kernel/linux/linux-5.10/drivers/iio/adc/
Drcar-gyroadc.c78 const unsigned long clk_mul = in rcar_gyroadc_hw_init() local
80 unsigned long clk_len = clk_mhz * clk_mul; in rcar_gyroadc_hw_init()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0030_linux_drivers_pci_misc_nvmem_of_mtd_mmc.patch14473 if (host->clk_mul &&
14478 clk_mul = host->clk_mul;
15060 - host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1);
15061 + host->clk_mul = (host->caps1 & SDHCI_CLOCK_MUL_MASK) >>
15070 - if (host->clk_mul)
15071 + if (host->clk_mul) {
15072 + mmc->f_min = (host->max_clk * host->clk_mul) / 1024;
15073 max_clk = host->max_clk * host->clk_mul;