Searched refs:priv_rate (Results 1 – 1 of 1) sorted by relevance
20 ulong mhz_rate, priv_rate; in soc_clk_ctl() local42 priv_rate = ctl & CLK_MHZ ? (*rate) * HZ_IN_MHZ : *rate; in soc_clk_ctl()43 ret = clk_set_rate(&clk, priv_rate); in soc_clk_ctl()56 priv_rate = clk_get_rate(&clk); in soc_clk_ctl()60 mhz_rate = ceil(priv_rate, HZ_IN_MHZ); in soc_clk_ctl()63 priv_rate = mhz_rate; in soc_clk_ctl()66 *rate = priv_rate; in soc_clk_ctl()69 printf("HSDK: clock '%s' rate %lu MHz\n", name, priv_rate); in soc_clk_ctl()71 printf("HSDK: clock '%s' rate %lu Hz\n", name, priv_rate); in soc_clk_ctl()
Completed in 4 milliseconds