Lines Matching refs:dev_pasid
475 struct dev_pasid_info *dev_pasid = (struct dev_pasid_info *)m->private; in pasid_domain_translation_struct_show() local
476 struct device_domain_info *info = dev_iommu_priv_get(dev_pasid->dev); in pasid_domain_translation_struct_show()
478 return domain_translation_struct_show(m, info, dev_pasid->pasid); in pasid_domain_translation_struct_show()
794 void intel_iommu_debugfs_create_dev_pasid(struct dev_pasid_info *dev_pasid) in intel_iommu_debugfs_create_dev_pasid() argument
796 struct device_domain_info *info = dev_iommu_priv_get(dev_pasid->dev); in intel_iommu_debugfs_create_dev_pasid()
799 sprintf(dir_name, "%x", dev_pasid->pasid); in intel_iommu_debugfs_create_dev_pasid()
800 dev_pasid->debugfs_dentry = debugfs_create_dir(dir_name, info->debugfs_dentry); in intel_iommu_debugfs_create_dev_pasid()
802 debugfs_create_file("domain_translation_struct", 0444, dev_pasid->debugfs_dentry, in intel_iommu_debugfs_create_dev_pasid()
803 dev_pasid, &pasid_domain_translation_struct_fops); in intel_iommu_debugfs_create_dev_pasid()
807 void intel_iommu_debugfs_remove_dev_pasid(struct dev_pasid_info *dev_pasid) in intel_iommu_debugfs_remove_dev_pasid() argument
809 debugfs_remove_recursive(dev_pasid->debugfs_dentry); in intel_iommu_debugfs_remove_dev_pasid()