Searched refs:icu (Results 1 – 2 of 2) sorted by relevance
48 struct mvebu_icu *icu; member53 static void mvebu_icu_init(struct mvebu_icu *icu, struct msi_msg *msg) in mvebu_icu_init() argument55 if (atomic_cmpxchg(&icu->initialized, false, true)) in mvebu_icu_init()59 writel_relaxed(msg[0].address_hi, icu->base + ICU_SETSPI_NSR_AH); in mvebu_icu_init()60 writel_relaxed(msg[0].address_lo, icu->base + ICU_SETSPI_NSR_AL); in mvebu_icu_init()61 writel_relaxed(msg[1].address_hi, icu->base + ICU_CLRSPI_NSR_AH); in mvebu_icu_init()62 writel_relaxed(msg[1].address_lo, icu->base + ICU_CLRSPI_NSR_AL); in mvebu_icu_init()69 struct mvebu_icu *icu = icu_irqd->icu; in mvebu_icu_write_msg() local74 mvebu_icu_init(icu, msg); in mvebu_icu_write_msg()85 writel_relaxed(icu_int, icu->base + ICU_INT_CFG(d->hwirq)); in mvebu_icu_write_msg()[all …]
76 obj-$(CONFIG_MVEBU_ICU) += irq-mvebu-icu.o