Lines Matching refs:trap

860 	u32 trap[4];  in gf100_gr_trap_gpc_rop()  local
862 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; in gf100_gr_trap_gpc_rop()
863 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop()
864 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop()
865 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop()
867 nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]); in gf100_gr_trap_gpc_rop()
871 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop()
872 (trap[2] >> 8) & 0x3f, trap[3] & 0xff); in gf100_gr_trap_gpc_rop()
925 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc() local
926 nvkm_error(subdev, "GPC%d/TPC%d/TEX: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
937 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0084)); in gf100_gr_trap_tpc() local
938 nvkm_error(subdev, "GPC%d/TPC%d/POLY: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
944 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x048c)); in gf100_gr_trap_tpc() local
945 nvkm_error(subdev, "GPC%d/TPC%d/L1C: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
969 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0900)); in gf100_gr_trap_gpc() local
970 nvkm_error(subdev, "GPC%d/ZCULL: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
976 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x1028)); in gf100_gr_trap_gpc() local
977 nvkm_error(subdev, "GPC%d/CCACHE: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
983 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0824)); in gf100_gr_trap_gpc() local
984 nvkm_error(subdev, "GPC%d/ESETUP: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1008 u32 trap = nvkm_rd32(device, 0x400108); in gf100_gr_trap_intr() local
1011 if (trap & 0x00000001) { in gf100_gr_trap_intr()
1016 trap &= ~0x00000001; in gf100_gr_trap_intr()
1019 if (trap & 0x00000002) { in gf100_gr_trap_intr()
1024 trap &= ~0x00000002; in gf100_gr_trap_intr()
1027 if (trap & 0x00000008) { in gf100_gr_trap_intr()
1032 trap &= ~0x00000008; in gf100_gr_trap_intr()
1035 if (trap & 0x00000010) { in gf100_gr_trap_intr()
1040 trap &= ~0x00000010; in gf100_gr_trap_intr()
1043 if (trap & 0x00000040) { in gf100_gr_trap_intr()
1048 trap &= ~0x00000040; in gf100_gr_trap_intr()
1051 if (trap & 0x00000080) { in gf100_gr_trap_intr()
1056 trap &= ~0x00000080; in gf100_gr_trap_intr()
1059 if (trap & 0x00000100) { in gf100_gr_trap_intr()
1069 trap &= ~0x00000100; in gf100_gr_trap_intr()
1072 if (trap & 0x01000000) { in gf100_gr_trap_intr()
1083 trap &= ~0x01000000; in gf100_gr_trap_intr()
1086 if (trap & 0x02000000) { in gf100_gr_trap_intr()
1096 trap &= ~0x02000000; in gf100_gr_trap_intr()
1099 if (trap) { in gf100_gr_trap_intr()
1100 nvkm_error(subdev, "TRAP UNHANDLED %08x\n", trap); in gf100_gr_trap_intr()
1101 nvkm_wr32(device, 0x400108, trap); in gf100_gr_trap_intr()