Searched refs:DIV64_U64_ROUND_UP (Results 1 – 20 of 20) sorted by relevance
/linux-6.3-rc2/block/ |
A D | blk-iocost.c | 885 v = DIV64_U64_ROUND_UP(VTIME_PER_SEC, seqiops); in calc_lcoefs() 1130 parent_inuse = DIV64_U64_ROUND_UP( in __propagate_weights() 1932 iocg->hweight_active = DIV64_U64_ROUND_UP( in transfer_surpluses() 1991 iocg->hweight_inuse = DIV64_U64_ROUND_UP( in transfer_surpluses() 1996 inuse = DIV64_U64_ROUND_UP( in transfer_surpluses() 2001 st = DIV64_U64_ROUND_UP( in transfer_surpluses() 2005 wpt = DIV64_U64_ROUND_UP( in transfer_surpluses() 2008 wptp = DIV64_U64_ROUND_UP( in transfer_surpluses() 2036 inuse = DIV64_U64_ROUND_UP( in transfer_surpluses() 2304 u64 inflight_us = DIV64_U64_ROUND_UP( in ioc_timer_fn() [all …]
|
/linux-6.3-rc2/drivers/pwm/ |
A D | pwm-ab8500.c | 175 state->period = DIV64_U64_ROUND_UP((u64)div << 10, AB8500_PWM_CLKRATE); in ab8500_pwm_get_state() 176 state->duty_cycle = DIV64_U64_ROUND_UP((u64)div * duty_steps, AB8500_PWM_CLKRATE); in ab8500_pwm_get_state()
|
A D | pwm-sunplus.c | 145 state->period = DIV64_U64_ROUND_UP((u64)dd_freq * (u64)SP7021_PWM_FREQ_SCALER in sunplus_pwm_get_state() 150 state->duty_cycle = DIV64_U64_ROUND_UP((u64)dd_freq * (u64)duty * NSEC_PER_SEC, in sunplus_pwm_get_state()
|
A D | pwm-mtk-disp.c | 208 state->period = DIV64_U64_ROUND_UP(period * (clk_div + 1) * NSEC_PER_SEC, rate); in mtk_disp_pwm_get_state() 210 state->duty_cycle = DIV64_U64_ROUND_UP(high_width * (clk_div + 1) * NSEC_PER_SEC, in mtk_disp_pwm_get_state()
|
A D | pwm-clk.c | 67 rate = DIV64_U64_ROUND_UP(NSEC_PER_SEC, period); in pwm_clk_apply()
|
A D | pwm-atmel.c | 379 state->period = DIV64_U64_ROUND_UP(tmp, rate); in atmel_pwm_get_state() 388 state->duty_cycle = DIV64_U64_ROUND_UP(tmp, rate); in atmel_pwm_get_state()
|
A D | pwm-xilinx.c | 55 return DIV64_U64_ROUND_UP(cycles * NSEC_PER_SEC, in xilinx_timer_get_period()
|
A D | pwm-twl.c | 63 int duty_cycle = DIV64_U64_ROUND_UP(duty_ns * TWL_PWM_MAX, period_ns) + 1; in twl_pwm_config()
|
/linux-6.3-rc2/net/ceph/ |
A D | striper.c | 266 u64 num_periods = DIV64_U64_ROUND_UP(size, period); in ceph_get_num_objects()
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_sdlb.c | 56 return DIV64_U64_ROUND_UP((rate * pup_interval), (clk_hz * 8)); in sparx5_sdlb_pup_token_get()
|
/linux-6.3-rc2/include/linux/ |
A D | math64.h | 301 #define DIV64_U64_ROUND_UP(ll, d) \ macro
|
/linux-6.3-rc2/drivers/ptp/ |
A D | ptp_qoriq.c | 224 diff = DIV64_U64_ROUND_UP(diff, 2); in ptp_qoriq_adjfine()
|
A D | ptp_ocp.c | 1837 s->start = DIV64_U64_ROUND_UP(start_ns, s->period); in ptp_ocp_signal_set()
|
/linux-6.3-rc2/drivers/gpu/drm/bridge/ |
A D | nwl-dsi.c | 192 return DIV64_U64_ROUND_UP(ps * dsi->mode.clock * bpp, in ps2bc()
|
A D | ti-sn65dsi86.c | 1456 pre_div = DIV64_U64_ROUND_UP(period * pdata->pwm_refclk_freq, in ti_sn_pwm_apply()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/display/amdgpu_dm/ |
A D | amdgpu_dm_mst_types.c | 671 return (int) DIV64_U64_ROUND_UP(peak_kbps * 64, (54 * 8 * 1000)); in kbps_to_peak_pbn()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/display/ |
A D | intel_audio.c | 551 hblank_delta = DIV64_U64_ROUND_UP(mul_u32_u32(5 * (link_clk + cdclk), pixel_clk), in calc_hblank_early_prog()
|
A D | skl_watermark.c | 1437 DIV64_U64_ROUND_UP(iter->size * data_rate, in skl_allocate_plane_ddb()
|
/linux-6.3-rc2/drivers/tty/serial/ |
A D | serial_core.c | 351 port->frame_time = DIV64_U64_ROUND_UP(frame_time, baud); in uart_update_timeout()
|
/linux-6.3-rc2/mm/ |
A D | vmscan.c | 3126 DIV64_U64_ROUND_UP(scan * fraction[file], in get_scan_count()
|
Completed in 67 milliseconds