GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCFG / dev > lcfg / sun-gcc
#include "LCFG_p.h"
#include "LCFG/LCFG.h"
#include "LCFG/LCFG_msgs.h"
#include "MSG/MSG_pubdefs.h"
#include "LEM/msg_macros.h"
#include "LEM/decode.h"
#include "LEM/encode.h"
#include "LEM/list.h"
#include "PBS/MBA.h"
Functions | |
static unsigned | loadGEM (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a GEM controller register. | |
static unsigned | readGEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadWIN (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a GEM window register. | |
static unsigned | readWIN (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadTAM (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a GEM TAM generator register. | |
static unsigned | readTAM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadSCH (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a GEM scheduler register. | |
static unsigned | readSCH (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadROI (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a GEM region-of-interest register. | |
static unsigned | readROI (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadTIE (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a GEM input enable register. | |
static unsigned | readTIE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadAEM (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load an AEM controller register. | |
static unsigned | readAEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadARC (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load an ARC register. | |
static unsigned | readARC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadAFE (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load an AFE register. | |
static unsigned | readAFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadTEM (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a TEM register. | |
static unsigned | readTEM (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadTIC (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a TIC register. | |
static unsigned | readTIC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadCCC (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a CCC register. | |
static unsigned | readCCC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadCRC (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a CRC register. | |
static unsigned | readCRC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadCFE (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a CFE register. | |
static unsigned | readCFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadTCC (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a TCC register. | |
static unsigned | readTCC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadTRC (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a TRC register. | |
static unsigned | readTRC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadTFE (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load a TFE register. | |
static unsigned | readTFE (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadTDC (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load the TDC psuedo-component register (actually part of the TFE). | |
static unsigned | readTDC (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static unsigned | loadSPT (void *param, const LCFG_addr *addr, unsigned regId, const void *value) |
Load an SPT pseudo-component register (actually does nothing). | |
static unsigned | readSPT (void *param, const RIM_addr *addr, unsigned regId, RIM_decodeFn *decodeFn, void *dst, const RIM_rqstInfo *info) |
static void | decodeGEM (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the GEM result item. | |
static void | decodeWIN (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the WIN result item. | |
static void | decodeTAM (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the TAM result item. | |
static void | decodeSCH (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the SCH result item. | |
static void | decodeROI (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the ROI result item. | |
static void | decodeTIE (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the TIE result item. | |
static void | decodeAEM (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the AEM result item. | |
static void | decodeARC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the ARC result item. | |
static void | decodeAFE (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the AFE result item. | |
static void | decodeTEM (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the TEM result item. | |
static void | decodeTIC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the TIC result item. | |
static void | decodeCCC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the CCC result item. | |
static void | decodeCRC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the CRC result item. | |
static void | decodeCFE (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the CFE result item. | |
static void | decodeTCC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the TCC result item. | |
static void | decodeTRC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the TRC result item. | |
static void | decodeTFE (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the TFE result item. | |
static void | decodeTDC (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode a result item containing the data for a register of the TDC pseudo-component. | |
static void | decodeSPT (unsigned short *pkt, void *ptr, const RIM_rqstInfo *info) |
Decode the SPT pseudo-component result item. | |
static void | modifyBroadcast (LCFG_addr *lem_addr, const LCFG_addr *lcfg_addr) |
Copy a LAT address, modifying any broadcast components. | |
static unsigned | decodeList (LEM_micr *cr) |
Decode the items on a CR list. | |
RIM_loadFn ** | LCFG_newLoad (void) |
Build an array of function pointers associating RIM_type to a function that loads the registers of that type. | |
void | LCFG_deleteLoad (RIM_loadFn **load) |
Free the memory previously allocated using LCFG_newLoad. | |
RIM_readFn ** | LCFG_newRead (void) |
Build an array of function pointers associating RIM_tye to a function that reads the registers of that type. | |
void | LCFG_deleteRead (RIM_readFn **read) |
Free the memory previously allocated using LCFG_newRead. | |
RIM_decodeFn ** | LCFG_newDecode (void) |
Build an array of function pointers associating RIM_type to a function that decodes the payloads. | |
void | LCFG_deleteDecode (RIM_decodeFn **decode) |
Free the memory previously allocated using LCFG_newDecode. | |
unsigned | LCFG_finishLoad (LEM_micr *cr) |
Finish a load operation. | |
unsigned | LCFG_finishRead (LEM_micr *cr) |
Finish a read operation. | |
unsigned | readGEM (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a GEM controller register. | |
unsigned | readWIN (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a GEM window register. | |
unsigned | readSCH (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a GEM scheduler register. | |
unsigned | readTAM (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a GEM TAM generator register. | |
unsigned | readROI (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a GEM region-of-interest register. | |
unsigned | readTIE (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a GEM input enable register. | |
unsigned | readAEM (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read an AEM controller register. | |
unsigned | readARC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read an ARC register. | |
unsigned | readAFE (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read an AFE register. | |
unsigned | readTEM (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a TEM register. | |
unsigned | readTIC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a TIC register. | |
unsigned | readCCC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a CCC register. | |
unsigned | readCRC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a CRC register. | |
unsigned | readCFE (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a CFE register. | |
unsigned | readTCC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a TCC register. | |
unsigned | readTRC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a TRC register. | |
unsigned | readTFE (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read a TFE register. | |
unsigned | readTDC (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read the TDC psuedo-component register (actually part of the TFE). | |
unsigned | readSPT (void *param, const LCFG_addr *addr, unsigned regId, RIM_decodeFn dfn, void *dst, const RIM_rqstInfo *info) |
Read an SPT pseudo-component register. |
void decodeAEM | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the AEM result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeAFE | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the AFE result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeARC | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the ARC result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeCCC | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the CCC result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeCFE | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the CFE result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeCRC | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the CRC result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeGEM | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the GEM result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
unsigned decodeList | ( | LEM_micr * | cr | ) | [static] |
Decode the items on a CR list.
This routine iterates through the result items, checks for errors then calls the decode-item function using the result-item payload an decode-item des pointer as parameters
cr | Pointer to a multi-item C/R structure that has been filled, queued and transferred correctly |
void decodeROI | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the ROI result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeSCH | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the SCH result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeSPT | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the SPT pseudo-component result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeTAM | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the TAM result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeTCC | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the TCC result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeTDC | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode a result item containing the data for a register of the TDC pseudo-component.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeTEM | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the TEM result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeTFE | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the TFE result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeTIC | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the TIC result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeTIE | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the TIE result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeTRC | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the TRC result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void decodeWIN | ( | unsigned short * | pkt, | |
void * | ptr, | |||
const RIM_rqstInfo * | info | |||
) | [static] |
Decode the WIN result item.
pkt | Pointer to a result item payload | |
ptr | Pointer to memory location to put decoded value | |
info | Pointer to block of request information |
void LCFG_deleteDecode | ( | RIM_decodeFn ** | decode | ) |
Free the memory previously allocated using LCFG_newDecode.
decode | Pointer to an allocated array of function pointers |
void LCFG_deleteLoad | ( | RIM_loadFn ** | load | ) |
Free the memory previously allocated using LCFG_newLoad.
load | Pointer to an allocated array of function pointers |
void LCFG_deleteRead | ( | RIM_readFn ** | read | ) |
Free the memory previously allocated using LCFG_newRead.
read | Pointer to an allocated array of function pointers |
unsigned LCFG_finishLoad | ( | LEM_micr * | cr | ) |
Finish a load operation.
The supplied command list is queued and completion is waited for if it has outstanding items on it.
cr | Multi-item command-response list used to load the registers |
LCFG_SUCCESS | if all goes well | |
LEM_* | if there is an error arising from one of the register load commands |
unsigned LCFG_finishRead | ( | LEM_micr * | cr | ) |
Finish a read operation.
The supplied command list is queued and completion is waited for if it has outstanding items on it.
cr | Multi-item command-response list used to read the registers |
LCFG_SUCCESS | Always |
RIM_decodeFn** LCFG_newDecode | ( | void | ) |
Build an array of function pointers associating RIM_type to a function that decodes the payloads.
RIM_loadFn** LCFG_newLoad | ( | void | ) |
Build an array of function pointers associating RIM_type to a function that loads the registers of that type.
RIM_readFn** LCFG_newRead | ( | void | ) |
Build an array of function pointers associating RIM_tye to a function that reads the registers of that type.
unsigned loadAEM | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load an AEM controller register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadAFE | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load an AFE register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadARC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load an ARC register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadCCC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a CCC register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadCFE | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a CFE register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadCRC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a CRC register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadGEM | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a GEM controller register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadROI | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a GEM region-of-interest register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadSCH | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a GEM scheduler register.
param | Pointer to a command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadSPT | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load an SPT pseudo-component register (actually does nothing).
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadTAM | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a GEM TAM generator register.
param | Pointer to a command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadTCC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a TCC register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadTDC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load the TDC psuedo-component register (actually part of the TFE).
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
value | Ptr to value to load into the register | |
regId | Ignored |
unsigned loadTEM | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a TEM register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadTFE | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a TFE register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadTIC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a TIC register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadTIE | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a GEM input enable register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadTRC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a TRC register.
param | Pointer to the command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
unsigned loadWIN | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
const void * | value | |||
) | [static] |
Load a GEM window register.
param | Pointer to a command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
value | Ptr to value to load into the register |
Copy a LAT address, modifying any broadcast components.
A LCFG address is copied and any broadcast components are changed from the LCFG value to the standard LEM value.
lem_addr | Pointer to the destination address | |
lcfg_addr | Pointer to the source address |
unsigned readAEM | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read an AEM controller register.
param | Pointer to a command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readAFE | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read an AFE register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readARC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read an ARC register.
param | Pointer to a command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readCCC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a CCC register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readCFE | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a CFE register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readCRC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a CRC register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readGEM | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a GEM controller register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Pointer to location to place the decoded response | |
info | Pointer to a structure used to record errors. |
unsigned readROI | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a GEM region-of-interest register.
param | Pointer to a command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readSCH | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a GEM scheduler register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readSPT | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read an SPT pseudo-component register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readTAM | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a GEM TAM generator register.
param | Pointer to a command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
info | Pointer to a structure used to record errors. | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register |
unsigned readTCC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a TCC register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readTDC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read the TDC psuedo-component register (actually part of the TFE).
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Ignored | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readTEM | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a TEM register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readTFE | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a TFE register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readTIC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a TIC register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readTIE | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a GEM input enable register.
param | Pointer to a command-response structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readTRC | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a TRC register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |
unsigned readWIN | ( | void * | param, | |
const LCFG_addr * | addr, | |||
unsigned | regId, | |||
RIM_decodeFn | dfn, | |||
void * | dst, | |||
const RIM_rqstInfo * | info | |||
) |
Read a GEM window register.
param | Pointer to a decode structure | |
addr | Pointer to an address structure | |
regId | Register ID of the target register | |
dfn | Pointer to the function to use to decode the response | |
dst | Ptr to location to place the value from this register | |
info | Pointer to a structure used to record errors. |