summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/therm
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/therm')
-rw-r--r--drivers/gpu/nvgpu/therm/thrm.h8
-rw-r--r--drivers/gpu/nvgpu/therm/thrmchannel.h6
-rw-r--r--drivers/gpu/nvgpu/therm/thrmdev.h6
-rw-r--r--drivers/gpu/nvgpu/therm/thrmpmu.h6
4 files changed, 13 insertions, 13 deletions
diff --git a/drivers/gpu/nvgpu/therm/thrm.h b/drivers/gpu/nvgpu/therm/thrm.h
index 5b5a5a57..d9d73b7f 100644
--- a/drivers/gpu/nvgpu/therm/thrm.h
+++ b/drivers/gpu/nvgpu/therm/thrm.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * general thermal table structures & definitions 2 * general thermal table structures & definitions
3 * 3 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * Permission is hereby granted, free of charge, to any person obtaining a 6 * Permission is hereby granted, free of charge, to any person obtaining a
7 * copy of this software and associated documentation files (the "Software"), 7 * copy of this software and associated documentation files (the "Software"),
@@ -21,8 +21,8 @@
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24#ifndef _THRM_H_ 24#ifndef NVGPU_THERM_THRM_H
25#define _THRM_H_ 25#define NVGPU_THERM_THRM_H
26 26
27#include "thrmdev.h" 27#include "thrmdev.h"
28#include "thrmchannel.h" 28#include "thrmchannel.h"
@@ -35,4 +35,4 @@ struct therm_pmupstate {
35u32 therm_domain_sw_setup(struct gk20a *g); 35u32 therm_domain_sw_setup(struct gk20a *g);
36u32 therm_domain_pmu_setup(struct gk20a *g); 36u32 therm_domain_pmu_setup(struct gk20a *g);
37 37
38#endif 38#endif /* NVGPU_THERM_THRM_H */
diff --git a/drivers/gpu/nvgpu/therm/thrmchannel.h b/drivers/gpu/nvgpu/therm/thrmchannel.h
index a2045c26..89be673f 100644
--- a/drivers/gpu/nvgpu/therm/thrmchannel.h
+++ b/drivers/gpu/nvgpu/therm/thrmchannel.h
@@ -21,8 +21,8 @@
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24#ifndef _THRMCHANNEL_H_ 24#ifndef NVGPU_THERM_THRMCHANNEL_H
25#define _THRMCHANNEL_H_ 25#define NVGPU_THERM_THRMCHANNEL_H
26 26
27#include "boardobj/boardobj.h" 27#include "boardobj/boardobj.h"
28#include "boardobj/boardobjgrp.h" 28#include "boardobj/boardobjgrp.h"
@@ -48,4 +48,4 @@ struct therm_channel_device {
48 48
49int therm_channel_sw_setup(struct gk20a *g); 49int therm_channel_sw_setup(struct gk20a *g);
50 50
51#endif 51#endif /* NVGPU_THERM_THRMCHANNEL_H */
diff --git a/drivers/gpu/nvgpu/therm/thrmdev.h b/drivers/gpu/nvgpu/therm/thrmdev.h
index df4c199a..151e96fb 100644
--- a/drivers/gpu/nvgpu/therm/thrmdev.h
+++ b/drivers/gpu/nvgpu/therm/thrmdev.h
@@ -21,8 +21,8 @@
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24#ifndef _THRMDEV_H_ 24#ifndef NVGPU_THERM_THRMDEV_H
25#define _THRMDEV_H_ 25#define NVGPU_THERM_THRMDEV_H
26 26
27#include "boardobj/boardobj.h" 27#include "boardobj/boardobj.h"
28#include "boardobj/boardobjgrp.h" 28#include "boardobj/boardobjgrp.h"
@@ -55,4 +55,4 @@ struct therm_device_hbm2_combined {
55 55
56int therm_device_sw_setup(struct gk20a *g); 56int therm_device_sw_setup(struct gk20a *g);
57 57
58#endif 58#endif /* NVGPU_THERM_THRMDEV_H */
diff --git a/drivers/gpu/nvgpu/therm/thrmpmu.h b/drivers/gpu/nvgpu/therm/thrmpmu.h
index 1341a055..42d5caae 100644
--- a/drivers/gpu/nvgpu/therm/thrmpmu.h
+++ b/drivers/gpu/nvgpu/therm/thrmpmu.h
@@ -21,11 +21,11 @@
21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22 * DEALINGS IN THE SOFTWARE. 22 * DEALINGS IN THE SOFTWARE.
23 */ 23 */
24#ifndef _THRMPMU_H_ 24#ifndef NVGPU_THERM_THRMPMU_H
25#define _THRMPMU_H_ 25#define NVGPU_THERM_THRMPMU_H
26 26
27int therm_send_pmgr_tables_to_pmu(struct gk20a *g); 27int therm_send_pmgr_tables_to_pmu(struct gk20a *g);
28 28
29u32 therm_configure_therm_alert(struct gk20a *g); 29u32 therm_configure_therm_alert(struct gk20a *g);
30 30
31#endif 31#endif /* NVGPU_THERM_THRMPMU_H */