ACPI: replace acpi_integer by u64
acpi_integer is now obsolete and removed from the ACPICA code base, replaced by u64. Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@ -250,8 +250,8 @@ struct acpi_device_wakeup_state {
|
||||
|
||||
struct acpi_device_wakeup {
|
||||
acpi_handle gpe_device;
|
||||
acpi_integer gpe_number;
|
||||
acpi_integer sleep_state;
|
||||
u64 gpe_number;
|
||||
u64 sleep_state;
|
||||
struct acpi_handle_list resources;
|
||||
struct acpi_device_wakeup_state state;
|
||||
struct acpi_device_wakeup_flags flags;
|
||||
@ -380,7 +380,7 @@ struct acpi_pci_root {
|
||||
};
|
||||
|
||||
/* helper */
|
||||
acpi_handle acpi_get_child(acpi_handle, acpi_integer);
|
||||
acpi_handle acpi_get_child(acpi_handle, u64);
|
||||
int acpi_is_root_bridge(acpi_handle);
|
||||
acpi_handle acpi_get_pci_rootbridge_handle(unsigned int, unsigned int);
|
||||
struct acpi_pci_root *acpi_pci_find_root(acpi_handle handle);
|
||||
|
@ -92,11 +92,11 @@ struct acpi_processor_power {
|
||||
/* Performance Management */
|
||||
|
||||
struct acpi_psd_package {
|
||||
acpi_integer num_entries;
|
||||
acpi_integer revision;
|
||||
acpi_integer domain;
|
||||
acpi_integer coord_type;
|
||||
acpi_integer num_processors;
|
||||
u64 num_entries;
|
||||
u64 revision;
|
||||
u64 domain;
|
||||
u64 coord_type;
|
||||
u64 num_processors;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct acpi_pct_register {
|
||||
@ -110,12 +110,12 @@ struct acpi_pct_register {
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct acpi_processor_px {
|
||||
acpi_integer core_frequency; /* megahertz */
|
||||
acpi_integer power; /* milliWatts */
|
||||
acpi_integer transition_latency; /* microseconds */
|
||||
acpi_integer bus_master_latency; /* microseconds */
|
||||
acpi_integer control; /* control value */
|
||||
acpi_integer status; /* success indicator */
|
||||
u64 core_frequency; /* megahertz */
|
||||
u64 power; /* milliWatts */
|
||||
u64 transition_latency; /* microseconds */
|
||||
u64 bus_master_latency; /* microseconds */
|
||||
u64 control; /* control value */
|
||||
u64 status; /* success indicator */
|
||||
};
|
||||
|
||||
struct acpi_processor_performance {
|
||||
@ -133,11 +133,11 @@ struct acpi_processor_performance {
|
||||
/* Throttling Control */
|
||||
|
||||
struct acpi_tsd_package {
|
||||
acpi_integer num_entries;
|
||||
acpi_integer revision;
|
||||
acpi_integer domain;
|
||||
acpi_integer coord_type;
|
||||
acpi_integer num_processors;
|
||||
u64 num_entries;
|
||||
u64 revision;
|
||||
u64 domain;
|
||||
u64 coord_type;
|
||||
u64 num_processors;
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct acpi_ptc_register {
|
||||
@ -151,11 +151,11 @@ struct acpi_ptc_register {
|
||||
} __attribute__ ((packed));
|
||||
|
||||
struct acpi_processor_tx_tss {
|
||||
acpi_integer freqpercentage; /* */
|
||||
acpi_integer power; /* milliWatts */
|
||||
acpi_integer transition_latency; /* microseconds */
|
||||
acpi_integer control; /* control value */
|
||||
acpi_integer status; /* success indicator */
|
||||
u64 freqpercentage; /* */
|
||||
u64 power; /* milliWatts */
|
||||
u64 transition_latency; /* microseconds */
|
||||
u64 control; /* control value */
|
||||
u64 status; /* success indicator */
|
||||
};
|
||||
struct acpi_processor_tx {
|
||||
u16 power;
|
||||
|
Reference in New Issue
Block a user