Home
last modified time | relevance | path

Searched refs:uncore_data (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/platform/x86/intel/uncore-frequency/
Duncore-frequency-common.c22 static int (*uncore_read)(struct uncore_data *data, unsigned int *value, enum uncore_index index);
23 static int (*uncore_write)(struct uncore_data *data, unsigned int input, enum uncore_index index);
27 struct uncore_data *data = container_of(attr, struct uncore_data, domain_id_kobj_attr); in show_domain_id()
34 struct uncore_data *data = container_of(attr, struct uncore_data, fabric_cluster_id_kobj_attr); in show_fabric_cluster_id()
41 struct uncore_data *data = container_of(attr, struct uncore_data, package_id_kobj_attr); in show_package_id()
46 static ssize_t show_attr(struct uncore_data *data, char *buf, enum uncore_index index) in show_attr()
60 static ssize_t store_attr(struct uncore_data *data, const char *buf, ssize_t count, in store_attr()
89 struct uncore_data *data = container_of(attr, struct uncore_data, name##_kobj_attr);\
98 struct uncore_data *data = container_of(attr, struct uncore_data, name##_kobj_attr);\
127 struct uncore_data *data = container_of(attr, struct uncore_data,\
[all …]
Duncore-frequency-tpmi.c52 struct uncore_data uncore_data; member
99 static int read_eff_lat_ctrl(struct uncore_data *data, unsigned int *val, enum uncore_index index) in read_eff_lat_ctrl()
104 cluster_info = container_of(data, struct tpmi_uncore_cluster_info, uncore_data); in read_eff_lat_ctrl()
143 static int uncore_read_control_freq(struct uncore_data *data, unsigned int *value, in uncore_read_control_freq()
148 cluster_info = container_of(data, struct tpmi_uncore_cluster_info, uncore_data); in uncore_read_control_freq()
189 static int write_eff_lat_ctrl(struct uncore_data *data, unsigned int val, enum uncore_index index) in write_eff_lat_ctrl()
194 cluster_info = container_of(data, struct tpmi_uncore_cluster_info, uncore_data); in write_eff_lat_ctrl()
284 static int uncore_write_control_freq(struct uncore_data *data, unsigned int input, in uncore_write_control_freq()
294 cluster_info = container_of(data, struct tpmi_uncore_cluster_info, uncore_data); in uncore_write_control_freq()
335 static int uncore_read_freq(struct uncore_data *data, unsigned int *freq) in uncore_read_freq()
[all …]
Duncore-frequency-common.h49 struct uncore_data { struct
90 int uncore_freq_common_init(int (*read)(struct uncore_data *data, unsigned int *value, argument
92 int (*write)(struct uncore_data *data, unsigned int input,
95 int uncore_freq_add_entry(struct uncore_data *data, int cpu);
96 void uncore_freq_remove_die_entry(struct uncore_data *data);
Duncore-frequency.c30 static struct uncore_data *uncore_instances;
45 static int uncore_read_control_freq(struct uncore_data *data, unsigned int *value, in uncore_read_control_freq()
66 static int uncore_write_control_freq(struct uncore_data *data, unsigned int input, in uncore_write_control_freq()
100 static int uncore_read_freq(struct uncore_data *data, unsigned int *freq) in uncore_read_freq()
117 static int uncore_read(struct uncore_data *data, unsigned int *value, enum uncore_index index) in uncore_read()
135 static struct uncore_data *uncore_get_instance(unsigned int cpu) in uncore_get_instance()
147 struct uncore_data *data; in uncore_event_cpu_online()
171 struct uncore_data *data; in uncore_event_cpu_offline()
205 struct uncore_data *data = &uncore_instances[i]; in uncore_pm_notify()