summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/volt/volt.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/volt/volt.h')
-rw-r--r--drivers/gpu/nvgpu/volt/volt.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/volt/volt.h b/drivers/gpu/nvgpu/volt/volt.h
new file mode 100644
index 00000000..0d64c265
--- /dev/null
+++ b/drivers/gpu/nvgpu/volt/volt.h
@@ -0,0 +1,30 @@
1/*
2* Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved.
3*
4* This program is free software; you can redistribute it and/or modify it
5* under the terms and conditions of the GNU General Public License,
6* version 2, as published by the Free Software Foundation.
7*
8* This program is distributed in the hope it will be useful, but WITHOUT
9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11* more details.
12*/
13
14#ifndef _VOLT_H_
15#define _VOLT_H_
16
17#include "volt_rail.h"
18#include "volt_dev.h"
19#include "volt_policy.h"
20#include "volt_pmu.h"
21
22#define VOLTAGE_DESCRIPTOR_TABLE_ENTRY_INVALID 0xFF
23
24struct obj_volt {
25 struct voltage_rail_metadata volt_rail_metadata;
26 struct voltage_device_metadata volt_dev_metadata;
27 struct voltage_policy_metadata volt_policy_metadata;
28};
29
30#endif /* DRIVERS_GPU_NVGPU_VOLT_VOLT_H_ */