Lines Matching defs:sensors
3 * IBM PowerNV platform sensors for temperature/fan/voltage/power
33 * Enumerates all the types of sensors in the POWERNV platform and does index
36 enum sensors {
50 * PowerNV firmware (skiboot). These are ordered as 'enum sensors'.
77 enum sensors type;
93 u32 sensors_count; /* Total count of sensors from each group */
199 * The digital thermal sensors are associated
248 static const char *convert_opal_attr_name(enum sensors type,
274 enum sensors type, u32 *index)
293 enum sensors type;
340 enum sensors type;
372 if (of_count_phandle_with_args(sgrp, "sensors", NULL) <= 0)
389 enum sensors gtype)
402 enum sensors type;
411 of_for_each_phandle(&it, rc, sgrp, "sensors", NULL, 0)
437 enum sensors type;
444 opal = of_find_node_by_path("/ibm,opal/sensors");
507 const char *attr_name, enum sensors type,
526 static char *get_max_attr(enum sensors type)
536 static char *get_min_attr(enum sensors type)
547 * Iterate through the device tree for each child of 'sensors' node, create
567 opal = of_find_node_by_path("/ibm,opal/sensors");
574 enum sensors type;
718 MODULE_DESCRIPTION("IBM POWERNV platform sensors");