Lines Matching +full:0 +full:x01e00000

35 	for (i = 0; i < 64; i++) {  in gk104_top_oneinit()
39 type = ~0; in gk104_top_oneinit()
40 inst = 0; in gk104_top_oneinit()
43 data = nvkm_rd32(device, 0x022700 + (i * 0x04)); in gk104_top_oneinit()
45 switch (data & 0x00000003) { in gk104_top_oneinit()
46 case 0x00000000: /* NOT_VALID */ in gk104_top_oneinit()
48 case 0x00000001: /* DATA */ in gk104_top_oneinit()
49 inst = (data & 0x3c000000) >> 26; in gk104_top_oneinit()
50 info->addr = (data & 0x00fff000); in gk104_top_oneinit()
51 if (data & 0x00000004) in gk104_top_oneinit()
52 info->fault = (data & 0x000003f8) >> 3; in gk104_top_oneinit()
54 case 0x00000002: /* ENUM */ in gk104_top_oneinit()
55 if (data & 0x00000020) in gk104_top_oneinit()
56 info->engine = (data & 0x3c000000) >> 26; in gk104_top_oneinit()
57 if (data & 0x00000010) in gk104_top_oneinit()
58 info->runlist = (data & 0x01e00000) >> 21; in gk104_top_oneinit()
59 if (data & 0x00000008) in gk104_top_oneinit()
60 info->intr = (data & 0x000f8000) >> 15; in gk104_top_oneinit()
61 if (data & 0x00000004) in gk104_top_oneinit()
62 info->reset = (data & 0x00003e00) >> 9; in gk104_top_oneinit()
64 case 0x00000003: /* ENGINE_TYPE */ in gk104_top_oneinit()
65 type = (data & 0x7ffffffc) >> 2; in gk104_top_oneinit()
69 if (data & 0x80000000) in gk104_top_oneinit()
73 #define A_(A) if (inst == 0) info->index = NVKM_ENGINE_##A in gk104_top_oneinit()
74 #define B_(A) if (inst + NVKM_ENGINE_##A##0 < NVKM_ENGINE_##A##_LAST + 1) \ in gk104_top_oneinit()
75 info->index = NVKM_ENGINE_##A##0 + inst in gk104_top_oneinit()
76 #define C_(A) if (inst == 0) info->index = NVKM_SUBDEV_##A in gk104_top_oneinit()
78 case 0x00000000: A_(GR ); break; in gk104_top_oneinit()
79 case 0x00000001: A_(CE0 ); break; in gk104_top_oneinit()
80 case 0x00000002: A_(CE1 ); break; in gk104_top_oneinit()
81 case 0x00000003: A_(CE2 ); break; in gk104_top_oneinit()
82 case 0x00000008: A_(MSPDEC); break; in gk104_top_oneinit()
83 case 0x00000009: A_(MSPPP ); break; in gk104_top_oneinit()
84 case 0x0000000a: A_(MSVLD ); break; in gk104_top_oneinit()
85 case 0x0000000b: A_(MSENC ); break; in gk104_top_oneinit()
86 case 0x0000000c: A_(VIC ); break; in gk104_top_oneinit()
87 case 0x0000000d: A_(SEC2 ); break; in gk104_top_oneinit()
88 case 0x0000000e: B_(NVENC ); break; in gk104_top_oneinit()
89 case 0x0000000f: A_(NVENC1); break; in gk104_top_oneinit()
90 case 0x00000010: B_(NVDEC ); break; in gk104_top_oneinit()
91 case 0x00000013: B_(CE ); break; in gk104_top_oneinit()
92 case 0x00000014: C_(GSP ); break; in gk104_top_oneinit()
108 return 0; in gk104_top_oneinit()