0001
0002 #ifndef __NOUVEAU_VGA_H__
0003 #define __NOUVEAU_VGA_H__
0004 #include <core/subdev.h>
0005
0006
0007 u8 nvkm_rdport(struct nvkm_device *, int head, u16 port);
0008 void nvkm_wrport(struct nvkm_device *, int head, u16 port, u8 value);
0009
0010
0011 u8 nvkm_rdvgas(struct nvkm_device *, int head, u8 index);
0012 void nvkm_wrvgas(struct nvkm_device *, int head, u8 index, u8 value);
0013
0014
0015 u8 nvkm_rdvgag(struct nvkm_device *, int head, u8 index);
0016 void nvkm_wrvgag(struct nvkm_device *, int head, u8 index, u8 value);
0017
0018
0019 u8 nvkm_rdvgac(struct nvkm_device *, int head, u8 index);
0020 void nvkm_wrvgac(struct nvkm_device *, int head, u8 index, u8 value);
0021
0022
0023 u8 nvkm_rdvgai(struct nvkm_device *, int head, u16 port, u8 index);
0024 void nvkm_wrvgai(struct nvkm_device *, int head, u16 port, u8 index, u8 value);
0025
0026 bool nvkm_lockvgac(struct nvkm_device *, bool lock);
0027 u8 nvkm_rdvgaowner(struct nvkm_device *);
0028 void nvkm_wrvgaowner(struct nvkm_device *, u8);
0029 #endif