Searched refs:larb (Results 1 – 3 of 3) sorted by relevance
113 struct mtk_smi_larb *larb = dev_get_drvdata(larbdev); in mtk_smi_larb_get() local114 const struct mtk_smi_larb_gen *larb_gen = larb->larb_gen; in mtk_smi_larb_get()115 struct mtk_smi *common = dev_get_drvdata(larb->smi_common_dev); in mtk_smi_larb_get()124 ret = mtk_smi_enable(&larb->smi); in mtk_smi_larb_get()139 struct mtk_smi_larb *larb = dev_get_drvdata(larbdev); in mtk_smi_larb_put() local140 struct mtk_smi *common = dev_get_drvdata(larb->smi_common_dev); in mtk_smi_larb_put()148 mtk_smi_disable(&larb->smi); in mtk_smi_larb_put()156 struct mtk_smi_larb *larb = dev_get_drvdata(dev); in mtk_smi_larb_bind() local160 if (larb->larb_gen->need_larbid) { in mtk_smi_larb_bind()161 larb->mmu = &smi_iommu->larb_imu[larb->larbid].mmu; in mtk_smi_larb_bind()[all …]
9 #define MTK_M4U_ID(larb, port) (((larb) << 5) | (port)) argument
17 #define MTK_M4U_ID(larb, port) (((larb) << 5) | (port)) argument