Lines Matching refs:temp
330 uint32_t temp;
335 temp = sc->cpu_minmhz;
336 err = sysctl_handle_int(oidp, &temp, 0, req);
340 op = cpufreq_nearest_oppt(sc, temp);
362 uint32_t temp;
367 temp = sc->cpu_maxmhz;
368 err = sysctl_handle_int(oidp, &temp, 0, req);
372 op = cpufreq_nearest_oppt(sc, temp);
470 temp_to_count(struct imx6_anatop_softc *sc, uint32_t temp)
474 (sc->temp_high_val - temp) / (sc->temp_high_val - 250) +
509 uint32_t temp;
511 temp = sc->temp_throttle_val + TZ_ZEROC;
512 err = sysctl_handle_int(oidp, &temp, 0, req);
513 if (temp < TZ_ZEROC)
515 temp -= TZ_ZEROC;
516 if (err != 0 || req->newptr == NULL || temp == sc->temp_throttle_val)
520 sc->temp_throttle_val = temp;