Searched refs:DIV_ROUND_CLOSEST_ULL (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/clk/bcm/
H A Dclk-kona.c76 return DIV_ROUND_CLOSEST_ULL(combined, BILLION); scaled_div_build()
720 scaled_parent_rate = DIV_ROUND_CLOSEST_ULL(scaled_rate, clk_recalc_rate()
732 result = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, scaled_div); clk_recalc_rate()
779 scaled_parent_rate = DIV_ROUND_CLOSEST_ULL(scaled_rate, round_rate()
791 best_scaled_div = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, round_rate()
804 result = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, best_scaled_div); round_rate()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dcxd2820r_c.c82 if_ctl = 0x4000 - DIV_ROUND_CLOSEST_ULL(num, 41000); cxd2820r_set_frontend_c()
H A Dcxd2820r_t.c106 if_ctl = DIV_ROUND_CLOSEST_ULL(num, 41000); cxd2820r_set_frontend_t()
H A Dcxd2820r_t2.c123 if_ctl = DIV_ROUND_CLOSEST_ULL(num, 41000); cxd2820r_set_frontend_t2()
/linux-4.1.27/drivers/cpuidle/governors/
H A Dmenu.c314 data->predicted_us = DIV_ROUND_CLOSEST_ULL((uint64_t)data->next_timer_us * menu_select()
/linux-4.1.27/drivers/gpu/drm/i915/
H A Dintel_panel.c423 target_val = DIV_ROUND_CLOSEST_ULL((uint64_t)(source_val - source_min) * scale()
H A Dintel_display.c575 clock->vco = DIV_ROUND_CLOSEST_ULL((uint64_t)refclk * clock->m, chv_clock()
930 m2 = DIV_ROUND_CLOSEST_ULL(((uint64_t)target * clock.p * chv_find_best_dpll()
/linux-4.1.27/sound/soc/codecs/
H A Dpcm512x.c783 K = DIV_ROUND_CLOSEST_ULL(10000ULL * pll_rate * P, pllin_rate); pcm512x_find_pll_coeff()
/linux-4.1.27/include/linux/
H A Dkernel.h110 #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ macro

Completed in 349 milliseconds