Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4sp.c58 u32_t src_ticks_per_sec, in lm_time_resolution() argument
65 DbgBreakIf(!(src_ticks_per_sec && trg_ticks_per_sec)); in lm_time_resolution()
67 if (trg_ticks_per_sec > src_ticks_per_sec){ in lm_time_resolution()
68 dev_factor = trg_ticks_per_sec / src_ticks_per_sec; in lm_time_resolution()
74 result = CEIL_DIV(tmp_result, src_ticks_per_sec); in lm_time_resolution()
78 result = (u32_t)tmp_result / src_ticks_per_sec; in lm_time_resolution()
88 DbgBreakIf(src_time < src_ticks_per_sec); in lm_time_resolution()
89 result = ((u64_t)(src_time / src_ticks_per_sec)) * trg_ticks_per_sec; in lm_time_resolution()
99 src_time, src_ticks_per_sec, trg_ticks_per_sec, result); in lm_time_resolution()