Lines Matching refs:trap
1179 u32 trap[4]; in gf100_gr_trap_gpc_rop() local
1181 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; in gf100_gr_trap_gpc_rop()
1182 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop()
1183 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop()
1184 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop()
1186 nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]); in gf100_gr_trap_gpc_rop()
1190 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop()
1191 (trap[2] >> 8) & 0x3f, trap[3] & 0xff); in gf100_gr_trap_gpc_rop()
1263 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc() local
1264 nvkm_error(subdev, "GPC%d/TPC%d/TEX: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1275 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0084)); in gf100_gr_trap_tpc() local
1276 nvkm_error(subdev, "GPC%d/TPC%d/POLY: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1282 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x048c)); in gf100_gr_trap_tpc() local
1283 nvkm_error(subdev, "GPC%d/TPC%d/L1C: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1289 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0430)); in gf100_gr_trap_tpc() local
1290 nvkm_error(subdev, "GPC%d/TPC%d/MPC: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1314 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0900)); in gf100_gr_trap_gpc() local
1315 nvkm_error(subdev, "GPC%d/ZCULL: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1321 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x1028)); in gf100_gr_trap_gpc() local
1322 nvkm_error(subdev, "GPC%d/CCACHE: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1328 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0824)); in gf100_gr_trap_gpc() local
1329 nvkm_error(subdev, "GPC%d/ESETUP: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1354 u32 trap = nvkm_rd32(device, 0x400108); in gf100_gr_trap_intr() local
1357 if (trap & 0x00000001) { in gf100_gr_trap_intr()
1365 trap &= ~0x00000001; in gf100_gr_trap_intr()
1368 if (trap & 0x00000002) { in gf100_gr_trap_intr()
1377 trap &= ~0x00000002; in gf100_gr_trap_intr()
1380 if (trap & 0x00000008) { in gf100_gr_trap_intr()
1388 trap &= ~0x00000008; in gf100_gr_trap_intr()
1391 if (trap & 0x00000010) { in gf100_gr_trap_intr()
1397 trap &= ~0x00000010; in gf100_gr_trap_intr()
1400 if (trap & 0x00000040) { in gf100_gr_trap_intr()
1409 trap &= ~0x00000040; in gf100_gr_trap_intr()
1412 if (trap & 0x00000080) { in gf100_gr_trap_intr()
1426 trap &= ~0x00000080; in gf100_gr_trap_intr()
1429 if (trap & 0x00000100) { in gf100_gr_trap_intr()
1438 trap &= ~0x00000100; in gf100_gr_trap_intr()
1441 if (trap & 0x01000000) { in gf100_gr_trap_intr()
1452 trap &= ~0x01000000; in gf100_gr_trap_intr()
1455 if (trap & 0x02000000) { in gf100_gr_trap_intr()
1465 trap &= ~0x02000000; in gf100_gr_trap_intr()
1468 if (trap) { in gf100_gr_trap_intr()
1469 nvkm_error(subdev, "TRAP UNHANDLED %08x\n", trap); in gf100_gr_trap_intr()
1470 nvkm_wr32(device, 0x400108, trap); in gf100_gr_trap_intr()