Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/clk/meson/
Dclk-phase.c10 #define phase_step(_width) (360 / (1 << (_width))) macro
20 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()