| /u-boot/include/ |
| A D | clk.h | 63 struct clk { struct 87 struct clk *clks; argument 226 struct clk *clk = devm_clk_get(dev, id); in devm_clk_get_optional() local 265 struct clk *clk) in clk_get_by_phandle() 271 struct clk *clk) in clk_get_by_index() 277 struct clk *clk) in clk_get_by_index_nodev() 288 struct clk *clk) in clk_get_by_name() 333 const char *name, struct clk *clk) in clk_get_by_name_optional() 357 struct clk *clk) in clk_get_by_name_nodev_optional() 595 static inline void clk_free(struct clk *clk) in clk_free() [all …]
|
| /u-boot/drivers/clk/ |
| A D | clk-uclass.c | 40 struct clk *clk) in clk_get_by_phandle() 77 struct clk *clk) in clk_get_by_index_tail() 116 int index, struct clk *clk) in clk_get_by_indexed_prop() 209 struct clk clk, parent_clk, *c, *p; in clk_set_default_parents() local 292 struct clk clk, *c; in clk_set_default_rates() local 457 void clk_free(struct clk *clk) in clk_free() 471 ulong clk_get_rate(struct clk *clk) in clk_get_rate() 622 int clk_enable(struct clk *clk) in clk_enable() 682 int clk_disable(struct clk *clk) in clk_disable() 757 struct clk *clk = dev_get_clk_ptr(dev); in clk_get_by_id() local [all …]
|
| A D | clk.c | 18 int clk_register(struct clk *clk, const char *drv_name, in clk_register() 57 ulong clk_generic_get_rate(struct clk *clk) in clk_generic_get_rate() 70 bool clk_dev_binded(struct clk *clk) in clk_dev_binded() 80 ulong ccf_clk_get_rate(struct clk *clk) in ccf_clk_get_rate() 90 ulong ccf_clk_set_rate(struct clk *clk, unsigned long rate) in ccf_clk_set_rate() 100 int ccf_clk_set_parent(struct clk *clk, struct clk *parent) in ccf_clk_set_parent() 115 static int ccf_clk_endisable(struct clk *clk, bool enable) in ccf_clk_endisable() 125 int ccf_clk_enable(struct clk *clk) in ccf_clk_enable() 130 int ccf_clk_disable(struct clk *clk) in ccf_clk_disable()
|
| A D | clk_sandbox_ccf.c | 27 struct clk clk; member 32 int sandbox_clk_enable_count(struct clk *clk) in sandbox_clk_enable_count() 44 static ulong clk_pllv3_get_rate(struct clk *clk) in clk_pllv3_get_rate() 60 struct clk *clk; in sandbox_clk_pllv3() local 89 struct clk clk; member 95 static int clk_gate2_enable(struct clk *clk) in clk_gate2_enable() 103 static int clk_gate2_disable(struct clk *clk) in clk_gate2_disable() 124 struct clk *clk; in sandbox_clk_register_gate2() local 150 static unsigned long sandbox_clk_composite_divider_recalc_rate(struct clk *clk) in sandbox_clk_composite_divider_recalc_rate() 174 struct clk *clk = ERR_PTR(-ENOMEM); in sandbox_clk_composite() local
|
| A D | clk_fixed_rate.c | 18 static ulong clk_fixed_rate_get_rate(struct clk *clk) in clk_fixed_rate_get_rate() 24 static int dummy_enable(struct clk *clk) in dummy_enable() 38 struct clk *clk = &plat->clk; in clk_fixed_rate_ofdata_to_plat_() local 51 static ulong clk_fixed_rate_raw_get_rate(struct clk *clk) in clk_fixed_rate_raw_get_rate() 71 struct clk *clk; in clk_register_fixed_rate() local
|
| A D | clk_sandbox.c | 14 static ulong sandbox_clk_get_rate(struct clk *clk) in sandbox_clk_get_rate() 27 static ulong sandbox_clk_round_rate(struct clk *clk, ulong rate) in sandbox_clk_round_rate() 43 static ulong sandbox_clk_set_rate(struct clk *clk, ulong rate) in sandbox_clk_set_rate() 63 static int sandbox_clk_enable(struct clk *clk) in sandbox_clk_enable() 78 static int sandbox_clk_disable(struct clk *clk) in sandbox_clk_disable() 93 static int sandbox_clk_request(struct clk *clk) in sandbox_clk_request() 104 static void sandbox_clk_free(struct clk *clk) in sandbox_clk_free()
|
| A D | clk-composite.c | 24 static u8 clk_composite_get_parent(struct clk *clk) in clk_composite_get_parent() 36 static int clk_composite_set_parent(struct clk *clk, struct clk *parent) in clk_composite_set_parent() 49 static unsigned long clk_composite_recalc_rate(struct clk *clk) in clk_composite_recalc_rate() 62 static ulong clk_composite_set_rate(struct clk *clk, unsigned long rate) in clk_composite_set_rate() 75 static int clk_composite_enable(struct clk *clk) in clk_composite_enable() 88 static int clk_composite_disable(struct clk *clk) in clk_composite_disable() 111 struct clk *clk; in clk_register_composite() local
|
| A D | clk-gate.c | 52 static void clk_gate_endisable(struct clk *clk, int enable) in clk_gate_endisable() 80 static int clk_gate_enable(struct clk *clk) in clk_gate_enable() 87 static int clk_gate_disable(struct clk *clk) in clk_gate_disable() 94 int clk_gate_is_enabled(struct clk *clk) in clk_gate_is_enabled() 126 struct clk *clk; in clk_register_gate() local
|
| A D | clk-hsdk-cgu.c | 428 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in pll_get() local 460 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in hsdk_pll_round_rate() local 536 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in pll_set() local 554 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in idiv_off() local 563 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in idiv_get() local 596 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in common_div_clk_set() local 653 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in idiv_set() local 684 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in hsdk_prepare_clock_tree_branch() local 703 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in hsdk_cgu_get_rate() local 713 struct hsdk_cgu_clk *clk = dev_get_priv(sclk->dev); in hsdk_cgu_set_rate() local [all …]
|
| /u-boot/drivers/clk/imx/ |
| A D | clk-imx8.c | 20 __weak ulong imx8_clk_get_rate(struct clk *clk) in imx8_clk_get_rate() 25 __weak ulong imx8_clk_set_rate(struct clk *clk, unsigned long rate) in imx8_clk_set_rate() 30 __weak int __imx8_clk_enable(struct clk *clk, bool enable) in __imx8_clk_enable() 35 static int imx8_clk_disable(struct clk *clk) in imx8_clk_disable() 40 static int imx8_clk_enable(struct clk *clk) in imx8_clk_enable() 49 struct clk clk; in soc_clk_dump() local
|
| A D | clk-imxrt1170.c | 18 static ulong imxrt1170_clk_get_rate(struct clk *clk) in imxrt1170_clk_get_rate() 32 static ulong imxrt1170_clk_set_rate(struct clk *clk, ulong rate) in imxrt1170_clk_set_rate() 46 static int __imxrt1170_clk_enable(struct clk *clk, bool enable) in __imxrt1170_clk_enable() 65 static int imxrt1170_clk_disable(struct clk *clk) in imxrt1170_clk_disable() 70 static int imxrt1170_clk_enable(struct clk *clk) in imxrt1170_clk_enable() 75 static int imxrt1170_clk_set_parent(struct clk *clk, struct clk *parent) in imxrt1170_clk_set_parent() 190 struct clk *clk, *clk1; in imxrt1170_clk_probe() local
|
| A D | clk-pllv3.c | 36 struct clk clk; member 49 static ulong clk_pllv3_genericv2_get_rate(struct clk *clk) in clk_pllv3_genericv2_get_rate() 73 static ulong clk_pllv3_generic_get_rate(struct clk *clk) in clk_pllv3_generic_get_rate() 108 static int clk_pllv3_generic_enable(struct clk *clk) in clk_pllv3_generic_enable() 126 static int clk_pllv3_generic_disable(struct clk *clk) in clk_pllv3_generic_disable() 158 static ulong clk_pllv3_sys_get_rate(struct clk *clk) in clk_pllv3_sys_get_rate() 167 static ulong clk_pllv3_sys_set_rate(struct clk *clk, ulong rate) in clk_pllv3_sys_set_rate() 204 static ulong clk_pllv3_av_get_rate(struct clk *clk) in clk_pllv3_av_get_rate() 222 static ulong clk_pllv3_av_set_rate(struct clk *clk, ulong rate) in clk_pllv3_av_set_rate() 272 static ulong clk_pllv3_enet_get_rate(struct clk *clk) in clk_pllv3_enet_get_rate() [all …]
|
| /u-boot/drivers/clk/tegra/ |
| A D | tegra-car-clk.c | 14 static int tegra_car_clk_request(struct clk *clk) in tegra_car_clk_request() 33 static ulong tegra_car_clk_get_rate(struct clk *clk) in tegra_car_clk_get_rate() 44 static ulong tegra_car_clk_set_rate(struct clk *clk, ulong rate) in tegra_car_clk_set_rate() 55 static int tegra_car_clk_enable(struct clk *clk) in tegra_car_clk_enable() 65 static int tegra_car_clk_disable(struct clk *clk) in tegra_car_clk_disable()
|
| A D | tegra186-clk.c | 13 static ulong tegra186_clk_get_rate(struct clk *clk) in tegra186_clk_get_rate() 32 static ulong tegra186_clk_set_rate(struct clk *clk, ulong rate) in tegra186_clk_set_rate() 52 static int tegra186_clk_en_dis(struct clk *clk, in tegra186_clk_en_dis() 69 static int tegra186_clk_enable(struct clk *clk) in tegra186_clk_enable() 77 static int tegra186_clk_disable(struct clk *clk) in tegra186_clk_disable()
|
| /u-boot/drivers/clk/mediatek/ |
| A D | clk-mtk.c | 44 static ulong mtk_clk_find_parent_rate(struct clk *clk, int id, in mtk_clk_find_parent_rate() 200 static ulong mtk_apmixedsys_get_rate(struct clk *clk) in mtk_apmixedsys_get_rate() 218 static int mtk_apmixedsys_enable(struct clk *clk) in mtk_apmixedsys_enable() 247 static int mtk_apmixedsys_disable(struct clk *clk) in mtk_apmixedsys_disable() 383 static ulong mtk_topckgen_get_rate(struct clk *clk) in mtk_topckgen_get_rate() 397 static ulong mtk_infrasys_get_rate(struct clk *clk) in mtk_infrasys_get_rate() 416 static int mtk_clk_mux_enable(struct clk *clk) in mtk_clk_mux_enable() 449 static int mtk_clk_mux_disable(struct clk *clk) in mtk_clk_mux_disable() 488 static int mtk_clk_gate_enable(struct clk *clk) in mtk_clk_gate_enable() 515 static int mtk_clk_gate_disable(struct clk *clk) in mtk_clk_gate_disable() [all …]
|
| /u-boot/arch/arm/mach-exynos/ |
| A D | clock.c | 189 struct exynos4_clock *clk = in exynos4_get_pll_clk() local 249 struct exynos5_clock *clk = in exynos5_get_pll_clk() local 371 struct exynos5_clock *clk = in exynos5_get_periph_rate() local 573 struct exynos4_clock *clk = in exynos4_get_arm_clk() local 617 struct exynos5_clock *clk = in exynos5_get_arm_clk() local 639 struct exynos4_clock *clk = in exynos4_get_pwm_clk() local 696 struct exynos4_clock *clk = in exynos4_get_uart_clk() local 787 struct exynos4_clock *clk = in exynos4_get_mmc_clk() local 837 struct exynos4_clock *clk = in exynos4_set_mmc_clk() local 872 struct exynos5_clock *clk = in exynos5_set_mmc_clk() local [all …]
|
| /u-boot/drivers/clk/at91/ |
| A D | clk-main.c | 37 struct clk clk; member 44 struct clk clk; member 55 struct clk clk; member 60 static int main_rc_enable(struct clk *clk) in main_rc_enable() 84 static int main_rc_disable(struct clk *clk) in main_rc_disable() 111 struct clk *clk; in at91_clk_main_rc() local 141 static int clk_main_osc_enable(struct clk *clk) in clk_main_osc_enable() 168 static int clk_main_osc_disable(struct clk *clk) in clk_main_osc_disable() 197 struct clk *clk; in at91_clk_main_osc() local 263 struct clk *clk; in at91_clk_rm9200_main() local [all …]
|
| A D | clk-utmi.c | 35 struct clk clk; member 49 static int clk_utmi_enable(struct clk *clk) in clk_utmi_enable() 102 static int clk_utmi_disable(struct clk *clk) in clk_utmi_disable() 111 static ulong clk_utmi_get_rate(struct clk *clk) in clk_utmi_get_rate() 128 struct clk *clk; in at91_clk_register_utmi() local 168 static int clk_utmi_sama7g5_enable(struct clk *clk) in clk_utmi_sama7g5_enable() 206 struct clk *clk; in at91_clk_sama7g5_register_utmi() local
|
| A D | clk-peripheral.c | 31 struct clk clk; member 40 struct clk clk; member 50 static int clk_peripheral_enable(struct clk *clk) in clk_peripheral_enable() 65 static int clk_peripheral_disable(struct clk *clk) in clk_peripheral_disable() 92 struct clk *clk; in at91_clk_register_peripheral() local 123 static int clk_sam9x5_peripheral_enable(struct clk *clk) in clk_sam9x5_peripheral_enable() 139 static int clk_sam9x5_peripheral_disable(struct clk *clk) in clk_sam9x5_peripheral_disable() 155 static ulong clk_sam9x5_peripheral_get_rate(struct clk *clk) in clk_sam9x5_peripheral_get_rate() 172 static ulong clk_sam9x5_peripheral_set_rate(struct clk *clk, ulong rate) in clk_sam9x5_peripheral_set_rate() 222 struct clk *clk; in at91_clk_register_sam9x5_peripheral() local
|
| A D | compat.c | 146 static int at91_slow_clk_enable(struct clk *clk) in at91_slow_clk_enable() 197 static int main_osc_clk_enable(struct clk *clk) in main_osc_clk_enable() 208 static ulong main_osc_clk_get_rate(struct clk *clk) in main_osc_clk_get_rate() 238 static int plla_clk_enable(struct clk *clk) in plla_clk_enable() 249 static ulong plla_clk_get_rate(struct clk *clk) in plla_clk_get_rate() 383 static ulong system_clk_get_rate(struct clk *clk) in system_clk_get_rate() 407 static int system_clk_enable(struct clk *clk) in system_clk_enable() 489 static int periph_clk_enable(struct clk *clk) in periph_clk_enable() 515 static ulong periph_get_rate(struct clk *clk) in periph_get_rate() 558 static int utmi_clk_enable(struct clk *clk) in utmi_clk_enable() [all …]
|
| /u-boot/drivers/clk/meson/ |
| A D | axg.c | 54 static int meson_set_gate(struct clk *clk, bool on) in meson_set_gate() 73 static int meson_clk_enable(struct clk *clk) in meson_clk_enable() 78 static int meson_clk_disable(struct clk *clk) in meson_clk_disable() 83 static unsigned long meson_clk81_get_rate(struct clk *clk) in meson_clk81_get_rate() 153 static ulong meson_mpll_get_rate(struct clk *clk, unsigned long id) in meson_mpll_get_rate() 203 static ulong meson_pll_get_rate(struct clk *clk, unsigned long id) in meson_pll_get_rate() 238 static ulong meson_clk_get_rate_by_id(struct clk *clk, unsigned long id) in meson_clk_get_rate_by_id() 283 static ulong meson_clk_get_rate(struct clk *clk) in meson_clk_get_rate()
|
| A D | axg-ao.c | 26 static int meson_set_gate(struct clk *clk, bool on) in meson_set_gate() 39 static int meson_clk_enable(struct clk *clk) in meson_clk_enable() 44 static int meson_clk_disable(struct clk *clk) in meson_clk_disable() 60 static int meson_clk_request(struct clk *clk) in meson_clk_request()
|
| A D | g12a-ao.c | 26 static int meson_set_gate(struct clk *clk, bool on) in meson_set_gate() 39 static int meson_clk_enable(struct clk *clk) in meson_clk_enable() 44 static int meson_clk_disable(struct clk *clk) in meson_clk_disable() 60 static int meson_clk_request(struct clk *clk) in meson_clk_request()
|
| /u-boot/arch/arm/mach-imx/mx7ulp/ |
| A D | pcc.c | 82 int pcc_clock_enable(enum pcc_clk clk, bool enable) in pcc_clock_enable() 112 int pcc_clock_sel(enum pcc_clk clk, enum scg_clk src) in pcc_clock_sel() 161 int pcc_clock_div_config(enum pcc_clk clk, bool frac, u8 div) in pcc_clock_div_config() 197 bool pcc_clock_is_enable(enum pcc_clk clk) in pcc_clock_is_enable() 213 int pcc_clock_get_clksrc(enum pcc_clk clk, enum scg_clk *src) in pcc_clock_get_clksrc() 254 u32 pcc_clock_get_rate(enum pcc_clk clk) in pcc_clock_get_rate()
|
| /u-boot/drivers/clk/renesas/ |
| A D | renesas-cpg-mssr.c | 25 bool renesas_clk_is_mod(struct clk *clk) in renesas_clk_is_mod() 30 int renesas_clk_get_mod(struct clk *clk, struct cpg_mssr_info *info, in renesas_clk_get_mod() 48 int renesas_clk_get_core(struct clk *clk, struct cpg_mssr_info *info, in renesas_clk_get_core() 65 int renesas_clk_get_parent(struct clk *clk, struct cpg_mssr_info *info, in renesas_clk_get_parent() 94 int renesas_clk_endisable(struct clk *clk, void __iomem *base, in renesas_clk_endisable()
|