Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/clk/ti/
Dfapll.c352 return DIV_ROUND_UP_ULL(rate, synth_div_m); in ti_fapll_synth_recalc_rate()
375 post_div_m = DIV_ROUND_UP_ULL((u64)parent_rate * SYNTH_PHASE_K, rate); in ti_fapll_synth_set_frac_rate()
383 synth_int_div = DIV_ROUND_UP_ULL((u64)parent_rate * in ti_fapll_synth_set_frac_rate()
432 r = DIV_ROUND_UP_ULL(r, SYNTH_MAX_INT_DIV * SYNTH_MAX_DIV_M); in ti_fapll_synth_round_rate()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Dhdmi5_core.c76 v = DIV_ROUND_UP_ULL(ss_scl_high * sfr, 1000000); in hdmi_core_ddc_init()
83 v = DIV_ROUND_UP_ULL(ss_scl_low * sfr, 1000000); in hdmi_core_ddc_init()
90 v = DIV_ROUND_UP_ULL(fs_scl_high * sfr, 1000000); in hdmi_core_ddc_init()
97 v = DIV_ROUND_UP_ULL(fs_scl_low * sfr, 1000000); in hdmi_core_ddc_init()
104 v = DIV_ROUND_UP_ULL(sda_hold * sfr, 1000000); in hdmi_core_ddc_init()
/linux-4.1.27/drivers/pwm/
Dpwm-pca9685.c99 duty = DIV_ROUND_UP_ULL(duty, period_ns); in pca9685_pwm_config()
/linux-4.1.27/include/linux/
Dkernel.h68 #define DIV_ROUND_UP_ULL(ll,d) \ macro
72 # define DIV_ROUND_UP_SECTOR_T(ll,d) DIV_ROUND_UP_ULL(ll, d)
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_sysfs.c82 units = DIV_ROUND_UP_ULL(30ULL * bias, in calc_residency()
92 ret = DIV_ROUND_UP_ULL(raw_time, div); in calc_residency()
Dintel_pm.c1455 ret = DIV_ROUND_UP_ULL(ret, 64 * 10000) + 2; in ilk_wm_method1()
/linux-4.1.27/drivers/iio/light/
Dapds9300.c78 lux = 3150 * ch0 - (unsigned long)DIV_ROUND_UP_ULL(ch0 in apds9300_calculate_lux()
/linux-4.1.27/arch/arm/mach-omap2/
Dtimer.c590 arch_timer_freq = DIV_ROUND_UP_ULL(rate * num, den); in realtime_counter_init()
Dvc.c220 return DIV_ROUND_UP_ULL(32768ULL * (u64)usec, 1000000ULL); in omap_usec_to_32k()
/linux-4.1.27/drivers/i2c/busses/
Di2c-nomadik.c378 ns = DIV_ROUND_UP_ULL(1000000000ULL, i2c_clk); in setup_i2c_controller()
/linux-4.1.27/drivers/usb/host/
Dxhci.c4377 timeout_ns = DIV_ROUND_UP_ULL(timeout_ns * 105, 100); in xhci_calculate_intel_u1_timeout()
4406 timeout_ns = DIV_ROUND_UP_ULL(timeout_ns, 1000); in xhci_calculate_u1_timeout()
4457 timeout_ns = DIV_ROUND_UP_ULL(timeout_ns, 256 * 1000); in xhci_calculate_u2_timeout()
/linux-4.1.27/drivers/memory/
Demif.c221 t_ck = (u32)DIV_ROUND_UP_ULL(1000000000000ull, freq); in set_ddr_clk_period()
/linux-4.1.27/drivers/md/bcache/
Dsuper.c787 d->nr_stripes = DIV_ROUND_UP_ULL(sectors, d->stripe_size); in bcache_device_init()
/linux-4.1.27/drivers/crypto/
Dhifn_795x.c824 dev->rng_wait_time = DIV_ROUND_UP_ULL(NSEC_PER_SEC, in hifn_register_rng()
/linux-4.1.27/net/bluetooth/
Dl2cap_core.c3143 ertm_to = DIV_ROUND_UP_ULL(ertm_to, 1000); in __l2cap_set_ertm_timeouts()