Searched refs:mul_u64_u32_shr (Results 1 – 3 of 3) sorted by relevance
/openbsd/sys/dev/pci/drm/i915/ |
H A D | i915_hwmon.c | 102 return mul_u64_u32_shr(reg_value, scale_factor, nshift); in hwm_field_read_and_scale() 151 *energy = mul_u64_u32_shr(ei->accum_energy, SF_ENERGY, in hwm_energy() 182 out = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in hwm_power1_max_interval_show() 217 max_win = mul_u64_u32_shr(tau4, SF_TIME, hwmon->scl_shift_time + x_w); in hwm_power1_max_interval_store() 388 min = mul_u64_u32_shr(min, SF_POWER, hwmon->scl_shift_power); in hwm_power_max_read() 390 max = mul_u64_u32_shr(max, SF_POWER, hwmon->scl_shift_power); in hwm_power_max_read() 477 *val = mul_u64_u32_shr(REG_FIELD_GET(POWER_SETUP_I1_DATA_MASK, uval), in hwm_power_read() 594 *val = mul_u64_u32_shr(REG_FIELD_GET(POWER_SETUP_I1_DATA_MASK, uval), in hwm_curr_read()
|
/openbsd/sys/dev/pci/drm/include/linux/ |
H A D | math64.h | 66 mul_u64_u32_shr(uint64_t x, uint32_t y, unsigned int shift) in mul_u64_u32_shr() function
|
/openbsd/sys/dev/pci/drm/i915/gvt/ |
H A D | handlers.c | 687 …new_rate = DIV64_U64_ROUND_CLOSEST(mul_u64_u32_shr(pixel_clk, MSEC_PER_SEC, 0), mul_u32_u32(htotal… in vgpu_update_refresh_rate()
|