Lines Matching refs:trap

1239 	u32 trap[4];  in gf100_gr_trap_gpc_rop()  local
1241 trap[0] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0420)) & 0x3fffffff; in gf100_gr_trap_gpc_rop()
1242 trap[1] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0434)); in gf100_gr_trap_gpc_rop()
1243 trap[2] = nvkm_rd32(device, GPC_UNIT(gpc, 0x0438)); in gf100_gr_trap_gpc_rop()
1244 trap[3] = nvkm_rd32(device, GPC_UNIT(gpc, 0x043c)); in gf100_gr_trap_gpc_rop()
1246 nvkm_snprintbf(error, sizeof(error), gf100_gpc_rop_error, trap[0]); in gf100_gr_trap_gpc_rop()
1250 gpc, trap[0], error, trap[1] & 0xffff, trap[1] >> 16, in gf100_gr_trap_gpc_rop()
1251 (trap[2] >> 8) & 0x3f, trap[3] & 0xff); in gf100_gr_trap_gpc_rop()
1323 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0224)); in gf100_gr_trap_tpc() local
1324 nvkm_error(subdev, "GPC%d/TPC%d/TEX: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1335 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0084)); in gf100_gr_trap_tpc() local
1336 nvkm_error(subdev, "GPC%d/TPC%d/POLY: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1342 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x048c)); in gf100_gr_trap_tpc() local
1343 nvkm_error(subdev, "GPC%d/TPC%d/L1C: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1349 u32 trap = nvkm_rd32(device, TPC_UNIT(gpc, tpc, 0x0430)); in gf100_gr_trap_tpc() local
1350 nvkm_error(subdev, "GPC%d/TPC%d/MPC: %08x\n", gpc, tpc, trap); in gf100_gr_trap_tpc()
1374 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0900)); in gf100_gr_trap_gpc() local
1375 nvkm_error(subdev, "GPC%d/ZCULL: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1381 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x1028)); in gf100_gr_trap_gpc() local
1382 nvkm_error(subdev, "GPC%d/CCACHE: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1388 u32 trap = nvkm_rd32(device, GPC_UNIT(gpc, 0x0824)); in gf100_gr_trap_gpc() local
1389 nvkm_error(subdev, "GPC%d/ESETUP: %08x\n", gpc, trap); in gf100_gr_trap_gpc()
1414 u32 trap = nvkm_rd32(device, 0x400108); in gf100_gr_trap_intr() local
1417 if (trap & 0x00000001) { in gf100_gr_trap_intr()
1425 trap &= ~0x00000001; in gf100_gr_trap_intr()
1428 if (trap & 0x00000002) { in gf100_gr_trap_intr()
1437 trap &= ~0x00000002; in gf100_gr_trap_intr()
1440 if (trap & 0x00000008) { in gf100_gr_trap_intr()
1448 trap &= ~0x00000008; in gf100_gr_trap_intr()
1451 if (trap & 0x00000010) { in gf100_gr_trap_intr()
1457 trap &= ~0x00000010; in gf100_gr_trap_intr()
1460 if (trap & 0x00000040) { in gf100_gr_trap_intr()
1469 trap &= ~0x00000040; in gf100_gr_trap_intr()
1472 if (trap & 0x00000080) { in gf100_gr_trap_intr()
1486 trap &= ~0x00000080; in gf100_gr_trap_intr()
1489 if (trap & 0x00000100) { in gf100_gr_trap_intr()
1498 trap &= ~0x00000100; in gf100_gr_trap_intr()
1501 if (trap & 0x01000000) { in gf100_gr_trap_intr()
1512 trap &= ~0x01000000; in gf100_gr_trap_intr()
1515 if (trap & 0x02000000) { in gf100_gr_trap_intr()
1525 trap &= ~0x02000000; in gf100_gr_trap_intr()
1528 if (trap) { in gf100_gr_trap_intr()
1529 nvkm_error(subdev, "TRAP UNHANDLED %08x\n", trap); in gf100_gr_trap_intr()
1530 nvkm_wr32(device, 0x400108, trap); in gf100_gr_trap_intr()