Home
last modified time | relevance | path

Searched refs:refclk (Results 1 – 25 of 30) sorted by relevance

12

/external/u-boot/drivers/video/rockchip/
Drk_mipi.c207 u32 refclk = priv->ref_clk; in rk_mipi_phy_enable() local
208 u32 remain = refclk; in rk_mipi_phy_enable()
261 max_prediv = (refclk / (5 * MHz)); in rk_mipi_phy_enable()
262 min_prediv = ((refclk / (40 * MHz)) ? (refclk / (40 * MHz) + 1) : 1); in rk_mipi_phy_enable()
274 if ((ddr_clk * i % refclk < remain) && in rk_mipi_phy_enable()
275 (ddr_clk * i / refclk) < max_fbdiv) { in rk_mipi_phy_enable()
277 remain = ddr_clk * i % refclk; in rk_mipi_phy_enable()
280 fbdiv = ddr_clk * prediv / refclk; in rk_mipi_phy_enable()
281 ddr_clk = refclk * fbdiv / prediv; in rk_mipi_phy_enable()
285 __func__, refclk, prediv, fbdiv, ddr_clk); in rk_mipi_phy_enable()
/external/u-boot/arch/arm/dts/
Dkeystone-k2hk-evm.dts25 clock-output-names = "refclk-sys";
32 clock-output-names = "refclk-pass";
39 clock-output-names = "refclk-arm";
46 clock-output-names = "refclk-ddr3a";
53 clock-output-names = "refclk-ddr3b";
Dkeystone-k2e-evm.dts26 clock-output-names = "refclk-sys";
33 clock-output-names = "refclk-pass";
40 clock-output-names = "refclk-ddr3a";
Darmada-xp.dtsi173 clocks = <&coreclk 2>, <&refclk>;
179 clocks = <&coreclk 2>, <&refclk>;
264 refclk: oscillator { label
Dkeystone-k2l-evm.dts25 clock-output-names = "refclk-sys";
Darmada-38x.dtsi412 clocks = <&coreclk 2>, <&refclk>;
419 clocks = <&coreclk 2>, <&refclk>;
609 refclk: oscillator { label
Darmada-375.dtsi75 refclk: oscillator { label
429 clocks = <&coreclk 0>, <&refclk>;
436 clocks = <&coreclk 0>, <&refclk>;
Ddm816x.dtsi113 clock-names = "refclk";
123 clock-names = "refclk";
Dam437x-gp-evm.dts126 refclk: oscillator { label
485 clocks = <&refclk 0>;
519 clocks = <&refclk 0>;
Darmada-385-amc.dts164 &refclk {
Ddra7.dtsi1390 clock-names = "sysclk", "refclk";
1410 "wkupclk", "refclk",
1430 "wkupclk", "refclk",
1473 "refclk";
1485 "refclk";
1501 "refclk";
Duniphier-ld4.dtsi34 refclk: ref { label
Duniphier-sld8.dtsi34 refclk: ref { label
Duniphier-pro5.dtsi114 refclk: ref { label
Duniphier-pxs3.dtsi121 refclk: ref { label
Duniphier-pro4.dtsi42 refclk: ref { label
Dam4372.dtsi838 clock-names = "wkupclk", "refclk";
857 clock-names = "wkupclk", "refclk";
/external/u-boot/drivers/clk/
Dclk_stm32mp1.c391 u8 refclk[REFCLK_SIZE]; member
467 .refclk[0] = (p1), \
468 .refclk[1] = (p2), \
469 .refclk[2] = (p3), \
470 .refclk[3] = (p4), \
815 ulong refclk, dfout; in stm32mp1_read_pll_freq() local
841 refclk = stm32mp1_clk_get_fixed(priv, pll[pll_id].refclk[src]); in stm32mp1_read_pll_freq()
843 debug(" refclk = %d kHz\n", (u32)(refclk / 1000)); in stm32mp1_read_pll_freq()
857 dfout = (ulong)lldiv((unsigned long long)refclk * in stm32mp1_read_pll_freq()
862 dfout = (ulong)(refclk * (divn + 1) / (divm + 1) * (divy + 1)); in stm32mp1_read_pll_freq()
[all …]
/external/u-boot/arch/arm/cpu/armv7/bcm235xx/
Dclk-core.h73 struct refclk *refclk_str_to_clk(const char *name);
409 struct refclk { struct
460 static inline struct refclk *to_refclk(struct clk *clock) in to_refclk()
462 return container_of(clock, struct refclk, clk); in to_refclk()
Dclk-bcm235xx.c24 static struct refclk clk_name = { \
52 struct refclk *procclk;
68 struct refclk *refclk_str_to_clk(const char *name) in refclk_str_to_clk()
Dclk-core.c175 struct refclk *ref = refclk_str_to_clk(*clock); in peri_clk_set_rate()
211 struct refclk *ref; in peri_clk_get_rate()
/external/u-boot/arch/arm/cpu/armv7/bcm281xx/
Dclk-core.h73 struct refclk *refclk_str_to_clk(const char *name);
409 struct refclk { struct
460 static inline struct refclk *to_refclk(struct clk *clock) in to_refclk()
462 return container_of(clock, struct refclk, clk); in to_refclk()
Dclk-bcm281xx.c24 static struct refclk clk_name = { \
52 struct refclk *procclk;
68 struct refclk *refclk_str_to_clk(const char *name) in refclk_str_to_clk()
Dclk-core.c175 struct refclk *ref = refclk_str_to_clk(*clock); in peri_clk_set_rate()
211 struct refclk *ref; in peri_clk_get_rate()
/external/u-boot/arch/arm/mach-imx/mx5/
Dclock.c163 uint64_t refclk, temp; in decode_pll() local
194 refclk = infreq * 2; in decode_pll()
196 refclk *= 2; in decode_pll()
198 do_div(refclk, pdf + 1); in decode_pll()
199 temp = refclk * mfn_abs; in decode_pll()
201 ret = refclk * mfi; in decode_pll()

12