Lines Matching refs:head

27 nvkm_rdport(struct nvkm_device *device, int head, u16 port)  in nvkm_rdport()  argument
35 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port); in nvkm_rdport()
41 head = 0; /* CR44 selects head */ in nvkm_rdport()
42 return nvkm_rd08(device, 0x0c0000 + (head * 0x2000) + port); in nvkm_rdport()
49 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport() argument
57 nvkm_wr08(device, 0x601000 + (head * 0x2000) + port, data); in nvkm_wrport()
63 head = 0; /* CR44 selects head */ in nvkm_wrport()
64 nvkm_wr08(device, 0x0c0000 + (head * 0x2000) + port, data); in nvkm_wrport()
69 nvkm_rdvgas(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgas() argument
71 nvkm_wrport(device, head, 0x03c4, index); in nvkm_rdvgas()
72 return nvkm_rdport(device, head, 0x03c5); in nvkm_rdvgas()
76 nvkm_wrvgas(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgas() argument
78 nvkm_wrport(device, head, 0x03c4, index); in nvkm_wrvgas()
79 nvkm_wrport(device, head, 0x03c5, value); in nvkm_wrvgas()
83 nvkm_rdvgag(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgag() argument
85 nvkm_wrport(device, head, 0x03ce, index); in nvkm_rdvgag()
86 return nvkm_rdport(device, head, 0x03cf); in nvkm_rdvgag()
90 nvkm_wrvgag(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgag() argument
92 nvkm_wrport(device, head, 0x03ce, index); in nvkm_wrvgag()
93 nvkm_wrport(device, head, 0x03cf, value); in nvkm_wrvgag()
97 nvkm_rdvgac(struct nvkm_device *device, int head, u8 index) in nvkm_rdvgac() argument
99 nvkm_wrport(device, head, 0x03d4, index); in nvkm_rdvgac()
100 return nvkm_rdport(device, head, 0x03d5); in nvkm_rdvgac()
104 nvkm_wrvgac(struct nvkm_device *device, int head, u8 index, u8 value) in nvkm_wrvgac() argument
106 nvkm_wrport(device, head, 0x03d4, index); in nvkm_wrvgac()
107 nvkm_wrport(device, head, 0x03d5, value); in nvkm_wrvgac()
111 nvkm_rdvgai(struct nvkm_device *device, int head, u16 port, u8 index) in nvkm_rdvgai() argument
113 if (port == 0x03c4) return nvkm_rdvgas(device, head, index); in nvkm_rdvgai()
114 if (port == 0x03ce) return nvkm_rdvgag(device, head, index); in nvkm_rdvgai()
115 if (port == 0x03d4) return nvkm_rdvgac(device, head, index); in nvkm_rdvgai()
120 nvkm_wrvgai(struct nvkm_device *device, int head, u16 port, u8 index, u8 value) in nvkm_wrvgai() argument
122 if (port == 0x03c4) nvkm_wrvgas(device, head, index, value); in nvkm_wrvgai()
123 else if (port == 0x03ce) nvkm_wrvgag(device, head, index, value); in nvkm_wrvgai()
124 else if (port == 0x03d4) nvkm_wrvgac(device, head, index, value); in nvkm_wrvgai()