Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
htirq.h File Reference

Go to the source code of this file.

Data Structures

struct  ht_irq_msg
 

Typedefs

typedef voidht_irq_update_t )(struct pci_dev *dev, int irq, struct ht_irq_msg *msg)
 

Functions

void fetch_ht_irq_msg (unsigned int irq, struct ht_irq_msg *msg)
 
void write_ht_irq_msg (unsigned int irq, struct ht_irq_msg *msg)
 
void mask_ht_irq (struct irq_data *data)
 
void unmask_ht_irq (struct irq_data *data)
 
int arch_setup_ht_irq (unsigned int irq, struct pci_dev *dev)
 
int __ht_create_irq (struct pci_dev *dev, int idx, ht_irq_update_t *update)
 

Typedef Documentation

typedef void( ht_irq_update_t)(struct pci_dev *dev, int irq, struct ht_irq_msg *msg)

Definition at line 20 of file htirq.h.

Function Documentation

int __ht_create_irq ( struct pci_dev dev,
int  idx,
ht_irq_update_t update 
)

__ht_create_irq - create an irq and attach it to a device. : The hypertransport device to find the irq capability on. : Which of the possible irqs to attach to. : Function to be called when changing the htirq message

The irq number of the new irq or a negative error value is returned.

Definition at line 87 of file htirq.c.

int arch_setup_ht_irq ( unsigned int  irq,
struct pci_dev dev 
)
void fetch_ht_irq_msg ( unsigned int  irq,
struct ht_irq_msg msg 
)

Definition at line 55 of file htirq.c.

void mask_ht_irq ( struct irq_data data)

Definition at line 61 of file htirq.c.

void unmask_ht_irq ( struct irq_data data)

Definition at line 70 of file htirq.c.

void write_ht_irq_msg ( unsigned int  irq,
struct ht_irq_msg msg 
)

Definition at line 36 of file htirq.c.