#include <linux/auxiliary_bus.h>
#include <linux/bitfield.h>
#include <linux/bits.h>
#include <linux/io.h>
#include <linux/module.h>
#include <linux/intel_tpmi.h>
#include "uncore-frequency-common.h"
#define UNCORE_MAJOR_VERSION …
#define UNCORE_MINOR_VERSION …
#define UNCORE_HEADER_INDEX …
#define UNCORE_FABRIC_CLUSTER_OFFSET …
#define UNCORE_FABRIC_CLUSTER_SIZE …
#define UNCORE_STATUS_INDEX …
#define UNCORE_CONTROL_INDEX …
#define UNCORE_FREQ_KHZ_MULTIPLIER …
struct tpmi_uncore_struct;
struct tpmi_uncore_cluster_info { … };
struct tpmi_uncore_power_domain_info { … };
struct tpmi_uncore_struct { … };
#define UNCORE_CURRENT_RATIO_MASK …
#define UNCORE_MAX_RATIO_MASK …
#define UNCORE_MIN_RATIO_MASK …
static void read_control_freq(struct tpmi_uncore_cluster_info *cluster_info,
unsigned int *value, enum uncore_index index)
{ … }
#define UNCORE_MAX_RATIO …
static int uncore_read_control_freq(struct uncore_data *data, unsigned int *value,
enum uncore_index index)
{ … }
static void write_control_freq(struct tpmi_uncore_cluster_info *cluster_info, unsigned int input,
unsigned int index)
{ … }
static int uncore_write_control_freq(struct uncore_data *data, unsigned int input,
enum uncore_index index)
{ … }
static int uncore_read_freq(struct uncore_data *data, unsigned int *freq)
{ … }
static int uncore_read(struct uncore_data *data, unsigned int *value, enum uncore_index index)
{ … }
static void remove_cluster_entries(struct tpmi_uncore_struct *tpmi_uncore)
{ … }
#define UNCORE_VERSION_MASK …
#define UNCORE_LOCAL_FABRIC_CLUSTER_ID_MASK …
#define UNCORE_CLUSTER_OFF_MASK …
#define UNCORE_MAX_CLUSTER_PER_DOMAIN …
static int uncore_probe(struct auxiliary_device *auxdev, const struct auxiliary_device_id *id)
{ … }
static void uncore_remove(struct auxiliary_device *auxdev)
{ … }
static const struct auxiliary_device_id intel_uncore_id_table[] = …;
MODULE_DEVICE_TABLE(auxiliary, intel_uncore_id_table);
static struct auxiliary_driver intel_uncore_aux_driver = …;
module_auxiliary_driver(…) …;
MODULE_IMPORT_NS(…);
MODULE_IMPORT_NS(…);
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;