Lines Matching refs:env_fan
1925 #define env_fan env_buf.u_env_fan
2239 if (ddi_copyin((caddr_t)arg, (caddr_t)&env_fan,
2250 env_fan.next_id.name[0] = '\0';
2252 } else if (env_fan.id.name[0] == '\0') {
2255 env_fan.next_id.name[0] = '\0';
2257 env_fan.next_id =
2262 env_fan.id.name[ENVMON_MAXNAMELEN - 1] = '\0';
2263 if (get_sensor_by_name(section, env_fan.id.name,
2265 env_fan.next_id.name[0] = '\0';
2268 env_fan.next_id =
2271 env_fan.next_id.name[0] = '\0';
2292 if ((env_fan.sensor_status = sensor_status) ==
2296 env_fan.sensor_status = ENVMON_NOT_PRESENT;
2299 env_fan.sensor_status |= ENVMON_INACCESSIBLE;
2300 if (env_fan.sensor_status == ENVMON_SENSOR_OK) {
2304 env_fan.speed =
2306 env_fan.lowthresholds.warning =
2308 env_fan.lowthresholds.shutdown =
2310 env_fan.lowthresholds.poweroff =
2314 bcopy(str_rpm, env_fan.units,
2317 bcopy(str_percent, env_fan.units,
2321 if (env_fan.sensor_status != ENVMON_SENSOR_OK ||
2323 set_fan_unav(&env_fan);
2325 if (ddi_copyout((caddr_t)&env_fan, (caddr_t)arg,