| /dragonfly/sys/dev/powermng/it/ |
| HD | it.c | 169 sensor_attach(&sc->sensordev, &sc->sensors[i]); in it_attach() 212 sc->sensors[start + i].type = SENSOR_VOLTS_DC; in it_setup_volt() 215 ksnprintf(sc->sensors[start + 0].desc, sizeof(sc->sensors[0].desc), in it_setup_volt() 217 ksnprintf(sc->sensors[start + 1].desc, sizeof(sc->sensors[1].desc), in it_setup_volt() 219 ksnprintf(sc->sensors[start + 2].desc, sizeof(sc->sensors[2].desc), in it_setup_volt() 221 ksnprintf(sc->sensors[start + 3].desc, sizeof(sc->sensors[3].desc), in it_setup_volt() 223 ksnprintf(sc->sensors[start + 4].desc, sizeof(sc->sensors[4].desc), in it_setup_volt() 225 ksnprintf(sc->sensors[start + 5].desc, sizeof(sc->sensors[5].desc), in it_setup_volt() 227 ksnprintf(sc->sensors[start + 6].desc, sizeof(sc->sensors[6].desc), in it_setup_volt() 229 ksnprintf(sc->sensors[start + 7].desc, sizeof(sc->sensors[7].desc), in it_setup_volt() [all …]
|
| HD | itvar.h | 86 struct ksensor sensors[IT_NUM_SENSORS]; member
|
| /dragonfly/sys/dev/powermng/aps/ |
| HD | aps.c | 134 struct ksensor sensors[APS_NUM_SENSORS]; member 360 sc->sensors[APS_SENSOR_XACCEL].type = SENSOR_INTEGER; in aps_attach() 361 ksnprintf(sc->sensors[APS_SENSOR_XACCEL].desc, in aps_attach() 362 sizeof(sc->sensors[APS_SENSOR_XACCEL].desc), "X_ACCEL"); in aps_attach() 364 sc->sensors[APS_SENSOR_YACCEL].type = SENSOR_INTEGER; in aps_attach() 365 ksnprintf(sc->sensors[APS_SENSOR_YACCEL].desc, in aps_attach() 366 sizeof(sc->sensors[APS_SENSOR_YACCEL].desc), "Y_ACCEL"); in aps_attach() 368 sc->sensors[APS_SENSOR_TEMP1].type = SENSOR_TEMP; in aps_attach() 369 sc->sensors[APS_SENSOR_TEMP2].type = SENSOR_TEMP; in aps_attach() 371 sc->sensors[APS_SENSOR_XVAR].type = SENSOR_INTEGER; in aps_attach() [all …]
|
| /dragonfly/sys/dev/misc/nsclpcsio/ |
| HD | nsclpcsio_isa.c | 184 struct ksensor sensors[SIO_NUM_SENSORS]; member 355 sensor_attach(&sc->sensordev, &sc->sensors[i]); in nsclpcsio_isa_attach() 411 sc->sensors[i].type = SENSOR_TEMP; in nsclpcsio_tms_init() 414 strlcpy(sc->sensors[0].desc, "Remote", sizeof(sc->sensors[0].desc)); in nsclpcsio_tms_init() 415 strlcpy(sc->sensors[1].desc, "Remote", sizeof(sc->sensors[1].desc)); in nsclpcsio_tms_init() 416 strlcpy(sc->sensors[2].desc, "Local", sizeof(sc->sensors[2].desc)); in nsclpcsio_tms_init() 433 sc->sensors[i].desc, status)); in nsclpcsio_tms_update() 434 sc->sensors[i].value = 0; in nsclpcsio_tms_update() 438 DPRINTF(("%s: status %d C %d\n", sc->sensors[i].desc, in nsclpcsio_tms_update() 440 sc->sensors[i].value = sdata * 1000000 + 273150000; in nsclpcsio_tms_update() [all …]
|
| /dragonfly/sys/dev/powermng/amdtemp/ |
| HD | amdtemp.c | 109 struct ksensor *sensors; member 718 scpu->sensors = kmalloc(sizeof(*scpu->sensors) * MAXSENSORS, in amdtemp_intrhook() 730 ksnprintf(scpu->sensors[j].desc, in amdtemp_intrhook() 731 sizeof(scpu->sensors[0].desc), in amdtemp_intrhook() 734 ksnprintf(scpu->sensors[j].desc, in amdtemp_intrhook() 735 sizeof(scpu->sensors[0].desc), in amdtemp_intrhook() 740 ksnprintf(scpu->sensors[j].desc, in amdtemp_intrhook() 741 sizeof(scpu->sensors[0].desc), in amdtemp_intrhook() 745 ksnprintf(scpu->sensors[j].desc, in amdtemp_intrhook() 746 sizeof(scpu->sensors[0].desc), in amdtemp_intrhook() [all …]
|
| /dragonfly/sys/dev/powermng/lm/ |
| HD | lm78.c | 441 sensor_attach(&sc->sensordev, &sc->sensors[i]); in lm_attach() 453 sensor_detach(&sc->sensordev, &sc->sensors[i]); in lm_detach() 636 lm_setup_sensors(struct lm_softc *sc, struct lm_sensor *sensors) in lm_setup_sensors() argument 640 for (i = 0; sensors[i].desc; i++) { in lm_setup_sensors() 641 sc->sensors[i].type = sensors[i].type; in lm_setup_sensors() 642 strlcpy(sc->sensors[i].desc, sensors[i].desc, in lm_setup_sensors() 643 sizeof(sc->sensors[i].desc)); in lm_setup_sensors() 646 sc->lm_sensors = sensors; in lm_setup_sensors() 669 struct ksensor *sensor = &sc->sensors[n]; in lm_refresh_volt() 681 struct ksensor *sensor = &sc->sensors[n]; in lm_refresh_temp() [all …]
|
| HD | lm78var.h | 142 struct ksensor sensors[WB_MAX_SENSORS]; member
|
| /dragonfly/sys/dev/powermng/uguru/ |
| HD | uguru.c | 727 struct uguru_sensor *sensors; in uguru_attach() local 780 sensors = abitkv_sensors; in uguru_attach() 785 sensors = abitaa_sensors; in uguru_attach() 790 sensors = abitav_sensors; in uguru_attach() 794 sensors = abitas_sensors; in uguru_attach() 798 sensors = abitax_sensors; in uguru_attach() 802 sensors = abitm4_sensors; in uguru_attach() 806 sensors = abitan_sensors; in uguru_attach() 812 sensors = abital_sensors; in uguru_attach() 817 sensors = abitaw_sensors; in uguru_attach() [all …]
|
| /dragonfly/sys/dev/acpica/acpi_thinkpad/ |
| HD | acpi_thinkpad.c | 201 struct ksensor sensors[THINKPAD_NUM_SENSORS]; member 592 sc->sensors[i].type = SENSOR_TEMP; in acpi_thinkpad_attach() 593 sensor_attach(&sc->sensordev, &sc->sensors[i]); in acpi_thinkpad_attach() 596 sc->sensors[i].type = SENSOR_FANRPM; in acpi_thinkpad_attach() 597 sensor_attach(&sc->sensordev, &sc->sensors[i]); in acpi_thinkpad_attach() 656 sensor_detach(&sc->sensordev, &sc->sensors[i]); in acpi_thinkpad_detach() 1553 sc->sensors[i].flags |= SENSOR_FINVALID; in acpi_thinkpad_refresh() 1558 sc->sensors[i].value = data * 100000 - 50000; in acpi_thinkpad_refresh() 1560 sc->sensors[i].value = data * 1000000 + 273150000; in acpi_thinkpad_refresh() 1561 sc->sensors[i].flags &= ~SENSOR_FINVALID; in acpi_thinkpad_refresh() [all …]
|
| /dragonfly/sys/kern/ |
| HD | cpu_if.m | 2 #include <sys/sensors.h>
|
| HD | kern_sensors.c | 371 SYSCTL_NODE(_hw, OID_AUTO, sensors, CTLFLAG_RD, NULL,
|
| /dragonfly/usr.bin/systat/ |
| HD | Makefile | 9 keyboard.c main.c mbufs.c netcmds.c netstat.c pigs.c sensors.c swap.c \
|
| /dragonfly/sys/config/ |
| HD | LINT64 | 1669 # AMD Family 0Fh, 10h and 11h temperature sensors
|