Lines Matching refs:icu_irqd
96 struct mvebu_icu_irq_data *icu_irqd = d->chip_data; in mvebu_icu_write_msg() local
97 struct mvebu_icu *icu = icu_irqd->icu; in mvebu_icu_write_msg()
105 if (icu_irqd->type & IRQ_TYPE_EDGE_RISING) in mvebu_icu_write_msg()
107 icu_int |= icu_irqd->icu_group << ICU_GROUP_SHIFT; in mvebu_icu_write_msg()
204 struct mvebu_icu_irq_data *icu_irqd; in mvebu_icu_irq_domain_alloc() local
207 icu_irqd = kmalloc(sizeof(*icu_irqd), GFP_KERNEL); in mvebu_icu_irq_domain_alloc()
208 if (!icu_irqd) in mvebu_icu_irq_domain_alloc()
212 &icu_irqd->type); in mvebu_icu_irq_domain_alloc()
219 icu_irqd->icu_group = fwspec->param[0]; in mvebu_icu_irq_domain_alloc()
221 icu_irqd->icu_group = msi_data->subset_data->icu_group; in mvebu_icu_irq_domain_alloc()
222 icu_irqd->icu = icu; in mvebu_icu_irq_domain_alloc()
235 if (icu_irqd->icu_group == ICU_GRP_SEI) in mvebu_icu_irq_domain_alloc()
239 chip, icu_irqd); in mvebu_icu_irq_domain_alloc()
250 kfree(icu_irqd); in mvebu_icu_irq_domain_alloc()
259 struct mvebu_icu_irq_data *icu_irqd = d->chip_data; in mvebu_icu_irq_domain_free() local
261 kfree(icu_irqd); in mvebu_icu_irq_domain_free()