Lines Matching defs:fix
25 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw);
28 rate = (unsigned long long int)parent_rate * fix->mult;
29 do_div(rate, fix->div);
36 struct clk_fixed_factor *fix = to_clk_fixed_factor(hw);
41 best_parent = (rate / fix->mult) * fix->div;
45 return (*prate / fix->div) * fix->mult;
72 struct clk_fixed_factor *fix;
78 fix = kmalloc(sizeof(*fix), GFP_KERNEL);
79 if (!fix)
83 fix->mult = mult;
84 fix->div = div;
85 fix->hw.init = &init;
96 hw = &fix->hw;
102 kfree(fix);
147 struct clk_fixed_factor *fix;
149 fix = to_clk_fixed_factor(hw);
152 kfree(fix);