Software Library API naibrd 2.24.0
See all documentation at naii.docs.com
naibrd_mod_common.c File Reference

Functions

static nai_status_t naibrd_VerifyModulePowerResetStatusType (nai_modcommon_module_power_reset_status_type_t type)
 
static nai_status_t naibrd_VerifyModulePowerResetType (nai_modcommon_module_power_reset_type_t type)
 
nai_status_t naibrd_ModCommon_GetModulePowerResetStatus (int32_t cardIndex, int32_t module, int32_t modulePowerResetStatusType, bool_t *p_outmodulePowerResetStatusBit)
 Retrieves the bit specified by the module power reset status type from the module power reset status register for the specified module.
 
nai_status_t naibrd_ModCommon_ClearModulePowerResetStatus (int32_t cardIndex, int32_t module, int32_t modulePowerResetStatusType)
 Clears the bit specified by the module power reset status type in the module power reset status register for the specified module.
 
nai_status_t naibrd_ModCommon_SetModulePowerReset (int32_t cardIndex, int32_t module, int32_t modulePowerResetType, bool_t modulePowerResetBit)
 Sets the bit specified by the module power reset type in the module power reset register for the specified module. If the bit was set, the hardware will acknowledge it by setting the corresponding bit back to 0.
 
nai_status_t naibrd_ModCommon_GetModulePowerReset (int32_t cardIndex, int32_t module, int32_t modulePowerResetType, bool_t *p_outmodulePowerResetBit)
 Retrieves the bit specified by the module power reset type from the module power reset register for the specified module.
 

Variables

static const uint32_t modcommon_reg_module_power_reset_status [MODULE_POWER_RESET_COUNT] = NAIBRD_MODCOMMON_GEN5_REG_MODULE_POWER_RESET_STATUS_ADD
 
static const uint32_t modcommon_reg_module_power_reset [MODULE_POWER_RESET_COUNT] = NAIBRD_MODCOMMON_GEN5_REG_MODULE_POWER_RESET_ADD
 

Function Documentation

◆ naibrd_VerifyModulePowerResetStatusType()

static nai_status_t naibrd_VerifyModulePowerResetStatusType ( nai_modcommon_module_power_reset_status_type_t type)
static

◆ naibrd_VerifyModulePowerResetType()

static nai_status_t naibrd_VerifyModulePowerResetType ( nai_modcommon_module_power_reset_type_t type)
static

Variable Documentation

◆ modcommon_reg_module_power_reset

const uint32_t modcommon_reg_module_power_reset[MODULE_POWER_RESET_COUNT] = NAIBRD_MODCOMMON_GEN5_REG_MODULE_POWER_RESET_ADD
static

◆ modcommon_reg_module_power_reset_status

const uint32_t modcommon_reg_module_power_reset_status[MODULE_POWER_RESET_COUNT] = NAIBRD_MODCOMMON_GEN5_REG_MODULE_POWER_RESET_STATUS_ADD
static