Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/iommu/
Dmtk_iommu_v1.c610 int larb_nr, ret, i; in mtk_iommu_v1_probe() local
638 larb_nr = of_count_phandle_with_args(dev->of_node, in mtk_iommu_v1_probe()
640 if (larb_nr < 0) in mtk_iommu_v1_probe()
641 return larb_nr; in mtk_iommu_v1_probe()
643 for (i = 0; i < larb_nr; i++) { in mtk_iommu_v1_probe()
Dmtk_iommu.c1133 int i, larb_nr, ret; in mtk_iommu_mm_dts_parse() local
1135 larb_nr = of_count_phandle_with_args(dev->of_node, "mediatek,larbs", NULL); in mtk_iommu_mm_dts_parse()
1136 if (larb_nr < 0) in mtk_iommu_mm_dts_parse()
1137 return larb_nr; in mtk_iommu_mm_dts_parse()
1138 if (larb_nr == 0 || larb_nr > MTK_LARB_NR_MAX) in mtk_iommu_mm_dts_parse()
1141 for (i = 0; i < larb_nr; i++) { in mtk_iommu_mm_dts_parse()