Lines Matching refs:rdist
307 static void gicv3_rdist_enable(mem_addr_t rdist) in gicv3_rdist_enable() argument
309 if (!(sys_read32(rdist + GICR_WAKER) & BIT(GICR_WAKER_CA))) { in gicv3_rdist_enable()
313 if (GICR_IIDR_PRODUCT_ID_GET(sys_read32(rdist + GICR_IIDR)) >= 0x2) { in gicv3_rdist_enable()
314 if (sys_read32(rdist + GICR_PWRR) & BIT(GICR_PWRR_RDPD)) { in gicv3_rdist_enable()
315 sys_set_bit(rdist + GICR_PWRR, GICR_PWRR_RDAG); in gicv3_rdist_enable()
316 sys_clear_bit(rdist + GICR_PWRR, GICR_PWRR_RDPD); in gicv3_rdist_enable()
317 while (sys_read32(rdist + GICR_PWRR) & BIT(GICR_PWRR_RDPD)) { in gicv3_rdist_enable()
323 sys_clear_bit(rdist + GICR_WAKER, GICR_WAKER_PS); in gicv3_rdist_enable()
324 while (sys_read32(rdist + GICR_WAKER) & BIT(GICR_WAKER_CA)) { in gicv3_rdist_enable()
334 static void gicv3_rdist_setup_lpis(mem_addr_t rdist) in gicv3_rdist_setup_lpis() argument
351 ctlr = sys_read32(rdist + GICR_CTLR); in gicv3_rdist_setup_lpis()
353 sys_write32(ctlr, rdist + GICR_CTLR); in gicv3_rdist_setup_lpis()
361 sys_write64(reg, rdist + GICR_PROPBASER); in gicv3_rdist_setup_lpis()
370 sys_write64(reg, rdist + GICR_PENDBASER); in gicv3_rdist_setup_lpis()
373 ctlr = sys_read32(rdist + GICR_CTLR); in gicv3_rdist_setup_lpis()
375 sys_write32(ctlr, rdist + GICR_CTLR); in gicv3_rdist_setup_lpis()