Lines Matching refs:np
100 struct device_node *np; member
106 void of_iommu_set_ops(struct device_node *np, struct iommu_ops *ops) in of_iommu_set_ops() argument
114 iommu->np = np; in of_iommu_set_ops()
121 struct iommu_ops *of_iommu_get_ops(struct device_node *np) in of_iommu_get_ops() argument
128 if (node->np == np) { in of_iommu_get_ops()
140 struct device_node *np; in of_iommu_configure() local
157 np = iommu_spec.np; in of_iommu_configure()
158 ops = of_iommu_get_ops(np); in of_iommu_configure()
163 of_node_put(np); in of_iommu_configure()
170 of_node_put(np); in of_iommu_configure()
176 struct device_node *np; in of_iommu_init() local
179 for_each_matching_node_and_match(np, matches, &match) { in of_iommu_init()
182 if (init_fn(np)) in of_iommu_init()
184 of_node_full_name(np)); in of_iommu_init()