Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/can/mscan/
H A Dmpc5xxx_can.c119 unsigned long freq_calc; in mpc512x_can_get_clock() local
166 freq_calc = clk_get_rate(clk_in); in mpc512x_can_get_clock()
167 freq_calc += 499999; in mpc512x_can_get_clock()
168 freq_calc /= 1000000; in mpc512x_can_get_clock()
169 freq_calc *= 1000000; in mpc512x_can_get_clock()
175 freq_calc, clockdiv, freq_calc / clockdiv); in mpc512x_can_get_clock()
188 freq_calc, freq_calc); in mpc512x_can_get_clock()
206 *mscan_clksrc, freq_calc); in mpc512x_can_get_clock()
223 freq_calc /= clockdiv; in mpc512x_can_get_clock()
228 *mscan_clksrc, freq_calc); in mpc512x_can_get_clock()
[all …]