Searched refs:tclk (Results 1 – 5 of 5) sorted by relevance
/drivers/clk/ |
D | clk-vt8500.c | 334 unsigned long tclk; in vt8500_find_pll_bits() local 350 tclk = (parent_rate / *prediv) * *multiplier; in vt8500_find_pll_bits() 352 if (tclk != rate) in vt8500_find_pll_bits() 354 rate, tclk); in vt8500_find_pll_bits() 362 unsigned long tclk, rate_err, best_err; in wm8650_find_pll_bits() local 370 tclk = parent_rate * mul / (div1 * (1 << div2)); in wm8650_find_pll_bits() 371 if (tclk > rate) in wm8650_find_pll_bits() 374 rate_err = rate - tclk; in wm8650_find_pll_bits() 430 unsigned long tclk, rate_err, best_err; in wm8750_find_pll_bits() local 438 tclk = parent_rate * (mul + 1) / ((div1 + 1) * (1 << div2)); in wm8750_find_pll_bits() [all …]
|
/drivers/power/reset/ |
D | qnap-poweroff.c | 29 static unsigned long tclk; variable 34 const unsigned divisor = ((tclk + (8 * 19200)) / (16 * 19200)); in qnap_power_off() 76 tclk = clk_get_rate(clk); in qnap_power_off_probe()
|
/drivers/i2c/busses/ |
D | i2c-mv64xxx.c | 534 mv64xxx_calc_freq(const int tclk, const int n, const int m) in mv64xxx_calc_freq() argument 536 return tclk / (10 * (m + 1) * (2 << n)); in mv64xxx_calc_freq() 540 mv64xxx_find_baud_factors(const u32 req_freq, const u32 tclk, u32 *best_n, in mv64xxx_find_baud_factors() argument 548 freq = mv64xxx_calc_freq(tclk, n, m); in mv64xxx_find_baud_factors() 567 u32 bus_freq, tclk; in mv64xxx_of_config() local 582 tclk = clk_get_rate(drv_data->clk); in mv64xxx_of_config() 584 if (!mv64xxx_find_baud_factors(bus_freq, tclk, in mv64xxx_of_config()
|
D | i2c-octeon.c | 451 int tclk, thp_base, inc, thp_idx, mdiv_idx, ndiv_idx, foscl, diff; in octeon_i2c_setclock() local 465 tclk = i2c->twsi_freq * (mdiv_idx + 1) * 10; in octeon_i2c_setclock() 466 tclk *= (1 << ndiv_idx); in octeon_i2c_setclock() 467 thp_base = (i2c->sys_freq / (tclk * 2)) - 1; in octeon_i2c_setclock()
|
/drivers/sh/clk/ |
D | core.c | 231 void propagate_rate(struct clk *tclk) in propagate_rate() argument 235 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()
|