/external/u-boot/include/ |
D | clk.h | 60 struct clk { struct 73 * struct clk_bulk - A handle to (allowing control of) a bulk of clocks. argument 85 struct clk *clks; argument 217 struct clk *clk) in clk_get_by_index() 228 struct clk *clk) in clk_get_by_name() 233 static inline int clk_release_all(struct clk *clk, int count) in clk_release_all() 404 static inline bool clk_valid(struct clk *clk) in clk_valid() 430 #define clk_prepare_enable(clk) clk_enable(clk) argument 431 #define clk_disable_unprepare(clk) clk_disable(clk) argument
|
/external/u-boot/drivers/clk/tegra/ |
D | tegra-car-clk.c | 12 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()
|
D | tegra186-clk.c | 12 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/ |
D | clk-uclass.c | 26 struct phandle_1_arg *cells, struct clk *clk) in clk_get_by_index_platdata() 40 static int clk_of_xlate_default(struct clk *clk, in clk_of_xlate_default() 63 struct clk *clk) in clk_get_by_index_tail() 101 int index, struct clk *clk) in clk_get_by_indexed_prop() 124 int clk_get_by_index(struct udevice *dev, int index, struct clk *clk) in clk_get_by_index() 136 int clk_get_by_index_nodev(ofnode node, int index, struct clk *clk) in clk_get_by_index_nodev() 183 struct clk clk, parent_clk; in clk_set_default_parents() local 248 struct clk clk; in clk_set_default_rates() local 331 int clk_get_by_name(struct udevice *dev, const char *name, struct clk *clk) in clk_get_by_name() 347 int clk_release_all(struct clk *clk, int count) in clk_release_all() [all …]
|
D | clk-ti-sci.c | 43 static int ti_sci_clk_of_xlate(struct clk *clk, in ti_sci_clk_of_xlate() 63 static int ti_sci_clk_request(struct clk *clk) in ti_sci_clk_request() 69 static int ti_sci_clk_free(struct clk *clk) in ti_sci_clk_free() 75 static ulong ti_sci_clk_get_rate(struct clk *clk) in ti_sci_clk_get_rate() 96 static ulong ti_sci_clk_set_rate(struct clk *clk, ulong rate) in ti_sci_clk_set_rate() 117 static int ti_sci_clk_set_parent(struct clk *clk, struct clk *parent) in ti_sci_clk_set_parent() 161 static int ti_sci_clk_enable(struct clk *clk) in ti_sci_clk_enable() 181 static int ti_sci_clk_disable(struct clk *clk) in ti_sci_clk_disable()
|
D | clk_sandbox_ccf.c | 23 struct clk clk; member 28 int sandbox_clk_enable_count(struct clk *clk) in sandbox_clk_enable_count() 40 static ulong clk_pllv3_get_rate(struct clk *clk) in clk_pllv3_get_rate() 56 struct clk *clk; in sandbox_clk_pllv3() local 85 struct clk clk; member 91 static int clk_gate2_enable(struct clk *clk) in clk_gate2_enable() 99 static int clk_gate2_disable(struct clk *clk) in clk_gate2_disable() 120 struct clk *clk; in sandbox_clk_register_gate2() local 145 static unsigned long sandbox_clk_composite_divider_recalc_rate(struct clk *clk) in sandbox_clk_composite_divider_recalc_rate() 169 struct clk *clk = ERR_PTR(-ENOMEM); in sandbox_clk_composite() local
|
D | clk-composite.c | 19 static u8 clk_composite_get_parent(struct clk *clk) in clk_composite_get_parent() 28 static int clk_composite_set_parent(struct clk *clk, struct clk *parent) in clk_composite_set_parent() 38 static unsigned long clk_composite_recalc_rate(struct clk *clk) in clk_composite_recalc_rate() 48 static ulong clk_composite_set_rate(struct clk *clk, unsigned long rate) in clk_composite_set_rate() 58 static int clk_composite_enable(struct clk *clk) in clk_composite_enable() 68 static int clk_composite_disable(struct clk *clk) in clk_composite_disable() 94 struct clk *clk; in clk_register_composite() local
|
D | clk-gate.c | 44 static void clk_gate_endisable(struct clk *clk, int enable) in clk_gate_endisable() 73 static int clk_gate_enable(struct clk *clk) in clk_gate_enable() 80 static int clk_gate_disable(struct clk *clk) in clk_gate_disable() 87 int clk_gate_is_enabled(struct clk *clk) in clk_gate_is_enabled() 120 struct clk *clk; in clk_register_gate() local
|
D | clk_sandbox.c | 19 static ulong sandbox_clk_get_rate(struct clk *clk) in sandbox_clk_get_rate() 32 static ulong sandbox_clk_set_rate(struct clk *clk, ulong rate) in sandbox_clk_set_rate() 52 static int sandbox_clk_enable(struct clk *clk) in sandbox_clk_enable() 67 static int sandbox_clk_disable(struct clk *clk) in sandbox_clk_disable() 82 static int sandbox_clk_request(struct clk *clk) in sandbox_clk_request() 93 static int sandbox_clk_free(struct clk *clk) in sandbox_clk_free()
|
D | clk.c | 15 int clk_register(struct clk *clk, const char *drv_name, in clk_register() 50 ulong clk_generic_get_rate(struct clk *clk) in clk_generic_get_rate() 60 bool clk_dev_binded(struct clk *clk) in clk_dev_binded()
|
D | clk-hsdk-cgu.c | 313 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 …]
|
/external/u-boot/drivers/clk/imx/ |
D | clk-imx8.c | 18 __weak ulong imx8_clk_get_rate(struct clk *clk) in imx8_clk_get_rate() 23 __weak ulong imx8_clk_set_rate(struct clk *clk, unsigned long rate) in imx8_clk_set_rate() 28 __weak int __imx8_clk_enable(struct clk *clk, bool enable) in __imx8_clk_enable() 33 static int imx8_clk_disable(struct clk *clk) in imx8_clk_disable() 38 static int imx8_clk_enable(struct clk *clk) in imx8_clk_enable() 47 struct clk clk; in soc_clk_dump() local
|
D | clk-imx6q.c | 26 static ulong imx6q_clk_get_rate(struct clk *clk) in imx6q_clk_get_rate() 44 static ulong imx6q_clk_set_rate(struct clk *clk, unsigned long rate) in imx6q_clk_set_rate() 51 static int __imx6q_clk_enable(struct clk *clk, bool enable) in __imx6q_clk_enable() 74 static int imx6q_clk_disable(struct clk *clk) in imx6q_clk_disable() 79 static int imx6q_clk_enable(struct clk *clk) in imx6q_clk_enable()
|
D | clk-gate2.c | 29 struct clk clk; member 38 static int clk_gate2_enable(struct clk *clk) in clk_gate2_enable() 51 static int clk_gate2_disable(struct clk *clk) in clk_gate2_disable() 63 static ulong clk_gate2_set_rate(struct clk *clk, ulong rate) in clk_gate2_set_rate() 86 struct clk *clk; in clk_register_gate2() local
|
/external/walt/android/WALT/app/src/main/jni/ |
D | sync_clock.c | 130 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/arch/arm/mach-exynos/ |
D | clock.c | 187 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/drivers/clk/mediatek/ |
D | clk-mtk.c | 42 static int mtk_clk_find_parent_rate(struct clk *clk, int id, in mtk_clk_find_parent_rate() 112 static void mtk_pll_set_rate_regs(struct clk *clk, u32 pcw, int postdiv) in mtk_pll_set_rate_regs() 148 static void mtk_pll_calc_values(struct clk *clk, u32 *pcw, u32 *postdiv, in mtk_pll_calc_values() 173 static ulong mtk_apmixedsys_set_rate(struct clk *clk, ulong rate) in mtk_apmixedsys_set_rate() 184 static ulong mtk_apmixedsys_get_rate(struct clk *clk) in mtk_apmixedsys_get_rate() 202 static int mtk_apmixedsys_enable(struct clk *clk) in mtk_apmixedsys_enable() 231 static int mtk_apmixedsys_disable(struct clk *clk) in mtk_apmixedsys_disable() 268 static int mtk_topckgen_get_factor_rate(struct clk *clk, u32 off) in mtk_topckgen_get_factor_rate() 290 static int mtk_topckgen_get_mux_rate(struct clk *clk, u32 off) in mtk_topckgen_get_mux_rate() 307 static ulong mtk_topckgen_get_rate(struct clk *clk) in mtk_topckgen_get_rate() [all …]
|
/external/u-boot/drivers/clk/meson/ |
D | axg.c | 51 static int meson_set_gate(struct clk *clk, bool on) in meson_set_gate() 70 static int meson_clk_enable(struct clk *clk) in meson_clk_enable() 75 static int meson_clk_disable(struct clk *clk) in meson_clk_disable() 80 static unsigned long meson_clk81_get_rate(struct clk *clk) in meson_clk81_get_rate() 150 static ulong meson_mpll_get_rate(struct clk *clk, unsigned long id) in meson_mpll_get_rate() 200 static ulong meson_pll_get_rate(struct clk *clk, unsigned long id) in meson_pll_get_rate() 235 static ulong meson_clk_get_rate_by_id(struct clk *clk, unsigned long id) in meson_clk_get_rate_by_id() 280 static ulong meson_clk_get_rate(struct clk *clk) in meson_clk_get_rate()
|
D | gxbb.c | 195 static int meson_set_gate_by_id(struct clk *clk, unsigned long id, bool on) in meson_set_gate_by_id() 234 static int meson_clk_enable(struct clk *clk) in meson_clk_enable() 239 static int meson_clk_disable(struct clk *clk) in meson_clk_disable() 268 static ulong meson_div_get_rate(struct clk *clk, unsigned long id) in meson_div_get_rate() 315 static ulong meson_div_set_rate(struct clk *clk, unsigned long id, ulong rate, in meson_div_set_rate() 444 static ulong meson_mux_get_parent(struct clk *clk, unsigned long id) in meson_mux_get_parent() 489 static ulong meson_mux_set_parent(struct clk *clk, unsigned long id, in meson_mux_set_parent() 557 static ulong meson_mux_get_rate(struct clk *clk, unsigned long id) in meson_mux_get_rate() 567 static unsigned long meson_clk81_get_rate(struct clk *clk) in meson_clk81_get_rate() 638 static ulong meson_mpll_get_rate(struct clk *clk, unsigned long id) in meson_mpll_get_rate() [all …]
|
/external/u-boot/arch/arm/mach-imx/mx7ulp/ |
D | pcc.c | 81 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()
|
/external/grpc-grpc/src/core/lib/gpr/ |
D | time_precise.cc | 29 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/drivers/clk/rockchip/ |
D | clk_rk3308.c | 123 static ulong rk3308_i2c_get_clk(struct clk *clk) in rk3308_i2c_get_clk() 153 static ulong rk3308_i2c_set_clk(struct clk *clk, uint hz) in rk3308_i2c_set_clk() 187 static ulong rk3308_mac_set_clk(struct clk *clk, uint hz) in rk3308_mac_set_clk() 217 static int rk3308_mac_set_speed_clk(struct clk *clk, uint hz) in rk3308_mac_set_speed_clk() 233 static ulong rk3308_mmc_get_clk(struct clk *clk) in rk3308_mmc_get_clk() 263 static ulong rk3308_mmc_set_clk(struct clk *clk, ulong set_rate) in rk3308_mmc_set_clk() 305 static ulong rk3308_saradc_get_clk(struct clk *clk) in rk3308_saradc_get_clk() 317 static ulong rk3308_saradc_set_clk(struct clk *clk, uint hz) in rk3308_saradc_set_clk() 333 static ulong rk3308_tsadc_get_clk(struct clk *clk) in rk3308_tsadc_get_clk() 345 static ulong rk3308_tsadc_set_clk(struct clk *clk, uint hz) in rk3308_tsadc_set_clk() [all …]
|
/external/u-boot/drivers/video/imx/ |
D | ipu.h | 22 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
|
/external/u-boot/arch/arm/mach-sunxi/ |
D | clock_sun9i.c | 85 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()
|
/external/u-boot/drivers/clk/renesas/ |
D | clk-rcar-gen3.c | 88 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, ulong rate) in gen3_clk_setup_sdif_div() 141 static int gen3_clk_enable(struct clk *clk) in gen3_clk_enable() 148 static int gen3_clk_disable(struct clk *clk) in gen3_clk_disable() 155 static u64 gen3_clk_get_rate64(struct clk *clk) in gen3_clk_get_rate64() 319 static ulong gen3_clk_get_rate(struct clk *clk) in gen3_clk_get_rate() 324 static ulong gen3_clk_set_rate(struct clk *clk, ulong rate) in gen3_clk_set_rate() 331 static int gen3_clk_of_xlate(struct clk *clk, struct ofnode_phandle_args *args) in gen3_clk_of_xlate()
|