Lines Matching refs:mmdc_base

98 	void __iomem *mmdc_base;  member
185 void __iomem *mmdc_base, *reg; in mmdc_pmu_read_counter() local
187 mmdc_base = pmu_mmdc->mmdc_base; in mmdc_pmu_read_counter()
191 reg = mmdc_base + MMDC_MADPSR0; in mmdc_pmu_read_counter()
194 reg = mmdc_base + MMDC_MADPSR1; in mmdc_pmu_read_counter()
197 reg = mmdc_base + MMDC_MADPSR2; in mmdc_pmu_read_counter()
200 reg = mmdc_base + MMDC_MADPSR3; in mmdc_pmu_read_counter()
203 reg = mmdc_base + MMDC_MADPSR4; in mmdc_pmu_read_counter()
206 reg = mmdc_base + MMDC_MADPSR5; in mmdc_pmu_read_counter()
327 void __iomem *mmdc_base, *reg; in mmdc_pmu_event_start() local
330 mmdc_base = pmu_mmdc->mmdc_base; in mmdc_pmu_event_start()
331 reg = mmdc_base + MMDC_MADPCR0; in mmdc_pmu_event_start()
348 reg = mmdc_base + MMDC_MADPCR1; in mmdc_pmu_event_start()
351 reg = mmdc_base + MMDC_MADPCR0; in mmdc_pmu_event_start()
383 void __iomem *mmdc_base, *reg; in mmdc_pmu_event_stop() local
385 mmdc_base = pmu_mmdc->mmdc_base; in mmdc_pmu_event_stop()
386 reg = mmdc_base + MMDC_MADPCR0; in mmdc_pmu_event_stop()
390 reg = mmdc_base + MMDC_MADPCR1; in mmdc_pmu_event_stop()
434 void __iomem *mmdc_base, struct device *dev) in mmdc_pmu_init() argument
450 .mmdc_base = mmdc_base, in mmdc_pmu_init()
466 iounmap(pmu_mmdc->mmdc_base); in imx_mmdc_remove()
472 static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_base, in imx_mmdc_perf_init() argument
500 mmdc_num = mmdc_pmu_init(pmu_mmdc, mmdc_base, &pdev->dev); in imx_mmdc_perf_init()
537 #define imx_mmdc_perf_init(pdev, mmdc_base, mmdc_ipg_clk) 0 argument
543 void __iomem *mmdc_base, *reg; in imx_mmdc_probe() local
559 mmdc_base = of_iomap(np, 0); in imx_mmdc_probe()
560 WARN_ON(!mmdc_base); in imx_mmdc_probe()
562 reg = mmdc_base + MMDC_MDMISC; in imx_mmdc_probe()
568 reg = mmdc_base + MMDC_MAPSR; in imx_mmdc_probe()
575 err = imx_mmdc_perf_init(pdev, mmdc_base, mmdc_ipg_clk); in imx_mmdc_probe()
577 iounmap(mmdc_base); in imx_mmdc_probe()