Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ioatdma_device Struct Reference

#include <dma.h>

Data Fields

struct pci_devpdev
 
void __iomemreg_base
 
struct pci_pool * dma_pool
 
struct pci_pool * completion_pool
 
struct dma_device common
 
u8 version
 
struct msix_entry msix_entries [4]
 
struct ioat_chan_commonidx [4]
 
struct dca_providerdca
 
void(* intr_quirk )(struct ioatdma_device *device)
 
int(* enumerate_channels )(struct ioatdma_device *device)
 
int(* reset_hw )(struct ioat_chan_common *chan)
 
void(* cleanup_fn )(unsigned long data)
 
void(* timer_fn )(unsigned long data)
 
int(* self_test )(struct ioatdma_device *device)
 

Detailed Description

struct ioatdma_device - internal representation of a IOAT device : PCI-Express device : MMIO register space base address : for allocating DMA descriptors : embedded struct dma_device

Version
: version of ioatdma device : irq handlers : per channel data : direct cache access context : interrupt setup quirk (for ioat_v1 devices) : hw version specific channel enumeration : hw version specific channel (re)initialization : select between the v2 and v3 cleanup routines : select between the v2 and v3 timer watchdog routines : hardware version specific self test for each supported op type

Note: the v3 cleanup routine supports raid operations

Definition at line 70 of file dma.h.

Field Documentation

void(* cleanup_fn)(unsigned long data)

Definition at line 83 of file dma.h.

Definition at line 75 of file dma.h.

struct pci_pool* completion_pool

Definition at line 74 of file dma.h.

Definition at line 79 of file dma.h.

struct pci_pool* dma_pool

Definition at line 73 of file dma.h.

int(* enumerate_channels)(struct ioatdma_device *device)

Definition at line 81 of file dma.h.

Definition at line 78 of file dma.h.

void(* intr_quirk)(struct ioatdma_device *device)

Definition at line 80 of file dma.h.

struct msix_entry msix_entries[4]

Definition at line 77 of file dma.h.

struct pci_dev* pdev

Definition at line 71 of file dma.h.

void __iomem* reg_base

Definition at line 72 of file dma.h.

Definition at line 82 of file dma.h.

int(* self_test)(struct ioatdma_device *device)

Definition at line 85 of file dma.h.

void(* timer_fn)(unsigned long data)

Definition at line 84 of file dma.h.

u8 version

Definition at line 76 of file dma.h.


The documentation for this struct was generated from the following file: