Lines Matching full:stat

47 	u32 stat = nvkm_rd32(device, 0x6107a8);  in gv100_disp_super()  local
50 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super), stat); in gv100_disp_super()
101 u32 stat = nvkm_rd32(device, 0x611020 + (chid * 12)); in gv100_disp_exception() local
102 u32 type = (stat & 0x00007000) >> 12; in gv100_disp_exception()
103 u32 mthd = (stat & 0x00000fff) << 2; in gv100_disp_exception()
115 nvkm_error(subdev, "chid %d stat %08x reason %d [%s] " in gv100_disp_exception()
117 chid, stat, type, reason ? reason->name : "", in gv100_disp_exception()
120 nvkm_error(subdev, "chid %d stat %08x reason %d [%s] " in gv100_disp_exception()
122 chid, stat, type, reason ? reason->name : "", mthd); in gv100_disp_exception()
143 u32 stat = nvkm_rd32(device, 0x611c30); in gv100_disp_intr_ctrl_disp() local
145 if (stat & 0x00000007) { in gv100_disp_intr_ctrl_disp()
146 disp->super = (stat & 0x00000007); in gv100_disp_intr_ctrl_disp()
149 stat &= ~0x00000007; in gv100_disp_intr_ctrl_disp()
155 if (stat & 0x00000008) in gv100_disp_intr_ctrl_disp()
156 stat &= ~0x00000008; in gv100_disp_intr_ctrl_disp()
158 if (stat & 0x00000080) { in gv100_disp_intr_ctrl_disp()
161 stat &= ~0x00000080; in gv100_disp_intr_ctrl_disp()
164 if (stat & 0x00000100) { in gv100_disp_intr_ctrl_disp()
182 if (stat) in gv100_disp_intr_ctrl_disp()
183 nvkm_warn(subdev, "ctrl %08x\n", stat); in gv100_disp_intr_ctrl_disp()
191 u32 stat = nvkm_rd32(device, 0x611854); in gv100_disp_intr_exc_other() local
195 if (stat & 0x00000001) { in gv100_disp_intr_exc_other()
198 stat &= ~0x00000001; in gv100_disp_intr_exc_other()
201 if ((mask = (stat & 0x00ff0000) >> 16)) { in gv100_disp_intr_exc_other()
205 stat &= ~(0x00010000 << head); in gv100_disp_intr_exc_other()
209 if (stat) { in gv100_disp_intr_exc_other()
210 nvkm_warn(subdev, "exception %08x\n", stat); in gv100_disp_intr_exc_other()
211 nvkm_wr32(device, 0x611854, stat); in gv100_disp_intr_exc_other()
220 unsigned long stat = nvkm_rd32(device, 0x611850); in gv100_disp_intr_exc_winim() local
223 for_each_set_bit(wndw, &stat, disp->wndw.nr) { in gv100_disp_intr_exc_winim()
226 stat &= ~BIT(wndw); in gv100_disp_intr_exc_winim()
229 if (stat) { in gv100_disp_intr_exc_winim()
230 nvkm_warn(subdev, "wimm %08x\n", (u32)stat); in gv100_disp_intr_exc_winim()
231 nvkm_wr32(device, 0x611850, stat); in gv100_disp_intr_exc_winim()
240 unsigned long stat = nvkm_rd32(device, 0x61184c); in gv100_disp_intr_exc_win() local
243 for_each_set_bit(wndw, &stat, disp->wndw.nr) { in gv100_disp_intr_exc_win()
246 stat &= ~BIT(wndw); in gv100_disp_intr_exc_win()
249 if (stat) { in gv100_disp_intr_exc_win()
250 nvkm_warn(subdev, "wndw %08x\n", (u32)stat); in gv100_disp_intr_exc_win()
251 nvkm_wr32(device, 0x61184c, stat); in gv100_disp_intr_exc_win()
260 u32 stat = nvkm_rd32(device, 0x611800 + (head * 0x04)); in gv100_disp_intr_head_timing() local
263 if (stat & 0x00000003) { in gv100_disp_intr_head_timing()
264 nvkm_wr32(device, 0x611800 + (head * 0x04), stat & 0x00000003); in gv100_disp_intr_head_timing()
265 stat &= ~0x00000003; in gv100_disp_intr_head_timing()
268 if (stat & 0x00000004) { in gv100_disp_intr_head_timing()
271 stat &= ~0x00000004; in gv100_disp_intr_head_timing()
274 if (stat) { in gv100_disp_intr_head_timing()
275 nvkm_warn(subdev, "head %08x\n", stat); in gv100_disp_intr_head_timing()
276 nvkm_wr32(device, 0x611800 + (head * 0x04), stat); in gv100_disp_intr_head_timing()
285 u32 stat = nvkm_rd32(device, 0x611ec0); in gv100_disp_intr() local
289 if ((mask = (stat & 0x000000ff))) { in gv100_disp_intr()
292 stat &= ~BIT(head); in gv100_disp_intr()
296 if (stat & 0x00000200) { in gv100_disp_intr()
298 stat &= ~0x00000200; in gv100_disp_intr()
301 if (stat & 0x00000400) { in gv100_disp_intr()
303 stat &= ~0x00000400; in gv100_disp_intr()
306 if (stat & 0x00000800) { in gv100_disp_intr()
308 stat &= ~0x00000800; in gv100_disp_intr()
311 if (stat & 0x00001000) { in gv100_disp_intr()
313 stat &= ~0x00001000; in gv100_disp_intr()
316 if (stat) in gv100_disp_intr()
317 nvkm_warn(subdev, "intr %08x\n", stat); in gv100_disp_intr()