Searched refs:larb_nr (Results 1 – 2 of 2) sorted by relevance
618 int larb_nr, ret, i; in mtk_iommu_v1_probe() local646 larb_nr = of_count_phandle_with_args(dev->of_node, in mtk_iommu_v1_probe()648 if (larb_nr < 0) in mtk_iommu_v1_probe()649 return larb_nr; in mtk_iommu_v1_probe()651 for (i = 0; i < larb_nr; i++) { in mtk_iommu_v1_probe()
1049 int i, larb_nr, ret; in mtk_iommu_mm_dts_parse() local1051 larb_nr = of_count_phandle_with_args(dev->of_node, "mediatek,larbs", NULL); in mtk_iommu_mm_dts_parse()1052 if (larb_nr < 0) in mtk_iommu_mm_dts_parse()1053 return larb_nr; in mtk_iommu_mm_dts_parse()1055 for (i = 0; i < larb_nr; i++) { in mtk_iommu_mm_dts_parse()