/openbmc/linux/drivers/xen/events/ |
H A D | events_internal.h | 16 int (*setup)(evtchn_port_t port); 17 void (*remove)(evtchn_port_t port, unsigned int cpu); 18 void (*bind_to_cpu)(evtchn_port_t evtchn, unsigned int cpu, 21 void (*clear_pending)(evtchn_port_t port); 22 void (*set_pending)(evtchn_port_t port); 23 bool (*is_pending)(evtchn_port_t port); 24 void (*mask)(evtchn_port_t port); 25 void (*unmask)(evtchn_port_t port); 36 void handle_irq_for_port(evtchn_port_t port, struct evtchn_loop_ctrl *ctrl); 38 unsigned int cpu_from_evtchn(evtchn_port_t evtchn); [all …]
|
H A D | events_base.c | 111 evtchn_port_t evtchn; /* event channel */ 168 static DEFINE_PER_CPU(evtchn_port_t [XEN_NR_IPIS], ipi_to_evtchn) = {[0 ... XEN_NR_IPIS-1] = 0}; 216 static int set_evtchn_to_irq(evtchn_port_t evtchn, unsigned int irq) in set_evtchn_to_irq() 268 static struct irq_info *evtchn_to_info(evtchn_port_t evtchn) in evtchn_to_info() 331 evtchn_port_t evtchn, in xen_irq_info_common_setup() 354 evtchn_port_t evtchn, in xen_irq_info_evtchn_setup() 368 evtchn_port_t evtchn, enum ipi_vector ipi) in xen_irq_info_ipi_setup() 379 evtchn_port_t evtchn, unsigned int virq) in xen_irq_info_virq_setup() 388 static int xen_irq_info_pirq_setup(struct irq_info *info, evtchn_port_t evtchn, in xen_irq_info_pirq_setup() 411 static evtchn_port_t evtchn_from_irq(unsigned int irq) in evtchn_from_irq() [all …]
|
H A D | events_fifo.c | 85 static inline event_word_t *event_word_from_port(evtchn_port_t port) in event_word_from_port() 141 static int evtchn_fifo_setup(evtchn_port_t port) in evtchn_fifo_setup() 188 static void evtchn_fifo_bind_to_cpu(evtchn_port_t evtchn, unsigned int cpu, in evtchn_fifo_bind_to_cpu() 194 static void evtchn_fifo_clear_pending(evtchn_port_t port) in evtchn_fifo_clear_pending() 200 static void evtchn_fifo_set_pending(evtchn_port_t port) in evtchn_fifo_set_pending() 206 static bool evtchn_fifo_is_pending(evtchn_port_t port) in evtchn_fifo_is_pending() 212 static void evtchn_fifo_mask(evtchn_port_t port) in evtchn_fifo_mask() 218 static bool evtchn_fifo_is_masked(evtchn_port_t port) in evtchn_fifo_is_masked() 248 static void evtchn_fifo_unmask(evtchn_port_t port) in evtchn_fifo_unmask() 281 evtchn_port_t port; in consume_one_event()
|
H A D | events_2l.c | 50 static void evtchn_2l_remove(evtchn_port_t evtchn, unsigned int cpu) in evtchn_2l_remove() 55 static void evtchn_2l_bind_to_cpu(evtchn_port_t evtchn, unsigned int cpu, in evtchn_2l_bind_to_cpu() 62 static void evtchn_2l_clear_pending(evtchn_port_t port) in evtchn_2l_clear_pending() 68 static void evtchn_2l_set_pending(evtchn_port_t port) in evtchn_2l_set_pending() 74 static bool evtchn_2l_is_pending(evtchn_port_t port) in evtchn_2l_is_pending() 80 static void evtchn_2l_mask(evtchn_port_t port) in evtchn_2l_mask() 86 static void evtchn_2l_unmask(evtchn_port_t port) in evtchn_2l_unmask() 174 evtchn_port_t evtchn; in evtchn_2l_handle_events() 233 evtchn_port_t port; in evtchn_2l_handle_events()
|
/openbmc/linux/include/xen/interface/ |
H A D | event_channel.h | 15 typedef uint32_t evtchn_port_t; typedef 16 DEFINE_GUEST_HANDLE(evtchn_port_t); 31 evtchn_port_t port; 47 evtchn_port_t remote_port; 49 evtchn_port_t local_port; 66 evtchn_port_t port; 82 evtchn_port_t port; 95 evtchn_port_t port; 106 evtchn_port_t port; 116 evtchn_port_t port; [all …]
|
H A D | sched.h | 122 GUEST_HANDLE(evtchn_port_t) ports;
|
/openbmc/linux/include/xen/ |
H A D | events.h | 19 int bind_evtchn_to_irq(evtchn_port_t evtchn); 20 int bind_evtchn_to_irq_lateeoi(evtchn_port_t evtchn); 21 int bind_evtchn_to_irqhandler(evtchn_port_t evtchn, 25 int bind_evtchn_to_irqhandler_lateeoi(evtchn_port_t evtchn, 41 evtchn_port_t remote_port); 43 evtchn_port_t remote_port, 72 int evtchn_make_refcounted(evtchn_port_t evtchn, bool is_static); 73 int evtchn_get(evtchn_port_t evtchn); 74 void evtchn_put(evtchn_port_t evtchn); 77 void rebind_evtchn_irq(evtchn_port_t evtchn, int irq); [all …]
|
H A D | xenbus.h | 233 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port); 234 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port);
|
/openbmc/qemu/include/hw/xen/interface/ |
H A D | event_channel.h | 65 typedef uint32_t evtchn_port_t; typedef 66 DEFINE_XEN_GUEST_HANDLE(evtchn_port_t); 80 evtchn_port_t port; 107 evtchn_port_t remote_port; 109 evtchn_port_t local_port; 130 evtchn_port_t port; 146 evtchn_port_t port; 159 evtchn_port_t port; 170 evtchn_port_t port; 180 evtchn_port_t port; [all …]
|
H A D | sched.h | 125 XEN_GUEST_HANDLE(evtchn_port_t) ports;
|
/openbmc/linux/drivers/xen/ |
H A D | evtchn.c | 68 evtchn_port_t *ring; 86 evtchn_port_t port; 91 static void evtchn_free_ring(evtchn_port_t *ring) in evtchn_free_ring() 102 static evtchn_port_t *evtchn_ring_entry(struct per_user_data *u, in evtchn_ring_entry() 143 evtchn_port_t port) in find_evtchn() 208 count &= ~(sizeof(evtchn_port_t)-1); in evtchn_read() 242 sizeof(evtchn_port_t); in evtchn_read() 243 bytes2 = evtchn_ring_offset(u, p) * sizeof(evtchn_port_t); in evtchn_read() 245 bytes1 = (p - c) * sizeof(evtchn_port_t); in evtchn_read() 264 WRITE_ONCE(u->ring_cons, c + (bytes1 + bytes2) / sizeof(evtchn_port_t)); in evtchn_read() [all …]
|
H A D | gntdev-common.h | 43 evtchn_port_t event;
|
H A D | pvcalls-front.c | 381 static int create_active(struct sock_mapping *map, evtchn_port_t *evtchn) in create_active() 429 evtchn_port_t evtchn; in pvcalls_front_connect() 779 evtchn_port_t evtchn; in pvcalls_front_accept() 1138 evtchn_port_t evtchn; in pvcalls_front_probe()
|
H A D | pvcalls-back.c | 320 evtchn_port_t evtchn, in pvcalls_new_active_socket() 929 evtchn_port_t evtchn; in backend_connect()
|
/openbmc/qemu/hw/i386/kvm/ |
H A D | xen_evtchn.h | 17 typedef uint32_t evtchn_port_t; typedef 43 evtchn_port_t guest_port); 44 int xen_be_evtchn_unbind(struct xenevtchn_handle *xc, evtchn_port_t port); 47 int xen_be_evtchn_notify(struct xenevtchn_handle *xc, evtchn_port_t port); 48 int xen_be_evtchn_unmask(struct xenevtchn_handle *xc, evtchn_port_t port);
|
H A D | xen_evtchn.c | 111 evtchn_port_t be_port; 112 evtchn_port_t guest_port; /* Or zero for unbound */ 532 static void deassign_kernel_port(evtchn_port_t port) in deassign_kernel_port() 548 static int assign_kernel_port(uint16_t type, evtchn_port_t port, in assign_kernel_port() 569 static int assign_kernel_eventfd(uint16_t type, evtchn_port_t port, int fd) in assign_kernel_eventfd() 583 static bool valid_port(evtchn_port_t port) in valid_port() 609 evtchn_port_t be_port = p->u.interdomain.port; in unbind_backend_ports() 681 static int do_unmask_port_lm(XenEvtchnState *s, evtchn_port_t port, in do_unmask_port_lm() 738 static int do_unmask_port_compat(XenEvtchnState *s, evtchn_port_t port, in do_unmask_port_compat() 796 static int unmask_port(XenEvtchnState *s, evtchn_port_t port, bool do_unmask) in unmask_port() [all …]
|
H A D | xen_primary_console.c | 42 evtchn_port_t guest_port; 43 evtchn_port_t be_port;
|
H A D | xen_xenstore.c | 67 evtchn_port_t guest_port; 68 evtchn_port_t be_port; 1383 evtchn_port_t port = xen_be_evtchn_pending(s->eh); in xen_xenstore_event()
|
/openbmc/qemu/include/hw/xen/ |
H A D | xen_backend_ops.h | 35 typedef uint32_t evtchn_port_t; typedef 56 evtchn_port_t guest_port); 57 int (*unbind)(xenevtchn_handle *xc, evtchn_port_t port); 60 int (*notify)(struct xenevtchn_handle *xc, evtchn_port_t port); 61 int (*unmask)(struct xenevtchn_handle *xc, evtchn_port_t port); 77 evtchn_port_t guest_port) in qemu_xen_evtchn_bind_interdomain() 86 evtchn_port_t port) in qemu_xen_evtchn_unbind() 111 evtchn_port_t port) in qemu_xen_evtchn_notify() 120 evtchn_port_t port) in qemu_xen_evtchn_unmask()
|
H A D | xen-hvm-common.h | 69 evtchn_port_t *ioreq_local_port; 71 evtchn_port_t bufioreq_remote_port; 72 evtchn_port_t bufioreq_local_port;
|
H A D | xen_native.h | 150 evtchn_port_t *bufioreq_port) in xendevicemodel_get_ioreq_server_info() 330 evtchn_port_t in xen_get_default_ioreq_server_info() 501 evtchn_port_t *bufioreq_evtchn) in xen_get_ioreq_server_info()
|
/openbmc/qemu/hw/xen/ |
H A D | xen-hvm-common.c | 209 evtchn_port_t port; in cpu_get_ioreq() 669 evtchn_port_t bufioreq_evtchn; in xen_map_ioreq_server() 841 state->ioreq_local_port = g_new0(evtchn_port_t, max_cpus); in xen_do_ioreq_register()
|
H A D | xen_pvdev.c | 202 evtchn_port_t port; in xen_pv_evtchn_event()
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | xenbus.c | 108 evtchn_port_t remote_evtchn) in xen_pcibk_do_attach() 146 evtchn_port_t remote_evtchn; in xen_pcibk_attach()
|
/openbmc/linux/drivers/xen/xenbus/ |
H A D | xenbus_client.c | 462 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port) in xenbus_alloc_evtchn() 485 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port) in xenbus_free_evtchn()
|