Lines Matching refs:value

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