/openbsd/sys/dev/isa/ |
H A D | uguru.c | 139 { "DDR", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x04, RFACT_NONE }, 162 { "DDR", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x04, RFACT_NONE }, 165 { "NB", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x02, RFACT_NONE }, 187 { "DDR", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x04, RFACT_NONE }, 189 { "NB", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x08, RFACT_NONE }, 190 { "SB", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x0e, RFACT_NONE }, 191 { "HTV", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x02, RFACT_NONE }, 192 { "AGP", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x09, RFACT_NONE }, 241 { "NB", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x08, RFACT_NONE }, 242 { "SB", SENSOR_VOLTS_DC, UGURU_R_VOLT, 0x0e, RFACT_NONE }, [all …]
|
H A D | fins.c | 165 { "Vtt", fins_get_volt, SENSOR_VOLTS_DC, FRFACT_NONE, 0x11 }, 167 { "Vchips", fins_get_volt, SENSOR_VOLTS_DC, FRFACT(47, 100), 0x13 }, 168 { "+5V", fins_get_volt, SENSOR_VOLTS_DC, FRFACT(200, 47), 0x14 }, 169 { "+12V", fins_get_volt, SENSOR_VOLTS_DC, FRFACT(200, 20), 0x15 }, 170 { "+1.5V", fins_get_volt, SENSOR_VOLTS_DC, FRFACT_NONE, 0x16 }, 171 { "Vcore", fins_get_volt, SENSOR_VOLTS_DC, FRFACT_NONE, 0x17 }, 172 { "Vsb", fins_get_volt, SENSOR_VOLTS_DC, FRFACT(200, 47), 0x18 }, 173 { "Vsbint", fins_get_volt, SENSOR_VOLTS_DC, FRFACT(200, 47), 0x19 }, 174 { "Vbat", fins_get_volt, SENSOR_VOLTS_DC, FRFACT(200, 47), 0x1a }, 189 { "Vcore", fins_get_volt, SENSOR_VOLTS_DC, FRFACT_NONE, 0x21 }, [all …]
|
H A D | it.c | 93 { SENSOR_VOLTS_DC, "VCORE_A" }, 94 { SENSOR_VOLTS_DC, "VCORE_B" }, 95 { SENSOR_VOLTS_DC, "+3.3V" }, 96 { SENSOR_VOLTS_DC, "+5V" }, 97 { SENSOR_VOLTS_DC, "+12V" }, 98 { SENSOR_VOLTS_DC, "-12V" }, 99 { SENSOR_VOLTS_DC, "-5V" }, 100 { SENSOR_VOLTS_DC, "+5VSB" }, 101 { SENSOR_VOLTS_DC, "VBAT" }
|
H A D | viasio.c | 307 SENSOR_VOLTS_DC; in viasio_hm_init() 315 sc->sc_hm_sensors[VT1211_HMS_33V].type = SENSOR_VOLTS_DC; in viasio_hm_init()
|
/openbsd/sys/dev/ic/ |
H A D | lm78.c | 87 { "+3.3V", SENSOR_VOLTS_DC, 0, 0x22, lm_refresh_volt, RFACT_NONE }, 114 { "VBAT", SENSOR_VOLTS_DC, 5, 0x51, lm_refresh_volt, RFACT_NONE }, 142 { "-12V", SENSOR_VOLTS_DC, 0, 0x24, wb_w83627ehf_refresh_nvolt }, 143 { "", SENSOR_VOLTS_DC, 0, 0x25, lm_refresh_volt, RFACT_NONE / 2 }, 144 { "", SENSOR_VOLTS_DC, 0, 0x26, lm_refresh_volt, RFACT_NONE / 2 }, 147 { "", SENSOR_VOLTS_DC, 5, 0x52, lm_refresh_volt, RFACT_NONE / 2 }, 172 { "-12V", SENSOR_VOLTS_DC, 0, 0x24, wb_w83627ehf_refresh_nvolt }, 197 { "-12V", SENSOR_VOLTS_DC, 0, 0x24, wb_w83627ehf_refresh_nvolt }, 376 { "VCore", SENSOR_VOLTS_DC, 0, 0x20, lm_refresh_volt, 10000 }, 377 { "VINR0", SENSOR_VOLTS_DC, 0, 0x21, lm_refresh_volt, 10000 }, [all …]
|
/openbsd/sys/dev/i2c/ |
H A D | lm87.c | 177 sc->sc_sensor[LMENV_2_5V].type = SENSOR_VOLTS_DC; in lmenv_attach() 181 sc->sc_sensor[LMENV_VCCP1].type = SENSOR_VOLTS_DC; in lmenv_attach() 185 sc->sc_sensor[LMENV_VCC].type = SENSOR_VOLTS_DC; in lmenv_attach() 189 sc->sc_sensor[LMENV_5V].type = SENSOR_VOLTS_DC; in lmenv_attach() 193 sc->sc_sensor[LMENV_12V].type = SENSOR_VOLTS_DC; in lmenv_attach() 197 sc->sc_sensor[LMENV_VCCP2].type = SENSOR_VOLTS_DC; in lmenv_attach() 212 sc->sc_sensor[LMENV_FAN1].type = SENSOR_VOLTS_DC; in lmenv_attach() 220 sc->sc_sensor[LMENV_FAN2].type = SENSOR_VOLTS_DC; in lmenv_attach() 289 if (sc->sc_sensor[sensor].type == SENSOR_VOLTS_DC) { in lmenv_refresh() 301 if (sc->sc_sensor[sensor].type == SENSOR_VOLTS_DC) { in lmenv_refresh()
|
H A D | adm1025.c | 146 sc->sc_sensor[ADMTM_V2_5].type = SENSOR_VOLTS_DC; in admtm_attach() 150 sc->sc_sensor[ADMTM_Vccp].type = SENSOR_VOLTS_DC; in admtm_attach() 154 sc->sc_sensor[ADMTM_V3_3].type = SENSOR_VOLTS_DC; in admtm_attach() 158 sc->sc_sensor[ADMTM_V5].type = SENSOR_VOLTS_DC; in admtm_attach() 162 sc->sc_sensor[ADMTM_V12].type = SENSOR_VOLTS_DC; in admtm_attach() 166 sc->sc_sensor[ADMTM_Vcc].type = SENSOR_VOLTS_DC; in admtm_attach() 170 sc->sc_sensor[SMSC_V1_5].type = SENSOR_VOLTS_DC; in admtm_attach() 174 sc->sc_sensor[SMSC_V1_8].type = SENSOR_VOLTS_DC; in admtm_attach()
|
H A D | w83l784r.c | 113 { "VCore", SENSOR_VOLTS_DC, W83L784R_VCORE, w83l784r_refresh_volt, RFACT_NONE }, 114 { "VBAT", SENSOR_VOLTS_DC, W83L784R_VBAT, w83l784r_refresh_volt, RFACT(232, 99) }, 115 { "+3.3V", SENSOR_VOLTS_DC, W83L784R_3_3V, w83l784r_refresh_volt, RFACT_NONE }, 116 { "+5V", SENSOR_VOLTS_DC, W83L784R_VCC, w83l784r_refresh_volt, RFACT(50, 34) }, 128 { "VCore", SENSOR_VOLTS_DC, W83L784R_VCORE, w83l785r_refresh_volt, RFACT_NONE }, 129 { "+2.5V", SENSOR_VOLTS_DC, W83L785R_2_5V, w83l785r_refresh_volt, RFACT(100, 100) }, 130 { "+1.5V", SENSOR_VOLTS_DC, W83L785R_1_5V, w83l785r_refresh_volt, RFACT_NONE }, 131 { "+3.3V", SENSOR_VOLTS_DC, W83L785R_VCC, w83l785r_refresh_volt, RFACT(20, 40) },
|
H A D | adt7460.c | 208 sc->sc_sensor[ADT_2_5V].type = SENSOR_VOLTS_DC; in adt_attach() 219 sc->sc_sensor[ADT_VCCP].type = SENSOR_VOLTS_DC; in adt_attach() 223 sc->sc_sensor[ADT_VCC].type = SENSOR_VOLTS_DC; in adt_attach() 227 sc->sc_sensor[ADT_V5].type = SENSOR_VOLTS_DC; in adt_attach() 231 sc->sc_sensor[ADT_V12].type = SENSOR_VOLTS_DC; in adt_attach() 235 sc->sc_sensor[ADT_VTR].type = SENSOR_VOLTS_DC; in adt_attach() 239 sc->sc_sensor[ADT_VBAT].type = SENSOR_VOLTS_DC; in adt_attach()
|
H A D | adm1024.c | 145 sc->sc_sensor[ADMLC_V2_5].type = SENSOR_VOLTS_DC; in admlc_attach() 149 sc->sc_sensor[ADMLC_Vccp].type = SENSOR_VOLTS_DC; in admlc_attach() 153 sc->sc_sensor[ADMLC_Vcc].type = SENSOR_VOLTS_DC; in admlc_attach() 157 sc->sc_sensor[ADMLC_V5].type = SENSOR_VOLTS_DC; in admlc_attach() 161 sc->sc_sensor[ADMLC_V12].type = SENSOR_VOLTS_DC; in admlc_attach() 165 sc->sc_sensor[ADMLC_Vccp2].type = SENSOR_VOLTS_DC; in admlc_attach()
|
H A D | adm1026.c | 172 sc->sc_sensor[ADMCTS_Vbat].type = SENSOR_VOLTS_DC; in admcts_attach() 184 sc->sc_sensor[ADMCTS_V3_3stby].type = SENSOR_VOLTS_DC; in admcts_attach() 188 sc->sc_sensor[ADMCTS_V3_3main].type = SENSOR_VOLTS_DC; in admcts_attach() 192 sc->sc_sensor[ADMCTS_V5].type = SENSOR_VOLTS_DC; in admcts_attach() 196 sc->sc_sensor[ADMCTS_Vccp].type = SENSOR_VOLTS_DC; in admcts_attach() 200 sc->sc_sensor[ADMCTS_V12].type = SENSOR_VOLTS_DC; in admcts_attach() 204 sc->sc_sensor[ADMCTS_Vminus12].type = SENSOR_VOLTS_DC; in admcts_attach()
|
H A D | asb100.c | 231 sc->sc_sensor[ASB100_SENSOR_VIN0].type = SENSOR_VOLTS_DC; in asbtm_attach() 232 sc->sc_sensor[ASB100_SENSOR_VIN1].type = SENSOR_VOLTS_DC; in asbtm_attach() 233 sc->sc_sensor[ASB100_SENSOR_VIN2].type = SENSOR_VOLTS_DC; in asbtm_attach() 234 sc->sc_sensor[ASB100_SENSOR_VIN3].type = SENSOR_VOLTS_DC; in asbtm_attach() 235 sc->sc_sensor[ASB100_SENSOR_VIN4].type = SENSOR_VOLTS_DC; in asbtm_attach() 236 sc->sc_sensor[ASB100_SENSOR_VIN5].type = SENSOR_VOLTS_DC; in asbtm_attach() 237 sc->sc_sensor[ASB100_SENSOR_VIN6].type = SENSOR_VOLTS_DC; in asbtm_attach()
|
H A D | fintek.c | 149 sc->sc_sensor[F_VCC].type = SENSOR_VOLTS_DC; in fintek_attach() 153 sc->sc_sensor[F_V1].type = SENSOR_VOLTS_DC; in fintek_attach() 154 sc->sc_sensor[F_V2].type = SENSOR_VOLTS_DC; in fintek_attach() 155 sc->sc_sensor[F_V3].type = SENSOR_VOLTS_DC; in fintek_attach()
|
H A D | lm93.c | 177 sc->sc_sensor[i].type = SENSOR_VOLTS_DC; in lmn_attach()
|
H A D | asc7611.c | 130 sc->sc_sensors[i].type = SENSOR_VOLTS_DC; in andl_attach()
|
H A D | gl518sm.c | 148 sc->sc_sensor[GLENV_VIN3].type = SENSOR_VOLTS_DC; in glenv_attach()
|
H A D | asc7621.c | 188 sc->sc_sensor[i].type = SENSOR_VOLTS_DC; in adl_attach()
|
H A D | w83793g.c | 125 sc->sc_sensors[i].type = SENSOR_VOLTS_DC; in wbng_attach()
|
/openbsd/sys/dev/onewire/ |
H A D | owsbm.c | 122 sc->sc_voltage_vdd.type = SENSOR_VOLTS_DC; in owsbm_attach() 127 sc->sc_voltage_vad.type = SENSOR_VOLTS_DC; in owsbm_attach() 132 sc->sc_voltage_cr.type = SENSOR_VOLTS_DC; in owsbm_attach()
|
/openbsd/sys/arch/powerpc64/dev/ |
H A D | opalsens.c | 82 sc->sc_sensor.type = SENSOR_VOLTS_DC; in opalsens_attach() 124 case SENSOR_VOLTS_DC: in opalsens_refresh()
|
/openbsd/sys/dev/acpi/ |
H A D | acpisbs.c | 75 CHECK(WORD, VOLTAGE, voltage, SENSOR_VOLTS_DC, 97 CHECK(WORD, CHARGING_VOLTAGE, charge_voltage, SENSOR_VOLTS_DC, 105 CHECK(WORD, DESIGN_VOLTAGE, design_voltage, SENSOR_VOLTS_DC, 344 case SENSOR_VOLTS_DC: in acpisbs_refresh_sensors()
|
H A D | atk0110.c | 159 aibs_attach_sif(sc, SENSOR_VOLTS_DC); in aibs_attach() 188 case SENSOR_VOLTS_DC: in aibs_attach_sif() 321 as->s.type = SENSOR_VOLTS_DC; in aibs_add_sensor() 402 case SENSOR_VOLTS_DC: in aibs_refresh_r()
|
/openbsd/sys/sys/ |
H A D | sensors.h | 36 SENSOR_VOLTS_DC, /* voltage (uV DC) */ enumerator
|
/openbsd/sys/dev/fdt/ |
H A D | axppmic.c | 321 { "ACIN", SENSOR_VOLTS_DC, 0x56, 0, 1700 }, 323 { "VBUS", SENSOR_VOLTS_DC, 0x5a, 0, 1700 }, 326 { "APS", SENSOR_VOLTS_DC, 0x7e, 0, 1400 }, 351 { "battery voltage", SENSOR_VOLTS_DC, 0x78, 0x00, 1100 },
|
/openbsd/usr.bin/systat/ |
H A D | sensors.c | 229 case SENSOR_VOLTS_DC: in showsensor()
|