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/] [hardware.h] - Diff between revs 2 and 6

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 6
Line 9... Line 9...
#define ADP201X1AMB_DEVID       0x5504
#define ADP201X1AMB_DEVID       0x5504
#define ADP201X1DSP_DEVID       0x5505
#define ADP201X1DSP_DEVID       0x5505
#define AMBPEX5_DEVID           0x5507
#define AMBPEX5_DEVID           0x5507
#define AMBPEXARM_DEVID         0x5702
#define AMBPEXARM_DEVID         0x5702
#define AMBFMC106P_DEVID        0x550A
#define AMBFMC106P_DEVID        0x550A
 
#define AMBFMC114V_DEVID        0x550C
 
#define AMBKU_SSCOS_DEVID       0x5703
 
 
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
 
 
#define MAX_PEXDEVICE_SUPPORT   4
#define MAX_PEXDEVICE_SUPPORT   4
 
 
Line 24... Line 26...
int InitializeBoard(struct pex_device *brd);
int InitializeBoard(struct pex_device *brd);
u32 ReadOperationReg(struct pex_device *brd, u32 RelativePort);
u32 ReadOperationReg(struct pex_device *brd, u32 RelativePort);
void WriteOperationReg(struct pex_device *brd, u32 RelativePort, u32 Value);
void WriteOperationReg(struct pex_device *brd, u32 RelativePort, u32 Value);
u16 ReadOperationWordReg(struct pex_device *brd, u32 RelativePort);
u16 ReadOperationWordReg(struct pex_device *brd, u32 RelativePort);
void WriteOperationWordReg(struct pex_device *brd, u32 RelativePort, u16 Value);
void WriteOperationWordReg(struct pex_device *brd, u32 RelativePort, u16 Value);
u8 ReadOperationByteReg(struct pex_device *brd, u32 RelativePort);
 
void WriteOperationByteReg(struct pex_device *brd, u32 RelativePort, u8 Value);
 
u32 ReadAmbReg(struct pex_device *brd, u32 AdmNumber, u32 RelativePort);
u32 ReadAmbReg(struct pex_device *brd, u32 AdmNumber, u32 RelativePort);
u32 ReadAmbMainReg(struct pex_device *brd, u32 RelativePort);
u32 ReadAmbMainReg(struct pex_device *brd, u32 RelativePort);
void WriteAmbReg(struct pex_device *brd, u32 AdmNumber, u32 RelativePort, u32 Value);
void WriteAmbReg(struct pex_device *brd, u32 AdmNumber, u32 RelativePort, u32 Value);
void WriteAmbMainReg(struct pex_device *brd, u32 RelativePort, u32 Value);
void WriteAmbMainReg(struct pex_device *brd, u32 RelativePort, u32 Value);
void ReadBufAmbReg(struct pex_device *brd, u32 AdmNumber, u32 RelativePort, u32* VirtualAddress, u32 DwordsCount);
void ReadBufAmbReg(struct pex_device *brd, u32 AdmNumber, u32 RelativePort, u32* VirtualAddress, u32 DwordsCount);

powered by: WebSVN 2.1.0

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