Lines Matching refs:irqwait
352 drm_via_irqwait_t *irqwait = data; in via_wait_irq() local
359 if (irqwait->request.irq >= dev_priv->num_irqs) { in via_wait_irq()
361 irqwait->request.irq); in via_wait_irq()
365 cur_irq += irqwait->request.irq; in via_wait_irq()
367 switch (irqwait->request.type & ~VIA_IRQ_FLAGS_MASK) { in via_wait_irq()
369 irqwait->request.sequence += in via_wait_irq()
371 irqwait->request.type &= ~_DRM_VBLANK_RELATIVE; in via_wait_irq()
378 if (irqwait->request.type & VIA_IRQ_SIGNAL) { in via_wait_irq()
383 force_sequence = (irqwait->request.type & VIA_IRQ_FORCE_SEQUENCE); in via_wait_irq()
385 ret = via_driver_irq_wait(dev, irqwait->request.irq, force_sequence, in via_wait_irq()
386 &irqwait->request.sequence); in via_wait_irq()
388 irqwait->reply.tval_sec = now.tv_sec; in via_wait_irq()
389 irqwait->reply.tval_usec = now.tv_usec; in via_wait_irq()