Searched refs:show_power (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/hwmon/occ/ |
D | common.c | 735 ssize_t (*show_power)(struct device *, struct device_attribute *, in occ_setup_sensor_attrs() local 765 show_power = occ_show_power_2; in occ_setup_sensor_attrs() 772 show_power = occ_show_power_a0; in occ_setup_sensor_attrs() 879 show_power, NULL, in occ_setup_sensor_attrs() 886 show_power, NULL, in occ_setup_sensor_attrs() 893 show_power, NULL, in occ_setup_sensor_attrs() 900 show_power, NULL, in occ_setup_sensor_attrs() 916 show_power, NULL, 0, i); in occ_setup_sensor_attrs() 922 show_power, NULL, 1, i); in occ_setup_sensor_attrs() 928 show_power, NULL, 2, i); in occ_setup_sensor_attrs() [all …]
|
/Linux-v5.4/Documentation/driver-api/driver-model/ |
D | device.rst | 67 static DEVICE_ATTR(power, 0644, show_power, store_power);
|
/Linux-v5.4/drivers/hwmon/ |
D | acpi_power_meter.c | 335 static ssize_t show_power(struct device *dev, in show_power() function 470 RO_SENSOR_TEMPLATE(POWER_AVERAGE_NAME, show_power, 0),
|