Lines Matching defs:tach
139 u64 start, end, tach;
144 if (therm->fan->tach.func == DCB_GPIO_UNUSED)
152 prev = nvkm_gpio_get(gpio, 0, therm->fan->tach.func,
153 therm->fan->tach.line);
158 cur = nvkm_gpio_get(gpio, 0, therm->fan->tach.func,
159 therm->fan->tach.line);
170 tach = (u64)60000000000ULL;
171 do_div(tach, (end - start));
172 return tach;
277 &therm->fan->tach);
279 therm->fan->tach.func = DCB_GPIO_UNUSED;