x86/amd-iommu: Add per IOMMU reference counting
[linux/fpc-iii.git] / drivers / scsi / bfa / include / bfa_fcptm.h
blob5f5ffe0bb1bbd6af8cfafb2e4e662429c9cca9fa
1 /*
2 * Copyright (c) 2005-2009 Brocade Communications Systems, Inc.
3 * All rights reserved
4 * www.brocade.com
6 * Linux driver for Brocade Fibre Channel Host Bus Adapter.
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
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.
18 #ifndef __BFA_FCPTM_H__
19 #define __BFA_FCPTM_H__
21 #include <bfa.h>
22 #include <bfa_svc.h>
23 #include <bfi/bfi_fcptm.h>
26 * forward declarations
28 struct bfa_tin_s;
29 struct bfa_iotm_s;
30 struct bfa_tsktm_s;
33 * bfa fcptm module API functions
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);
41 * bfa tin API functions
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);
46 #endif /* __BFA_FCPTM_H__ */