Lines Matching defs:value
645 u32 value = 0;
672 value = inl(pr->throttling.address);
678 if (value & 0x10) {
679 duty_value = value & duty_mask;
698 static int acpi_throttling_rdmsr(u64 *value)
713 *value = (u64) msr;
719 static int acpi_throttling_wrmsr(u64 value)
728 msr = value;
736 static int acpi_throttling_rdmsr(u64 *value)
742 static int acpi_throttling_wrmsr(u64 value)
750 u64 *value)
768 *value = (u64) ((ptc_value >> bit_offset) & ptc_mask);
772 ret = acpi_throttling_rdmsr(value);
782 u64 value)
796 ptc_value = value & ptc_mask;
805 ret = acpi_throttling_wrmsr(value);
815 u64 value)
823 if (tx->control == value)
830 int state, u64 *value)
838 *value = tx->control;
848 u64 value;
858 value = 0;
859 ret = acpi_read_throttling_status(pr, &value);
861 state = acpi_get_throttling_state(pr, value);
941 u32 value = 0;
980 value = inl(pr->throttling.address);
981 if (value & 0x10) {
982 value &= 0xFFFFFFEF;
983 outl(value, pr->throttling.address);
988 * that a state value of 0 leaves throttling disabled.
991 value &= duty_mask;
992 value |= duty_value;
993 outl(value, pr->throttling.address);
995 value |= 0x00000010;
996 outl(value, pr->throttling.address);
1015 u64 value;
1032 value = 0;
1033 ret = acpi_get_throttling_value(pr, state, &value);
1035 acpi_write_throttling_state(pr, value);