Lines Matching defs:mc
34 nv04_mc_device_disable(struct nvkm_mc *mc, u32 mask)
36 nvkm_mask(mc->subdev.device, 0x000200, mask, 0x00000000);
40 nv04_mc_device_enable(struct nvkm_mc *mc, u32 mask)
42 struct nvkm_device *device = mc->subdev.device;
49 nv04_mc_device_enabled(struct nvkm_mc *mc, u32 mask)
51 return (nvkm_rd32(mc->subdev.device, 0x000200) & mask) == mask;
74 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
78 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000001);
84 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
88 nvkm_wr32(mc->subdev.device, 0x000140 + (leaf * 4), 0x00000000);
90 nvkm_rd32(mc->subdev.device, 0x000140);
96 struct nvkm_mc *mc = container_of(intr, typeof(*mc), intr);
101 intr->stat[leaf] = nvkm_rd32(mc->subdev.device, 0x000100 + (leaf * 4));
117 nv04_mc_init(struct nvkm_mc *mc)
119 struct nvkm_device *device = mc->subdev.device;