Searched refs:RO_SENSOR_TEMPLATE (Results 1 – 1 of 1) sorted by relevance
/Linux-v5.4/drivers/hwmon/ |
D | acpi_power_meter.c | 453 #define RO_SENSOR_TEMPLATE(_label, _show, _index) \ macro 470 RO_SENSOR_TEMPLATE(POWER_AVERAGE_NAME, show_power, 0), 471 RO_SENSOR_TEMPLATE("power1_accuracy", show_accuracy, 0), 472 RO_SENSOR_TEMPLATE("power1_average_interval_min", show_val, 0), 473 RO_SENSOR_TEMPLATE("power1_average_interval_max", show_val, 1), 474 RO_SENSOR_TEMPLATE("power1_is_battery", show_val, 5), 481 RO_SENSOR_TEMPLATE("power1_cap_min", show_val, 2), 482 RO_SENSOR_TEMPLATE("power1_cap_max", show_val, 3), 483 RO_SENSOR_TEMPLATE("power1_cap_hyst", show_val, 4), 484 RO_SENSOR_TEMPLATE(POWER_ALARM_NAME, show_val, 6), [all …]
|