Home | History | Annotate | Download | only in sysmon

Lines Matching refs:units

422 			if (edata->units == ENVSYS_BATTERY_CHARGE)
423 tred->units = ENVSYS_INDICATOR;
425 tred->units = edata->units;
442 DPRINTFOBJ(("%s: tred->validflags=%d tred->units=%d"
444 tred->units, tred->sensor));
482 if (edata->units == ENVSYS_BATTERY_CHARGE)
483 binfo->units = ENVSYS_INDICATOR;
485 binfo->units = edata->units;
499 DPRINTFOBJ(("%s: binfo->units=%d binfo->validflags=%d\n",
500 __func__, binfo->units, binfo->validflags));
566 * + Attaches a sensor into a sysmon_envsys device checking that units
578 * Find the correct units for this sensor.
580 sdt_units = sme_find_table_entry(SME_DESC_UNITS, edata->units);
612 DPRINTF(("%s: attached #%d (%s), units=%d (%s)\n",
857 switch (edata->units) {
1294 * units.
1297 edata->units);
1464 (edata->units == ENVSYS_INDICATOR) ||
1465 (edata->units == ENVSYS_DRIVE) ||
1466 (edata->units == ENVSYS_BATTERY_CAPACITY) ||
1467 (edata->units == ENVSYS_BATTERY_CHARGE))
1483 if (edata->units == ENVSYS_SVOLTS_DC ||
1484 edata->units == ENVSYS_SVOLTS_AC) {
1521 sdt = sme_find_table_entry(SME_DESC_UNITS, edata->units);
1709 sdt = sme_find_table_entry(SME_DESC_UNITS, edata->units);
1713 DPRINTFOBJ(("%s: sensor #%d units=%d (%s)\n", __func__, edata->sensor,
1733 if (edata->units == ENVSYS_INDICATOR ||
1734 edata->units == ENVSYS_BATTERY_CHARGE)
1767 if (edata->units == ENVSYS_SFANRPM) {
1776 if (edata->units == ENVSYS_SVOLTS_AC ||
1777 edata->units == ENVSYS_SVOLTS_DC) {
1787 if (edata->units == ENVSYS_DRIVE) {
1801 if (edata->units == ENVSYS_BATTERY_CAPACITY) {
1961 sdt = sme_find_table_entry(SME_DESC_UNITS, edata->units);