Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
bfa_cee.h
Go to the documentation of this file.
1 /*
2  * Linux network driver for Brocade Converged Network Adapter.
3  *
4  * This program is free software; you can redistribute it and/or modify it
5  * under the terms of the GNU General Public License (GPL) Version 2 as
6  * published by the Free Software Foundation
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  * General Public License for more details.
12  */
13 /*
14  * Copyright (c) 2005-2010 Brocade Communications Systems, Inc.
15  * All rights reserved
16  * www.brocade.com
17  */
18 
19 #ifndef __BFA_CEE_H__
20 #define __BFA_CEE_H__
21 
22 #include "bfa_defs_cna.h"
23 #include "bfa_ioc.h"
24 
28 
29 struct bfa_cee_cbfn {
36 };
37 
38 struct bfa_cee {
39  void *dev;
48  struct bfa_cee_attr *attr;
50  struct bfa_dma attr_dma;
52  struct bfa_ioc *ioc;
56 };
57 
59 void bfa_nw_cee_mem_claim(struct bfa_cee *cee, u8 *dma_kva,
60  u64 dma_pa);
61 void bfa_nw_cee_attach(struct bfa_cee *cee, struct bfa_ioc *ioc, void *dev);
62 enum bfa_status bfa_nw_cee_get_attr(struct bfa_cee *cee,
63  struct bfa_cee_attr *attr,
65 #endif /* __BFA_CEE_H__ */