OpenCores
URL https://opencores.org/ocsvn/pcie_ds_dma/pcie_ds_dma/trunk

Subversion Repositories pcie_ds_dma

[/] [pcie_ds_dma/] [trunk/] [soft/] [linux/] [driver/] [pexdrv/] [streamll.h] - Blame information for rev 55

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 dsmv
 
2
#ifndef _STREAMLL_H_
3
#define _STREAMLL_H_
4
 
5
typedef struct _AMB_MEM_DMA_CHANNEL {
6
        size_t  DmaChanNum;             // IN
7
        size_t  Direction;
8
        size_t  LocalAddr;
9
        size_t  MemType;
10
        size_t  BlockCnt;
11
        size_t  BlockSize;
12
        void*   pStub;
13
        void*   pBlock[1];
14
} AMB_MEM_DMA_CHANNEL, *PAMB_MEM_DMA_CHANNEL;
15
 
16
typedef struct _AMB_START_DMA_CHANNEL {
17
        u32     DmaChanNum;             // IN
18
        u32     IsCycling;
19
} AMB_START_DMA_CHANNEL, *PAMB_START_DMA_CHANNEL;
20
 
21
typedef struct _AMB_STATE_DMA_CHANNEL {
22
        u32     DmaChanNum;             // IN
23
        u32     BlockNum;               // OUT
24
        u32     BlockCntTotal;  // OUT
25
        u32     OffsetInBlock;  // OUT
26
        u32     DmaChanState;   // OUT
27
        u32     Timeout;                // IN
28
} AMB_STATE_DMA_CHANNEL, *PAMB_STATE_DMA_CHANNEL;
29
 
30
typedef struct _AMB_SET_DMA_CHANNEL {
31
        u32     DmaChanNum;             // IN
32
        u32     Param;
33
} AMB_SET_DMA_CHANNEL, *PAMB_SET_DMA_CHANNEL;
34
 
35
typedef struct _AMB_GET_DMA_INFO {
36
        u32     DmaChanNum;             // IN
37
        u32     Direction;              // OUT
38
        u32     FifoSize;               // OUT
39
        u32     MaxDmaSize;             // OUT
40
} AMB_GET_DMA_INFO, *PAMB_GET_DMA_INFO;
41
 
42
#endif //_STREAMLL_H_
43
 
44
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.