Lines Matching refs:rapl_defaults
92 struct rapl_defaults {
101 static struct rapl_defaults *rapl_defaults;
221 if (rapl_defaults->set_floor_freq)
222 rapl_defaults->set_floor_freq(rd, mode);
580 rapl_defaults->dram_domain_energy_unit;
587 rapl_defaults->psys_domain_energy_unit;
619 return rapl_defaults->compute_time_window(rp, value, to_raw);
909 if (!rapl_defaults->floor_freq_reg_addr) {
916 rapl_defaults->floor_freq_reg_addr,
924 rapl_defaults->floor_freq_reg_addr, mdata);
967 static const struct rapl_defaults rapl_defaults_core = {
974 static const struct rapl_defaults rapl_defaults_hsw_server = {
981 static const struct rapl_defaults rapl_defaults_spr_server = {
988 static const struct rapl_defaults rapl_defaults_byt = {
995 static const struct rapl_defaults rapl_defaults_tng = {
1002 static const struct rapl_defaults rapl_defaults_ann = {
1009 static const struct rapl_defaults rapl_defaults_cht = {
1310 if (!rapl_defaults)
1330 if (rapl_detect_domains(rp, cpu) || rapl_defaults->check_unit(rp, cpu)) {
1457 rapl_defaults = (struct rapl_defaults *)id->driver_data;