Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ocs_command_ctx_t Struct Reference

HAL command context. More...

#include <ocs_hal.h>

Detailed Description

HAL command context.

This stores the state for asynchronous commands sent to the hardware

Definition at line 360 of file ocs_hal.h.

Data Fields

ocs_list_link_t link
 
struct ocs_hal_s * hal
 
uint32_t use_cnt
 
uint8_t cmd [SLI4_BMBX_SIZE]
 
int32_t(* cb )(struct ocs_hal_s *, int32_t, struct ocs_command_ctx_s *)
 
void * cb_arg
 
ocs_dma_t non_emdedded_mem
 
ocs_hal_portal_t portal
 
ocs_cxn_t * cxn
 
uint32_t ip_type
 
portal_cb_t * portal_cb
 
cxn_cb_t * cxn_cb
 
mgmt_cb_t * mgmt_cb
 
void * mgmt_cb_arg
 
void * upper_arg
 
ocs_hal_async_cb_t async_cb
 
void * async_cb_arg
 

Field Documentation

ocs_hal_async_cb_t ocs_command_ctx_t::async_cb

Definition at line 391 of file ocs_hal.h.

void* ocs_command_ctx_t::async_cb_arg

Definition at line 392 of file ocs_hal.h.

int32_t(* ocs_command_ctx_t::cb)(struct ocs_hal_s *, int32_t, struct ocs_command_ctx_s *)

Definition at line 373 of file ocs_hal.h.

void* ocs_command_ctx_t::cb_arg

Argument for callback

Definition at line 374 of file ocs_hal.h.

uint8_t ocs_command_ctx_t::cmd[SLI4_BMBX_SIZE]

Callback function

Definition at line 370 of file ocs_hal.h.

ocs_cxn_t* ocs_command_ctx_t::cxn

Definition at line 381 of file ocs_hal.h.

cxn_cb_t* ocs_command_ctx_t::cxn_cb

Definition at line 385 of file ocs_hal.h.

struct ocs_hal_s* ocs_command_ctx_t::hal

Definition at line 363 of file ocs_hal.h.

uint32_t ocs_command_ctx_t::ip_type

Definition at line 382 of file ocs_hal.h.

ocs_list_link_t ocs_command_ctx_t::link

Definition at line 362 of file ocs_hal.h.

mgmt_cb_t* ocs_command_ctx_t::mgmt_cb

Definition at line 386 of file ocs_hal.h.

void* ocs_command_ctx_t::mgmt_cb_arg

Definition at line 387 of file ocs_hal.h.

ocs_dma_t ocs_command_ctx_t::non_emdedded_mem

Definition at line 377 of file ocs_hal.h.

ocs_hal_portal_t ocs_command_ctx_t::portal

Definition at line 380 of file ocs_hal.h.

portal_cb_t* ocs_command_ctx_t::portal_cb

Definition at line 384 of file ocs_hal.h.

void* ocs_command_ctx_t::upper_arg

Definition at line 388 of file ocs_hal.h.

uint32_t ocs_command_ctx_t::use_cnt

Definition at line 364 of file ocs_hal.h.


The documentation for this struct was generated from the following file: