Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_gendump.c File Reference
#include "ocs.h"
#include "ocs_gendump.h"

Go to the source code of this file.

Macros

#define OCS_XPORT_QUIESCED_TIMEOUT_MSEC   60000
 

Functions

int32_t ocs_port_reset (ocs_t *ocs)
 
int32_t ocs_adapter_reset (ocs_t *ocs)
 
int32_t ocs_fw_reset (ocs_t *ocs)
 
static uint32_t ocs_fw_dump_present (ocs_t *ocs, uint32_t *ms_waited)
 
int32_t ocs_trigger_dump (ocs_t *ocs, uint8_t dump_level)
 
int ocs_gen_dump (ocs_t *ocs)
 
int32_t ocs_fw_dump_state_check (ocs_t *ocs, uint32_t state)
 Check the fw dump state. More...
 

Macro Details

#define OCS_XPORT_QUIESCED_TIMEOUT_MSEC   60000

Definition at line 36 of file ocs_gendump.c.

Function Details

int32_t ocs_adapter_reset ( ocs_t *  ocs)

Definition at line 63 of file ocs_gendump.c.

static uint32_t ocs_fw_dump_present ( ocs_t *  ocs,
uint32_t *  ms_waited 
)
static

Definition at line 181 of file ocs_gendump.c.

int32_t ocs_fw_dump_state_check ( ocs_t *  ocs,
uint32_t  state 
)

Check the fw dump state.

Returns
TRUE if the state is set, FALSE otherwise

Definition at line 277 of file ocs_gendump.c.

int32_t ocs_fw_reset ( ocs_t *  ocs)

Definition at line 86 of file ocs_gendump.c.

int ocs_gen_dump ( ocs_t *  ocs)

Definition at line 246 of file ocs_gendump.c.

int32_t ocs_port_reset ( ocs_t *  ocs)

Definition at line 39 of file ocs_gendump.c.

int32_t ocs_trigger_dump ( ocs_t *  ocs,
uint8_t  dump_level 
)

Definition at line 203 of file ocs_gendump.c.