Searched refs:uncore_data (Results 1 – 3 of 3) sorted by relevance
/Linux-v6.1/drivers/platform/x86/intel/uncore-frequency/ |
D | uncore-frequency-common.c | 20 static int (*uncore_read)(struct uncore_data *data, unsigned int *min, unsigned int *max); 21 static int (*uncore_write)(struct uncore_data *data, unsigned int input, unsigned int min_max); 22 static int (*uncore_read_freq)(struct uncore_data *data, unsigned int *freq); 24 static ssize_t show_min_max_freq_khz(struct uncore_data *data, in show_min_max_freq_khz() 42 static ssize_t store_min_max_freq_khz(struct uncore_data *data, in store_min_max_freq_khz() 58 static ssize_t show_perf_status_freq_khz(struct uncore_data *data, char *buf) in show_perf_status_freq_khz() 77 struct uncore_data *data = container_of(attr, struct uncore_data, name##_dev_attr);\ 87 struct uncore_data *data = container_of(attr, struct uncore_data, name##_dev_attr);\ 96 struct uncore_data *data = container_of(attr, struct uncore_data, name##_dev_attr);\ 113 struct uncore_data *data = container_of(attr, struct uncore_data,\ [all …]
|
D | uncore-frequency-common.h | 36 struct uncore_data { struct 55 int uncore_freq_common_init(int (*read_control_freq)(struct uncore_data *data, unsigned int *min, u… argument 56 … int (*write_control_freq)(struct uncore_data *data, unsigned int input, unsigned int min_max), 57 int (*uncore_read_freq)(struct uncore_data *data, unsigned int *freq)); 59 int uncore_freq_add_entry(struct uncore_data *data, int cpu); 60 void uncore_freq_remove_die_entry(struct uncore_data *data);
|
D | uncore-frequency.c | 29 static struct uncore_data *uncore_instances; 39 static int uncore_read_control_freq(struct uncore_data *data, unsigned int *min, in uncore_read_control_freq() 58 static int uncore_write_control_freq(struct uncore_data *data, unsigned int input, in uncore_write_control_freq() 92 static int uncore_read_freq(struct uncore_data *data, unsigned int *freq) in uncore_read_freq() 110 static struct uncore_data *uncore_get_instance(unsigned int cpu) in uncore_get_instance() 122 struct uncore_data *data; in uncore_event_cpu_online() 145 struct uncore_data *data; in uncore_event_cpu_offline() 179 struct uncore_data *data = &uncore_instances[i]; in uncore_pm_notify()
|