Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
events.h File Reference
#include <linux/interrupt.h>
#include <xen/interface/event_channel.h>
#include <asm/xen/hypercall.h>
#include <asm/xen/events.h>

Go to the source code of this file.

Functions

int bind_evtchn_to_irq (unsigned int evtchn)
 
int bind_evtchn_to_irqhandler (unsigned int evtchn, irq_handler_t handler, unsigned long irqflags, const char *devname, void *dev_id)
 
int bind_virq_to_irq (unsigned int virq, unsigned int cpu)
 
int bind_virq_to_irqhandler (unsigned int virq, unsigned int cpu, irq_handler_t handler, unsigned long irqflags, const char *devname, void *dev_id)
 
int bind_ipi_to_irqhandler (enum ipi_vector ipi, unsigned int cpu, irq_handler_t handler, unsigned long irqflags, const char *devname, void *dev_id)
 
int bind_interdomain_evtchn_to_irqhandler (unsigned int remote_domain, unsigned int remote_port, irq_handler_t handler, unsigned long irqflags, const char *devname, void *dev_id)
 
void unbind_from_irqhandler (unsigned int irq, void *dev_id)
 
int evtchn_make_refcounted (unsigned int evtchn)
 
int evtchn_get (unsigned int evtchn)
 
void evtchn_put (unsigned int evtchn)
 
void xen_send_IPI_one (unsigned int cpu, enum ipi_vector vector)
 
int resend_irq_on_evtchn (unsigned int irq)
 
void rebind_evtchn_irq (int evtchn, int irq)
 
void notify_remote_via_irq (int irq)
 
void xen_irq_resume (void)
 
void xen_clear_irq_pending (int irq)
 
void xen_set_irq_pending (int irq)
 
bool xen_test_irq_pending (int irq)
 
void xen_poll_irq (int irq)
 
void xen_poll_irq_timeout (int irq, u64 timeout)
 
unsigned irq_from_evtchn (unsigned int evtchn)
 
void xen_hvm_callback_vector (void)
 
int xen_set_callback_via (uint64_t via)
 
void xen_evtchn_do_upcall (struct pt_regs *regs)
 
void xen_hvm_evtchn_do_upcall (void)
 
int xen_bind_pirq_gsi_to_irq (unsigned gsi, unsigned pirq, int shareable, char *name)
 
int xen_destroy_irq (int irq)
 
int xen_irq_from_pirq (unsigned pirq)
 
int xen_pirq_from_irq (unsigned irq)
 
int xen_irq_from_gsi (unsigned gsi)
 
int xen_test_irq_shared (int irq)
 
void xen_init_IRQ (void)
 

Variables

int xen_have_vector_callback
 

Function Documentation

int bind_evtchn_to_irq ( unsigned int  evtchn)

Definition at line 833 of file events.c.

int bind_evtchn_to_irqhandler ( unsigned int  evtchn,
irq_handler_t  handler,
unsigned long  irqflags,
const char devname,
void dev_id 
)

Definition at line 1026 of file events.c.

int bind_interdomain_evtchn_to_irqhandler ( unsigned int  remote_domain,
unsigned int  remote_port,
irq_handler_t  handler,
unsigned long  irqflags,
const char devname,
void dev_id 
)

Definition at line 1046 of file events.c.

int bind_ipi_to_irqhandler ( enum ipi_vector  ipi,
unsigned int  cpu,
irq_handler_t  handler,
unsigned long  irqflags,
const char devname,
void dev_id 
)

Definition at line 1088 of file events.c.

int bind_virq_to_irq ( unsigned int  virq,
unsigned int  cpu 
)

Definition at line 936 of file events.c.

int bind_virq_to_irqhandler ( unsigned int  virq,
unsigned int  cpu,
irq_handler_t  handler,
unsigned long  irqflags,
const char devname,
void dev_id 
)

Definition at line 1069 of file events.c.

int evtchn_get ( unsigned int  evtchn)

Definition at line 1139 of file events.c.

int evtchn_make_refcounted ( unsigned int  evtchn)

Definition at line 1118 of file events.c.

void evtchn_put ( unsigned int  evtchn)

Definition at line 1172 of file events.c.

unsigned irq_from_evtchn ( unsigned int  evtchn)

Definition at line 225 of file events.c.

void notify_remote_via_irq ( int  irq)

notify_remote_via_irq - send event to remote end of event channel via irq : irq of event channel to send event to

Unlike notify_remote_via_evtchn(), this is safe to use across save/restore. Notifications on a broken connection are silently dropped.

Definition at line 366 of file events.c.

void rebind_evtchn_irq ( int  evtchn,
int  irq 
)

Definition at line 1416 of file events.c.

int resend_irq_on_evtchn ( unsigned int  irq)

Definition at line 1482 of file events.c.

void unbind_from_irqhandler ( unsigned int  irq,
void dev_id 
)

Definition at line 1111 of file events.c.

int xen_bind_pirq_gsi_to_irq ( unsigned  gsi,
unsigned  pirq,
int  shareable,
char name 
)

Definition at line 660 of file events.c.

void xen_clear_irq_pending ( int  irq)

Definition at line 1637 of file events.c.

int xen_destroy_irq ( int  irq)

Definition at line 768 of file events.c.

void xen_evtchn_do_upcall ( struct pt_regs regs)

Definition at line 1394 of file events.c.

void xen_hvm_callback_vector ( void  )
void xen_hvm_evtchn_do_upcall ( void  )

Definition at line 1409 of file events.c.

void xen_init_IRQ ( void  )

Definition at line 1809 of file events.c.

int xen_irq_from_gsi ( unsigned  gsi)

Definition at line 634 of file events.c.

int xen_irq_from_pirq ( unsigned  pirq)

Definition at line 805 of file events.c.

void xen_irq_resume ( void  )

Definition at line 1701 of file events.c.

int xen_pirq_from_irq ( unsigned  irq)

Definition at line 828 of file events.c.

void xen_poll_irq ( int  irq)

Definition at line 1684 of file events.c.

void xen_poll_irq_timeout ( int  irq,
u64  timeout 
)

Definition at line 1666 of file events.c.

void xen_send_IPI_one ( unsigned int  cpu,
enum ipi_vector  vector 
)

Definition at line 1181 of file events.c.

int xen_set_callback_via ( uint64_t  via)

Definition at line 1771 of file events.c.

void xen_set_irq_pending ( int  irq)

Definition at line 1645 of file events.c.

bool xen_test_irq_pending ( int  irq)

Definition at line 1653 of file events.c.

int xen_test_irq_shared ( int  irq)

Definition at line 1690 of file events.c.

Variable Documentation

int xen_have_vector_callback

Definition at line 33 of file enlighten.c.