Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/iommu/
Dmtk_iommu_v1.c618 int larb_nr, ret, i; in mtk_iommu_v1_probe() local
646 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()
Dmtk_iommu.c1049 int i, larb_nr, ret; in mtk_iommu_mm_dts_parse() local
1051 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()