Lines Matching +full:0 +full:x3c000000
37 for (i = 0; i < 64; i++) { in gk104_top_parse()
41 type = ~0; in gk104_top_parse()
42 inst = 0; in gk104_top_parse()
45 data = nvkm_rd32(device, 0x022700 + (i * 0x04)); in gk104_top_parse()
47 switch (data & 0x00000003) { in gk104_top_parse()
48 case 0x00000000: /* NOT_VALID */ in gk104_top_parse()
50 case 0x00000001: /* DATA */ in gk104_top_parse()
51 inst = (data & 0x3c000000) >> 26; in gk104_top_parse()
52 info->addr = (data & 0x00fff000); in gk104_top_parse()
53 if (data & 0x00000004) in gk104_top_parse()
54 info->fault = (data & 0x000003f8) >> 3; in gk104_top_parse()
56 case 0x00000002: /* ENUM */ in gk104_top_parse()
57 if (data & 0x00000020) in gk104_top_parse()
58 info->engine = (data & 0x3c000000) >> 26; in gk104_top_parse()
59 if (data & 0x00000010) in gk104_top_parse()
60 info->runlist = (data & 0x01e00000) >> 21; in gk104_top_parse()
61 if (data & 0x00000008) in gk104_top_parse()
62 info->intr = (data & 0x000f8000) >> 15; in gk104_top_parse()
63 if (data & 0x00000004) in gk104_top_parse()
64 info->reset = (data & 0x00003e00) >> 9; in gk104_top_parse()
66 case 0x00000003: /* ENGINE_TYPE */ in gk104_top_parse()
67 type = (data & 0x7ffffffc) >> 2; in gk104_top_parse()
71 if (data & 0x80000000) in gk104_top_parse()
75 #define I_(T,I) do { info->type = (T); info->inst = (I); } while(0) in gk104_top_parse()
76 #define O_(T,I) do { WARN_ON(inst); I_(T, I); } while (0) in gk104_top_parse()
78 case 0x00000000: O_(NVKM_ENGINE_GR , 0); break; in gk104_top_parse()
79 case 0x00000001: O_(NVKM_ENGINE_CE , 0); break; in gk104_top_parse()
80 case 0x00000002: O_(NVKM_ENGINE_CE , 1); break; in gk104_top_parse()
81 case 0x00000003: O_(NVKM_ENGINE_CE , 2); break; in gk104_top_parse()
82 case 0x00000008: O_(NVKM_ENGINE_MSPDEC, 0); break; in gk104_top_parse()
83 case 0x00000009: O_(NVKM_ENGINE_MSPPP , 0); break; in gk104_top_parse()
84 case 0x0000000a: O_(NVKM_ENGINE_MSVLD , 0); break; in gk104_top_parse()
85 case 0x0000000b: O_(NVKM_ENGINE_MSENC , 0); break; in gk104_top_parse()
86 case 0x0000000c: O_(NVKM_ENGINE_VIC , 0); break; in gk104_top_parse()
87 case 0x0000000d: O_(NVKM_ENGINE_SEC2 , 0); break; in gk104_top_parse()
88 case 0x0000000e: I_(NVKM_ENGINE_NVENC , inst); break; in gk104_top_parse()
89 case 0x0000000f: O_(NVKM_ENGINE_NVENC , 1); break; in gk104_top_parse()
90 case 0x00000010: I_(NVKM_ENGINE_NVDEC , inst); break; in gk104_top_parse()
91 case 0x00000012: I_(NVKM_SUBDEV_IOCTRL, inst); break; in gk104_top_parse()
92 case 0x00000013: I_(NVKM_ENGINE_CE , inst); break; in gk104_top_parse()
93 case 0x00000014: O_(NVKM_SUBDEV_GSP , 0); break; in gk104_top_parse()
94 case 0x00000015: I_(NVKM_ENGINE_NVJPG , inst); break; in gk104_top_parse()
108 return 0; in gk104_top_parse()