[SCSI] bfa: Brocade BFA FC SCSI driver
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / scsi / bfa / include / bfa_fcptm.h
1 /*
2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
3 * All rights reserved
4 * www.brocade.com
5 *
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
7 *
8 * This program is free software; you can redistribute it and/or modify it
9 * under the terms of the GNU General Public License (GPL) Version 2 as
10 * published by the Free Software Foundation
11 *
12 * This program is distributed in the hope that it will be useful, but
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * General Public License for more details.
16 */
17
18 #ifndef __BFA_FCPTM_H__
19 #define __BFA_FCPTM_H__
20
21 #include <bfa.h>
22 #include <bfa_svc.h>
23 #include <bfi/bfi_fcptm.h>
24
25 /*
26 * forward declarations
27 */
28 struct bfa_tin_s;
29 struct bfa_iotm_s;
30 struct bfa_tsktm_s;
31
32 /*
33 * bfa fcptm module API functions
34 */
35 void bfa_fcptm_path_tov_set(struct bfa_s *bfa, u16 path_tov);
36 u16 bfa_fcptm_path_tov_get(struct bfa_s *bfa);
37 void bfa_fcptm_qdepth_set(struct bfa_s *bfa, u16 q_depth);
38 u16 bfa_fcptm_qdepth_get(struct bfa_s *bfa);
39
40 /*
41 * bfa tin API functions
42 */
43 void bfa_tin_get_stats(struct bfa_tin_s *tin, struct bfa_tin_stats_s *stats);
44 void bfa_tin_clear_stats(struct bfa_tin_s *tin);
45
46 #endif /* __BFA_FCPTM_H__ */
47