GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > RAD750 / V1-3-0

Constituent: rad750_dump     Tag: rad750


Interface   Compound List   File List   Compound Members   File Members  

RAD750_dump.c File Reference

RAD750 dump library function definitions. More...

#include "vxWorks.h"
#include "stdio.h"
#include "mv2600.h"
#include "drv/pci/pciConfigLib.h"
#include "drv/pci/pciConfigShow.h"
#include "drv/ppci/ppciRegs.h"
#include "drv/ppci/ppciPtim.h"
#include "drv/ppci/ppciClkCtrl.h"
#include "RAD750/RAD750_dump.h"
#include "RAD750_dump_private.h"

Include dependency graph for RAD750_dump.c:

Include dependency graph

Functions

void RAD750_dumpReg32 (volatile ULONG *addr, const char *name)
void RAD750_dumpConfig32 (int bus, int dev, int func, unsigned short offset, const char *name)
void RAD750_dumpConfig16 (int bus, int dev, int func, unsigned short offset, const char *name)
void RAD750_dumpConfig8 (int bus, int dev, int func, unsigned short offset, const char *name)
void RAD750_dumpControlReg (int bus, int dev, int func)
void RAD750_dumpStatusReg (int bus, int dev, int func)
void RAD750_dumpStatus2Reg (int bus, int dev, int func)
void RAD750_dumpStatus2MaskReg (int bus, int dev, int func)
void RAD750_dumpConfigurationReg (int bus, int dev, int func)
void RAD750_dumpArbPriReg (int bus, int dev, int func)
void RAD750_dumpPCIErrCheckReg (int bus, int dev, int func)
void RAD750_dumpPCIErrStatusReg (int bus, int dev, int func)
void RAD750_dumpUserAReg (int bus, int dev, int func)
void RAD750_dumpUserBReg (int bus, int dev, int func)
void RAD750_dumpUserCReg (int bus, int dev, int func)
void RAD750_dumpMemController (void)
void RAD750_dumpMemStatusReg (void)
void RAD750_dumpMemIntrReg (void)
void RAD750_dumpClkControlReg (void)
void RAD750_dumpPidController (void)
void RAD750_dumpPtimController (void)
void RAD750_dumpClkPllReg (void)
void RAD750_dumpIntEnableReg (void)
void RAD750_dumpIntCollectionReg (void)
void RAD750_dumpMiscIntStatusReg (void)
void RAD750_dumpMiscIntEnableReg (void)
void RAD750_dumpErrStatusReg (void)
void RAD750_dumpErrStatusMaskReg (void)
void RAD750_dumpPMControlReg (void)
void RAD750_dumpEMCVecStatusReg (void)
void RAD750_dumpEMCVecEnableReg (void)
void RAD750_dumpMcpCollectionReg (void)
void RAD750_dumpMcpEnableReg (void)
void RAD750_dumpCpuDiscReg (void)
void RAD750_dumpEmcVecCtlReg (void)
int RAD750_dumpRegs (RAD750_Dump_Options options)
 Dump the RAD750 board registers.


Variables

const char * enableStr = "Enabled"
const char * disableStr = "Disabled"
const char * trueStr = "True"
const char * falseStr = "False"

Detailed Description

RAD750 dump library function definitions.

Author:
D.L. Wood
These functions print to stdout the contents, meanings, and addresses of the various registers on-board the RAD750 CPU.

Function Documentation

void RAD750_dumpArbPriReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI PCI bus arbitration priority register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpClkControlReg void   )  [static]
 

Displays the detailed contents of a PPCI clock control register.

void RAD750_dumpClkPllReg void   )  [static]
 

Displays the detailed contents of a PPCI clock CPU PLL register.

void RAD750_dumpConfig16 int  bus,
int  dev,
int  func,
unsigned short  offset,
const char *  name
[static]
 

Displays the contents of a 16-bit PPCI configuration register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.
offset The address of the configuration register.
name The name of the register for display.

void RAD750_dumpConfig32 int  bus,
int  dev,
int  func,
unsigned short  offset,
const char *  name
[static]
 

Displays the contents of a 32-bit PPCI configuration register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.
offset The address of the configuration register.
name The name of the register for display.

