Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mmc/host/
H A Dsdhci-of-at91.c173 unsigned int clk_base, clk_mul; in sdhci_at91_set_clks_presets() local
188 clk_mul = gck_rate / clk_base_rate - 1; in sdhci_at91_set_clks_presets()
193 caps1 |= FIELD_PREP(SDHCI_CLOCK_MUL_MASK, clk_mul); in sdhci_at91_set_clks_presets()
202 clk_mul, gck_rate, clk_base_rate); in sdhci_at91_set_clks_presets()
H A Dsdhci.c1890 int real_div = div, clk_mul = 1; in sdhci_calc_clk() local
1901 if (host->clk_mul && in sdhci_calc_clk()
1905 clk_mul = host->clk_mul; in sdhci_calc_clk()
1916 if (host->clk_mul) { in sdhci_calc_clk()
1918 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()
1922 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()
1929 clk_mul = host->clk_mul; in sdhci_calc_clk()
1940 if (!host->clk_mul || switch_base_clk) { in sdhci_calc_clk()
1969 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()
4410 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host()
[all …]
H A Dsdhci.h531 unsigned int clk_mul; /* Clock Muliplier value */ member
/openbmc/u-boot/drivers/mmc/
H A Dsdhci.c361 if (host->clk_mul) {
616 host->clk_mul = (caps_1 & SDHCI_CLOCK_MUL_MASK) >>
628 if (host->clk_mul)
629 host->max_clk *= host->clk_mul;
/openbmc/linux/drivers/clk/
H A Dclk-versaclock5.c194 struct clk_hw clk_mul; member
293 container_of(hw, struct vc5_driver_data, clk_mul); in vc5_dbl_recalc_rate()
320 container_of(hw, struct vc5_driver_data, clk_mul); in vc5_dbl_set_rate()
1061 vc5->clk_mul.init = &init; in vc5_probe()
1062 ret = devm_clk_hw_register(&client->dev, &vc5->clk_mul); in vc5_probe()
1079 parent_names[0] = clk_hw_get_name(&vc5->clk_mul); in vc5_probe()
/openbmc/linux/drivers/iio/adc/
H A 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()
/openbmc/u-boot/include/
H A Dsdhci.h266 unsigned int clk_mul; /* Clock Multiplier value */ member