Home
last modified time | relevance | path

Searched refs:larb (Results 1 – 4 of 4) sorted by relevance

/drivers/memory/
Dmtk-smi.c154 struct mtk_smi_larb *larb = dev_get_drvdata(dev); in mtk_smi_larb_bind() local
160 larb->larbid = i; in mtk_smi_larb_bind()
161 larb->mmu = &larb_mmu[i].mmu; in mtk_smi_larb_bind()
162 larb->bank = larb_mmu[i].bank; in mtk_smi_larb_bind()
171 struct mtk_smi_larb *larb = dev_get_drvdata(dev); in mtk_smi_larb_config_port_gen2_general() local
175 if (BIT(larb->larbid) & larb->larb_gen->larb_direct_to_common_mask) in mtk_smi_larb_config_port_gen2_general()
178 for_each_set_bit(i, (unsigned long *)larb->mmu, 32) { in mtk_smi_larb_config_port_gen2_general()
179 reg = readl_relaxed(larb->base + SMI_LARB_NONSEC_CON(i)); in mtk_smi_larb_config_port_gen2_general()
181 reg |= BANK_SEL(larb->bank[i]); in mtk_smi_larb_config_port_gen2_general()
182 writel(reg, larb->base + SMI_LARB_NONSEC_CON(i)); in mtk_smi_larb_config_port_gen2_general()
[all …]
/drivers/media/platform/mtk-jpeg/
Dmtk_jpeg_core.h102 struct device *larb; member
Dmtk_jpeg_core.c1058 ret = mtk_smi_larb_get(jpeg->larb); in mtk_jpeg_clk_on()
1072 mtk_smi_larb_put(jpeg->larb); in mtk_jpeg_clk_off()
1303 jpeg->larb = &pdev->dev; in mtk_jpeg_clk_init()
1338 put_device(jpeg->larb); in mtk_jpeg_clk_release()
/drivers/iommu/
Dmtk_iommu_v1.c122 int larb = mt2701_m4u_to_larb(id); in mt2701_m4u_to_port() local
124 return id - mt2701_m4u_in_larb[larb]; in mt2701_m4u_to_port()