Searched refs:power_unit (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/acpi/ |
H A D | battery.c | 146 int power_unit; member in struct:acpi_battery 354 {offsetof(struct acpi_battery, power_unit), 0}, 371 {offsetof(struct acpi_battery, power_unit), 0}, 469 battery->power_unit && battery->design_voltage) { acpi_battery_get_info() 519 if (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA && acpi_battery_get_state() 532 battery->power_unit && battery->design_voltage) { acpi_battery_get_state() 603 if (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA) { sysfs_add_battery() 690 if (battery->power_unit && dmi_name_in_vendors("LENOVO")) { acpi_battery_quirks() 760 int power_unit; acpi_battery_refresh() local 765 power_unit = battery->power_unit; acpi_battery_refresh() 769 if (power_unit == battery->power_unit) acpi_battery_refresh() 786 return (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA) ? acpi_battery_units()
|
/linux-4.4.14/drivers/powercap/ |
H A D | intel_rapl.c | 175 unsigned int power_unit; member in struct:rapl_package 678 units = rp->power_unit; rapl_unit_xlate() 860 rp->power_unit = 1000000 / (1 << value); rapl_check_unit_core() 866 rp->id, rp->energy_unit, rp->time_unit, rp->power_unit); rapl_check_unit_core() 885 rp->power_unit = (1 << value) * 1000; rapl_check_unit_atom() 891 rp->id, rp->energy_unit, rp->time_unit, rp->power_unit); rapl_check_unit_atom()
|
Completed in 61 milliseconds