Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_phase.c17 unsigned int parent_rate, grandparent_rate; in ccu_phase_get_phase() local
45 grandparent_rate = clk_hw_get_rate(grandparent); in ccu_phase_get_phase()
46 if (!grandparent_rate) in ccu_phase_get_phase()
50 parent_div = grandparent_rate / parent_rate; in ccu_phase_get_phase()
60 unsigned int parent_rate, grandparent_rate; in ccu_phase_set_phase() local
81 grandparent_rate = clk_hw_get_rate(grandparent); in ccu_phase_set_phase()
82 if (!grandparent_rate) in ccu_phase_set_phase()
89 parent_div = grandparent_rate / parent_rate; in ccu_phase_set_phase()