Lines Matching refs:trap
1240 u32 trap[4]; in gf100_gr_trap_gpc_rop() local
1242 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; in gf100_gr_trap_gpc_rop()
1243 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop()
1244 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop()
1245 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop()
1247 nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]); in gf100_gr_trap_gpc_rop()
1251 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop()
1252 (trap[2] >> 8) & 0x3f, trap[3] & 0xff); in gf100_gr_trap_gpc_rop()
1324 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc() local
1325 nvkm_error(subdev, "GPC%d/TPC%d/TEX: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1336 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0084)); in gf100_gr_trap_tpc() local
1337 nvkm_error(subdev, "GPC%d/TPC%d/POLY: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1343 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x048c)); in gf100_gr_trap_tpc() local
1344 nvkm_error(subdev, "GPC%d/TPC%d/L1C: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1350 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0430)); in gf100_gr_trap_tpc() local
1351 nvkm_error(subdev, "GPC%d/TPC%d/MPC: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1375 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0900)); in gf100_gr_trap_gpc() local
1376 nvkm_error(subdev, "GPC%d/ZCULL: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1382 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x1028)); in gf100_gr_trap_gpc() local
1383 nvkm_error(subdev, "GPC%d/CCACHE: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1389 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0824)); in gf100_gr_trap_gpc() local
1390 nvkm_error(subdev, "GPC%d/ESETUP: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1415 u32 trap = nvkm_rd32(device, 0x400108); in gf100_gr_trap_intr() local
1418 if (trap & 0x00000001) { in gf100_gr_trap_intr()
1426 trap &= ~0x00000001; in gf100_gr_trap_intr()
1429 if (trap & 0x00000002) { in gf100_gr_trap_intr()
1438 trap &= ~0x00000002; in gf100_gr_trap_intr()
1441 if (trap & 0x00000008) { in gf100_gr_trap_intr()
1449 trap &= ~0x00000008; in gf100_gr_trap_intr()
1452 if (trap & 0x00000010) { in gf100_gr_trap_intr()
1458 trap &= ~0x00000010; in gf100_gr_trap_intr()
1461 if (trap & 0x00000040) { in gf100_gr_trap_intr()
1470 trap &= ~0x00000040; in gf100_gr_trap_intr()
1473 if (trap & 0x00000080) { in gf100_gr_trap_intr()
1487 trap &= ~0x00000080; in gf100_gr_trap_intr()
1490 if (trap & 0x00000100) { in gf100_gr_trap_intr()
1499 trap &= ~0x00000100; in gf100_gr_trap_intr()
1502 if (trap & 0x01000000) { in gf100_gr_trap_intr()
1513 trap &= ~0x01000000; in gf100_gr_trap_intr()
1516 if (trap & 0x02000000) { in gf100_gr_trap_intr()
1526 trap &= ~0x02000000; in gf100_gr_trap_intr()
1529 if (trap) { in gf100_gr_trap_intr()
1530 nvkm_error(subdev, "TRAP UNHANDLED %08x\n", trap); in gf100_gr_trap_intr()
1531 nvkm_wr32(device, 0x400108, trap); in gf100_gr_trap_intr()