GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> LCFG / V1-2-5 > lcfg / mv2304
#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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_finishRead(), readAEM(), readAFE(), readARC(), readCCC(), readCFE(), readCRC(), readGEM(), readROI(), readSCH(), readTAM(), readTCC(), readTDC(), readTEM(), readTFE(), readTIC(), readTIE(), readTRC(), and readWIN().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
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 |
Referenced by LCFG_newDecode().
void LCFG_deleteDecode | ( | RIM_decodeFn ** | decode | ) |
Free the memory previously allocated using LCFG_newDecode.
decode | Pointer to an allocated array of function pointers |
Referenced by LCFG_teardown().
void LCFG_deleteLoad | ( | RIM_loadFn ** | load | ) |
Free the memory previously allocated using LCFG_newLoad.
load | Pointer to an allocated array of function pointers |
Referenced by LCFG_teardown().
void LCFG_deleteRead | ( | RIM_readFn ** | read | ) |
Free the memory previously allocated using LCFG_newRead.
read | Pointer to an allocated array of function pointers |
Referenced by LCFG_teardown().
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 |
Referenced by LCFG_configure(), LCFG_loadAfeConfig(), LCFG_loadCfeConfig0(), LCFG_loadCfeConfig1(), LCFG_loadTfeDac(), and LCFG_loadTkrSplits().
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 |
References decodeList().
Referenced by LCFG_capture(), and readSPT().
RIM_decodeFn** LCFG_newDecode | ( | void | ) |
Build an array of function pointers associating RIM_type to a function that decodes the payloads.
References decodeAEM(), decodeAFE(), decodeARC(), decodeCCC(), decodeCFE(), decodeCRC(), decodeGEM(), decodeROI(), decodeSCH(), decodeSPT(), decodeTAM(), decodeTCC(), decodeTDC(), decodeTEM(), decodeTFE(), decodeTIC(), decodeTIE(), decodeTRC(), and decodeWIN().
Referenced by LCFG_initialise().
RIM_loadFn** LCFG_newLoad | ( | void | ) |
Build an array of function pointers associating RIM_type to a function that loads the registers of that type.
References loadAEM(), loadAFE(), loadARC(), loadCCC(), loadCFE(), loadCRC(), loadGEM(), loadROI(), loadSCH(), loadSPT(), loadTAM(), loadTCC(), loadTDC(), loadTEM(), loadTFE(), loadTIC(), loadTIE(), loadTRC(), and loadWIN().
Referenced by LCFG_initialise().
RIM_readFn** LCFG_newRead | ( | void | ) |
Build an array of function pointers associating RIM_tye to a function that reads the registers of that type.
References readAEM(), readAFE(), readARC(), readCCC(), readCFE(), readCRC(), readGEM(), readROI(), readSCH(), readSPT(), readTAM(), readTCC(), readTDC(), readTEM(), readTFE(), readTIC(), readTIE(), readTRC(), and readWIN().
Referenced by LCFG_initialise().
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 |
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
Referenced by LCFG_newLoad().
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 |
Referenced by LCFG_newLoad().
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 |
Referenced by LCFG_newLoad().
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 |
Referenced by LCFG_newLoad().
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 |
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
Referenced by LCFG_newLoad().
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 |
References modifyBroadcast().
Referenced by LCFG_newLoad().
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 |
Referenced by LCFG_newLoad().
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 |
Referenced by loadAFE(), loadARC(), loadCCC(), loadCFE(), loadCRC(), loadTCC(), loadTDC(), loadTEM(), loadTFE(), loadTIC(), loadTRC(), readAFE(), readARC(), readCCC(), readCFE(), readCRC(), readTCC(), readTDC(), readTEM(), readTFE(), readTIC(), and readTRC().
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. |
References LCFG_decode::cr, decodeList(), and LCFG_decode::di.
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), and LCFG_decode::di.
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), and LCFG_decode::di.
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), and LCFG_decode::di.
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, LCFG_finishRead(), readTFE(), and readTRC().
Referenced by LCFG_newRead().
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 |
References LCFG_decode::cr, decodeList(), and LCFG_decode::di.
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead(), and readSPT().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), and LCFG_decode::di.
Referenced by LCFG_newRead().
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. |
References LCFG_decode::cr, decodeList(), LCFG_decode::di, and modifyBroadcast().
Referenced by LCFG_newRead(), and readSPT().
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. |
References LCFG_decode::cr, decodeList(), and LCFG_decode::di.
Referenced by LCFG_newRead().