Searched refs:DIV_ROUND_UP_ULL (Results 1 - 15 of 15) sorted by relevance
/linux-4.1.27/drivers/clk/ti/ |
H A D | fapll.c | 352 return DIV_ROUND_UP_ULL(rate, synth_div_m); ti_fapll_synth_recalc_rate() 375 post_div_m = DIV_ROUND_UP_ULL((u64)parent_rate * SYNTH_PHASE_K, rate); ti_fapll_synth_set_frac_rate() 383 synth_int_div = DIV_ROUND_UP_ULL((u64)parent_rate * ti_fapll_synth_set_frac_rate() 432 r = DIV_ROUND_UP_ULL(r, SYNTH_MAX_INT_DIV * SYNTH_MAX_DIV_M); ti_fapll_synth_round_rate()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
H A D | hdmi5_core.c | 76 v = DIV_ROUND_UP_ULL(ss_scl_high * sfr, 1000000); hdmi_core_ddc_init() 83 v = DIV_ROUND_UP_ULL(ss_scl_low * sfr, 1000000); hdmi_core_ddc_init() 90 v = DIV_ROUND_UP_ULL(fs_scl_high * sfr, 1000000); hdmi_core_ddc_init() 97 v = DIV_ROUND_UP_ULL(fs_scl_low * sfr, 1000000); hdmi_core_ddc_init() 104 v = DIV_ROUND_UP_ULL(sda_hold * sfr, 1000000); hdmi_core_ddc_init()
|
/linux-4.1.27/drivers/pwm/ |
H A D | pwm-pca9685.c | 99 duty = DIV_ROUND_UP_ULL(duty, period_ns); pca9685_pwm_config()
|
/linux-4.1.27/drivers/gpu/drm/i915/ |
H A D | i915_sysfs.c | 82 units = DIV_ROUND_UP_ULL(30ULL * bias, calc_residency() 92 ret = DIV_ROUND_UP_ULL(raw_time, div); calc_residency()
|
H A D | intel_pm.c | 1455 ret = DIV_ROUND_UP_ULL(ret, 64 * 10000) + 2; ilk_wm_method1()
|
/linux-4.1.27/drivers/iio/light/ |
H A D | apds9300.c | 78 lux = 3150 * ch0 - (unsigned long)DIV_ROUND_UP_ULL(ch0 apds9300_calculate_lux()
|
/linux-4.1.27/include/linux/ |
H A D | kernel.h | 68 #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/arch/arm/mach-omap2/ |
H A D | timer.c | 590 arch_timer_freq = DIV_ROUND_UP_ULL(rate * num, den); realtime_counter_init()
|
H A D | vc.c | 220 return DIV_ROUND_UP_ULL(32768ULL * (u64)usec, 1000000ULL); omap_usec_to_32k()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-nomadik.c | 378 ns = DIV_ROUND_UP_ULL(1000000000ULL, i2c_clk); setup_i2c_controller()
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | super.c | 787 d->nr_stripes = DIV_ROUND_UP_ULL(sectors, d->stripe_size); bcache_device_init()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | xhci.c | 4377 timeout_ns = DIV_ROUND_UP_ULL(timeout_ns * 105, 100); xhci_calculate_intel_u1_timeout() 4406 timeout_ns = DIV_ROUND_UP_ULL(timeout_ns, 1000); xhci_calculate_u1_timeout() 4457 timeout_ns = DIV_ROUND_UP_ULL(timeout_ns, 256 * 1000); xhci_calculate_u2_timeout()
|
/linux-4.1.27/drivers/memory/ |
H A D | emif.c | 221 t_ck = (u32)DIV_ROUND_UP_ULL(1000000000000ull, freq); set_ddr_clk_period()
|
/linux-4.1.27/drivers/crypto/ |
H A D | hifn_795x.c | 824 dev->rng_wait_time = DIV_ROUND_UP_ULL(NSEC_PER_SEC, hifn_register_rng()
|
/linux-4.1.27/net/bluetooth/ |
H A D | l2cap_core.c | 3143 ertm_to = DIV_ROUND_UP_ULL(ertm_to, 1000); __l2cap_set_ertm_timeouts()
|
Completed in 572 milliseconds