Searched refs:clk_mul (Results 1 – 5 of 5) sorted by relevance
| /Linux-v5.15/drivers/mmc/host/ |
| D | sdhci-of-at91.c | 168 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()
|
| D | sdhci.c | 1853 int real_div = div, clk_mul = 1; in sdhci_calc_clk() local 1864 if (host->clk_mul && in sdhci_calc_clk() 1868 clk_mul = host->clk_mul; in sdhci_calc_clk() 1879 if (host->clk_mul) { in sdhci_calc_clk() 1881 if ((host->max_clk * host->clk_mul / div) in sdhci_calc_clk() 1885 if ((host->max_clk * host->clk_mul / div) <= clock) { in sdhci_calc_clk() 1892 clk_mul = host->clk_mul; in sdhci_calc_clk() 1903 if (!host->clk_mul || switch_base_clk) { in sdhci_calc_clk() 1932 *actual_clock = (host->max_clk * clk_mul) / real_div; in sdhci_calc_clk() 4304 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host() [all …]
|
| D | sdhci.h | 521 unsigned int clk_mul; /* Clock Muliplier value */ member
|
| /Linux-v5.15/drivers/clk/ |
| D | clk-versaclock5.c | 193 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() 1014 vc5->clk_mul.init = &init; in vc5_probe() 1015 ret = devm_clk_hw_register(&client->dev, &vc5->clk_mul); in vc5_probe() 1028 parent_names[0] = clk_hw_get_name(&vc5->clk_mul); in vc5_probe()
|
| /Linux-v5.15/drivers/iio/adc/ |
| D | rcar-gyroadc.c | 78 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()
|