Lines Matching refs:stat

344 		u32 stat = nvkm_rd32(device, 0x610664 + soff);  in gv100_disp_dmac_idle()
345 if ((stat & 0x000f0000) == 0x00040000) in gv100_disp_dmac_idle()
559 u32 stat = nvkm_rd32(device, 0x610664 + soff); in gv100_disp_curs_idle()
560 if ((stat & 0x00070000) == 0x00040000) in gv100_disp_curs_idle()
725 u32 stat = nvkm_rd32(device, 0x610630); in gv100_disp_core_idle()
726 if ((stat & 0x001f0000) == 0x000b0000) in gv100_disp_core_idle()
840 u32 stat, mask[4]; in gv100_disp_super() local
843 stat = nvkm_rd32(device, 0x6107a8); in gv100_disp_super()
845 nvkm_debug(subdev, "supervisor %d: %08x\n", ffs(disp->super.pending), stat); in gv100_disp_super()
898 u32 stat = nvkm_rd32(device, 0x611020 + (chid * 12)); in gv100_disp_exception() local
899 u32 type = (stat & 0x00007000) >> 12; in gv100_disp_exception()
900 u32 mthd = (stat & 0x00000fff) << 2; in gv100_disp_exception()
914 chid, stat, type, reason ? reason->name : "", in gv100_disp_exception()
919 chid, stat, type, reason ? reason->name : "", mthd); in gv100_disp_exception()
940 u32 stat = nvkm_rd32(device, 0x611c30); in gv100_disp_intr_ctrl_disp() local
942 if (stat & 0x00000007) { in gv100_disp_intr_ctrl_disp()
943 disp->super.pending = (stat & 0x00000007); in gv100_disp_intr_ctrl_disp()
946 stat &= ~0x00000007; in gv100_disp_intr_ctrl_disp()
952 if (stat & 0x00000008) in gv100_disp_intr_ctrl_disp()
953 stat &= ~0x00000008; in gv100_disp_intr_ctrl_disp()
955 if (stat & 0x00000080) { in gv100_disp_intr_ctrl_disp()
958 stat &= ~0x00000080; in gv100_disp_intr_ctrl_disp()
961 if (stat & 0x00000100) { in gv100_disp_intr_ctrl_disp()
979 if (stat) in gv100_disp_intr_ctrl_disp()
980 nvkm_warn(subdev, "ctrl %08x\n", stat); in gv100_disp_intr_ctrl_disp()
988 u32 stat = nvkm_rd32(device, 0x611854); in gv100_disp_intr_exc_other() local
992 if (stat & 0x00000001) { in gv100_disp_intr_exc_other()
995 stat &= ~0x00000001; in gv100_disp_intr_exc_other()
998 if ((mask = (stat & 0x00ff0000) >> 16)) { in gv100_disp_intr_exc_other()
1002 stat &= ~(0x00010000 << head); in gv100_disp_intr_exc_other()
1006 if (stat) { in gv100_disp_intr_exc_other()
1007 nvkm_warn(subdev, "exception %08x\n", stat); in gv100_disp_intr_exc_other()
1008 nvkm_wr32(device, 0x611854, stat); in gv100_disp_intr_exc_other()
1017 unsigned long stat = nvkm_rd32(device, 0x611850); in gv100_disp_intr_exc_winim() local
1020 for_each_set_bit(wndw, &stat, disp->wndw.nr) { in gv100_disp_intr_exc_winim()
1023 stat &= ~BIT(wndw); in gv100_disp_intr_exc_winim()
1026 if (stat) { in gv100_disp_intr_exc_winim()
1027 nvkm_warn(subdev, "wimm %08x\n", (u32)stat); in gv100_disp_intr_exc_winim()
1028 nvkm_wr32(device, 0x611850, stat); in gv100_disp_intr_exc_winim()
1037 unsigned long stat = nvkm_rd32(device, 0x61184c); in gv100_disp_intr_exc_win() local
1040 for_each_set_bit(wndw, &stat, disp->wndw.nr) { in gv100_disp_intr_exc_win()
1043 stat &= ~BIT(wndw); in gv100_disp_intr_exc_win()
1046 if (stat) { in gv100_disp_intr_exc_win()
1047 nvkm_warn(subdev, "wndw %08x\n", (u32)stat); in gv100_disp_intr_exc_win()
1048 nvkm_wr32(device, 0x61184c, stat); in gv100_disp_intr_exc_win()
1057 u32 stat = nvkm_rd32(device, 0x611800 + (head * 0x04)); in gv100_disp_intr_head_timing() local
1060 if (stat & 0x00000003) { in gv100_disp_intr_head_timing()
1061 nvkm_wr32(device, 0x611800 + (head * 0x04), stat & 0x00000003); in gv100_disp_intr_head_timing()
1062 stat &= ~0x00000003; in gv100_disp_intr_head_timing()
1065 if (stat & 0x00000004) { in gv100_disp_intr_head_timing()
1068 stat &= ~0x00000004; in gv100_disp_intr_head_timing()
1071 if (stat) { in gv100_disp_intr_head_timing()
1072 nvkm_warn(subdev, "head %08x\n", stat); in gv100_disp_intr_head_timing()
1073 nvkm_wr32(device, 0x611800 + (head * 0x04), stat); in gv100_disp_intr_head_timing()
1082 u32 stat = nvkm_rd32(device, 0x611ec0); in gv100_disp_intr() local
1086 if ((mask = (stat & 0x000000ff))) { in gv100_disp_intr()
1089 stat &= ~BIT(head); in gv100_disp_intr()
1093 if (stat & 0x00000200) { in gv100_disp_intr()
1095 stat &= ~0x00000200; in gv100_disp_intr()
1098 if (stat & 0x00000400) { in gv100_disp_intr()
1100 stat &= ~0x00000400; in gv100_disp_intr()
1103 if (stat & 0x00000800) { in gv100_disp_intr()
1105 stat &= ~0x00000800; in gv100_disp_intr()
1108 if (stat & 0x00001000) { in gv100_disp_intr()
1110 stat &= ~0x00001000; in gv100_disp_intr()
1113 if (stat) in gv100_disp_intr()
1114 nvkm_warn(subdev, "intr %08x\n", stat); in gv100_disp_intr()