Lines Matching full:eoi
113 unsigned short eoi_cpu; /* EOI must happen on this cpu-1 */
115 u64 eoi_time; /* Time in jiffies when to EOI. */
557 struct lateeoi_work *eoi = &per_cpu(lateeoi, info->eoi_cpu); in lateeoi_list_del() local
560 spin_lock_irqsave(&eoi->eoi_list_lock, flags); in lateeoi_list_del()
562 spin_unlock_irqrestore(&eoi->eoi_list_lock, flags); in lateeoi_list_del()
567 struct lateeoi_work *eoi = &per_cpu(lateeoi, info->eoi_cpu); in lateeoi_list_add() local
578 spin_lock_irqsave(&eoi->eoi_list_lock, flags); in lateeoi_list_add()
580 elem = list_first_entry_or_null(&eoi->eoi_list, struct irq_info, in lateeoi_list_add()
583 list_add(&info->eoi_list, &eoi->eoi_list); in lateeoi_list_add()
585 &eoi->delayed, delay); in lateeoi_list_add()
587 list_for_each_entry_reverse(elem, &eoi->eoi_list, eoi_list) { in lateeoi_list_add()
594 spin_unlock_irqrestore(&eoi->eoi_list_lock, flags); in lateeoi_list_add()
650 struct lateeoi_work *eoi; in xen_irq_lateeoi_worker() local
655 eoi = container_of(to_delayed_work(work), struct lateeoi_work, delayed); in xen_irq_lateeoi_worker()
660 spin_lock_irqsave(&eoi->eoi_list_lock, flags); in xen_irq_lateeoi_worker()
662 info = list_first_entry_or_null(&eoi->eoi_list, struct irq_info, in xen_irq_lateeoi_worker()
670 &eoi->delayed, in xen_irq_lateeoi_worker()
677 spin_unlock_irqrestore(&eoi->eoi_list_lock, flags); in xen_irq_lateeoi_worker()
684 spin_unlock_irqrestore(&eoi->eoi_list_lock, flags); in xen_irq_lateeoi_worker()
691 struct lateeoi_work *eoi = &per_cpu(lateeoi, cpu); in xen_cpu_init_eoi() local
693 INIT_DELAYED_WORK(&eoi->delayed, xen_irq_lateeoi_worker); in xen_cpu_init_eoi()
694 spin_lock_init(&eoi->eoi_list_lock); in xen_cpu_init_eoi()
695 INIT_LIST_HEAD(&eoi->eoi_list); in xen_cpu_init_eoi()
816 struct physdev_eoi eoi = { .irq = pirq_from_irq(info) }; in do_eoi_pirq() local
825 rc = HYPERVISOR_physdev_op(PHYSDEVOP_eoi, &eoi); in do_eoi_pirq()
1068 * interrupts too. In any case Xen always honors the eoi mechanism, in xen_bind_pirq_gsi_to_irq()
1070 * hasn't received an eoi yet. Therefore using the fasteoi handler in xen_bind_pirq_gsi_to_irq()