Home
last modified time | relevance | path

Searched refs:clk_root_index (Results 1 – 7 of 7) sorted by relevance

/openbmc/u-boot/arch/arm/include/asm/arch-mx7/
H A Dclock_slice.h98 int clock_set_src(enum clk_root_index clock_id, enum clk_root_src clock_src);
99 int clock_get_src(enum clk_root_index clock_id, enum clk_root_src *p_clock_src);
100 int clock_set_prediv(enum clk_root_index clock_id, enum root_pre_div pre_div);
101 int clock_get_prediv(enum clk_root_index clock_id, enum root_pre_div *pre_div);
102 int clock_set_postdiv(enum clk_root_index clock_id, enum root_post_div div);
103 int clock_get_postdiv(enum clk_root_index clock_id, enum root_post_div *div);
104 int clock_set_autopostdiv(enum clk_root_index clock_id, enum root_auto_div div,
108 int clock_get_target_val(enum clk_root_index clock_id, u32 *val);
109 int clock_set_target_val(enum clk_root_index clock_id, u32 val);
110 int clock_root_cfg(enum clk_root_index clock_id, enum root_pre_div pre_div,
[all …]
H A Dclock.h102 enum clk_root_index { enum
179 enum clk_root_index root;
314 enum clk_root_index entry;
325 u32 get_root_clk(enum clk_root_index clock_id);
/openbmc/u-boot/arch/arm/include/asm/arch-imx8m/
H A Dclock.h38 enum clk_root_index { enum
408 enum clk_root_index entry;
662 unsigned int mxc_get_clock(enum clk_root_index clk);
664 int clock_root_enabled(enum clk_root_index clock_id);
665 int clock_root_cfg(enum clk_root_index clock_id, enum root_pre_div pre_div,
667 int clock_set_target_val(enum clk_root_index clock_id, u32 val);
668 int clock_get_target_val(enum clk_root_index clock_id, u32 *val);
669 int clock_get_prediv(enum clk_root_index clock_id, enum root_pre_div *pre_div);
670 int clock_get_postdiv(enum clk_root_index clock_id,
672 int clock_get_src(enum clk_root_index clock_id, enum clk_root_src *p_clock_src);
/openbmc/u-boot/arch/arm/mach-imx/mx7/
H A Dclock_slice.c375 static int select(enum clk_root_index clock_id) in select()
409 int clock_set_src(enum clk_root_index clock_id, enum clk_root_src clock_src) in clock_set_src()
434 int clock_get_src(enum clk_root_index clock_id, enum clk_root_src *p_clock_src) in clock_get_src()
457 int clock_set_prediv(enum clk_root_index clock_id, enum root_pre_div pre_div) in clock_set_prediv()
489 int clock_get_prediv(enum clk_root_index clock_id, enum root_pre_div *pre_div) in clock_get_prediv()
520 int clock_set_postdiv(enum clk_root_index clock_id, enum root_post_div div) in clock_set_postdiv()
548 int clock_get_postdiv(enum clk_root_index clock_id, enum root_post_div *div) in clock_get_postdiv()
650 int clock_get_target_val(enum clk_root_index clock_id, u32 *val) in clock_get_target_val()
660 int clock_set_target_val(enum clk_root_index clock_id, u32 val) in clock_set_target_val()
671 int clock_root_cfg(enum clk_root_index clock_id, enum root_pre_div pre_div, in clock_root_cfg()
[all …]
H A Dclock.c437 u32 get_root_clk(enum clk_root_index clock_id) in get_root_clk()
/openbmc/u-boot/arch/arm/mach-imx/imx8m/
H A Dclock_slice.c478 static int select(enum clk_root_index clock_id) in select()
532 int clock_get_target_val(enum clk_root_index clock_id, u32 *val) in clock_get_target_val()
555 int clock_set_target_val(enum clk_root_index clock_id, u32 val) in clock_set_target_val()
578 int clock_root_enabled(enum clk_root_index clock_id) in clock_root_enabled()
632 int clock_get_prediv(enum clk_root_index clock_id, enum root_pre_div *pre_div) in clock_get_prediv()
669 int clock_get_postdiv(enum clk_root_index clock_id, in clock_get_postdiv()
712 int clock_get_src(enum clk_root_index clock_id, enum clk_root_src *p_clock_src) in clock_get_src()
H A Dclock.c285 static u32 get_root_clk(enum clk_root_index clock_id) in get_root_clk()
325 unsigned int mxc_get_clock(enum clk_root_index clk) in mxc_get_clock()