Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/
Dmtk_iommu_v1.c644 struct device_node *larbnode; in mtk_iommu_v1_probe() local
647 larbnode = of_parse_phandle(dev->of_node, "mediatek,larbs", i); in mtk_iommu_v1_probe()
648 if (!larbnode) in mtk_iommu_v1_probe()
651 if (!of_device_is_available(larbnode)) { in mtk_iommu_v1_probe()
652 of_node_put(larbnode); in mtk_iommu_v1_probe()
656 plarbdev = of_find_device_by_node(larbnode); in mtk_iommu_v1_probe()
658 of_node_put(larbnode); in mtk_iommu_v1_probe()
662 of_node_put(larbnode); in mtk_iommu_v1_probe()
668 component_compare_of, larbnode); in mtk_iommu_v1_probe()
Dmtk_iommu.c1130 struct device_node *larbnode, *frst_avail_smicomm_node = NULL; in mtk_iommu_mm_dts_parse() local
1145 larbnode = of_parse_phandle(dev->of_node, "mediatek,larbs", i); in mtk_iommu_mm_dts_parse()
1146 if (!larbnode) { in mtk_iommu_mm_dts_parse()
1151 if (!of_device_is_available(larbnode)) { in mtk_iommu_mm_dts_parse()
1152 of_node_put(larbnode); in mtk_iommu_mm_dts_parse()
1156 ret = of_property_read_u32(larbnode, "mediatek,larb-id", &id); in mtk_iommu_mm_dts_parse()
1160 of_node_put(larbnode); in mtk_iommu_mm_dts_parse()
1165 plarbdev = of_find_device_by_node(larbnode); in mtk_iommu_mm_dts_parse()
1166 of_node_put(larbnode); in mtk_iommu_mm_dts_parse()
1184 smi_subcomm_node = of_parse_phandle(larbnode, "mediatek,smi", 0); in mtk_iommu_mm_dts_parse()