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_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, u32 coalescing_timer, unsigned int coalescing_type, unsigned int mask_on_assertion)
 
void vnic_intr_coalescing_timer_set (struct vnic_intr *intr, u32 coalescing_timer)
 
void vnic_intr_clean (struct vnic_intr *intr)
 

Macro Definition Documentation

#define VNIC_INTR_RESET_TIMER_SHIFT   17
#define VNIC_INTR_TIMER_TYPE_ABS   0

Definition at line 27 of file vnic_intr.h.

#define VNIC_INTR_TIMER_TYPE_QUIET   1

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_coalescing_timer_set ( struct vnic_intr intr,
u32  coalescing_timer 
)

Definition at line 58 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,
u32  coalescing_timer,
unsigned int  coalescing_type,
unsigned int  mask_on_assertion 
)

Definition at line 49 of file vnic_intr.c.