1#ifndef __NOUVEAU_VGA_H__
2#define __NOUVEAU_VGA_H__
3#include <core/subdev.h>
4
5
6u8 nvkm_rdport(struct nvkm_device *, int head, u16 port);
7void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value);
8
9
10u8 nvkm_rdvgas(struct nvkm_device *, int head, u8 index);
11void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value);
12
13
14u8 nvkm_rdvgag(struct nvkm_device *, int head, u8 index);
15void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value);
16
17
18u8 nvkm_rdvgac(struct nvkm_device *, int head, u8 index);
19void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value);
20
21
22u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index);
23void nvkm_wrvgai(struct nvkm_device *, int head, u16 port, u8 index, u8 value);
24
25bool nvkm_lockvgac(struct nvkm_device *, bool lock);
26u8 nvkm_rdvgaowner(struct nvkm_device *);
27void nvkm_wrvgaowner(struct nvkm_device *, u8);
28#endif
29