Lines Matching refs:tempstat

1968 temp_trend(struct temp_stats *tempstat)  in temp_trend()  argument
1980 if (tempstat == NULL) in temp_trend()
1983 curr_index = (L2_INDEX(tempstat->index) - 1) % L2_SZ; in temp_trend()
1984 curr_temp = tempstat->l2[curr_index]; in temp_trend()
1989 if (tempstat->l2[prev_index] == NA_TEMP) in temp_trend()
2001 delta = curr_temp - tempstat->l2[PREV_L2_INDEX(curr_index)]; in temp_trend()
2009 prev_temp = tempstat->l2[prev_index]; in temp_trend()
2024 prev_temp = tempstat->l2[prev_index]; in temp_trend()
2067 struct temp_stats *tempstat; in overtemp_kstat_update() local
2072 tempstat = (struct temp_stats *)ksp->ks_private; in overtemp_kstat_update()
2088 max = tempstat->l1[0]; in overtemp_kstat_update()
2089 min = tempstat->l1[0]; in overtemp_kstat_update()
2093 if ((tempstat->l1[i] != NA_TEMP) && in overtemp_kstat_update()
2094 (tempstat->l1[i] > max)) { in overtemp_kstat_update()
2095 max = tempstat->l1[i]; in overtemp_kstat_update()
2098 if ((tempstat->l1[i] != NA_TEMP) && in overtemp_kstat_update()
2099 (tempstat->l1[i] < min)) { in overtemp_kstat_update()
2100 min = tempstat->l1[i]; in overtemp_kstat_update()
2106 if ((tempstat->l2[i] != NA_TEMP) && in overtemp_kstat_update()
2107 (tempstat->l2[i] > max)) { in overtemp_kstat_update()
2108 max = tempstat->l2[i]; in overtemp_kstat_update()
2111 if ((tempstat->l2[i] != NA_TEMP) && in overtemp_kstat_update()
2112 (tempstat->l2[i] < min)) { in overtemp_kstat_update()
2113 min = tempstat->l2[i]; in overtemp_kstat_update()
2119 if ((tempstat->l3[i] != NA_TEMP) && in overtemp_kstat_update()
2120 (tempstat->l3[i] > max)) { in overtemp_kstat_update()
2121 max = tempstat->l3[i]; in overtemp_kstat_update()
2124 if ((tempstat->l3[i] != NA_TEMP) && in overtemp_kstat_update()
2125 (tempstat->l3[i] < min)) { in overtemp_kstat_update()
2126 min = tempstat->l3[i]; in overtemp_kstat_update()
2132 if ((tempstat->l4[i] != NA_TEMP) && in overtemp_kstat_update()
2133 (tempstat->l4[i] > max)) { in overtemp_kstat_update()
2134 max = tempstat->l4[i]; in overtemp_kstat_update()
2137 if ((tempstat->l4[i] != NA_TEMP) && in overtemp_kstat_update()
2138 (tempstat->l4[i] < min)) { in overtemp_kstat_update()
2139 min = tempstat->l4[i]; in overtemp_kstat_update()
2145 if ((tempstat->l5[i] != NA_TEMP) && in overtemp_kstat_update()
2146 (tempstat->l5[i] > max)) { in overtemp_kstat_update()
2147 max = tempstat->l5[i]; in overtemp_kstat_update()
2150 if ((tempstat->l5[i] != NA_TEMP) && in overtemp_kstat_update()
2151 (tempstat->l5[i] < min)) { in overtemp_kstat_update()
2152 min = tempstat->l5[i]; in overtemp_kstat_update()
2160 bcopy(tempstat, kstatp, sizeof (struct temp_stats)); in overtemp_kstat_update()
3351 bd_list->dev_softsp)->tempstat.state; in fhc_cpu_poweron()
3461 return (envp->tempstat.state); in fhc_env_temp_state()