Lines Matching refs:iommu_spec
23 struct of_phandle_args *iommu_spec) in of_iommu_xlate() argument
26 struct fwnode_handle *fwnode = &iommu_spec->np->fwnode; in of_iommu_xlate()
31 !of_device_is_available(iommu_spec->np)) in of_iommu_xlate()
34 ret = iommu_fwspec_init(dev, &iommu_spec->np->fwnode, ops); in of_iommu_xlate()
48 ret = ops->of_xlate(dev, iommu_spec); in of_iommu_xlate()
57 struct of_phandle_args iommu_spec = { .args_count = 1 }; in of_iommu_configure_dev_id() local
61 "iommu-map-mask", &iommu_spec.np, in of_iommu_configure_dev_id()
62 iommu_spec.args); in of_iommu_configure_dev_id()
66 err = of_iommu_xlate(dev, &iommu_spec); in of_iommu_configure_dev_id()
67 of_node_put(iommu_spec.np); in of_iommu_configure_dev_id()
74 struct of_phandle_args iommu_spec; in of_iommu_configure_dev() local
79 idx, &iommu_spec)) { in of_iommu_configure_dev()
80 err = of_iommu_xlate(dev, &iommu_spec); in of_iommu_configure_dev()
81 of_node_put(iommu_spec.np); in of_iommu_configure_dev()