Searched refs:phase_step (Results 1 – 1 of 1) sorted by relevance
10 #define phase_step(_width) (360 / (1 << (_width))) macro20 return phase_step(width) * val; in meson_clk_degrees_from_val()26 unsigned int val = DIV_ROUND_CLOSEST(degrees, phase_step(width)); in meson_clk_degrees_to_val()