Lines Matching refs:val
19 #define GIC_FMU_WRITE_32(base, reg, val) \ argument
27 mmio_write_32((base) + (reg), (val)); \
31 #define GIC_FMU_WRITE_64(base, reg, n, val) \ argument
42 mmio_write_32((base) + reg##_LO + (n * 64), (val)); \
43 mmio_write_32((base) + reg##_HI + (n * 64), (val)); \
66 #define GIC_FMU_WRITE_ON_IDLE_32(base, reg, val) \ argument
71 GIC_FMU_WRITE_32(base, reg, val); \
76 #define GIC_FMU_WRITE_ON_IDLE_64(base, reg, n, val) \ argument
81 GIC_FMU_WRITE_64(base, reg, n, val); \
203 void gic_fmu_write_errctlr(uintptr_t base, unsigned int n, uint64_t val) in gic_fmu_write_errctlr() argument
205 GIC_FMU_WRITE_64(base, GICFMU_ERRCTLR, n, val); in gic_fmu_write_errctlr()
212 void gic_fmu_write_errstatus(uintptr_t base, unsigned int n, uint64_t val) in gic_fmu_write_errstatus() argument
215 GIC_FMU_WRITE_ON_IDLE_64(base, GICFMU_ERRSTATUS, n, val); in gic_fmu_write_errstatus()
221 void gic_fmu_write_pingctlr(uintptr_t base, uint32_t val) in gic_fmu_write_pingctlr() argument
223 GIC_FMU_WRITE_32(base, GICFMU_PINGCTLR, val); in gic_fmu_write_pingctlr()
229 void gic_fmu_write_pingnow(uintptr_t base, uint32_t val) in gic_fmu_write_pingnow() argument
232 GIC_FMU_WRITE_ON_IDLE_32(base, GICFMU_PINGNOW, val); in gic_fmu_write_pingnow()
238 void gic_fmu_write_smen(uintptr_t base, uint32_t val) in gic_fmu_write_smen() argument
241 GIC_FMU_WRITE_ON_IDLE_32(base, GICFMU_SMEN, val); in gic_fmu_write_smen()
248 void gic_fmu_write_sminjerr(uintptr_t base, uint32_t val) in gic_fmu_write_sminjerr() argument
251 GIC_FMU_WRITE_ON_IDLE_32(base, GICFMU_SMINJERR, val); in gic_fmu_write_sminjerr()
257 void gic_fmu_write_pingmask(uintptr_t base, uint64_t val) in gic_fmu_write_pingmask() argument
259 GIC_FMU_WRITE_64(base, GICFMU_PINGMASK, 0, val); in gic_fmu_write_pingmask()