Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
bnx2x_func_sp_obj Struct Reference

#include <bnx2x_sp.h>

Data Fields

enum bnx2x_func_state state next_state
 
unsigned long pending
 
voidrdata
 
dma_addr_t rdata_mapping
 
voidafex_rdata
 
dma_addr_t afex_rdata_mapping
 
struct mutex one_pending_mutex
 
struct bnx2x_func_sp_drv_opsdrv
 
int(* send_cmd )(struct bnx2x *bp, struct bnx2x_func_state_params *params)
 
int(* check_transition )(struct bnx2x *bp, struct bnx2x_func_sp_obj *o, struct bnx2x_func_state_params *params)
 
int(* complete_cmd )(struct bnx2x *bp, struct bnx2x_func_sp_obj *o, enum bnx2x_func_cmd cmd)
 
int(* wait_comp )(struct bnx2x *bp, struct bnx2x_func_sp_obj *o, enum bnx2x_func_cmd cmd)
 

Detailed Description

Definition at line 1171 of file bnx2x_sp.h.

Field Documentation

void* afex_rdata

Definition at line 1189 of file bnx2x_sp.h.

dma_addr_t afex_rdata_mapping

Definition at line 1190 of file bnx2x_sp.h.

Checks that the requested state transition is legal.

Definition at line 1211 of file bnx2x_sp.h.

int(* complete_cmd)(struct bnx2x *bp, struct bnx2x_func_sp_obj *o, enum bnx2x_func_cmd cmd)

Completes the pending command.

Definition at line 1218 of file bnx2x_sp.h.

Definition at line 1198 of file bnx2x_sp.h.

enum bnx2x_func_state state next_state

Definition at line 1172 of file bnx2x_sp.h.

struct mutex one_pending_mutex

Definition at line 1195 of file bnx2x_sp.h.

unsigned long pending

Definition at line 1179 of file bnx2x_sp.h.

void* rdata

Definition at line 1182 of file bnx2x_sp.h.

dma_addr_t rdata_mapping

Definition at line 1183 of file bnx2x_sp.h.

Performs one state change according to the given parameters.

Returns
0 in case of success and negative value otherwise.

Definition at line 1205 of file bnx2x_sp.h.

int(* wait_comp)(struct bnx2x *bp, struct bnx2x_func_sp_obj *o, enum bnx2x_func_cmd cmd)

Definition at line 1222 of file bnx2x_sp.h.


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