Searched refs:power_unit (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/acpi/ |
| A D | battery.c | 128 int power_unit; member 389 {offsetof(struct acpi_battery, power_unit), 0}, 406 {offsetof(struct acpi_battery, power_unit), 0}, 492 battery->power_unit && battery->design_voltage) { in extract_battery_info() 591 if (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA && in acpi_battery_get_state() 603 battery->power_unit && battery->design_voltage) { in acpi_battery_get_state() 821 if (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA) { in sysfs_add_battery() 925 if (battery->power_unit && dmi_name_in_vendors("LENOVO")) { in acpi_battery_quirks() 1007 int power_unit; in acpi_battery_refresh() local 1012 power_unit = battery->power_unit; in acpi_battery_refresh() [all …]
|
| /linux/drivers/power/supply/ |
| A D | surface_battery.c | 51 __le32 power_unit; member 300 unit = get_unaligned_le32(&bat->bix.power_unit); in spwr_battery_recheck_full() 321 WARN_ON(unit != get_unaligned_le32(&bat->bix.power_unit)); in spwr_battery_recheck_full() 781 switch (get_unaligned_le32(&bat->bix.power_unit)) { in spwr_battery_register() 794 get_unaligned_le32(&bat->bix.power_unit)); in spwr_battery_register()
|
| /linux/include/linux/ |
| A D | intel_rapl.h | 137 unsigned int power_unit; member
|
| /linux/drivers/powercap/ |
| A D | intel_rapl_common.c | 608 units = rp->power_unit; in rapl_unit_xlate() 791 rp->power_unit = 1000000 / (1 << value); in rapl_check_unit_core() 797 rp->name, rp->energy_unit, rp->time_unit, rp->power_unit); in rapl_check_unit_core() 819 rp->power_unit = (1 << value) * 1000; in rapl_check_unit_atom() 825 rp->name, rp->energy_unit, rp->time_unit, rp->power_unit); in rapl_check_unit_atom()
|
| /linux/drivers/platform/surface/ |
| A D | surface3_power.c | 68 u32 power_unit; member 186 .power_unit = 0x01,
|
Completed in 17 milliseconds