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);
|