Home
last modified time | relevance | path

Searched refs:rapl_msr_priv (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/powercap/
A Dintel_rapl_msr.c34 static struct rapl_if_priv *rapl_msr_priv; variable
71 rp = rapl_find_package_domain(cpu, rapl_msr_priv); in rapl_cpu_online()
73 rp = rapl_add_package(cpu, rapl_msr_priv); in rapl_cpu_online()
153 rapl_msr_priv = &rapl_msr_priv_intel; in rapl_msr_probe()
157 rapl_msr_priv = &rapl_msr_priv_amd; in rapl_msr_probe()
163 rapl_msr_priv->read_raw = rapl_msr_read_raw; in rapl_msr_probe()
164 rapl_msr_priv->write_raw = rapl_msr_write_raw; in rapl_msr_probe()
167 rapl_msr_priv->limits[RAPL_DOMAIN_PACKAGE] = 3; in rapl_msr_probe()
174 if (IS_ERR(rapl_msr_priv->control_type)) { in rapl_msr_probe()
176 return PTR_ERR(rapl_msr_priv->control_type); in rapl_msr_probe()
[all …]

Completed in 2 milliseconds