Home
last modified time | relevance | path

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

/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()
1070 vc5->clk_mul.init = &init; in vc5_probe()
1071 ret = devm_clk_hw_register(&client->dev, &vc5->clk_mul); in vc5_probe()
1088 parent_names[0] = clk_hw_get_name(&vc5->clk_mul); in vc5_probe()
/linux/drivers/mmc/host/
H A Dsdhci.c1920 int real_div = div, clk_mul = 1; in sdhci_calc_clk() local
1931 if (host->clk_mul && in sdhci_calc_clk()
1935 clk_mul = host->clk_mul; in sdhci_calc_clk()
1946 if (host->clk_mul) { in sdhci_calc_clk()
1948 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk()
1952 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk()
1959 clk_mul = host->clk_mul; in sdhci_calc_clk()
1970 if (!host->clk_mul || switch_base_clk) { in sdhci_calc_clk()
1999 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk()
4452 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host()
[all …]