Lines Matching defs:rd

122 static bool is_pl_valid(struct rapl_domain *rd, int pl)  in is_pl_valid()
129 static int get_pl_lock_prim(struct rapl_domain *rd, int pl) in get_pl_lock_prim()
153 static int get_pl_prim(struct rapl_domain *rd, int pl, enum pl_prims prim) in get_pl_prim()
279 struct rapl_domain *rd; in get_energy_counter() local
301 struct rapl_domain *rd = power_zone_to_rapl_domain(pcd_dev); in get_max_energy_counter() local
309 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in release_zone() local
324 static int find_nr_power_limit(struct rapl_domain *rd) in find_nr_power_limit()
338 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in set_domain_enable() local
353 struct rapl_domain *rd = power_zone_to_rapl_domain(power_zone); in get_domain_enable() local
419 static int contraint_to_pl(struct rapl_domain *rd, int cid) in contraint_to_pl()
437 struct rapl_domain *rd; in set_power_limit() local
457 struct rapl_domain *rd; in get_current_power_limit() local
478 struct rapl_domain *rd; in set_time_window() local
495 struct rapl_domain *rd; in get_time_window() local
516 struct rapl_domain *rd; in get_constraint_name() local
529 struct rapl_domain *rd; in get_max_power() local
571 struct rapl_domain *rd = rp->domains; in rapl_init_domains() local
608 static u64 rapl_unit_xlate(struct rapl_domain *rd, enum unit_type type, in rapl_unit_xlate()
766 prim_fixups(struct rapl_domain *rd, enum rapl_primitives prim) in prim_fixups()
807 static int rapl_read_data_raw(struct rapl_domain *rd, in rapl_read_data_raw()
846 static int rapl_write_data_raw(struct rapl_domain *rd, in rapl_write_data_raw()
874 static int rapl_read_pl_data(struct rapl_domain *rd, int pl, in rapl_read_pl_data()
885 static int rapl_write_pl_data(struct rapl_domain *rd, int pl, in rapl_write_pl_data()
912 static int rapl_check_unit_core(struct rapl_domain *rd) in rapl_check_unit_core()
940 static int rapl_check_unit_atom(struct rapl_domain *rd) in rapl_check_unit_atom()
1032 static void set_floor_freq_default(struct rapl_domain *rd, bool mode) in set_floor_freq_default()
1047 static void set_floor_freq_atom(struct rapl_domain *rd, bool enable) in set_floor_freq_atom()
1071 static u64 rapl_compute_time_window_core(struct rapl_domain *rd, u64 value, in rapl_compute_time_window_core()
1104 static u64 rapl_compute_time_window_atom(struct rapl_domain *rd, u64 value, in rapl_compute_time_window_atom()
1127 static int rapl_check_unit_tpmi(struct rapl_domain *rd) in rapl_check_unit_tpmi()
1305 struct rapl_domain *rd; in rapl_package_register_powercap() local
1407 static int rapl_get_domain_unit(struct rapl_domain *rd) in rapl_get_domain_unit()
1445 static void rapl_detect_powerlimit(struct rapl_domain *rd) in rapl_detect_powerlimit()
1469 struct rapl_domain *rd; in rapl_detect_domains() local
1504 struct rapl_domain *rd, *rd_package = NULL; in rapl_remove_package() local
1606 struct rapl_domain *rd; in power_limit_state_save() local
1627 struct rapl_domain *rd; in power_limit_state_restore() local