Home
last modified time | relevance | path

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

/dflybsd-src/sys/dev/drm/amd/powerplay/hwmgr/
H A Dsmu7_thermal.c59 uint64_t tmp64; in smu7_fan_ctrl_get_fan_speed_percent() local
73 tmp64 = (uint64_t)duty * 100; in smu7_fan_ctrl_get_fan_speed_percent()
74 do_div(tmp64, duty100); in smu7_fan_ctrl_get_fan_speed_percent()
75 *speed = (uint32_t)tmp64; in smu7_fan_ctrl_get_fan_speed_percent()
200 uint64_t tmp64; in smu7_fan_ctrl_set_fan_speed_percent() local
217 tmp64 = (uint64_t)speed * duty100; in smu7_fan_ctrl_set_fan_speed_percent()
218 do_div(tmp64, 100); in smu7_fan_ctrl_set_fan_speed_percent()
219 duty = (uint32_t)tmp64; in smu7_fan_ctrl_set_fan_speed_percent()
H A Dvega10_thermal.c256 uint64_t tmp64; in vega10_fan_ctrl_set_fan_speed_percent() local
273 tmp64 = (uint64_t)speed * duty100; in vega10_fan_ctrl_set_fan_speed_percent()
274 do_div(tmp64, 100); in vega10_fan_ctrl_set_fan_speed_percent()
275 duty = (uint32_t)tmp64; in vega10_fan_ctrl_set_fan_speed_percent()
/dflybsd-src/sys/vfs/hammer/
H A Dhammer_vnops.c2652 int64_t tmp64; in hammer_vop_strategy_read() local
2733 tmp64 = ran_end + MAXPHYS + 1; /* work-around GCC-4 bug */ in hammer_vop_strategy_read()
2734 if (tmp64 < ran_end) in hammer_vop_strategy_read()
2966 int64_t tmp64; in hammer_vop_bmap() local
3028 tmp64 = ran_end + MAXPHYS + 1; /* work-around GCC-4 bug */ in hammer_vop_bmap()
3029 if (tmp64 < ran_end) in hammer_vop_bmap()
H A Dhammer_object.c1930 int64_t tmp64; in hammer_ip_delete_range() local
1958 tmp64 = ran_end + MAXPHYS + 1; /* work around GCC-4 bug */ in hammer_ip_delete_range()
1959 if (tmp64 < ran_end) in hammer_ip_delete_range()
/dflybsd-src/sys/dev/drm/radeon/
H A Dci_dpm.c1000 u64 tmp64; in ci_thermal_setup_fan_table() local
1014 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in ci_thermal_setup_fan_table()
1015 do_div(tmp64, 10000); in ci_thermal_setup_fan_table()
1016 fdo_min = (u16)tmp64; in ci_thermal_setup_fan_table()
1113 u64 tmp64; in ci_fan_ctrl_get_fan_speed_percent() local
1124 tmp64 = (u64)duty * 100; in ci_fan_ctrl_get_fan_speed_percent()
1125 do_div(tmp64, duty100); in ci_fan_ctrl_get_fan_speed_percent()
1126 *speed = (u32)tmp64; in ci_fan_ctrl_get_fan_speed_percent()
1139 u64 tmp64; in ci_fan_ctrl_set_fan_speed_percent() local
1156 tmp64 = (u64)speed * duty100; in ci_fan_ctrl_set_fan_speed_percent()
[all …]
H A Dsi_dpm.c6035 u64 tmp64; in si_thermal_setup_fan_table() local
6049 tmp64 = (u64)rdev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table()
6050 do_div(tmp64, 10000); in si_thermal_setup_fan_table()
6051 fdo_min = (u16)tmp64; in si_thermal_setup_fan_table()
6136 u64 tmp64; in si_fan_ctrl_get_fan_speed_percent() local
6147 tmp64 = (u64)duty * 100; in si_fan_ctrl_get_fan_speed_percent()
6148 do_div(tmp64, duty100); in si_fan_ctrl_get_fan_speed_percent()
6149 *speed = (u32)tmp64; in si_fan_ctrl_get_fan_speed_percent()
6163 u64 tmp64; in si_fan_ctrl_set_fan_speed_percent() local
6179 tmp64 = (u64)speed * duty100; in si_fan_ctrl_set_fan_speed_percent()
[all …]
/dflybsd-src/sys/dev/drm/amd/amdgpu/
H A Dsi_dpm.c6471 u64 tmp64; in si_thermal_setup_fan_table() local
6485 tmp64 = (u64)adev->pm.dpm.fan.pwm_min * duty100; in si_thermal_setup_fan_table()
6486 do_div(tmp64, 10000); in si_thermal_setup_fan_table()
6487 fdo_min = (u16)tmp64; in si_thermal_setup_fan_table()
6564 u64 tmp64; in si_dpm_get_fan_speed_percent() local
6576 tmp64 = (u64)duty * 100; in si_dpm_get_fan_speed_percent()
6577 do_div(tmp64, duty100); in si_dpm_get_fan_speed_percent()
6578 *speed = (u32)tmp64; in si_dpm_get_fan_speed_percent()
6593 u64 tmp64; in si_dpm_set_fan_speed_percent() local
6609 tmp64 = (u64)speed * duty100; in si_dpm_set_fan_speed_percent()
[all …]
/dflybsd-src/sys/dev/drm/amd/powerplay/smumgr/
H A Dfiji_smumgr.c2152 uint64_t tmp64; in fiji_thermal_setup_fan_table() local
2175 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters. in fiji_thermal_setup_fan_table()
2177 do_div(tmp64, 10000); in fiji_thermal_setup_fan_table()
2178 fdo_min = (uint16_t)tmp64; in fiji_thermal_setup_fan_table()
H A Diceland_smumgr.c2094 uint64_t tmp64; in iceland_thermal_setup_fan_table() local
2117 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100; in iceland_thermal_setup_fan_table()
2118 do_div(tmp64, 10000); in iceland_thermal_setup_fan_table()
2119 fdo_min = (uint16_t)tmp64; in iceland_thermal_setup_fan_table()
H A Dpolaris10_smumgr.c2019 uint64_t tmp64; in polaris10_thermal_setup_fan_table() local
2046 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters. in polaris10_thermal_setup_fan_table()
2048 do_div(tmp64, 10000); in polaris10_thermal_setup_fan_table()
2049 fdo_min = (uint16_t)tmp64; in polaris10_thermal_setup_fan_table()
H A Dci_smumgr.c2131 uint64_t tmp64; in ci_thermal_setup_fan_table() local
2154 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100; in ci_thermal_setup_fan_table()
2155 do_div(tmp64, 10000); in ci_thermal_setup_fan_table()
2156 fdo_min = (uint16_t)tmp64; in ci_thermal_setup_fan_table()
H A Dtonga_smumgr.c2460 uint64_t tmp64; in tonga_thermal_setup_fan_table() local
2488 tmp64 = hwmgr->thermal_controller.advanceFanControlParameters.usPWMMin * duty100; in tonga_thermal_setup_fan_table()
2489 do_div(tmp64, 10000); in tonga_thermal_setup_fan_table()
2490 fdo_min = (uint16_t)tmp64; in tonga_thermal_setup_fan_table()