Functions | Variables

/scratch/npr78/temp/xspress3_api/det-software/none_vme/xspress3/lib/xspress3_dma.c File Reference

Functions

int xsp3_dma_reset (int path, int card, u_int32_t stream_mask)
 Reset the DMA engines.
int xsp3_dma_config_memory (int path, int card, int layout)
 Configure the memory.
int xsp3_dma_build_desc (int path, int card, u_int32_t stream, XSP3_DMA_MsgBuildDesc *msg)
 Instruct PPC1 in the Virtex-5 to build a series of DMA descriptors.
int xsp3_dma_build_debug_desc (int path, int card, u_int32_t stream, XSP3_DMA_MsgBuildDebugDesc *msg)
 Instruct PPC1 in the Virtex-5 to build a series of DMA descriptors for debug.
int xsp3_dma_start (int path, int card, u_int32_t stream, XSP3_DMA_MsgStart *msg)
 Instruct PPC1 in the Virtex-5 to start a single DMA engine.
int xsp3_dma_resend (int path, int card, u_int32_t stream, u_int32_t first, u_int32_t num)
 Instruct PPC1 in the Virtex-5 to reset the status in an existing set of descriptors so they can be sent again.
int xsp3_dma_build_test_pat (int path, int card, u_int32_t stream, XSP3_DMA_MsgTestPat *msg)
 Instruct PPC1 in the Virtex-5 to build test patterns into the FFEM DRAM.
int xsp3_dma_print_data (int path, int card, u_int32_t stream, XSP3_DMA_MsgPrint *msg)
 Instruct PPC1 in the Virtex-5 to build print data from DRAM.
int xsp3_dma_print_scope_data (int path, int card, XSP3_DMA_MsgPrint *msg)
 Instruct PPC1 in the Virtex-5 to build print scope data from DRAM.
int xsp3_dma_print_desc (int path, int card, u_int32_t stream, XSP3_DMA_MsgPrintDesc *msg)
 Instruct PPC1 in the Virtex-5 to build print the DMA descriptors This is printed onto the console for PPC1, accessible only via a serial cable onto the header on the FEM.
int xsp3_dma_read_status (int path, int card, u_int32_t stream_mask)
 Get the DMA status.
int xsp3_system_start (int path, int card)
 Start the xspress3 system.
int xsp3_system_arm (int path, int card)
 Arm the xspress3 system, but in software time frame mode, counting is disabled.
int xsp3_system_start_count_enb (int path, int card, int count_enb)
 Start the xspress3 system with control over count enable in software framing mode.
int xsp3_set_run_flags (int path, int flags)
 Set the run mode flags.
int xsp3_get_run_flags (int path)
 Get the run mode flags.
int xsp3_dma_check_desc (int path, int card, u_int32_t stream, XSP3_DMA_MsgCheckDesc *msg)
 This is called typically on an RX DMA Stream e.g.
int xsp3_set_ppc_debuglevel (int path, int card, int ppc1, int ppc2, int level)
 Setup the number of debug messages printed to the serial ports on the FEM directly from the embedded PowerPCs.
int xsp3_scope_wait (int path, int card)
 This function polls the DMA descriptors for the two scope DMA streams to check whether all the data has been transfered.

Variables

XSP3Path Xsp3Sys [XSP3_MAX_PATH]
char error_message []

Variable Documentation

char error_message[]
XSP3Path Xsp3Sys[XSP3_MAX_PATH]