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

Go to the source code of this file.

Functions

u32 bfa_nw_cee_meminfo (void)
 
void bfa_nw_cee_mem_claim (struct bfa_cee *cee, u8 *dma_kva, u64 dma_pa)
 
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)
 
void bfa_nw_cee_attach (struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev)
 

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.