Displaying 1 result from an estimated 1 matches for "thr_crit".
Did you mean:
pr_crit
2015 Dec 21
0
[PATCH] therm: debug print the FSRM config on [nvc0, nvf0) cards
...ECTION WITH THE SOFTWARE OR THE USE OR
+ * OTHER DEALINGS IN THE SOFTWARE.
+ *
+ * Authors: Karol Herbst
+ */
+#include "priv.h"
+
+void
+gf100_print_fsrm_config(struct nvkm_therm *therm)
+{
+ struct nvkm_device *device = therm->subdev.device;
+ int cfg_5, cfg_low, thr_2, thr_6, thr_8, thr_crit;
+
+ cfg_5 = nvkm_rd32(device, 0x020074);
+ cfg_low = nvkm_rd32(device, 0x02010c);
+ thr_crit = nvkm_rd32(device, 0x020480);
+ thr_2 = nvkm_rd32(device, 0x0204c0);
+ thr_6 = nvkm_rd32(device, 0x0204d8);
+ thr_8 = nvkm_rd32(device, 0x0204e0);
+
+ nvkm_debug(&therm->subdev, "...