Searched refs:priv_rate (Results 1 – 1 of 1) sorted by relevance
18 ulong mhz_rate, priv_rate; in soc_clk_ctl() local40 priv_rate = ctl & CLK_MHZ ? (*rate) * HZ_IN_MHZ : *rate; in soc_clk_ctl()41 ret = clk_set_rate(&clk, priv_rate); in soc_clk_ctl()54 priv_rate = clk_get_rate(&clk); in soc_clk_ctl()58 mhz_rate = ceil(priv_rate, HZ_IN_MHZ); in soc_clk_ctl()61 priv_rate = mhz_rate; in soc_clk_ctl()64 *rate = priv_rate; in soc_clk_ctl()67 printf("HSDK: clock '%s' rate %lu MHz\n", name, priv_rate); in soc_clk_ctl()69 printf("HSDK: clock '%s' rate %lu Hz\n", name, priv_rate); in soc_clk_ctl()