Home
last modified time | relevance | path

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

/openbmc/linux/drivers/thermal/intel/int340x_thermal/
H A Dprocessor_thermal_rapl.c12 static struct rapl_if_priv rapl_mmio_priv; variable
95 rapl_mmio_priv.regs[domain][reg].mmio = in proc_thermal_rapl_add()
100 rapl_mmio_priv.type = RAPL_IF_MMIO; in proc_thermal_rapl_add()
103 rapl_mmio_priv.read_raw = rapl_mmio_read_raw; in proc_thermal_rapl_add()
104 rapl_mmio_priv.write_raw = rapl_mmio_write_raw; in proc_thermal_rapl_add()
107 if (IS_ERR(rapl_mmio_priv.control_type)) { in proc_thermal_rapl_add()
109 return PTR_ERR(rapl_mmio_priv.control_type); in proc_thermal_rapl_add()
116 rapl_mmio_priv.control_type = NULL; in proc_thermal_rapl_add()
119 rapl_mmio_priv.pcap_rapl_online = ret; in proc_thermal_rapl_add()
127 if (IS_ERR_OR_NULL(rapl_mmio_priv.control_type)) in proc_thermal_rapl_remove()
[all …]