60 *pobject = nv_object(chan);
73 u32 inst = 0x80000000 | nv_gpuobj(chan)->addr >> 4;
75 nv_mask(priv, 0x00b32c, 0x00000001, 0x00000000);
76 if (nv_rd32(priv, 0x00b318) == inst)
77 nv_mask(priv, 0x00b318, 0x80000000, 0x00000000);
78 nv_mask(priv, 0x00b32c, 0x00000001, 0x00000001);
86 .ctor = nv40_mpeg_context_ctor,
89 .fini = nv40_mpeg_context_fini,
105 if ((stat = nv_rd32(priv, 0x00b100)))
108 if ((stat = nv_rd32(priv, 0x00b800))) {
109 nv_error(priv,
"PMSRCH 0x%08x\n", stat);
110 nv_wr32(priv, 0x00b800, stat);
123 *pobject = nv_object(priv);
127 nv_subdev(priv)->unit = 0x00000002;
128 nv_subdev(priv)->intr = nv40_mpeg_intr;
129 nv_engine(priv)->cclass = &nv40_mpeg_cclass;
139 .ctor = nv40_mpeg_ctor,