Home
last modified time | relevance | path

Searched refs:larbid (Results 1 – 3 of 3) sorted by relevance

/drivers/memory/
Dmtk-smi.c54 #define SMI_BUS_LARB_SHIFT(larbid) ((larbid) << 1) argument
56 #define F_MMU1_LARB(larbid) (0x1 << SMI_BUS_LARB_SHIFT(larbid)) argument
93 int larbid; member
160 larb->larbid = i; in mtk_smi_larb_bind()
175 if (BIT(larb->larbid) & larb->larb_gen->larb_direct_to_common_mask) in mtk_smi_larb_config_port_gen2_general()
208 m4u_port_id = larb_gen->port_in_larb[larb->larbid]; in mtk_smi_larb_config_port_gen1()
209 larb_port_num = larb_gen->port_in_larb[larb->larbid + 1] in mtk_smi_larb_config_port_gen1()
210 - larb_gen->port_in_larb[larb->larbid]; in mtk_smi_larb_config_port_gen1()
/drivers/iommu/
Dmtk_iommu_v1.c202 unsigned int larbid, portid; in mtk_iommu_config() local
207 larbid = mt2701_m4u_to_larb(fwspec->ids[i]); in mtk_iommu_config()
209 larb_mmu = &data->larb_imu[larbid]; in mtk_iommu_config()
427 int err, idx = 0, larbid, larbidx; in mtk_iommu_probe_device() local
460 larbid = mt2701_m4u_to_larb(fwspec->ids[0]); in mtk_iommu_probe_device()
461 if (larbid >= MT2701_LARB_NR_MAX) in mtk_iommu_probe_device()
466 if (larbid != larbidx) { in mtk_iommu_probe_device()
468 larbid, larbidx); in mtk_iommu_probe_device()
473 larbdev = data->larb_imu[larbid].dev; in mtk_iommu_probe_device()
504 unsigned int larbid; in mtk_iommu_release_device() local
[all …]
Dmtk_iommu.c363 unsigned int larbid, portid; in mtk_iommu_config() local
369 larbid = MTK_M4U_TO_LARB(fwspec->ids[i]); in mtk_iommu_config()
372 larb_mmu = &data->larb_imu[larbid]; in mtk_iommu_config()
584 unsigned int larbid, larbidx, i; in mtk_iommu_probe_device() local
596 larbid = MTK_M4U_TO_LARB(fwspec->ids[0]); in mtk_iommu_probe_device()
597 if (larbid >= MTK_LARB_NR_MAX) in mtk_iommu_probe_device()
602 if (larbid != larbidx) { in mtk_iommu_probe_device()
604 larbid, larbidx); in mtk_iommu_probe_device()
608 larbdev = data->larb_imu[larbid].dev; in mtk_iommu_probe_device()
624 unsigned int larbid; in mtk_iommu_release_device() local
[all …]