Home
last modified time | relevance | path

Searched refs:cm_base (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/arch/arm/mach-versatile/
Dintegrator.c32 static void __iomem *cm_base; variable
39 return readl(cm_base + INTEGRATOR_HDR_CTRL_OFFSET); in cm_get()
53 val = readl(cm_base + INTEGRATOR_HDR_CTRL_OFFSET) & ~mask; in cm_control()
54 writel(val | set, cm_base + INTEGRATOR_HDR_CTRL_OFFSET); in cm_control()
61 writel(0xffffffffU, cm_base + INTEGRATOR_HDR_IC_OFFSET + in cm_clear_irqs()
78 cm_base = of_iomap(cm, 0); in cm_init()
79 if (!cm_base) { in cm_init()
/linux-6.1.9/drivers/clk/versatile/
Dclk-versatile.c21 static void __iomem *cm_base; variable
63 if (!cm_base) { in cm_osc_setup()
72 cm_base = of_iomap(parent, 0); in cm_osc_setup()
74 if (!cm_base) { in cm_osc_setup()
81 clk = icst_clk_register(NULL, desc, clk_name, parent_name, cm_base); in cm_osc_setup()
/linux-6.1.9/arch/arm/mach-omap2/
Dcm_common.c32 struct omap_domain_base cm_base; variable
64 *prcm_inst -= cm_base.offset; in cm_split_idlest_reg()
329 mem = &cm_base; in omap2_cm_base_init()
345 (cm_base.va && cm2_base.va))) in omap2_cm_base_init()
Dcm2xxx_3xxx.h52 return readl_relaxed(cm_base.va + module + idx); in omap2_cm_read_mod_reg()
57 writel_relaxed(val, cm_base.va + module + idx); in omap2_cm_write_mod_reg()
Dcm33xx.c45 return readl_relaxed(cm_base.va + inst + idx); in am33xx_cm_read_reg()
51 writel_relaxed(val, cm_base.va + inst + idx); in am33xx_cm_write_reg()
341 return cm_base.pa + inst + offset; in am33xx_cm_xlate_clkctrl()
Dcm.h27 extern struct omap_domain_base cm_base;
Dcminst44xx.c66 memcpy(&_cm_bases[OMAP4430_CM1_PARTITION], &cm_base, sizeof(cm_base)); in omap_cm_base_init()
Dcm3xxx.c669 omap2_clk_legacy_provider_init(TI_CLKM_CM, cm_base.va + in omap3xxx_cm_init()