Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mmc/host/
Dsdhci-s3c.c230 int best_src = 0; in sdhci_s3c_set_clock() local
246 best_src = src; in sdhci_s3c_set_clock()
252 best_src, clock, best); in sdhci_s3c_set_clock()
255 if (ourhost->cur_clk != best_src) { in sdhci_s3c_set_clock()
256 struct clk *clk = ourhost->clk_bus[best_src]; in sdhci_s3c_set_clock()
263 ourhost->cur_clk = best_src; in sdhci_s3c_set_clock()
264 host->max_clk = ourhost->clk_rates[best_src]; in sdhci_s3c_set_clock()
272 ctrl |= best_src << S3C_SDHCI_CTRL2_SELBASECLK_SHIFT; in sdhci_s3c_set_clock()
/linux-6.12.1/drivers/clk/qcom/
Dclk-regmap-mux-div.c129 u32 div, max_div, best_src = 0, best_div = 0; in __mux_div_set_rate_and_parent() local
145 best_src = md->parent_map[i]; in __mux_div_set_rate_and_parent()
154 ret = mux_div_set_src_div(md, best_src, best_div); in __mux_div_set_rate_and_parent()
157 md->src = best_src; in __mux_div_set_rate_and_parent()