Home
last modified time | relevance | path

Searched refs:RO_SENSOR_TEMPLATE (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/hwmon/
H A Dacpi_power_meter.c460 #define RO_SENSOR_TEMPLATE(_label, _show, _index) \ macro
477 RO_SENSOR_TEMPLATE(POWER_AVERAGE_NAME, show_power, 0),
478 RO_SENSOR_TEMPLATE("power1_accuracy", show_accuracy, 0),
479 RO_SENSOR_TEMPLATE("power1_average_interval_min", show_val, 0),
480 RO_SENSOR_TEMPLATE("power1_average_interval_max", show_val, 1),
481 RO_SENSOR_TEMPLATE("power1_is_battery", show_val, 5),
488 RO_SENSOR_TEMPLATE("power1_cap_min", show_val, 2),
489 RO_SENSOR_TEMPLATE("power1_cap_max", show_val, 3),
490 RO_SENSOR_TEMPLATE("power1_cap_hyst", show_val, 4),
491 RO_SENSOR_TEMPLATE(POWER_ALARM_NAM
519 #undef RO_SENSOR_TEMPLATE global() macro
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dacpi_power_meter.c465 #define RO_SENSOR_TEMPLATE(_label, _show, _index) \ macro
482 RO_SENSOR_TEMPLATE(POWER_AVERAGE_NAME, show_power, 0),
483 RO_SENSOR_TEMPLATE("power1_accuracy", show_accuracy, 0),
484 RO_SENSOR_TEMPLATE("power1_average_interval_min", show_val, 0),
485 RO_SENSOR_TEMPLATE("power1_average_interval_max", show_val, 1),
486 RO_SENSOR_TEMPLATE("power1_is_battery", show_val, 5),
493 RO_SENSOR_TEMPLATE("power1_cap_min", show_val, 2),
494 RO_SENSOR_TEMPLATE("power1_cap_max", show_val, 3),
495 RO_SENSOR_TEMPLATE("power1_cap_hyst", show_val, 4),
496 RO_SENSOR_TEMPLATE(POWER_ALARM_NAM
524 #undef RO_SENSOR_TEMPLATE global() macro
[all...]

Completed in 2 milliseconds