Home
last modified time | relevance | path

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

/drivers/gpu/drm/via/
Dvia_irq.c114 drm_via_irq_t *cur_irq = dev_priv->via_irqs; in via_driver_irq_handler() local
139 if (status & cur_irq->pending_mask) { in via_driver_irq_handler()
140 atomic_inc(&cur_irq->irq_received); in via_driver_irq_handler()
141 wake_up(&cur_irq->irq_queue); in via_driver_irq_handler()
148 cur_irq++; in via_driver_irq_handler()
213 drm_via_irq_t *cur_irq; in via_driver_irq_wait() local
239 cur_irq = dev_priv->via_irqs + real_irq; in via_driver_irq_wait()
242 DRM_WAIT_ON(ret, cur_irq->irq_queue, 3 * HZ, in via_driver_irq_wait()
245 cur_irq_sequence = atomic_read(&cur_irq->irq_received); in via_driver_irq_wait()
247 DRM_WAIT_ON(ret, cur_irq->irq_queue, 3 * HZ, in via_driver_irq_wait()
[all …]
/drivers/mfd/
Dtps65912-irq.c159 int ret, cur_irq; in tps65912_irq_init() local
193 for (cur_irq = tps65912->irq_base; in tps65912_irq_init()
194 cur_irq < tps65912->irq_num + tps65912->irq_base; in tps65912_irq_init()
195 cur_irq++) { in tps65912_irq_init()
196 irq_set_chip_data(cur_irq, tps65912); in tps65912_irq_init()
197 irq_set_chip_and_handler(cur_irq, &tps65912_irq_chip, in tps65912_irq_init()
199 irq_set_nested_thread(cur_irq, 1); in tps65912_irq_init()
203 set_irq_flags(cur_irq, IRQF_VALID); in tps65912_irq_init()
205 irq_set_noprobe(cur_irq); in tps65912_irq_init()
Dwm8350-irq.c471 int ret, cur_irq, i; in wm8350_irq_init() local
521 for (cur_irq = wm8350->irq_base; in wm8350_irq_init()
522 cur_irq < ARRAY_SIZE(wm8350_irqs) + wm8350->irq_base; in wm8350_irq_init()
523 cur_irq++) { in wm8350_irq_init()
524 irq_set_chip_data(cur_irq, wm8350); in wm8350_irq_init()
525 irq_set_chip_and_handler(cur_irq, &wm8350_irq_chip, in wm8350_irq_init()
527 irq_set_nested_thread(cur_irq, 1); in wm8350_irq_init()
532 set_irq_flags(cur_irq, IRQF_VALID); in wm8350_irq_init()
534 irq_set_noprobe(cur_irq); in wm8350_irq_init()
Dmax8997-irq.c186 int i, cur_irq; in max8997_irq_thread() local
274 cur_irq = irq_find_mapping(max8997->irq_domain, i); in max8997_irq_thread()
275 if (cur_irq) in max8997_irq_thread()
276 handle_nested_irq(cur_irq); in max8997_irq_thread()
/drivers/platform/x86/
Dsony-laptop.c3344 struct sony_pic_irq *cur_irq; member
4650 free_irq(spic_dev.cur_irq->irq.interrupts[0], &spic_dev); in sony_pic_remove()
4674 spic_dev.cur_irq = NULL; in sony_pic_remove()
4758 spic_dev.cur_irq = irq; in sony_pic_add()
4762 if (!spic_dev.cur_irq) { in sony_pic_add()
4769 result = sony_pic_enable(device, spic_dev.cur_ioport, spic_dev.cur_irq); in sony_pic_add()
4795 free_irq(spic_dev.cur_irq->irq.interrupts[0], &spic_dev); in sony_pic_add()
4820 spic_dev.cur_irq = NULL; in sony_pic_add()
4836 spic_dev.cur_ioport, spic_dev.cur_irq); in sony_pic_resume()