Lines Matching full:sensors
172 /* All the known sensors for ASUS EC controllers */
289 unsigned long sensors; member
302 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
311 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
318 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
326 .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
334 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
342 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_VRM |
350 .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
358 .sensors = SENSOR_TEMP_CPU | SENSOR_TEMP_CPU_PACKAGE |
366 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
376 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
387 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
396 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
405 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
413 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
422 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
431 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
439 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
446 .sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
455 .sensors = SENSOR_TEMP_CHIPSET | SENSOR_TEMP_VRM |
463 .sensors = SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM,
469 .sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB | SENSOR_TEMP_T_SENSOR |
592 struct ec_sensor *sensors; member
601 /* number of board EC sensors */
634 return state->sensors_info + state->sensors[index].info_index; in get_sensor_info()
659 struct ec_sensor *s = ec->sensors; in setup_sensor_data()
667 for_each_set_bit(i, &ec->board_info->sensors, in setup_sensor_data()
668 BITS_PER_TYPE(ec->board_info->sensors)) { in setup_sensor_data()
823 sensor_end = ec->sensors + ec->nr_sensors; in update_sensor_values()
824 for (s = ec->sensors; s != sensor_end; s++) { in update_sensor_values()
877 *value = state->sensors[sensor_index].cached_value; in get_cached_value_or_update()
1013 ec_data->nr_sensors = hweight_long(ec_data->board_info->sensors); in asus_ec_probe()
1014 ec_data->sensors = devm_kcalloc(dev, ec_data->nr_sensors, in asus_ec_probe()
1016 if (!ec_data->sensors) in asus_ec_probe()
1069 dev_info(dev, "board has %d EC sensors that span %d registers", in asus_ec_probe()
1082 .name = "asus-ec-sensors",
1116 "HWMON driver for sensors accessible via ACPI EC in ASUS motherboards");