Searched refs:subdrv_dev (Results 1 – 2 of 2) sorted by relevance
85 struct device *subdrv_dev) in drm_iommu_attach_device() argument93 subdrv_dev->dma_parms = devm_kzalloc(subdrv_dev, in drm_iommu_attach_device()94 sizeof(*subdrv_dev->dma_parms), in drm_iommu_attach_device()96 if (!subdrv_dev->dma_parms) in drm_iommu_attach_device()99 dma_set_max_seg_size(subdrv_dev, 0xffffffffu); in drm_iommu_attach_device()101 if (subdrv_dev->archdata.mapping) in drm_iommu_attach_device()102 arm_iommu_detach_device(subdrv_dev); in drm_iommu_attach_device()104 ret = arm_iommu_attach_device(subdrv_dev, dev->archdata.mapping); in drm_iommu_attach_device()119 set_dma_ops(dev, get_dma_ops(subdrv_dev)); in drm_iommu_attach_device()134 struct device *subdrv_dev) in drm_iommu_detach_device() argument[all …]
25 struct device *subdrv_dev);28 struct device *subdrv_dev);49 struct device *subdrv_dev) in drm_iommu_attach_device() argument55 struct device *subdrv_dev) in drm_iommu_detach_device() argument