History

sh: clkfwk: add clk_rate_mult_range_round()

This provides a clk_rate_mult_range_round() helper for use by some of the CPG PLL ranged multipliers, following the same approach as used by the div ranges.

Kuninori Morimoto committed 15 years ago

Commit dd2c0ca1 parent 1a67a572 files · +23 −0Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/sh_clk.h+3−0
@@ -94,6 +94,9 @@ int clk_rate_table_find(struct clk *clk, · 93 unmodified lines
9494 long clk_rate_div_range_round(struct clk *clk, unsigned int div_min,
9595 unsigned int div_max, unsigned long rate);
9696
97+long clk_rate_mult_range_round(struct clk *clk, unsigned int mult_min,
98+ unsigned int mult_max, unsigned long rate);
99+
97100 long clk_round_parent(struct clk *clk, unsigned long target,
98101 unsigned long *best_freq, unsigned long *parent_freq,
99102 unsigned int div_min, unsigned int div_max);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t