Lines Matching refs:subdev
39 struct nvkm_subdev *subdev = &pmu->subdev; in nvkm_pmu_send() local
40 struct nvkm_device *device = subdev->device; in nvkm_pmu_send()
57 mutex_lock(&subdev->mutex); in nvkm_pmu_send()
84 mutex_unlock(&subdev->mutex); in nvkm_pmu_send()
94 struct nvkm_subdev *subdev = &pmu->subdev; in nvkm_pmu_recv() local
95 struct nvkm_device *device = subdev->device; in nvkm_pmu_recv()
135 nvkm_warn(subdev, "%c%c%c%c %08x %08x %08x %08x\n", in nvkm_pmu_recv()
144 nvkm_pmu_intr(struct nvkm_subdev *subdev) in nvkm_pmu_intr() argument
146 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_intr()
147 struct nvkm_device *device = pmu->subdev.device; in nvkm_pmu_intr()
154 nvkm_error(subdev, "UAS fault at %06x addr %08x\n", in nvkm_pmu_intr()
169 nvkm_info(subdev, "wr32 %06x %08x\n", in nvkm_pmu_intr()
177 nvkm_error(subdev, "intr %08x\n", intr); in nvkm_pmu_intr()
183 nvkm_pmu_fini(struct nvkm_subdev *subdev, bool suspend) in nvkm_pmu_fini() argument
185 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_fini()
186 struct nvkm_device *device = pmu->subdev.device; in nvkm_pmu_fini()
194 nvkm_pmu_init(struct nvkm_subdev *subdev) in nvkm_pmu_init() argument
196 struct nvkm_pmu *pmu = nvkm_pmu(subdev); in nvkm_pmu_init()
197 struct nvkm_device *device = pmu->subdev.device; in nvkm_pmu_init()
255 nvkm_pmu_dtor(struct nvkm_subdev *subdev) in nvkm_pmu_dtor() argument
257 return nvkm_pmu(subdev); in nvkm_pmu_dtor()
275 nvkm_subdev_ctor(&nvkm_pmu, device, index, 0, &pmu->subdev); in nvkm_pmu_new_()