Lines Matching +full:irqs +full:- +full:map +full:- +full:range
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * arch/powerpc/platforms/embedded6xx/hlwd-pic.c
9 #define DRV_MODULE_NAME "hlwd-pic"
19 #include "hlwd-pic.h"
81 .name = "hlwd-pic",
98 irq_set_chip_data(virq, h->host_data); in hlwd_pic_map()
105 .map = hlwd_pic_map,
110 void __iomem *io_base = h->host_data; in __hlwd_pic_get_irq()
116 return 0; /* no more IRQs pending */ in __hlwd_pic_get_irq()
127 raw_spin_lock(&desc->lock); in hlwd_pic_irq_cascade()
128 chip->irq_mask(&desc->irq_data); /* IRQ_LEVEL */ in hlwd_pic_irq_cascade()
129 raw_spin_unlock(&desc->lock); in hlwd_pic_irq_cascade()
137 raw_spin_lock(&desc->lock); in hlwd_pic_irq_cascade()
138 chip->irq_ack(&desc->irq_data); /* IRQ_LEVEL */ in hlwd_pic_irq_cascade()
139 if (!irqd_irq_disabled(&desc->irq_data) && chip->irq_unmask) in hlwd_pic_irq_cascade()
140 chip->irq_unmask(&desc->irq_data); in hlwd_pic_irq_cascade()
141 raw_spin_unlock(&desc->lock); in hlwd_pic_irq_cascade()
151 /* mask and ack all IRQs */ in __hlwd_quiesce()
165 pr_err("no io memory range found\n"); in hlwd_pic_init()
207 for_each_compatible_node(np, NULL, "nintendo,hollywood-pic") { in hlwd_pic_probe()
224 * hlwd_quiesce() - quiesce hollywood irq controller
231 void __iomem *io_base = hlwd_irq_host->host_data; in hlwd_quiesce()