Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
vnic_intr.h File Reference
#include <linux/pci.h>
#include "vnic_dev.h"

Go to the source code of this file.

Data Structures

struct  vnic_intr_ctrl
 
struct  vnic_intr
 

Macros

#define vnic_intr_unmask   fnic_intr_unmask
 
#define vnic_intr_mask   fnic_intr_mask
 
#define vnic_intr_return_credits   fnic_intr_return_credits
 
#define vnic_intr_credits   fnic_intr_credits
 
#define vnic_intr_return_all_credits   fnic_intr_return_all_credits
 
#define vnic_intr_legacy_pba   fnic_intr_legacy_pba
 
#define vnic_intr_free   fnic_intr_free
 
#define vnic_intr_alloc   fnic_intr_alloc
 
#define vnic_intr_init   fnic_intr_init
 
#define vnic_intr_clean   fnic_intr_clean
 
#define VNIC_INTR_TIMER_MAX   0xffff
 
#define VNIC_INTR_TIMER_TYPE_ABS   0
 
#define VNIC_INTR_TIMER_TYPE_QUIET   1
 
#define VNIC_INTR_UNMASK_SHIFT   16
 
#define VNIC_INTR_RESET_TIMER_SHIFT   17
 

Functions

void vnic_intr_free (struct vnic_intr *intr)
 
int vnic_intr_alloc (struct vnic_dev *vdev, struct vnic_intr *intr, unsigned int index)
 
void vnic_intr_init (struct vnic_intr *intr, unsigned int coalescing_timer, unsigned int coalescing_type, unsigned int mask_on_assertion)
 
void vnic_intr_clean (struct vnic_intr *intr)
 

Macro Definition Documentation

#define vnic_intr_alloc   fnic_intr_alloc

Definition at line 35 of file vnic_intr.h.

#define vnic_intr_clean   fnic_intr_clean

Definition at line 37 of file vnic_intr.h.

#define vnic_intr_credits   fnic_intr_credits

Definition at line 31 of file vnic_intr.h.

#define vnic_intr_free   fnic_intr_free

Definition at line 34 of file vnic_intr.h.

#define vnic_intr_init   fnic_intr_init

Definition at line 36 of file vnic_intr.h.

#define vnic_intr_legacy_pba   fnic_intr_legacy_pba

Definition at line 33 of file vnic_intr.h.

#define vnic_intr_mask   fnic_intr_mask

Definition at line 29 of file vnic_intr.h.

#define VNIC_INTR_RESET_TIMER_SHIFT   17
#define vnic_intr_return_all_credits   fnic_intr_return_all_credits

Definition at line 32 of file vnic_intr.h.

#define vnic_intr_return_credits   fnic_intr_return_credits

Definition at line 30 of file vnic_intr.h.

#define VNIC_INTR_TIMER_MAX   0xffff

Definition at line 39 of file vnic_intr.h.

#define VNIC_INTR_TIMER_TYPE_ABS   0

Definition at line 41 of file vnic_intr.h.

#define VNIC_INTR_TIMER_TYPE_QUIET   1

Definition at line 42 of file vnic_intr.h.

#define vnic_intr_unmask   fnic_intr_unmask

Definition at line 28 of file vnic_intr.h.

#define VNIC_INTR_UNMASK_SHIFT   16

Function Documentation

int vnic_intr_alloc ( struct vnic_dev vdev,
struct vnic_intr intr,
unsigned int  index 
)

Definition at line 34 of file vnic_intr.c.

void vnic_intr_clean ( struct vnic_intr intr)

Definition at line 65 of file vnic_intr.c.

void vnic_intr_free ( struct vnic_intr intr)

Definition at line 29 of file vnic_intr.c.

void vnic_intr_init ( struct vnic_intr intr,
unsigned int  coalescing_timer,
unsigned int  coalescing_type,
unsigned int  mask_on_assertion 
)

Definition at line 49 of file vnic_intr.c.