diff options
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h b/drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h index 394f37c723af..d5140d991161 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/volt/priv.h | |||
@@ -9,6 +9,8 @@ int nvkm_volt_new_(const struct nvkm_volt_func *, struct nvkm_device *, | |||
9 | int index, struct nvkm_volt **); | 9 | int index, struct nvkm_volt **); |
10 | 10 | ||
11 | struct nvkm_volt_func { | 11 | struct nvkm_volt_func { |
12 | int (*volt_get)(struct nvkm_volt *); | ||
13 | int (*volt_set)(struct nvkm_volt *, u32 uv); | ||
12 | int (*vid_get)(struct nvkm_volt *); | 14 | int (*vid_get)(struct nvkm_volt *); |
13 | int (*vid_set)(struct nvkm_volt *, u8 vid); | 15 | int (*vid_set)(struct nvkm_volt *, u8 vid); |
14 | int (*set_id)(struct nvkm_volt *, u8 id, int condition); | 16 | int (*set_id)(struct nvkm_volt *, u8 id, int condition); |
@@ -17,4 +19,8 @@ struct nvkm_volt_func { | |||
17 | int nvkm_voltgpio_init(struct nvkm_volt *); | 19 | int nvkm_voltgpio_init(struct nvkm_volt *); |
18 | int nvkm_voltgpio_get(struct nvkm_volt *); | 20 | int nvkm_voltgpio_get(struct nvkm_volt *); |
19 | int nvkm_voltgpio_set(struct nvkm_volt *, u8); | 21 | int nvkm_voltgpio_set(struct nvkm_volt *, u8); |
22 | |||
23 | int nvkm_voltpwm_init(struct nvkm_volt *volt); | ||
24 | int nvkm_voltpwm_get(struct nvkm_volt *volt); | ||
25 | int nvkm_voltpwm_set(struct nvkm_volt *volt, u32 uv); | ||
20 | #endif | 26 | #endif |