Lines Matching defs:binfo
453 struct envsys_basic_info *binfo = (void *)data;
457 binfo->validflags = 0;
459 sme = sysmon_envsys_find_40(binfo->sensor);
463 oidx = binfo->sensor;
464 binfo->sensor = SME_SENSOR_IDX(sme, binfo->sensor);
467 if (edata->sensor == binfo->sensor) {
479 binfo->validflags |= ENVSYS_FVALID;
481 if (binfo->sensor < sme->sme_nsensors) {
483 binfo->units = ENVSYS_INDICATOR;
485 binfo->units = edata->units;
492 (void)snprintf(binfo->desc, sizeof(binfo->desc),
495 (void)strlcpy(binfo->desc, edata->desc,
496 sizeof(binfo->desc));
499 DPRINTFOBJ(("%s: binfo->units=%d binfo->validflags=%d\n",
500 __func__, binfo->units, binfo->validflags));
501 DPRINTFOBJ(("%s: binfo->desc=%s binfo->sensor=%d\n",
502 __func__, binfo->desc, binfo->sensor));
504 binfo->sensor = oidx;