Lines Matching refs:tmp64
1195 uint64_t tmp64; in arcturus_get_fan_speed_rpm() local
1219 tmp64 = (uint64_t)crystal_clock_freq * 60 * 10000; in arcturus_get_fan_speed_rpm()
1222 do_div(tmp64, tach_status); in arcturus_get_fan_speed_rpm()
1223 *speed = (uint32_t)tmp64; in arcturus_get_fan_speed_rpm()
1239 uint64_t tmp64; in arcturus_set_fan_speed_pwm() local
1248 tmp64 = (uint64_t)speed * duty100; in arcturus_set_fan_speed_pwm()
1249 do_div(tmp64, 255); in arcturus_set_fan_speed_pwm()
1250 duty = (uint32_t)tmp64; in arcturus_set_fan_speed_pwm()
1284 uint64_t tmp64; in arcturus_get_fan_speed_pwm() local
1303 tmp64 = (uint64_t)duty * 255; in arcturus_get_fan_speed_pwm()
1304 do_div(tmp64, duty100); in arcturus_get_fan_speed_pwm()
1305 *speed = min_t(uint32_t, tmp64, 255); in arcturus_get_fan_speed_pwm()