Lines Matching defs:rd

125 static bool is_pl_valid(struct rapl_domain *rd, int pl)  in is_pl_valid()
132 static int get_pl_lock_prim(struct rapl_domain *rd, int pl) in get_pl_lock_prim()
156 static int get_pl_prim(struct rapl_domain *rd, int pl, enum pl_prims prim) in get_pl_prim()
282 struct rapl_domain *rd; in get_energy_counter() local
304 struct rapl_domain *rd = power_zone_to_rapl_domain(pcd_dev); in get_max_energy_counter() local
312 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in release_zone() local
327 static int find_nr_power_limit(struct rapl_domain *rd) in find_nr_power_limit()
341 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in set_domain_enable() local
356 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in get_domain_enable() local
422 static int contraint_to_pl(struct rapl_domain *rd, int cid) in contraint_to_pl()
440 struct rapl_domain *rd; in set_power_limit() local
460 struct rapl_domain *rd; in get_current_power_limit() local
481 struct rapl_domain *rd; in set_time_window() local
498 struct rapl_domain *rd; in get_time_window() local
519 struct rapl_domain *rd; in get_constraint_name() local
532 struct rapl_domain *rd; in get_max_power() local
574 struct rapl_domain *rd = rp->domains; in rapl_init_domains() local
611 static u64 rapl_unit_xlate(struct rapl_domain *rd, enum unit_type type, in rapl_unit_xlate()
774 prim_fixups(struct rapl_domain *rd, enum rapl_primitives prim) in prim_fixups()
815 static int rapl_read_data_raw(struct rapl_domain *rd, in rapl_read_data_raw()
854 static int rapl_write_data_raw(struct rapl_domain *rd, in rapl_write_data_raw()
882 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, in rapl_read_pl_data()
893 static int rapl_write_pl_data(struct rapl_domain *rd, int pl, in rapl_write_pl_data()
920 static int rapl_check_unit_core(struct rapl_domain *rd) in rapl_check_unit_core()
948 static int rapl_check_unit_atom(struct rapl_domain *rd) in rapl_check_unit_atom()
1040 static void set_floor_freq_default(struct rapl_domain *rd, bool mode) in set_floor_freq_default()
1055 static void set_floor_freq_atom(struct rapl_domain *rd, bool enable) in set_floor_freq_atom()
1079 static u64 rapl_compute_time_window_core(struct rapl_domain *rd, u64 value, in rapl_compute_time_window_core()
1112 static u64 rapl_compute_time_window_atom(struct rapl_domain *rd, u64 value, in rapl_compute_time_window_atom()
1135 static int rapl_check_unit_tpmi(struct rapl_domain *rd) in rapl_check_unit_tpmi()
1318 struct rapl_domain *rd; in rapl_package_register_powercap() local
1420 static int rapl_get_domain_unit(struct rapl_domain *rd) in rapl_get_domain_unit()
1458 static void rapl_detect_powerlimit(struct rapl_domain *rd) in rapl_detect_powerlimit()
1482 struct rapl_domain *rd; in rapl_detect_domains() local
2022 struct rapl_domain *rd = &rp->domains[idx]; in rapl_package_add_pmu() local
2097 struct rapl_domain *rd, *rd_package = NULL; in rapl_remove_package_cpuslocked() local
2247 struct rapl_domain *rd; in power_limit_state_save() local
2268 struct rapl_domain *rd; in power_limit_state_restore() local