/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to dma/nwl.h

  • Committer: root
  • Date: 2011-06-17 21:40:33 UTC
  • Revision ID: root@iss-tomyspiel-l-20110617214033-np5x6881odzlfgmg
Enumerate DMA engines

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _PCILIB_DMA_NWL_H
 
2
#define _PCILIB_DMA_NWL_H
 
3
 
 
4
#include <stdio.h>
 
5
#include "pcilib.h"
 
6
 
 
7
typedef struct nwl_dma_s nwl_dma_t;
 
8
 
 
9
/*
 
10
typedef struct {
 
11
    pcilib_dma_engine_info_t info;
 
12
    // offset  
 
13
} pcilib_dma_engine_info_t;
 
14
*/
 
15
 
 
16
 
 
17
pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx);
 
18
void  dma_nwl_free(pcilib_dma_context_t *vctx);
 
19
 
 
20
#ifdef _PCILIB_DMA_NWL_C
 
21
pcilib_dma_api_description_t nwl_dma_api = {
 
22
    dma_nwl_init,
 
23
    dma_nwl_free
 
24
};
 
25
#else
 
26
extern pcilib_dma_api_description_t nwl_dma_api;
 
27
#endif
 
28
 
 
29
 
 
30
#endif /* _PCILIB_DMA_NWL_H */