D | vga.c | 30 nv_rdport(void *obj, int head, u16 port) in nv_rdport() argument 32 struct nouveau_device *device = nv_device(obj); in nv_rdport() 35 return nv_rd08(obj, 0x601000 + port); in nv_rdport() 40 return nv_rd08(obj, 0x601000 + (head * 0x2000) + port); in nv_rdport() 47 return nv_rd08(obj, 0x0c0000 + (head * 0x2000) + port); in nv_rdport() 50 nv_error(obj, "unknown vga port 0x%04x\n", port); in nv_rdport() 55 nv_wrport(void *obj, int head, u16 port, u8 data) in nv_wrport() argument 57 struct nouveau_device *device = nv_device(obj); in nv_wrport() 60 nv_wr08(obj, 0x601000 + port, data); in nv_wrport() 65 nv_wr08(obj, 0x601000 + (head * 0x2000) + port, data); in nv_wrport() [all …]
|