Lines Matching defs:rd

123 static bool is_pl_valid(struct rapl_domain *rd, int pl)  in is_pl_valid()
130 static int get_pl_lock_prim(struct rapl_domain *rd, int pl) in get_pl_lock_prim()
154 static int get_pl_prim(struct rapl_domain *rd, int pl, enum pl_prims prim) in get_pl_prim()
280 struct rapl_domain *rd; in get_energy_counter() local
302 struct rapl_domain *rd = power_zone_to_rapl_domain(pcd_dev); in get_max_energy_counter() local
310 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in release_zone() local
325 static int find_nr_power_limit(struct rapl_domain *rd) in find_nr_power_limit()
339 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in set_domain_enable() local
354 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in get_domain_enable() local
420 static int contraint_to_pl(struct rapl_domain *rd, int cid) in contraint_to_pl()
438 struct rapl_domain *rd; in set_power_limit() local
458 struct rapl_domain *rd; in get_current_power_limit() local
479 struct rapl_domain *rd; in set_time_window() local
496 struct rapl_domain *rd; in get_time_window() local
517 struct rapl_domain *rd; in get_constraint_name() local
530 struct rapl_domain *rd; in get_max_power() local
572 struct rapl_domain *rd = rp->domains; in rapl_init_domains() local
609 static u64 rapl_unit_xlate(struct rapl_domain *rd, enum unit_type type, in rapl_unit_xlate()
772 prim_fixups(struct rapl_domain *rd, enum rapl_primitives prim) in prim_fixups()
813 static int rapl_read_data_raw(struct rapl_domain *rd, in rapl_read_data_raw()
852 static int rapl_write_data_raw(struct rapl_domain *rd, in rapl_write_data_raw()
880 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, in rapl_read_pl_data()
891 static int rapl_write_pl_data(struct rapl_domain *rd, int pl, in rapl_write_pl_data()
918 static int rapl_check_unit_core(struct rapl_domain *rd) in rapl_check_unit_core()
946 static int rapl_check_unit_atom(struct rapl_domain *rd) in rapl_check_unit_atom()
1038 static void set_floor_freq_default(struct rapl_domain *rd, bool mode) in set_floor_freq_default()
1053 static void set_floor_freq_atom(struct rapl_domain *rd, bool enable) in set_floor_freq_atom()
1077 static u64 rapl_compute_time_window_core(struct rapl_domain *rd, u64 value, in rapl_compute_time_window_core()
1110 static u64 rapl_compute_time_window_atom(struct rapl_domain *rd, u64 value, in rapl_compute_time_window_atom()
1133 static int rapl_check_unit_tpmi(struct rapl_domain *rd) in rapl_check_unit_tpmi()
1312 struct rapl_domain *rd; in rapl_package_register_powercap() local
1414 static int rapl_get_domain_unit(struct rapl_domain *rd) in rapl_get_domain_unit()
1452 static void rapl_detect_powerlimit(struct rapl_domain *rd) in rapl_detect_powerlimit()
1476 struct rapl_domain *rd; in rapl_detect_domains() local
1511 struct rapl_domain *rd, *rd_package = NULL; in rapl_remove_package_cpuslocked() local
1635 struct rapl_domain *rd; in power_limit_state_save() local
1656 struct rapl_domain *rd; in power_limit_state_restore() local