OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:new_rate
(Results
1 - 13
of
13
) sorted by relevancy
/src/sys/arch/arm/sunxi/
sunxi_ccu_display.c
45
struct sunxi_ccu_clk *pllclk_x2, u_int
new_rate
)
53
rate = clk_round_rate(clkp,
new_rate
);
54
diff = abs(
new_rate
- rate);
56
rate_x2 = (clk_round_rate(clkp,
new_rate
/ 2) * 2);
57
diff_x2 = abs(
new_rate
- rate_x2);
63
error = clk_set_rate(clkp,
new_rate
/ 2);
68
error = clk_set_rate(clkp,
new_rate
);
101
struct sunxi_ccu_clk *pllclk_x2, u_int
new_rate
)
116
new_rate
* m / d);
120
diff = abs(rate -
new_rate
);
[
all
...]
sunxi_ccu_div.c
103
struct sunxi_ccu_clk *clk, u_int
new_rate
)
121
const u_int diff = abs((int)rate - (int)
new_rate
);
135
struct sunxi_ccu_clk *clk, u_int
new_rate
)
152
return clk_set_rate(clkp_parent,
new_rate
);
154
return sunxi_ccu_div_select_parent(sc, clk,
new_rate
);
161
return (
new_rate
== 0) ? 0 : ERANGE;
163
ratio = howmany(parent_rate,
new_rate
);
sunxi_ccu_phase.c
85
struct sunxi_ccu_clk *clk, u_int
new_rate
)
105
delay =
new_rate
== 180 ? 0 :
106
sunxi_ccu_phase_div(
new_rate
,
sunxi_ccu_fractional.c
106
struct sunxi_ccu_clk *clk, u_int
new_rate
)
123
return (
new_rate
== 0) ? 0 : ERANGE;
139
if (fractional->frac[i] ==
new_rate
) {
157
const int diff = abs(
new_rate
- rate);
sunxi_ccu_nm.c
103
struct sunxi_ccu_clk *clk, u_int
new_rate
)
152
const int diff =
new_rate
- rate;
161
const int diff = abs(
new_rate
- rate);
sunxi_ccu_prediv.c
91
struct sunxi_ccu_clk *clk, u_int
new_rate
)
sunxi_hdmiphy.c
367
sunxi_hdmiphy_set_rate(struct sunxi_hdmiphy_softc *sc, u_int
new_rate
)
380
const int diff =
new_rate
- tmp_rate;
/src/sys/arch/arm/amlogic/
meson_clk_div.c
81
struct meson_clk_clk *clk, u_int
new_rate
)
97
return clk_set_rate(clkp_parent,
new_rate
);
108
error = (
new_rate
== 0) ? 0 : ERANGE;
112
ratio = howmany(parent_rate,
new_rate
);
meson_clk_pll.c
100
u_int
new_rate
)
116
return clk_set_rate(clkp_parent,
new_rate
);
120
error = (
new_rate
== 0) ? 0 : ERANGE;
124
if (parent_rate >
new_rate
) {
125
n = parent_rate /
new_rate
;
134
tmp = DIV_ROUND_OFF(
new_rate
* (frac_max + 1), parent_rate);
meson_clk.h
255
struct meson_clk_clk *, u_int
new_rate
);
mesong12_clkc.c
1411
struct meson_clk_clk *clk, u_int
new_rate
)
1421
if (
new_rate
== (100000000 * 2 * 2)) { /* "2*2" is fixed factor */
1477
return meson_clk_pll_set_rate(sc, clk,
new_rate
);
/src/sys/arch/riscv/starfive/
jh71x0_clkc.c
239
struct jh71x0_clkc_clk *jcc, u_int
new_rate
)
255
return (
new_rate
== 0) ? 0 : ERANGE;
257
u_int ratio = howmany(parent_rate,
new_rate
);
311
struct jh71x0_clkc_clk *jcc, u_int
new_rate
)
328
return (
new_rate
== 0) ? 0 : ERANGE;
330
u_int ratio = howmany(parent_rate,
new_rate
);
428
struct jh71x0_clkc_clk *jcc, u_int
new_rate
)
444
return (
new_rate
== 0) ? 0 : ERANGE;
446
u_int ratio = howmany(parent_rate,
new_rate
);
/src/sys/dev/fdt/
cpufreq_dt.c
97
u_int old_rate,
new_rate
, old_uv, new_uv;
local in function:cpufreq_dt_set_rate
111
new_rate
= freq_khz * 1000;
114
if (old_rate ==
new_rate
)
130
error = clk_set_rate(sc->sc_clk,
new_rate
);
Completed in 19 milliseconds
Indexes created Sun Oct 12 20:09:57 GMT 2025