Searched refs:DIV_ROUND_CLOSEST_ULL (Results 1 – 13 of 13) sorted by relevance
/linux-4.4.14/drivers/clk/bcm/ |
D | clk-kona.c | 77 return DIV_ROUND_CLOSEST_ULL(combined, BILLION); in scaled_div_build() 721 scaled_parent_rate = DIV_ROUND_CLOSEST_ULL(scaled_rate, in clk_recalc_rate() 733 result = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, scaled_div); in clk_recalc_rate() 780 scaled_parent_rate = DIV_ROUND_CLOSEST_ULL(scaled_rate, in round_rate() 792 best_scaled_div = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, in round_rate() 805 result = DIV_ROUND_CLOSEST_ULL(scaled_parent_rate, best_scaled_div); in round_rate()
|
/linux-4.4.14/drivers/cpuidle/governors/ |
D | menu.c | 314 data->predicted_us = DIV_ROUND_CLOSEST_ULL((uint64_t)data->next_timer_us * in menu_select()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
D | cxd2820r_c.c | 82 if_ctl = 0x4000 - DIV_ROUND_CLOSEST_ULL(num, 41000); in cxd2820r_set_frontend_c()
|
D | cxd2820r_t2.c | 123 if_ctl = DIV_ROUND_CLOSEST_ULL(num, 41000); in cxd2820r_set_frontend_t2()
|
D | cxd2820r_t.c | 106 if_ctl = DIV_ROUND_CLOSEST_ULL(num, 41000); in cxd2820r_set_frontend_t()
|
D | cx24120.c | 1252 inv_vco = DIV_ROUND_CLOSEST_ULL(0x400000000ULL, vco); in cx24120_set_vco()
|
/linux-4.4.14/drivers/thermal/ |
D | power_allocator.c | 306 granted_power[i] = DIV_ROUND_CLOSEST_ULL(req_range, in divvy_up_power()
|
/linux-4.4.14/include/linux/ |
D | kernel.h | 110 #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ macro
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_irq.c | 213 diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns); in drm_update_vblank_count()
|
/linux-4.4.14/sound/soc/codecs/ |
D | pcm512x.c | 781 K = DIV_ROUND_CLOSEST_ULL(10000ULL * pll_rate * P, pllin_rate); in pcm512x_find_pll_coeff()
|
/linux-4.4.14/net/ipv4/ |
D | fib_semantics.c | 572 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, in fib_rebalance()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_panel.c | 420 target_val = DIV_ROUND_CLOSEST_ULL((uint64_t)(source_val - source_min) * in scale()
|
D | intel_display.c | 692 clock->vco = DIV_ROUND_CLOSEST_ULL((uint64_t)refclk * clock->m, in chv_calc_dpll_params() 1031 m2 = DIV_ROUND_CLOSEST_ULL(((uint64_t)target * clock.p * in chv_find_best_dpll()
|