Home
last modified time | relevance | path

Searched refs:gfpic (Results 1 – 1 of 1) sorted by relevance

/drivers/irqchip/
Dirq-goldfish-pic.c35 struct goldfish_pic_data *gfpic = irq_desc_get_handler_data(desc); in goldfish_pic_cascade() local
41 pending = readl(gfpic->base + GFPIC_REG_IRQ_PENDING); in goldfish_pic_cascade()
44 virq = irq_linear_revmap(gfpic->irq_domain, hwirq); in goldfish_pic_cascade()
59 struct goldfish_pic_data *gfpic; in goldfish_pic_of_init() local
65 gfpic = kzalloc(sizeof(*gfpic), GFP_KERNEL); in goldfish_pic_of_init()
66 if (!gfpic) { in goldfish_pic_of_init()
78 gfpic->base = of_iomap(of_node, 0); in goldfish_pic_of_init()
79 if (!gfpic->base) { in goldfish_pic_of_init()
86 writel(1, gfpic->base + GFPIC_REG_IRQ_DISABLE_ALL); in goldfish_pic_of_init()
88 gc = irq_alloc_generic_chip("GFPIC", 1, GFPIC_IRQ_BASE, gfpic->base, in goldfish_pic_of_init()
[all …]