|
| u_int | FlxCard::card_model () |
|
u_int | FlxCard::card_type () |
| u_int | FlxCard::firmware_type () |
| std::string | FlxCard::firmware_type_string () |
| std::string | FlxCard::firmware_string () |
| bool | FlxCard::lpgbt_type () |
| bool | FlxCard::lpgbt_fec12 () |
| bool | FlxCard::lpgbt_5gbps () |
| bool | FlxCard::fullmode_type () |
| void | FlxCard::soft_reset () |
| void | FlxCard::cr_fromhost_reset () |
| u_int | FlxCard::number_of_endpoints () |
| u_int | FlxCard::endpoint () |
| u_int | FlxCard::number_of_channels () |
| std::pair< int, int > | FlxCard::ec_elink_indices () |
|
int | FlxCard::ec_elink_tohost_index () |
|
int | FlxCard::ec_elink_fromhost_index () |
| std::pair< int, int > | FlxCard::ic_elink_indices () |
|
int | FlxCard::ic_elink_tohost_index () |
|
int | FlxCard::ic_elink_fromhost_index () |
| void | FlxCard::configure (std::string filename, bool do_links=true, bool do_registers=true) |
| void | FlxCard::readConfiguration (std::string filename) |
|
void | FlxCard::read_configuration (std::string filename) |
| void | FlxCard::readConfiguration () |
|
void | FlxCard::read_configuration () |
| u_int | FlxCard::number_of_elinks_tohost (int dma_index=-1) |
| u_int | FlxCard::number_of_elinks_toflx () |
|
u_int | FlxCard::number_of_elinks_fromhost () |
| std::vector< flxcard::elink_descr_t > | FlxCard::elinks_tohost (int dma_index=-1) |
| std::vector< flxcard::elink_descr_t > | FlxCard::elinks_toflx () |
|
std::vector< flxcard::elink_descr_t > | FlxCard::elinks_fromhost () |
|
std::vector< flxcard::elink_descr_t > | FlxCard::elinks_toflx_broadcast () |
|
std::vector< flxcard::elink_descr_t > | FlxCard::elinks_fromhost_broadcast () |
| u_int | FlxCard::number_of_dma_tohost () |
| bool | FlxCard::uses_dma_index_mask () |
|
void | FlxCard::set_hdlc_instant_timeout (bool b) |
|
bool | FlxCard::hdlc_instant_timeout () |
| unsigned int | FlxCard::link_mode () |
| bool | FlxCard::is_elink_enabled (u_int channel, u_int egroup, u_int epath, bool is_to_flx) |
| unsigned int | FlxCard::tohost_elink_dmaid (u_int channel, u_int egroup, u_int epath) |
| unsigned int | FlxCard::tohost_elink_dmaid (uint16_t elinknr) |
| bool | FlxCard::has_tohost_elink_streams (u_int channel, u_int egroup, u_int epath) |
| uint8_t | FlxCard::detector_id () |
| uint16_t | FlxCard::connector_id (uint16_t channel) |
|
uint32_t | FlxCard::number_of_epaths_per_egroup (bool to_flx=false) |
|
uint32_t | FlxCard::number_of_egroups (bool to_flx=false) |
|
uint16_t | FlxCard::elink_number (uint32_t channel, uint32_t egroup, uint32_t epath, bool to_flx=false) |
|
uint16_t | FlxCard::channel_number (uint32_t elinknr) |
|
uint16_t | FlxCard::link_number (uint32_t elinknr) |
|
uint16_t | FlxCard::egroup_number (uint32_t elinknr, bool to_flx=false) |
|
uint16_t | FlxCard::epath_number (uint32_t elinknr, bool to_flx=false) |
Functions pertaining to configuration of an FLX device and its (e-)links
| u_int FlxCard::card_model |
( |
| ) |
|
|
inline |
Returns the H/W type of the FLX card, read in card_open(). Currently these types are known (and supported): FLX-709, FLX-710, FLX-711, FLX-712, FLX-128, FLX-181, FLX-182, FLX-155
- Returns
- integer value of the card model, a number like 709, 712, etc.
| uint16_t FlxCard::connector_id |
( |
uint16_t | channel | ) |
|
- Returns
- the connector id set up in the register map for the given channel.
Connectors (of up to 12 channels each) are numbered 0 to 3 across the card, first those of PCIe endpoint 0, then those of endpoint 1. For up to 12 channels per endpoint, endpoint 0 uses CONNECTOR_ID_0 and endpoint 1 CONNECTOR_ID_1, with 13 to 24 channels per endpoint, endpoint 0 uses CONNECTOR_ID_0/1 and endpoint 1 CONNECTOR_ID_2/3. Returns the connector number (0 to 3) if the register is not set.
- Parameters
-
| channel | the channel number, numbered per device (0 to NUM_OF_CHANNELS-1). |