Home
last modified time | relevance | path

Searched refs:larbnode (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.1/drivers/iommu/
Dmtk_iommu_v1.c652 struct device_node *larbnode; in mtk_iommu_v1_probe() local
655 larbnode = of_parse_phandle(dev->of_node, "mediatek,larbs", i); in mtk_iommu_v1_probe()
656 if (!larbnode) in mtk_iommu_v1_probe()
659 if (!of_device_is_available(larbnode)) { in mtk_iommu_v1_probe()
660 of_node_put(larbnode); in mtk_iommu_v1_probe()
664 plarbdev = of_find_device_by_node(larbnode); in mtk_iommu_v1_probe()
666 of_node_put(larbnode); in mtk_iommu_v1_probe()
670 of_node_put(larbnode); in mtk_iommu_v1_probe()
676 component_compare_of, larbnode); in mtk_iommu_v1_probe()
Dmtk_iommu.c1046 struct device_node *larbnode, *smicomm_node, *smi_subcomm_node; in mtk_iommu_mm_dts_parse() local
1058 larbnode = of_parse_phandle(dev->of_node, "mediatek,larbs", i); in mtk_iommu_mm_dts_parse()
1059 if (!larbnode) in mtk_iommu_mm_dts_parse()
1062 if (!of_device_is_available(larbnode)) { in mtk_iommu_mm_dts_parse()
1063 of_node_put(larbnode); in mtk_iommu_mm_dts_parse()
1067 ret = of_property_read_u32(larbnode, "mediatek,larb-id", &id); in mtk_iommu_mm_dts_parse()
1071 plarbdev = of_find_device_by_node(larbnode); in mtk_iommu_mm_dts_parse()
1073 of_node_put(larbnode); in mtk_iommu_mm_dts_parse()
1077 of_node_put(larbnode); in mtk_iommu_mm_dts_parse()
1083 component_compare_of, larbnode); in mtk_iommu_mm_dts_parse()
[all …]