Searched refs:gpc_base (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/arch/arm/mach-imx/ |
D | gpc.c | 30 static void __iomem *gpc_base; variable 37 (sw << GPC_PGC_SW_SHIFT), gpc_base + GPC_PGC_CPU_PUPSCR); in imx_gpc_set_arm_power_up_timing() 43 (sw << GPC_PGC_SW_SHIFT), gpc_base + GPC_PGC_CPU_PDNSCR); in imx_gpc_set_arm_power_down_timing() 48 writel_relaxed(power_off, gpc_base + GPC_PGC_CPU_PDN); in imx_gpc_set_arm_power_in_lpm() 55 val = readl_relaxed(gpc_base + GPC_CNTR); in imx_gpc_set_l2_mem_power_in_lpm() 59 writel_relaxed(val, gpc_base + GPC_CNTR); in imx_gpc_set_l2_mem_power_in_lpm() 64 void __iomem *reg_imr1 = gpc_base + GPC_IMR1; in imx_gpc_pre_suspend() 79 void __iomem *reg_imr1 = gpc_base + GPC_IMR1; in imx_gpc_post_resume() 107 void __iomem *reg_imr1 = gpc_base + GPC_IMR1; in imx_gpc_mask_all() 118 void __iomem *reg_imr1 = gpc_base + GPC_IMR1; in imx_gpc_restore_all() [all …]
|
D | pm-imx5.c | 135 static void __iomem *gpc_base; variable 154 arm_srpgcr = imx_readl(gpc_base + MXC_SRPG_ARM_SRPGCR) & in mx5_cpu_lp_set() 156 empgc0 = imx_readl(gpc_base + MXC_SRPG_EMPGC0_SRPGCR) & in mx5_cpu_lp_set() 158 empgc1 = imx_readl(gpc_base + MXC_SRPG_EMPGC1_SRPGCR) & in mx5_cpu_lp_set() 195 imx_writel(arm_srpgcr, gpc_base + MXC_SRPG_ARM_SRPGCR); in mx5_cpu_lp_set() 196 imx_writel(arm_srpgcr, gpc_base + MXC_SRPG_NEON_SRPGCR); in mx5_cpu_lp_set() 202 imx_writel(empgc0, gpc_base + MXC_SRPG_EMPGC0_SRPGCR); in mx5_cpu_lp_set() 203 imx_writel(empgc1, gpc_base + MXC_SRPG_EMPGC1_SRPGCR); in mx5_cpu_lp_set() 225 imx_writel(0, gpc_base + MXC_SRPG_EMPGC0_SRPGCR); in mx5_suspend_enter() 226 imx_writel(0, gpc_base + MXC_SRPG_EMPGC1_SRPGCR); in mx5_suspend_enter() [all …]
|
D | src.c | 42 static void __iomem *gpc_base; variable 87 writel_relaxed(enable, gpc_base + offset); in imx_gpcv2_set_m_core_pgc() 106 val = readl_relaxed(gpc_base + reg); in imx_gpcv2_set_core1_pdn_pup_by_software() 108 writel_relaxed(val, gpc_base + reg); in imx_gpcv2_set_core1_pdn_pup_by_software() 110 ret = readl_relaxed_poll_timeout_atomic(gpc_base + reg, pup, in imx_gpcv2_set_core1_pdn_pup_by_software() 116 writel_relaxed(val, gpc_base + reg); in imx_gpcv2_set_core1_pdn_pup_by_software() 205 gpc_base = of_iomap(np, 0); in imx7_src_init() 206 if (!gpc_base) in imx7_src_init()
|
D | pm-imx6.c | 227 struct imx6_pm_base gpc_base; member 543 ret = imx6_pm_get_base(&pm_info->gpc_base, socdata->gpc_compat); in imx6q_suspend_init() 580 iounmap(pm_info->gpc_base.vbase); in imx6q_suspend_init()
|
/linux-6.1.9/drivers/irqchip/ |
D | irq-imx-gpcv2.c | 23 void __iomem *gpc_base; member 33 return cd->gpc_base + cd->cpu2wakeup + i * 4; in gpcv2_idx_to_reg() 236 cd->gpc_base = of_iomap(node, 0); in imx_gpcv2_irqchip_init() 237 if (!cd->gpc_base) { in imx_gpcv2_irqchip_init() 246 iounmap(cd->gpc_base); in imx_gpcv2_irqchip_init() 254 void __iomem *reg = cd->gpc_base + i * 4; in imx_gpcv2_irqchip_init() 276 writel_relaxed(~0x1, cd->gpc_base + cd->cpu2wakeup); in imx_gpcv2_irqchip_init()
|