Lines Matching refs:rapl_package

108 	int (*check_unit)(struct rapl_package *rp, int cpu);
110 u64 (*compute_time_window)(struct rapl_package *rp, u64 val,
146 static void rapl_init_domains(struct rapl_package *rp);
155 static void package_power_limit_irq_save(struct rapl_package *rp);
201 struct rapl_package *rp = rd->rp; in release_zone()
331 struct rapl_package *rp; in set_power_limit()
549 static void rapl_init_domains(struct rapl_package *rp) in rapl_init_domains()
618 struct rapl_package *rp = rd->rp; in rapl_unit_xlate()
830 static int rapl_check_unit_core(struct rapl_package *rp, int cpu) in rapl_check_unit_core()
858 static int rapl_check_unit_atom(struct rapl_package *rp, int cpu) in rapl_check_unit_atom()
889 struct rapl_package *rp = (struct rapl_package *)info; in power_limit_irq_save_cpu()
911 static void package_power_limit_irq_save(struct rapl_package *rp) in package_power_limit_irq_save()
923 static void package_power_limit_irq_restore(struct rapl_package *rp) in package_power_limit_irq_restore()
983 static u64 rapl_compute_time_window_core(struct rapl_package *rp, u64 value, in rapl_compute_time_window_core()
1005 static u64 rapl_compute_time_window_atom(struct rapl_package *rp, u64 value, in rapl_compute_time_window_atom()
1137 static void rapl_update_domain_data(struct rapl_package *rp) in rapl_update_domain_data()
1155 static int rapl_package_register_powercap(struct rapl_package *rp) in rapl_package_register_powercap()
1227 static int rapl_check_domain(int cpu, int domain, struct rapl_package *rp) in rapl_check_domain()
1288 static int rapl_detect_domains(struct rapl_package *rp, int cpu) in rapl_detect_domains()
1321 void rapl_remove_package(struct rapl_package *rp) in rapl_remove_package()
1353 struct rapl_package *rapl_find_package_domain(int cpu, struct rapl_if_priv *priv) in rapl_find_package_domain()
1356 struct rapl_package *rp; in rapl_find_package_domain()
1369 struct rapl_package *rapl_add_package(int cpu, struct rapl_if_priv *priv) in rapl_add_package()
1372 struct rapl_package *rp; in rapl_add_package()
1378 rp = kzalloc(sizeof(struct rapl_package), GFP_KERNEL); in rapl_add_package()
1416 struct rapl_package *rp; in power_limit_state_save()
1457 struct rapl_package *rp; in power_limit_state_restore()