Searched refs:rapl_domain (Results 1 – 4 of 4) sorted by relevance
| /linux/include/linux/ |
| H A D | intel_rapl.h | 44 struct rapl_domain; 92 struct rapl_domain *domain; 108 struct rapl_domain { struct 132 int (*check_unit)(struct rapl_domain *rd); argument 133 void (*set_floor_freq)(struct rapl_domain *rd, bool mode); 134 u64 (*compute_time_window)(struct rapl_domain *rd, u64 val, bool to_raw); 227 struct rapl_domain *domains; /* array of domains, sized at runtime */ 253 int rapl_default_check_unit(struct rapl_domain *rd); 254 void rapl_default_set_floor_freq(struct rapl_domain *rd, bool mode); 255 u64 rapl_default_compute_time_window(struct rapl_domain *rd, u64 value, bool to_raw);
|
| /linux/drivers/powercap/ |
| H A D | intel_rapl_common.c | 71 static bool is_pl_valid(struct rapl_domain *rd, int pl) in is_pl_valid() 78 static int get_pl_lock_prim(struct rapl_domain *rd, int pl) in get_pl_lock_prim() 102 static int get_pl_prim(struct rapl_domain *rd, int pl, enum pl_prims prim) in get_pl_prim() 150 container_of(_zone, struct rapl_domain, power_zone) 158 static int rapl_read_data_raw(struct rapl_domain *rd, 162 static int rapl_write_data_raw(struct rapl_domain *rd, 165 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, 168 static int rapl_write_pl_data(struct rapl_domain *rd, int pl, 171 static u64 rapl_unit_xlate(struct rapl_domain *rd, 188 struct rapl_domain *rd; in get_energy_counter() [all …]
|
| H A D | intel_rapl_msr.c | 219 static int rapl_check_unit_atom(struct rapl_domain *rd) in rapl_check_unit_atom() 247 static void set_floor_freq_atom(struct rapl_domain *rd, bool enable) in set_floor_freq_atom() 271 static u64 rapl_compute_time_window_atom(struct rapl_domain *rd, u64 value, in rapl_compute_time_window_atom()
|
| H A D | intel_rapl_tpmi.c | 316 static int rapl_check_unit_tpmi(struct rapl_domain *rd) in rapl_check_unit_tpmi()
|