lcls2
C++ API: public headers of xtcdata, psalg, psdaq and psana
Loading...
Searching...
No Matches
PgpCardWrap.h File Reference
#include <linux/types.h>
#include "PgpCardMod.h"

Functions

int pgpcard_send (int fd, void *buf, size_t size, uint lane, uint vc)
 
int pgpcard_recv (int fd, void *buf, size_t maxSize, uint *lane, uint *vc, uint *eofe, uint *fifoErr, uint *lengthErr)
 
int pgpcard_status (int fd, PgpCardStatus *status)
 
int pgpcard_setDebug (int fd, uint level)
 
int pgpcard_setRxReset (int fd, uint lane)
 
int pgpcard_clrRxReset (int fd, uint lane)
 
int pgpcard_setTxReset (int fd, uint lane)
 
int pgpcard_clrTxReset (int fd, uint lane)
 
int pgpcard_setLoop (int fd, uint lane)
 
int pgpcard_clrLoop (int fd, uint lane)
 
int pgpcard_rstCount (int fd)
 
int pgpcard_dumpDebug (int fd)
 

Function Documentation

◆ pgpcard_clrLoop()

int pgpcard_clrLoop ( int  fd,
uint  lane 
)
inline

◆ pgpcard_clrRxReset()

int pgpcard_clrRxReset ( int  fd,
uint  lane 
)
inline

◆ pgpcard_clrTxReset()

int pgpcard_clrTxReset ( int  fd,
uint  lane 
)
inline

◆ pgpcard_dumpDebug()

int pgpcard_dumpDebug ( int  fd)
inline

◆ pgpcard_recv()

int pgpcard_recv ( int  fd,
void *  buf,
size_t  maxSize,
uint *  lane,
uint *  vc,
uint *  eofe,
uint *  fifoErr,
uint *  lengthErr 
)
inline

◆ pgpcard_rstCount()

int pgpcard_rstCount ( int  fd)
inline

◆ pgpcard_send()

int pgpcard_send ( int  fd,
void *  buf,
size_t  size,
uint  lane,
uint  vc 
)
inline

◆ pgpcard_setDebug()

int pgpcard_setDebug ( int  fd,
uint  level 
)
inline

◆ pgpcard_setLoop()

int pgpcard_setLoop ( int  fd,
uint  lane 
)
inline

◆ pgpcard_setRxReset()

int pgpcard_setRxReset ( int  fd,
uint  lane 
)
inline

◆ pgpcard_setTxReset()

int pgpcard_setTxReset ( int  fd,
uint  lane 
)
inline

◆ pgpcard_status()

int pgpcard_status ( int  fd,
PgpCardStatus *  status 
)
inline