/alps/pcitool

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to dma/nwl.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-04-24 03:35:48 UTC
  • Revision ID: csa@suren.me-20150424033548-7xhacqq2s8s1t2fp
More structural changes to get ready for stand-alone event engines

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#define _PCILIB_DMA_NWL_H
3
3
 
4
4
#include <stdio.h>
5
 
#include "../pcilib.h"
 
5
#include "pcilib.h"
6
6
 
7
7
pcilib_dma_context_t *dma_nwl_init(pcilib_t *ctx, const char *model, const void *arg);
8
8
void  dma_nwl_free(pcilib_dma_context_t *vctx);
36
36
};
37
37
 
38
38
static pcilib_register_bank_description_t nwl_dma_banks[] = {
39
 
    { PCILIB_REGISTER_BANK_DMA, PCILIB_BAR0, 0xA000, PCILIB_REGISTER_PROTOCOL_DEFAULT    , 0,                        0,                        PCILIB_LITTLE_ENDIAN, 32, PCILIB_LITTLE_ENDIAN, "0x%lx", "dma", "DMA Registers"},
 
39
    { PCILIB_REGISTER_BANK_DMA, PCILIB_REGISTER_PROTOCOL_DEFAULT, PCILIB_BAR0, 0, 0, 32, 0xA000, PCILIB_LITTLE_ENDIAN, PCILIB_LITTLE_ENDIAN, "0x%lx", "dma", "DMA Registers"},
40
40
    { 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
41
41
};
42
42