Home
last modified time | relevance | path

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

/openbmc/u-boot/arch/arm/mach-tegra/
H A Dclock.c245 static int clk_get_divider(unsigned divider_bits, unsigned long parent_rate, in clk_get_divider() argument
249 unsigned max_divider = 1 << divider_bits; in clk_get_divider()
368 static int find_best_divider(unsigned divider_bits, unsigned long parent_rate, in find_best_divider() argument
378 int divider = clk_get_divider(divider_bits, divided_parent, in find_best_divider()
427 int err, mux_bits, divider_bits, type; in clock_get_periph_parent() local
430 err = get_periph_clock_info(periph_id, &mux_bits, &divider_bits, &type); in clock_get_periph_parent()
443 int mux_bits, divider_bits, source; in clock_adjust_periph_pll_div() local
449 &divider_bits); in clock_adjust_periph_pll_div()
451 divider = find_best_divider(divider_bits, pll_rate[parent], in clock_adjust_periph_pll_div()
711 int source, mux_bits, divider_bits; in clock_init() local
[all …]
/openbmc/u-boot/arch/arm/include/asm/arch-tegra/
H A Dclock.h314 int *divider_bits, int *type);
342 enum clock_id parent, int *mux_bits, int *divider_bits);
/openbmc/u-boot/arch/arm/mach-tegra/tegra20/
H A Dclock.c416 int *divider_bits, int *type) in get_periph_clock_info() argument
440 *divider_bits = 16; in get_periph_clock_info()
442 *divider_bits = 8; in get_periph_clock_info()
479 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
484 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
/openbmc/u-boot/arch/arm/mach-tegra/tegra114/
H A Dclock.c499 int *divider_bits, int *type) in get_periph_clock_info() argument
517 *divider_bits = 16; in get_periph_clock_info()
519 *divider_bits = 8; in get_periph_clock_info()
556 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
561 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
/openbmc/u-boot/arch/arm/mach-tegra/tegra30/
H A Dclock.c479 int *divider_bits, int *type) in get_periph_clock_info() argument
497 *divider_bits = 16; in get_periph_clock_info()
499 *divider_bits = 8; in get_periph_clock_info()
536 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
541 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
/openbmc/u-boot/arch/arm/mach-tegra/tegra124/
H A Dclock.c645 int *divider_bits, int *type) in get_periph_clock_info() argument
663 *divider_bits = 16; in get_periph_clock_info()
665 *divider_bits = 8; in get_periph_clock_info()
702 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
707 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
1072 int mux_bits, divider_bits, source; in clock_set_display_rate() local
1130 &mux_bits, &divider_bits); in clock_set_display_rate()
/openbmc/u-boot/arch/arm/mach-tegra/tegra210/
H A Dclock.c735 int *divider_bits, int *type) in get_periph_clock_info() argument
753 *divider_bits = 16; in get_periph_clock_info()
755 *divider_bits = 8; in get_periph_clock_info()
792 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
797 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()