Searched refs:power_unit (Results 1 – 6 of 6) sorted by relevance
| /OK3568_Linux_fs/kernel/drivers/acpi/ |
| H A D | battery.c | 138 int power_unit; member 403 {offsetof(struct acpi_battery, power_unit), 0}, 420 {offsetof(struct acpi_battery, power_unit), 0}, 503 battery->power_unit && battery->design_voltage) { in extract_battery_info() 596 if (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA && in acpi_battery_get_state() 608 battery->power_unit && battery->design_voltage) { in acpi_battery_get_state() 822 if (battery->power_unit == ACPI_BATTERY_POWER_UNIT_MA) { in sysfs_add_battery() 924 if (battery->power_unit && dmi_name_in_vendors("LENOVO")) { in acpi_battery_quirks() 1005 int power_unit; in acpi_battery_refresh() local 1010 power_unit = battery->power_unit; in acpi_battery_refresh() [all …]
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/ivybridge/ |
| H A D | model_206ax.c | 166 unsigned power_unit; in set_power_limits() local 178 power_unit = 2 << ((msr.lo & 0xf) - 1); in set_power_limits() 187 debug("CPU TDP: %u Watts\n", tdp / power_unit); in set_power_limits()
|
| /OK3568_Linux_fs/u-boot/arch/x86/cpu/broadwell/ |
| H A D | cpu.c | 653 unsigned power_unit; in cpu_set_power_limits() local 666 power_unit = 2 << ((msr.lo & 0xf) - 1); in cpu_set_power_limits() 675 debug("CPU TDP: %u Watts\n", tdp / power_unit); in cpu_set_power_limits()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | intel_rapl.h | 137 unsigned int power_unit; member
|
| /OK3568_Linux_fs/kernel/drivers/powercap/ |
| H 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()
|
| /OK3568_Linux_fs/kernel/drivers/platform/x86/ |
| H A D | surface3_power.c | 68 u32 power_unit; member 187 .power_unit = 0x01,
|