Lines Matching full:eoi
111 unsigned short eoi_cpu; /* EOI must happen on this cpu-1 */
113 u64 eoi_time; /* Time in jiffies when to EOI. */
572 struct lateeoi_work *eoi = &per_cpu(lateeoi, info->eoi_cpu); in lateeoi_list_del() local
575 spin_lock_irqsave(&eoi->eoi_list_lock, flags); in lateeoi_list_del()
577 spin_unlock_irqrestore(&eoi->eoi_list_lock, flags); in lateeoi_list_del()
582 struct lateeoi_work *eoi = &per_cpu(lateeoi, info->eoi_cpu); in lateeoi_list_add() local
593 spin_lock_irqsave(&eoi->eoi_list_lock, flags); in lateeoi_list_add()
595 if (list_empty(&eoi->eoi_list)) { in lateeoi_list_add()
596 list_add(&info->eoi_list, &eoi->eoi_list); in lateeoi_list_add()
598 &eoi->delayed, delay); in lateeoi_list_add()
600 list_for_each_entry_reverse(elem, &eoi->eoi_list, eoi_list) { in lateeoi_list_add()
607 spin_unlock_irqrestore(&eoi->eoi_list_lock, flags); in lateeoi_list_add()
663 struct lateeoi_work *eoi; in xen_irq_lateeoi_worker() local
668 eoi = container_of(to_delayed_work(work), struct lateeoi_work, delayed); in xen_irq_lateeoi_worker()
673 spin_lock(&eoi->eoi_list_lock); in xen_irq_lateeoi_worker()
675 info = list_first_entry_or_null(&eoi->eoi_list, struct irq_info, in xen_irq_lateeoi_worker()
679 spin_unlock(&eoi->eoi_list_lock); in xen_irq_lateeoi_worker()
685 spin_unlock(&eoi->eoi_list_lock); in xen_irq_lateeoi_worker()
694 &eoi->delayed, info->eoi_time - now); in xen_irq_lateeoi_worker()
701 struct lateeoi_work *eoi = &per_cpu(lateeoi, cpu); in xen_cpu_init_eoi() local
703 INIT_DELAYED_WORK(&eoi->delayed, xen_irq_lateeoi_worker); in xen_cpu_init_eoi()
704 spin_lock_init(&eoi->eoi_list_lock); in xen_cpu_init_eoi()
705 INIT_LIST_HEAD(&eoi->eoi_list); in xen_cpu_init_eoi()
854 struct physdev_eoi eoi = { .irq = pirq_from_irq(data->irq) }; in eoi_pirq() local
863 rc = HYPERVISOR_physdev_op(PHYSDEVOP_eoi, &eoi); in eoi_pirq()
1071 * interrupts too. In any case Xen always honors the eoi mechanism, in xen_bind_pirq_gsi_to_irq()
1073 * hasn't received an eoi yet. Therefore using the fasteoi handler in xen_bind_pirq_gsi_to_irq()