static void init_wrport(struct nvbios_init *init, u16 port, u8 value) { if (init_exec(init)) nv_wrport(init->subdev, init->crtc, port, value); }
void nv_wrvgag(void *obj, int head, u8 index, u8 value) { nv_wrport(obj, head, 0x03ce, index); nv_wrport(obj, head, 0x03cf, value); }
void nv_wrvgas(void *obj, int head, u8 index, u8 value) { nv_wrport(obj, head, 0x03c4, index); nv_wrport(obj, head, 0x03c5, value); }
u8 nv_rdvgag(void *obj, int head, u8 index) { nv_wrport(obj, head, 0x03ce, index); return nv_rdport(obj, head, 0x03cf); }
u8 nv_rdvgas(void *obj, int head, u8 index) { nv_wrport(obj, head, 0x03c4, index); return nv_rdport(obj, head, 0x03c5); }