Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dma_v3.c File Reference
#include <linux/pci.h>
#include <linux/gfp.h>
#include <linux/dmaengine.h>
#include <linux/dma-mapping.h>
#include <linux/prefetch.h>
#include "../dmaengine.h"
#include "registers.h"
#include "hw.h"
#include "dma.h"
#include "dma_v2.h"

Go to the source code of this file.

Macros

#define src_cnt_to_sw(x)   ((x) + 2)
 
#define src_cnt_to_hw(x)   ((x) - 2)
 
#define IOAT_NUM_SRC_TEST   6 /* must be <= 8 */
 

Functions

struct dma_async_tx_descriptorioat3_prep_xor_val (struct dma_chan *chan, dma_addr_t *src, unsigned int src_cnt, size_t len, enum sum_check_flags *result, unsigned long flags)
 
struct dma_async_tx_descriptorioat3_prep_pq_val (struct dma_chan *chan, dma_addr_t *pq, dma_addr_t *src, unsigned int src_cnt, const unsigned char *scf, size_t len, enum sum_check_flags *pqres, unsigned long flags)
 
struct dma_async_tx_descriptorioat3_prep_pqxor_val (struct dma_chan *chan, dma_addr_t *src, unsigned int src_cnt, size_t len, enum sum_check_flags *result, unsigned long flags)
 
int __devinit ioat3_dma_probe (struct ioatdma_device *device, int dca)
 

Macro Definition Documentation

#define IOAT_NUM_SRC_TEST   6 /* must be <= 8 */

Definition at line 846 of file dma_v3.c.

#define src_cnt_to_hw (   x)    ((x) - 2)

Definition at line 72 of file dma_v3.c.

#define src_cnt_to_sw (   x)    ((x) + 2)

Definition at line 71 of file dma_v3.c.

Function Documentation

int __devinit ioat3_dma_probe ( struct ioatdma_device device,
int  dca 
)

Definition at line 1190 of file dma_v3.c.

struct dma_async_tx_descriptor* ioat3_prep_pq_val ( struct dma_chan chan,
dma_addr_t pq,
dma_addr_t src,
unsigned int  src_cnt,
const unsigned char scf,
size_t  len,
enum sum_check_flags pqres,
unsigned long  flags 
)
read

Definition at line 751 of file dma_v3.c.

struct dma_async_tx_descriptor* ioat3_prep_pqxor_val ( struct dma_chan chan,
dma_addr_t src,
unsigned int  src_cnt,
size_t  len,
enum sum_check_flags result,
unsigned long  flags 
)
read

Definition at line 787 of file dma_v3.c.

struct dma_async_tx_descriptor* ioat3_prep_xor_val ( struct dma_chan chan,
dma_addr_t src,
unsigned int  src_cnt,
size_t  len,
enum sum_check_flags result,
unsigned long  flags 
)
read

Definition at line 569 of file dma_v3.c.