Lines Matching defs:sensors
11 * only reading the sensors and their settings is supported.
92 * Worst case scenario 16 in sensors (longest names_length) and the rest
93 * temp sensors (second longest names_length).
135 /* + 1 -> end of sensors indicated by a sensor with name == NULL */
136 struct abituguru3_sensor_info sensors[ABIT_UGURU3_MAX_NO_SENSORS + 1];
153 * automatically. We have max 10 entries per sensor (for in sensors)
161 /* Pointer to the sensors info for the detected motherboard */
162 const struct abituguru3_sensor_info *sensors;
165 * The abituguru3 supports up to 48 sensors, and thus has registers
166 * sets for 48 sensors, for convenience reasons / simplicity of the
167 * code we always read and store all registers for all 48 sensors
170 /* Alarms for all 48 sensors (1 bit per sensor) */
173 /* Value of all 48 sensors */
177 * Settings of all 48 sensors, note in and temp sensors (the first 32
178 * sensors) have 3 bytes of settings, while fans only have 2 bytes,
179 * for convenience we use 3 bytes for all sensors
820 * sensor_device_attribute_2->index: index into the data->sensors array
836 sensor = &data->sensors[attr->index];
849 * alternatively we could update the sensors settings struct for this,
868 port = data->sensors[attr->index].port;
889 if (data->settings[data->sensors[attr->index].port][0] & attr->nr)
901 return sprintf(buf, "%s\n", data->sensors[attr->index].name);
997 data->sensors = abituguru3_motherboards[i].sensors;
1005 for (i = 0; data->sensors[i].name; i++) {
1008 pr_err("Fatal error motherboard has more sensors then ABIT_UGURU3_MAX_NO_SENSORS. %s %s\n",
1013 type = data->sensors[i].type;
1093 /* Read in and temp sensors (3 byte settings / sensor) */
1106 /* Read temp sensors (2 byte settings / sensor) */