Lines Matching refs:subdev
138 struct device *dev = node->base.imem->base.subdev.device->dev; in gk20a_instobj_cpu_map_dma()
185 nvkm_debug(&imem->base.subdev, "(GC) vaddr used: %x/%x\n", in gk20a_instmem_vaddr_gc()
196 struct nvkm_ltc *ltc = imem->base.subdev.device->ltc; in gk20a_instobj_acquire()
217 nvkm_error(&imem->base.subdev, "cannot map instobj - " in gk20a_instobj_acquire()
223 nvkm_debug(&imem->base.subdev, "vaddr used: %x/%x\n", in gk20a_instobj_acquire()
237 struct nvkm_ltc *ltc = imem->base.subdev.device->ltc; in gk20a_instobj_release()
299 nvkm_debug(&imem->base.subdev, "vaddr used: %x/%x\n", in gk20a_instobj_dtor()
311 struct device *dev = imem->base.subdev.device->dev; in gk20a_instobj_dtor_dma()
330 struct device *dev = imem->base.subdev.device->dev; in gk20a_instobj_dtor_iommu()
394 struct nvkm_subdev *subdev = &imem->base.subdev; in gk20a_instobj_ctor_dma() local
395 struct device *dev = subdev->device->dev; in gk20a_instobj_ctor_dma()
407 nvkm_error(subdev, "cannot allocate DMA memory\n"); in gk20a_instobj_ctor_dma()
413 nvkm_warn(subdev, in gk20a_instobj_ctor_dma()
435 struct nvkm_subdev *subdev = &imem->base.subdev; in gk20a_instobj_ctor_iommu() local
436 struct device *dev = subdev->device->dev; in gk20a_instobj_ctor_iommu()
465 nvkm_error(subdev, "DMA mapping error!\n"); in gk20a_instobj_ctor_iommu()
478 nvkm_error(subdev, "IOMMU space is full!\n"); in gk20a_instobj_ctor_iommu()
489 nvkm_error(subdev, "IOMMU mapping failure: %d\n", ret); in gk20a_instobj_ctor_iommu()
531 struct nvkm_subdev *subdev = &imem->base.subdev; in gk20a_instobj_new() local
535 nvkm_debug(subdev, "%s (%s): size: %x align: %x\n", __func__, in gk20a_instobj_new()
559 nvkm_debug(subdev, "alloc size: 0x%x, align: 0x%x, gaddr: 0x%llx\n", in gk20a_instobj_new()
572 nvkm_warn(&base->subdev, "instobj LRU not empty!\n"); in gk20a_instmem_dtor()
575 nvkm_warn(&base->subdev, "instobj vmap area not empty! " in gk20a_instmem_dtor()
615 nvkm_info(&imem->base.subdev, "using IOMMU\n"); in gk20a_instmem_new()
625 nvkm_info(&imem->base.subdev, "using DMA API\n"); in gk20a_instmem_new()