Lines Matching defs:sensor
9 * This driver supports the sensor part of revision 3 of the custom Abit uGuru
37 /* uGuru3 sensor bank flags */ /* Alarm if: */
47 /* sensor types */
135 /* + 1 -> end of sensors indicated by a sensor with name == NULL */
153 * automatically. We have max 10 entries per sensor (for in sensors)
170 /* Alarms for all 48 sensors (1 bit per sensor) */
734 * Read count bytes from sensor sensor_addr in bank bank_addr and store the
831 const struct abituguru3_sensor_info *sensor;
836 sensor = &data->sensors[attr->index];
840 value = data->settings[sensor->port][attr->nr];
842 value = data->value[sensor->port];
845 value = (value * sensor->multiplier) / sensor->divisor +
846 sensor->offset;
852 if (sensor->type == ABIT_UGURU3_TEMP_SENSOR)
871 * See if the alarm bit for this sensor is set and if a bitmask is
874 * is stored in a few readonly bits in the settings of the sensor.
1093 /* Read in and temp sensors (3 byte settings / sensor) */
1106 /* Read temp sensors (2 byte settings / sensor) */