void RAD750_dumpConfig8 int  bus,
int  dev,
int  func,
unsigned short  offset,
const char *  name
[static]
 

Displays the contents of a 8-bit PPCI configuration register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.
offset The address of the configuration register.
name The name of the register for display.

void RAD750_dumpConfigurationReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI configuration header status 2 interrupt mask register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpControlReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI configuration header control register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpCpuDiscReg void   )  [static]
 

Displays the detailed contents of the PPCI CPU discretes register.

void RAD750_dumpEmcVecCtlReg void   )  [static]
 

Displays the detailed contents of the PPCI EMC vector control register.

void RAD750_dumpEMCVecEnableReg void   )  [static]
 

Displays the detailed contents of the PPCI EMC vector enable register.

void RAD750_dumpEMCVecStatusReg void   )  [static]
 

Displays the detailed contents of the PPCI EMC vector status register.

void RAD750_dumpErrStatusMaskReg void   )  [static]
 

Displays the detailed contents of the PPCI 60x error status mask register.

void RAD750_dumpErrStatusReg void   )  [static]
 

Displays the detailed contents of the PPCI 60x error status register.

void RAD750_dumpIntCollectionReg void   )  [static]
 

Displays the detailed contents of a PPCI master interrupt collection register.

void RAD750_dumpIntEnableReg void   )  [static]
 

Displays the detailed contents of a PPCI master interrupt enable register.

void RAD750_dumpMcpCollectionReg void   )  [static]
 

Displays the detailed contents of the PPCI MCP interrupt collection register.

void RAD750_dumpMcpEnableReg void   )  [static]
 

Displays the detailed contents of the PPCI MCP interrupt enable register.

void RAD750_dumpMemController void   )  [static]
 

Gives a detailed display of the PPCI memory controller configuration.

void RAD750_dumpMemIntrReg void   )  [static]
 

Displays the detailed contents of the PPCI memory controller interrupt enable register.

void RAD750_dumpMemStatusReg void   )  [static]
 

Displays the detailed contents of the PPCI memory controller status register.

void RAD750_dumpMiscIntEnableReg void   )  [static]
 

Displays the detailed contents of a PPCI miscellaneous interrupt enable register.

void RAD750_dumpMiscIntStatusReg void   )  [static]
 

Displays the detailed contents of a PPCI miscellaneous interrupt status register.

void RAD750_dumpPCIErrCheckReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI PCI bus error checking register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpPCIErrStatusReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI PCI bus error status register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpPidController void   )  [static]
 

Displays the detailed contents of a PPCI PID controller registers.

void RAD750_dumpPMControlReg void   )  [static]
 

Displays the detailed contents of a PPCI power management control register.

void RAD750_dumpPtimController void   )  [static]
 

Displays the detailed contents of a PPCI PTIM controller registers.

void RAD750_dumpReg32 volatile ULONG *  addr,
const char *  name
[static]
 

Displays the contents of a 32-bit PPCI register.

Parameters:
addr The address of the register.
name The name of the register for display.

int RAD750_dumpRegs RAD750_Dump_Options  options  ) 
 

Dump the RAD750 board registers.

Displays the contents of the RAD750 PowerPCI ASIC hardware registers. Both the configuration space and I/O space registers are shown.

Parameters:
options The subsystems to display.
Return values:
0 Success.
-1 Failure.

Here is the call graph for this function:

void RAD750_dumpStatus2MaskReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI configuration header status 2 interrupt mask register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpStatus2Reg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI configuration header status 2 register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpStatusReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI configuration header status register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpUserAReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI PCI user defined A register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpUserBReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI PCI user defined B register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.

void RAD750_dumpUserCReg int  bus,
int  dev,
int  func
[static]
 

Gives a detailed display of the PPCI PCI user defined C register.

Parameters:
bus The PPCI bus number.
dev The PPCI device number.
func The PPCI function number.


Variable Documentation

disableStr = "Disabled" [static]
 

The string "Disabled".

enableStr = "Enabled" [static]
 

The string "Enabled".

falseStr = "False" [static]
 

The string "False".

trueStr = "True" [static]
 

The string "True".


Generated on Fri Jul 30 02:26:55 2004 by doxygen 1.3.3