rapl_domain
static int get_pl_prim(struct rapl_domain *rd, int pl, enum pl_prims prim)
static void rapl_detect_powerlimit(struct rapl_domain *rd)
struct rapl_domain *rd;
rp->domains = kzalloc_objs(struct rapl_domain, rp->nr_domains);
container_of(_zone, struct rapl_domain, power_zone)
static int rapl_read_data_raw(struct rapl_domain *rd,
struct rapl_domain *rd = &rp->domains[idx];
static int rapl_write_data_raw(struct rapl_domain *rd,
static int rapl_read_pl_data(struct rapl_domain *rd, int pl,
struct rapl_domain *rd, *rd_package = NULL;
static int rapl_write_pl_data(struct rapl_domain *rd, int pl,
static u64 rapl_unit_xlate(struct rapl_domain *rd,
struct rapl_domain *rd;
struct rapl_domain *rd;
struct rapl_domain *rd;
struct rapl_domain *rd = power_zone_to_rapl_domain(pcd_dev);
struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone);
static int find_nr_power_limit(struct rapl_domain *rd)
struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone);
struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone);
static int contraint_to_pl(struct rapl_domain *rd, int cid)
struct rapl_domain *rd;
struct rapl_domain *rd;
struct rapl_domain *rd;
struct rapl_domain *rd;
struct rapl_domain *rd;
struct rapl_domain *rd;
struct rapl_domain *rd = rp->domains;
static u64 rapl_unit_xlate(struct rapl_domain *rd, enum unit_type type,
prim_fixups(struct rapl_domain *rd, enum rapl_primitives prim)
static int rapl_read_data_raw(struct rapl_domain *rd,
static int rapl_write_data_raw(struct rapl_domain *rd,
static int rapl_read_pl_data(struct rapl_domain *rd, int pl,
static int rapl_write_pl_data(struct rapl_domain *rd, int pl,
static bool is_pl_valid(struct rapl_domain *rd, int pl)
int rapl_default_check_unit(struct rapl_domain *rd)
static int get_pl_lock_prim(struct rapl_domain *rd, int pl)
void rapl_default_set_floor_freq(struct rapl_domain *rd, bool mode)
u64 rapl_default_compute_time_window(struct rapl_domain *rd, u64 value, bool to_raw)
struct rapl_domain *rd;
static int rapl_get_domain_unit(struct rapl_domain *rd)
static int rapl_check_unit_atom(struct rapl_domain *rd)
static void set_floor_freq_atom(struct rapl_domain *rd, bool enable)
static u64 rapl_compute_time_window_atom(struct rapl_domain *rd, u64 value,
static int rapl_check_unit_tpmi(struct rapl_domain *rd)
int (*check_unit)(struct rapl_domain *rd);
void (*set_floor_freq)(struct rapl_domain *rd, bool mode);
u64 (*compute_time_window)(struct rapl_domain *rd, u64 val, bool to_raw);
struct rapl_domain *domains; /* array of domains, sized at runtime */
int rapl_default_check_unit(struct rapl_domain *rd);
void rapl_default_set_floor_freq(struct rapl_domain *rd, bool mode);
u64 rapl_default_compute_time_window(struct rapl_domain *rd, u64 value, bool to_raw);
struct rapl_domain;
struct rapl_domain *domain;