Home
last modified time | relevance | path

Searched refs:clkid (Results 1 – 4 of 4) sorted by relevance

/rk3399_rockchip-uboot/arch/arm/mach-tegra/
H A Dclock.c72 static struct clk_pll *get_pll(enum clock_id clkid) in get_pll() argument
77 assert(clock_id_is_pll(clkid)); in get_pll()
78 if (clkid >= (enum clock_id)TEGRA_CLK_PLLS) { in get_pll()
79 debug("%s: Invalid PLL %d\n", __func__, clkid); in get_pll()
82 return &clkrst->crc_pll[clkid]; in get_pll()
85 __weak struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid) in clock_get_simple_pll() argument
90 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn, in clock_ll_read_pll() argument
93 struct clk_pll *pll = get_pll(clkid); in clock_ll_read_pll()
94 struct clk_pll_info *pllinfo = &tegra_pll_info_table[clkid]; in clock_ll_read_pll()
97 assert(clkid != CLOCK_ID_USB); in clock_ll_read_pll()
[all …]
/rk3399_rockchip-uboot/arch/arm/include/asm/arch-tegra/
H A Dclock.h74 int clock_set_pllout(enum clock_id clkid, enum pll_out_id pllout,
89 int clock_ll_read_pll(enum clock_id clkid, u32 *divm, u32 *divn,
97 void clock_enable(enum periph_id clkid);
104 void clock_disable(enum periph_id clkid);
112 void clock_set_enable(enum periph_id clkid, int enable);
246 unsigned clock_get_rate(enum clock_id clkid);
298 struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid);
372 int clock_set_rate(enum clock_id clkid, u32 n, u32 m, u32 p, u32 cpcon);
/rk3399_rockchip-uboot/drivers/clk/renesas/
H A Dclk-rcar-gen3.c690 const unsigned long clkid = clk->id & 0xffff; in gen3_clk_get_mod() local
697 if (priv->mod_clk[i].id != MOD_CLK_ID(clkid)) in gen3_clk_get_mod()
710 const unsigned long clkid = clk->id & 0xffff; in gen3_clk_get_core() local
717 if (priv->core_clk[i].id != clkid) in gen3_clk_get_core()
758 const unsigned long clkid = clk->id & 0xffff; in gen3_clk_endisable() local
759 const unsigned int reg = clkid / 100; in gen3_clk_endisable()
760 const unsigned int bit = clkid % 100; in gen3_clk_endisable()
767 clkid, reg, bit, enable ? "ON" : "OFF"); in gen3_clk_endisable()
/rk3399_rockchip-uboot/arch/arm/mach-tegra/tegra124/
H A Dclock.c1150 struct clk_pll_simple *clock_get_simple_pll(enum clock_id clkid) in clock_get_simple_pll() argument
1155 if (clkid == CLOCK_ID_DP) in clock_get_simple_pll()