Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/clk/bcm/
Dclk-kona.c77 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/
Dmenu.c314 data->predicted_us = DIV_ROUND_CLOSEST_ULL((uint64_t)data->next_timer_us * in menu_select()
/linux-4.4.14/drivers/media/dvb-frontends/
Dcxd2820r_c.c82 if_ctl = 0x4000 - DIV_ROUND_CLOSEST_ULL(num, 41000); in cxd2820r_set_frontend_c()
Dcxd2820r_t2.c123 if_ctl = DIV_ROUND_CLOSEST_ULL(num, 41000); in cxd2820r_set_frontend_t2()
Dcxd2820r_t.c106 if_ctl = DIV_ROUND_CLOSEST_ULL(num, 41000); in cxd2820r_set_frontend_t()
Dcx24120.c1252 inv_vco = DIV_ROUND_CLOSEST_ULL(0x400000000ULL, vco); in cx24120_set_vco()
/linux-4.4.14/drivers/thermal/
Dpower_allocator.c306 granted_power[i] = DIV_ROUND_CLOSEST_ULL(req_range, in divvy_up_power()
/linux-4.4.14/include/linux/
Dkernel.h110 #define DIV_ROUND_CLOSEST_ULL(x, divisor)( \ macro
/linux-4.4.14/drivers/gpu/drm/
Ddrm_irq.c213 diff = DIV_ROUND_CLOSEST_ULL(diff_ns, framedur_ns); in drm_update_vblank_count()
/linux-4.4.14/sound/soc/codecs/
Dpcm512x.c781 K = DIV_ROUND_CLOSEST_ULL(10000ULL * pll_rate * P, pllin_rate); in pcm512x_find_pll_coeff()
/linux-4.4.14/net/ipv4/
Dfib_semantics.c572 upper_bound = DIV_ROUND_CLOSEST_ULL((u64)w << 31, in fib_rebalance()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_panel.c420 target_val = DIV_ROUND_CLOSEST_ULL((uint64_t)(source_val - source_min) * in scale()
Dintel_display.c692 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()