Lines Matching refs:writel_relaxed

65 	writel_relaxed(0, dist_base + GIC_DIST_CTRL);  in rkpm_gicv2_dist_restore()
69 writel_relaxed(ctx->saved_spi_target[i >> 2], in rkpm_gicv2_dist_restore()
73 writel_relaxed(ctx->saved_spi_prio[i >> 2], in rkpm_gicv2_dist_restore()
77 writel_relaxed(ctx->saved_spi_conf[i >> 4], in rkpm_gicv2_dist_restore()
81 writel_relaxed(ctx->saved_spi_grp[i >> 5], in rkpm_gicv2_dist_restore()
85 writel_relaxed(~0U, dist_base + GIC_DIST_ACTIVE_CLEAR + (i >> 5 << 2)); in rkpm_gicv2_dist_restore()
87 writel_relaxed(ctx->saved_spi_active[i >> 5], in rkpm_gicv2_dist_restore()
92 writel_relaxed(~0U, dist_base + GIC_DIST_ENABLE_CLEAR + (i >> 5 << 2)); in rkpm_gicv2_dist_restore()
94 writel_relaxed(ctx->saved_spi_enable[i >> 5], in rkpm_gicv2_dist_restore()
100 writel_relaxed(ctx->saved_gicd_ctrl, dist_base + GIC_DIST_CTRL); in rkpm_gicv2_dist_restore()
139 writel_relaxed(0, cpu_base + GIC_CPU_CTRL); in rkpm_gicv2_cpu_restore()
142 writel_relaxed(~0U, dist_base + GIC_DIST_ENABLE_CLEAR); in rkpm_gicv2_cpu_restore()
144 writel_relaxed(ctx->saved_ppi_enable, dist_base + GIC_DIST_ENABLE_SET); in rkpm_gicv2_cpu_restore()
146 writel_relaxed(~0U, dist_base + GIC_DIST_ACTIVE_CLEAR); in rkpm_gicv2_cpu_restore()
148 writel_relaxed(ctx->saved_ppi_active, dist_base + GIC_DIST_ACTIVE_SET); in rkpm_gicv2_cpu_restore()
151 writel_relaxed(ctx->saved_ppi_conf[i], dist_base + GIC_DIST_CONFIG + i * 4); in rkpm_gicv2_cpu_restore()
154 writel_relaxed(ctx->saved_ppi_prio[i], dist_base + GIC_DIST_PRI + i * 4); in rkpm_gicv2_cpu_restore()
156 writel_relaxed(ctx->saved_ppi_grp, dist_base + GIC_DIST_IGROUP); in rkpm_gicv2_cpu_restore()
157 writel_relaxed(ctx->saved_gicc_pmr, cpu_base + GIC_CPU_PRIMASK); in rkpm_gicv2_cpu_restore()
160 writel_relaxed(ctx->saved_gicc_ctrl, cpu_base + GIC_CPU_CTRL); in rkpm_gicv2_cpu_restore()