Lines Matching defs:sensor

192  * to manipulate disk fault LEDs over IPMI, but uses the standard sensor
214 * Get an IPMI handle and then lookup the generic device locator sensor
300 topo_mod_dprintf(mod, "Failed to get sensor reading "
301 "for sensor %s: %s\n", entity_ref,
397 topo_mod_dprintf(mod, "Failed to get sensor reading for sensor "
430 ipmi_sdr_full_sensor_t *sensor;
454 if ((sensor = ipmi_sdr_lookup_full_sensor(hdl, entity_refs[i]))
469 if ((reading = ipmi_get_sensor_reading(hdl, sensor->is_fs_number))
471 topo_mod_dprintf(mod, "Failed to get sensor reading for sensor "
473 sensor->is_fs_number, ipmi_errmsg(hdl));
480 if (ipmi_sdr_conv_reading(sensor, reading->isr_reading, &conv_reading)
482 topo_mod_dprintf(mod, "Failed to convert sensor reading for "
483 "sensor %s (%s)\n", entity_refs[i], ipmi_errmsg(hdl));
522 * Get an IPMI handle and then lookup the generic device locator sensor
643 * Get an IPMI handle and then lookup the generic device locator sensor
1044 "sensor reading for %s (%s)\n", __func__,
1059 topo_mod_dprintf(mod, "Failed to get sensor reading "
1060 "for sensor %s (sensor num: %d) (error: %s)\n",
1211 "platform event mesg for sensor 0 (%s)\n",
1251 char *ftype = "sensor", facname[MAX_ID_LEN], **entity_refs;
1292 * getting the sensor state and properties to hold the entity ref,
1293 * sensor class and sensor type.
1296 * getting the converted sensor reading and property for the base
1425 * We offset the threshold and generic sensor reading types by 0x100
1432 topo_mod_dprintf(ei->ei_mod, "Failed to create sensor "
1522 * Now iterate through all of the full and compact sensor data records
1523 * and create a sensor facility node for each record that matches our