Home
last modified time | relevance | path

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

/Linux-v5.15/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 generic_handle_domain_irq(gfpic->irq_domain, hwirq); in goldfish_pic_cascade()
58 struct goldfish_pic_data *gfpic; in goldfish_pic_of_init() local
64 gfpic = kzalloc(sizeof(*gfpic), GFP_KERNEL); in goldfish_pic_of_init()
65 if (!gfpic) { in goldfish_pic_of_init()
77 gfpic->base = of_iomap(of_node, 0); in goldfish_pic_of_init()
78 if (!gfpic->base) { in goldfish_pic_of_init()
85 writel(1, gfpic->base + GFPIC_REG_IRQ_DISABLE_ALL); in goldfish_pic_of_init()
87 gc = irq_alloc_generic_chip("GFPIC", 1, GFPIC_IRQ_BASE, gfpic->base, in goldfish_pic_of_init()
[all …]