Lines Matching refs:src
90 int src; in sdhci_s3c_get_max_clk() local
92 for (src = 0; src < MAX_BUS_CLK; src++) { in sdhci_s3c_get_max_clk()
93 rate = ourhost->clk_rates[src]; in sdhci_s3c_get_max_clk()
108 unsigned int src, in sdhci_s3c_consider_clock() argument
112 struct clk *clksrc = ourhost->clk_bus[src]; in sdhci_s3c_consider_clock()
127 rate = ourhost->clk_rates[src]; in sdhci_s3c_consider_clock()
137 src, rate, rate / 256, wanted); in sdhci_s3c_consider_clock()
142 src, rate, wanted, rate >> shift); in sdhci_s3c_consider_clock()
161 int src; in sdhci_s3c_set_clock() local
172 for (src = 0; src < MAX_BUS_CLK; src++) { in sdhci_s3c_set_clock()
173 delta = sdhci_s3c_consider_clock(ourhost, src, clock); in sdhci_s3c_set_clock()
176 best_src = src; in sdhci_s3c_set_clock()
239 int src; in sdhci_s3c_get_min_clock() local
241 for (src = 0; src < MAX_BUS_CLK; src++) { in sdhci_s3c_get_min_clock()
242 rate = ourhost->clk_rates[src] / 256; in sdhci_s3c_get_min_clock()
257 int src; in sdhci_cmu_get_max_clock() local
259 for (src = 0; src < MAX_BUS_CLK; src++) { in sdhci_cmu_get_max_clock()
262 clk = ourhost->clk_bus[src]; in sdhci_cmu_get_max_clock()
279 int src; in sdhci_cmu_get_min_clock() local
281 for (src = 0; src < MAX_BUS_CLK; src++) { in sdhci_cmu_get_min_clock()
284 clk = ourhost->clk_bus[src]; in sdhci_cmu_get_min_clock()