/* Traits of this clock: prepare - clk_prepare only ensures that parents are prepared enable - clk_enable only ensures that parents are enabled rate - rate is fixed. clk->rate = parent->rate / div * mult parent - fixed parent. No clk_set_parent support  */
static unsigned long clk_factor_recalc_rate(struct clk_hw *hw, unsigned long parent_rate)
/* Traits of this clock: prepare - clk_prepare only ensures that parents are prepared enable - clk_enable only ensures that parents are enabled rate - rate is fixed. clk->rate = parent->rate / div * mult parent - fixed parent. No clk_set_parent support  */
static unsigned long clk_factor_recalc_rate(struct clk_hw *hw, unsigned long parent_rate)
{
    struct clk_fixed_factor *fix = to_clk_fixed_factor(hw);
    unsigned long long int rate;
    rate = (unsigned long long int)parent_rate * fix->mult;
    rate /= fix->div;
    return (unsigned long)rate;
}