Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Typedefs | Functions
bfa_cee.h File Reference
#include "bfa_defs_cna.h"
#include "bfa_ioc.h"

Go to the source code of this file.

Data Structures

struct  bfa_cee_cbfn
 
struct  bfa_cee
 

Typedefs

typedef void(* bfa_cee_get_attr_cbfn_t )(void *dev, enum bfa_status status)
 
typedef void(* bfa_cee_get_stats_cbfn_t )(void *dev, enum bfa_status status)
 
typedef void(* bfa_cee_reset_stats_cbfn_t )(void *dev, enum bfa_status status)
 

Functions

u32 bfa_nw_cee_meminfo (void)
 
void bfa_nw_cee_mem_claim (struct bfa_cee *cee, u8 *dma_kva, u64 dma_pa)
 
void bfa_nw_cee_attach (struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev)
 
enum bfa_status bfa_nw_cee_get_attr (struct bfa_cee *cee, struct bfa_cee_attr *attr, bfa_cee_get_attr_cbfn_t cbfn, void *cbarg)
 

Typedef Documentation

typedef void(* bfa_cee_get_attr_cbfn_t)(void *dev, enum bfa_status status)

Definition at line 25 of file bfa_cee.h.

typedef void(* bfa_cee_get_stats_cbfn_t)(void *dev, enum bfa_status status)

Definition at line 26 of file bfa_cee.h.

typedef void(* bfa_cee_reset_stats_cbfn_t)(void *dev, enum bfa_status status)

Definition at line 27 of file bfa_cee.h.

Function Documentation

void bfa_nw_cee_attach ( struct bfa_cee cee,
struct bfa_ioc ioc,
void dev 
)

bfa_nw_cee_attach - CEE module-attach API

: Pointer to the CEE module data structure : Pointer to the ioc module data structure : Pointer to the device driver module data structure. The device driver specific mbox ISR functions have this pointer as one of the parameters.

Definition at line 276 of file bfa_cee.c.

enum bfa_status bfa_nw_cee_get_attr ( struct bfa_cee cee,
struct bfa_cee_attr attr,
bfa_cee_get_attr_cbfn_t  cbfn,
void cbarg 
)

bfa_cee_get_attr - Send the request to the f/w to fetch CEE attributes.

: Pointer to the CEE module data structure.

Return: status

Definition at line 165 of file bfa_cee.c.

void bfa_nw_cee_mem_claim ( struct bfa_cee cee,
u8 dma_kva,
u64  dma_pa 
)

bfa_nw_cee_mem_claim - Initialized CEE DMA Memory

: CEE module pointer : Kernel Virtual Address of CEE DMA Memory : Physical Address of CEE DMA Memory

Definition at line 146 of file bfa_cee.c.

u32 bfa_nw_cee_meminfo ( void  )

bfa_nw_cee_meminfo - Returns the size of the DMA memory needed by CEE module

Definition at line 133 of file bfa_cee.c.