Lines Matching defs:value
657 u32 value = 0;
684 value = inl(pr->throttling.address);
690 if (value & 0x10) {
691 duty_value = value & duty_mask;
710 static int acpi_throttling_rdmsr(u64 *value)
726 *value = (u64) msr;
732 static int acpi_throttling_wrmsr(u64 value)
742 msr = value;
750 static int acpi_throttling_rdmsr(u64 *value)
757 static int acpi_throttling_wrmsr(u64 value)
766 u64 *value)
784 *value = (u64) ((ptc_value >> bit_offset) & ptc_mask);
788 ret = acpi_throttling_rdmsr(value);
798 u64 value)
812 ptc_value = value & ptc_mask;
821 ret = acpi_throttling_wrmsr(value);
831 u64 value)
839 if (tx->control == value)
846 int state, u64 *value)
854 *value = tx->control;
864 u64 value;
874 value = 0;
875 ret = acpi_read_throttling_status(pr, &value);
877 state = acpi_get_throttling_state(pr, value);
957 u32 value = 0;
996 value = inl(pr->throttling.address);
997 if (value & 0x10) {
998 value &= 0xFFFFFFEF;
999 outl(value, pr->throttling.address);
1004 * that a state value of 0 leaves throttling disabled.
1007 value &= duty_mask;
1008 value |= duty_value;
1009 outl(value, pr->throttling.address);
1011 value |= 0x00000010;
1012 outl(value, pr->throttling.address);
1031 u64 value;
1048 value = 0;
1049 ret = acpi_get_throttling_value(pr, state, &value);
1051 acpi_write_throttling_state(pr, value);