Home
last modified time | relevance | path

Searched defs:clk (Results 1 – 25 of 254) sorted by relevance

1234567891011

/external/u-boot/drivers/clk/tegra/
Dtegra-car-clk.c12 static int tegra_car_clk_request(struct clk *clk) in tegra_car_clk_request()
31 static int tegra_car_clk_free(struct clk *clk) in tegra_car_clk_free()
39 static ulong tegra_car_clk_get_rate(struct clk *clk) in tegra_car_clk_get_rate()
50 static ulong tegra_car_clk_set_rate(struct clk *clk, ulong rate) in tegra_car_clk_set_rate()
61 static int tegra_car_clk_enable(struct clk *clk) in tegra_car_clk_enable()
71 static int tegra_car_clk_disable(struct clk *clk) in tegra_car_clk_disable()
Dtegra186-clk.c12 static ulong tegra186_clk_get_rate(struct clk *clk) in tegra186_clk_get_rate()
31 static ulong tegra186_clk_set_rate(struct clk *clk, ulong rate) in tegra186_clk_set_rate()
51 static int tegra186_clk_en_dis(struct clk *clk, in tegra186_clk_en_dis()
68 static int tegra186_clk_enable(struct clk *clk) in tegra186_clk_enable()
76 static int tegra186_clk_disable(struct clk *clk) in tegra186_clk_disable()
/external/u-boot/drivers/clk/
Dclk-uclass.c25 struct phandle_1_arg *cells, struct clk *clk) in clk_get_by_index_platdata()
39 static int clk_of_xlate_default(struct clk *clk, in clk_of_xlate_default()
58 int index, struct clk *clk) in clk_get_by_indexed_prop()
101 int clk_get_by_index(struct udevice *dev, int index, struct clk *clk) in clk_get_by_index()
141 struct clk clk, parent_clk; in clk_set_default_parents() local
192 struct clk clk; in clk_set_default_rates() local
256 int clk_get_by_name(struct udevice *dev, const char *name, struct clk *clk) in clk_get_by_name()
272 int clk_release_all(struct clk *clk, int count) in clk_release_all()
297 int clk_request(struct udevice *dev, struct clk *clk) in clk_request()
311 int clk_free(struct clk *clk) in clk_free()
[all …]
Dclk_meson.c131 static int meson_set_gate(struct clk *clk, bool on) in meson_set_gate()
149 static int meson_clk_enable(struct clk *clk) in meson_clk_enable()
154 static int meson_clk_disable(struct clk *clk) in meson_clk_disable()
159 static unsigned long meson_clk81_get_rate(struct clk *clk) in meson_clk81_get_rate()
229 static ulong meson_mpll_get_rate(struct clk *clk, unsigned long id) in meson_mpll_get_rate()
278 static ulong meson_pll_get_rate(struct clk *clk, unsigned long id) in meson_pll_get_rate()
313 static ulong meson_clk_get_rate_by_id(struct clk *clk, unsigned long id) in meson_clk_get_rate_by_id()
358 static ulong meson_clk_get_rate(struct clk *clk) in meson_clk_get_rate()
Dclk-hsdk-cgu.c313 static inline void hsdk_idiv_write(struct hsdk_cgu_clk *clk, u32 val) in hsdk_idiv_write()
318 static inline u32 hsdk_idiv_read(struct hsdk_cgu_clk *clk) in hsdk_idiv_read()
323 static inline void hsdk_pll_write(struct hsdk_cgu_clk *clk, u32 reg, u32 val) in hsdk_pll_write()
328 static inline u32 hsdk_pll_read(struct hsdk_cgu_clk *clk, u32 reg) in hsdk_pll_read()
333 static inline void hsdk_pll_spcwrite(struct hsdk_cgu_clk *clk, u32 reg, u32 val) in hsdk_pll_spcwrite()
338 static inline u32 hsdk_pll_spcread(struct hsdk_cgu_clk *clk, u32 reg) in hsdk_pll_spcread()
343 static inline void hsdk_pll_set_cfg(struct hsdk_cgu_clk *clk, in hsdk_pll_set_cfg()
359 static inline bool hsdk_pll_is_locked(struct hsdk_cgu_clk *clk) in hsdk_pll_is_locked()
364 static inline bool hsdk_pll_is_err(struct hsdk_cgu_clk *clk) in hsdk_pll_is_err()
374 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in pll_get() local
[all …]
Dclk_sandbox.c17 static ulong sandbox_clk_get_rate(struct clk *clk) in sandbox_clk_get_rate()
27 static ulong sandbox_clk_set_rate(struct clk *clk, ulong rate) in sandbox_clk_set_rate()
44 static int sandbox_clk_enable(struct clk *clk) in sandbox_clk_enable()
56 static int sandbox_clk_disable(struct clk *clk) in sandbox_clk_disable()
/external/walt/android/WALT/app/src/main/jni/
Dsync_clock.c130 int send_cmd(struct clock_connection *clk, char cmd) { in send_cmd()
135 int send_async(struct clock_connection *clk, char cmd) { in send_async()
140 int bulk_read(struct clock_connection *clk) { in bulk_read()
147 int micros(struct clock_connection *clk) { in micros()
153 void flush_incoming(struct clock_connection *clk) { in flush_incoming()
164 void read_remote_timestamps(struct clock_connection *clk, int * times_remote) { in read_remote_timestamps()
186 void zero_remote(struct clock_connection *clk) { in zero_remote()
199 void improve_minE(struct clock_connection *clk) { in improve_minE()
248 void improve_maxE(struct clock_connection *clk) { in improve_maxE()
294 void improve_bounds(struct clock_connection *clk) { in improve_bounds()
[all …]
/external/u-boot/include/
Dclk.h53 struct clk { struct
75 struct clk *clks; argument
149 struct clk *clk) in clk_get_by_index()
160 struct clk *clk) in clk_get_by_name()
165 static inline int clk_release_all(struct clk *clk, int count) in clk_release_all()
/external/u-boot/arch/arm/mach-exynos/
Dclock.c187 struct exynos4_clock *clk = in exynos4_get_pll_clk() local
217 struct exynos4x12_clock *clk = in exynos4x12_get_pll_clk() local
247 struct exynos5_clock *clk = in exynos5_get_pll_clk() local
306 struct exynos5420_clock *clk = in exynos542x_get_pll_clk() local
369 struct exynos5_clock *clk = in exynos5_get_periph_rate() local
468 struct exynos5420_clock *clk = in exynos542x_get_periph_rate() local
571 struct exynos4_clock *clk = in exynos4_get_arm_clk() local
593 struct exynos4x12_clock *clk = in exynos4x12_get_arm_clk() local
615 struct exynos5_clock *clk = in exynos5_get_arm_clk() local
637 struct exynos4_clock *clk = in exynos4_get_pwm_clk() local
[all …]
/external/u-boot/arch/arm/mach-imx/mx7ulp/
Dpcc.c81 int pcc_clock_enable(enum pcc_clk clk, bool enable) in pcc_clock_enable()
111 int pcc_clock_sel(enum pcc_clk clk, enum scg_clk src) in pcc_clock_sel()
160 int pcc_clock_div_config(enum pcc_clk clk, bool frac, u8 div) in pcc_clock_div_config()
196 bool pcc_clock_is_enable(enum pcc_clk clk) in pcc_clock_is_enable()
212 int pcc_clock_get_clksrc(enum pcc_clk clk, enum scg_clk *src) in pcc_clock_get_clksrc()
253 u32 pcc_clock_get_rate(enum pcc_clk clk) in pcc_clock_get_rate()
Dscg.c52 static u32 scg_sircdiv_get_rate(enum scg_clk clk) in scg_sircdiv_get_rate()
90 static u32 scg_fircdiv_get_rate(enum scg_clk clk) in scg_fircdiv_get_rate()
128 static u32 scg_soscdiv_get_rate(enum scg_clk clk) in scg_soscdiv_get_rate()
166 static u32 scg_apll_pfd_get_rate(enum scg_clk clk) in scg_apll_pfd_get_rate()
216 static u32 scg_spll_pfd_get_rate(enum scg_clk clk) in scg_spll_pfd_get_rate()
353 static u32 scg_nic_get_rate(enum scg_clk clk) in scg_nic_get_rate()
426 static u32 scg_sys_get_rate(enum scg_clk clk) in scg_sys_get_rate()
555 u32 scg_clk_get_rate(enum scg_clk clk) in scg_clk_get_rate()
615 int scg_enable_pll_pfd(enum scg_clk clk, u32 frac) in scg_enable_pll_pfd()
1060 void scg_a7_sys_clk_sel(enum scg_sys_src clk) in scg_a7_sys_clk_sel()
/external/grpc-grpc/src/core/lib/gpr/
Dtime_precise.cc29 static void gpr_get_cycle_counter(int64_t int* clk) { in gpr_get_cycle_counter()
37 static void gpr_get_cycle_counter(int64_t* clk) { in gpr_get_cycle_counter()
61 void gpr_precise_clock_now(gpr_timespec* clk) { in gpr_precise_clock_now()
74 void gpr_precise_clock_now(gpr_timespec* clk) { in gpr_precise_clock_now()
/external/u-boot/arch/arm/mach-sunxi/
Dclock_sun9i.c85 void clock_set_pll1(unsigned int clk) in clock_set_pll1()
112 void clock_set_pll2(unsigned int clk) in clock_set_pll2()
133 void clock_set_pll6(unsigned int clk) in clock_set_pll6()
147 void clock_set_pll12(unsigned int clk) in clock_set_pll12()
162 void clock_set_pll4(unsigned int clk) in clock_set_pll4()
Dclock_sun6i.c110 void clock_set_pll1(unsigned int clk) in clock_set_pll1()
148 void clock_set_pll3(unsigned int clk) in clock_set_pll3()
181 void clock_set_pll5(unsigned int clk, bool sigma_delta_enable) in clock_set_pll5()
213 void clock_set_mipi_pll(unsigned int clk) in clock_set_mipi_pll()
254 void clock_set_pll10(unsigned int clk) in clock_set_pll10()
278 void clock_set_pll11(unsigned int clk, bool sigma_delta_enable) in clock_set_pll11()
/external/u-boot/drivers/video/
Dipu.h22 struct clk { struct
25 /* Source clock this clk depends on */ argument
26 struct clk *parent; argument
28 struct clk *secondary; argument
42 void (*recalc) (struct clk *); argument
48 int (*set_rate) (struct clk *, unsigned long); argument
53 unsigned long (*round_rate) (struct clk *, unsigned long); argument
58 int (*enable) (struct clk *); argument
63 void (*disable) (struct clk *); argument
65 int (*set_parent) (struct clk *, struct clk *); argument
Dipu_common.c89 void clk_enable(struct clk *clk) in clk_enable()
98 void clk_disable(struct clk *clk) in clk_disable()
108 int clk_get_usecount(struct clk *clk) in clk_get_usecount()
116 u32 clk_get_rate(struct clk *clk) in clk_get_rate()
124 struct clk *clk_get_parent(struct clk *clk) in clk_get_parent()
132 int clk_set_rate(struct clk *clk, unsigned long rate) in clk_set_rate()
143 long clk_round_rate(struct clk *clk, unsigned long rate) in clk_round_rate()
151 int clk_set_parent(struct clk *clk, struct clk *parent) in clk_set_parent()
159 static int clk_ipu_enable(struct clk *clk) in clk_ipu_enable()
181 static void clk_ipu_disable(struct clk *clk) in clk_ipu_disable()
[all …]
/external/u-boot/drivers/clk/renesas/
Dclk-rcar-gen3.c88 static int gen3_clk_get_parent(struct gen3_clk_priv *priv, struct clk *clk, in gen3_clk_get_parent()
110 static int gen3_clk_setup_sdif_div(struct clk *clk) in gen3_clk_setup_sdif_div()
141 static int gen3_clk_enable(struct clk *clk) in gen3_clk_enable()
152 static int gen3_clk_disable(struct clk *clk) in gen3_clk_disable()
159 static u64 gen3_clk_get_rate64(struct clk *clk) in gen3_clk_get_rate64()
323 static ulong gen3_clk_get_rate(struct clk *clk) in gen3_clk_get_rate()
328 static ulong gen3_clk_set_rate(struct clk *clk, ulong rate) in gen3_clk_set_rate()
335 static int gen3_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args) in gen3_clk_of_xlate()
Drenesas-cpg-mssr.c64 bool renesas_clk_is_mod(struct clk *clk) in renesas_clk_is_mod()
69 int renesas_clk_get_mod(struct clk *clk, struct cpg_mssr_info *info, in renesas_clk_get_mod()
87 int renesas_clk_get_core(struct clk *clk, struct cpg_mssr_info *info, in renesas_clk_get_core()
104 int renesas_clk_get_parent(struct clk *clk, struct cpg_mssr_info *info, in renesas_clk_get_parent()
133 int renesas_clk_endisable(struct clk *clk, void __iomem *base, bool enable) in renesas_clk_endisable()
Dclk-rcar-gen2.c56 static int gen2_clk_enable(struct clk *clk) in gen2_clk_enable()
63 static int gen2_clk_disable(struct clk *clk) in gen2_clk_disable()
70 static ulong gen2_clk_get_rate(struct clk *clk) in gen2_clk_get_rate()
205 static ulong gen2_clk_set_rate(struct clk *clk, ulong rate) in gen2_clk_set_rate()
210 static int gen2_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args) in gen2_clk_of_xlate()
/external/u-boot/arch/arm/mach-s5pc1xx/
Dclock.c27 struct s5pc100_clock *clk = in s5pc100_get_pll_clk() local
78 struct s5pc110_clock *clk = in s5pc110_get_pll_clk() local
135 struct s5pc110_clock *clk = in s5pc110_get_arm_clk() local
155 struct s5pc100_clock *clk = in s5pc100_get_arm_clk() local
177 struct s5pc100_clock *clk = in get_hclk() local
194 struct s5pc100_clock *clk = in get_pclkd1() local
215 struct s5pc110_clock *clk = in get_hclk_sys() local
244 struct s5pc110_clock *clk = in get_pclk_sys() local
/external/u-boot/drivers/clk/at91/
Dclk-slow.c11 static int at91_slow_clk_enable(struct clk *clk) in at91_slow_clk_enable()
16 static ulong at91_slow_clk_get_rate(struct clk *clk) in at91_slow_clk_get_rate()
Dclk-plladiv.c14 static int at91_plladiv_clk_enable(struct clk *clk) in at91_plladiv_clk_enable()
19 static ulong at91_plladiv_clk_get_rate(struct clk *clk) in at91_plladiv_clk_get_rate()
38 static ulong at91_plladiv_clk_set_rate(struct clk *clk, ulong rate) in at91_plladiv_clk_set_rate()
Dclk-system.c46 static ulong system_clk_get_rate(struct clk *clk) in system_clk_get_rate()
58 static ulong system_clk_set_rate(struct clk *clk, ulong rate) in system_clk_set_rate()
70 static int system_clk_enable(struct clk *clk) in system_clk_enable()
Dclk-plla.c16 static int plla_clk_enable(struct clk *clk) in plla_clk_enable()
27 static ulong plla_clk_get_rate(struct clk *clk) in plla_clk_get_rate()
Dclk-main.c16 static int main_osc_clk_enable(struct clk *clk) in main_osc_clk_enable()
27 static ulong main_osc_clk_get_rate(struct clk *clk) in main_osc_clk_get_rate()

1234567891011