#include <linux/uuid.h>
#include "iwl-drv.h"
#include "iwl-debug.h"
#include "acpi.h"
#include "fw/runtime.h"
const guid_t iwl_guid = …;
static const size_t acpi_dsm_size[DSM_FUNC_NUM_FUNCS] = …;
static int iwl_acpi_get_handle(struct device *dev, acpi_string method,
acpi_handle *ret_handle)
{ … }
static void *iwl_acpi_get_object(struct device *dev, acpi_string method)
{ … }
static void *iwl_acpi_get_dsm_object(struct device *dev, int rev, int func,
union acpi_object *args,
const guid_t *guid)
{ … }
static int iwl_acpi_get_dsm_integer(struct device *dev, int rev, int func,
const guid_t *guid, u64 *value,
size_t expected_size)
{ … }
int iwl_acpi_get_dsm(struct iwl_fw_runtime *fwrt,
enum iwl_dsm_funcs func, u32 *value)
{ … }
static union acpi_object *
iwl_acpi_get_wifi_pkg_range(struct device *dev,
union acpi_object *data,
int min_data_size,
int max_data_size,
int *tbl_rev)
{ … }
static union acpi_object *
iwl_acpi_get_wifi_pkg(struct device *dev,
union acpi_object *data,
int data_size, int *tbl_rev)
{ … }
int iwl_acpi_get_tas_table(struct iwl_fw_runtime *fwrt,
struct iwl_tas_data *tas_data)
{ … }
int iwl_acpi_get_mcc(struct iwl_fw_runtime *fwrt, char *mcc)
{ … }
int iwl_acpi_get_pwr_limit(struct iwl_fw_runtime *fwrt, u64 *dflt_pwr_limit)
{ … }
int iwl_acpi_get_eckv(struct iwl_fw_runtime *fwrt, u32 *extl_clk)
{ … }
static int iwl_acpi_sar_set_profile(union acpi_object *table,
struct iwl_sar_profile *profile,
bool enabled, u8 num_chains,
u8 num_sub_bands)
{ … }
int iwl_acpi_get_wrds_table(struct iwl_fw_runtime *fwrt)
{ … }
int iwl_acpi_get_ewrd_table(struct iwl_fw_runtime *fwrt)
{ … }
int iwl_acpi_get_wgds_table(struct iwl_fw_runtime *fwrt)
{ … }
int iwl_acpi_get_ppag_table(struct iwl_fw_runtime *fwrt)
{ … }
void iwl_acpi_get_phy_filters(struct iwl_fw_runtime *fwrt,
struct iwl_phy_specific_cfg *filters)
{ … }
IWL_EXPORT_SYMBOL(iwl_acpi_get_phy_filters);
void iwl_acpi_get_guid_lock_status(struct iwl_fw_runtime *fwrt)
{ … }
IWL_EXPORT_SYMBOL(iwl_acpi_get_guid_lock_status);
int iwl_acpi_get_wbem(struct iwl_fw_runtime *fwrt, u32 *value)
{ … }