Searched refs:fan_fd (Results 1 – 4 of 4) sorted by relevance
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvd.c | 316 int fan_fd; in get_fan_speed() local 319 fan_fd = fanp->fd; in get_fan_speed() 320 if (fan_fd == -1 || read(fan_fd, fanspeedp, sizeof (fanspeed_t)) != in get_fan_speed() 333 int fan_fd; in set_fan_speed() local 336 fan_fd = fanp->fd; in set_fan_speed() 337 if (fan_fd == -1 || write(fan_fd, &fanspeed, sizeof (fanspeed)) != in set_fan_speed()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/taco/envd/ |
H A D | piclenvd.c | 708 int fan_fd; in get_raw_fan_speed() local 711 fan_fd = fanp->fd; in get_raw_fan_speed() 713 if (fan_fd == -1) in get_raw_fan_speed() 715 else if (ioctl(fan_fd, I2C_GET_FAN_SPEED, fanspeedp) == -1) { in get_raw_fan_speed() 729 int fan_fd; in get_fan_speed() local 732 fan_fd = fanp->fd; in get_fan_speed() 733 if (fan_fd == -1) in get_fan_speed() 735 else if (ioctl(fan_fd, I2C_GET_FAN_SPEED, &tach) == -1) { in get_fan_speed() 761 int fan_fd; in set_fan_speed() local 765 fan_fd = fanp->fd; in set_fan_speed() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/envd/ |
H A D | piclenvd.c | 897 int fan_fd; in get_raw_fan_speed() local 900 fan_fd = fanp->fd; in get_raw_fan_speed() 902 if (fan_fd == -1) in get_raw_fan_speed() 904 else if (ioctl(fan_fd, I2C_GET_FAN_SPEED, fanspeedp) == -1) { in get_raw_fan_speed() 921 int fan_fd; in get_fan_speed() local 924 fan_fd = fanp->fd; in get_fan_speed() 926 if (fan_fd == -1) in get_fan_speed() 929 return (get_dimm_fan_speed(fan_fd, fanspeedp)); in get_fan_speed() 931 if (ioctl(fan_fd, I2C_GET_FAN_SPEED, &tach) == -1) { in get_fan_speed() 960 int fan_fd; in set_fan_speed() local [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvd.c | 1307 int fan_fd; in get_fan_speed() local 1310 fan_fd = fanp->fd; in get_fan_speed() 1311 if (fan_fd == -1 || read(fan_fd, fanspeedp, sizeof (fanspeed_t)) != in get_fan_speed() 1324 int fan_fd; in set_fan_speed() local 1327 fan_fd = fanp->fd; in set_fan_speed() 1328 if (fan_fd == -1 || write(fan_fd, &fanspeed, sizeof (fanspeed)) != in set_fan_speed()
|