Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | bfa_ioc_ct_sync_pos(__ioc) ((uint32_t) (1 << bfa_ioc_pcifn(__ioc))) |
#define | BFA_IOC_SYNC_REQD_SH 16 |
#define | bfa_ioc_ct_get_sync_ackd(__val) (__val & 0x0000ffff) |
#define | bfa_ioc_ct_clear_sync_ackd(__val) (__val & 0xffff0000) |
#define | bfa_ioc_ct_get_sync_reqd(__val) (__val >> BFA_IOC_SYNC_REQD_SH) |
#define | bfa_ioc_ct_sync_reqd_pos(__ioc) (bfa_ioc_ct_sync_pos(__ioc) << BFA_IOC_SYNC_REQD_SH) |
#define | FNC_PERS_FN_SHIFT(__fn) ((__fn) * 8) |
#define | HOSTFN_MSIX_DEFAULT 64 |
#define | HOSTFN_MSIX_VT_INDEX_MBOX_ERR 0x30138 |
#define | HOSTFN_MSIX_VT_OFST_NUMVT 0x3013c |
#define | __MSIX_VT_NUMVT__MK 0x003ff800 |
#define | __MSIX_VT_NUMVT__SH 11 |
#define | __MSIX_VT_NUMVT_(_v) ((_v) << __MSIX_VT_NUMVT__SH) |
#define | __MSIX_VT_OFST_ 0x000007ff |
#define | CT2_NFC_MAX_DELAY 1000 |
#define | CT2_NFC_PAUSE_MAX_DELAY 4000 |
#define | CT2_NFC_VER_VALID 0x147 |
#define | CT2_NFC_STATE_RUNNING 0x20000001 |
#define | BFA_IOC_PLL_POLL 1000000 |
Functions | |
BFA_TRC_FILE (CNA, IOC_CT) | |
bfa_boolean_t | bfa_ioc_ct2_lpu_read_stat (struct bfa_ioc_s *ioc) |
void | bfa_ioc_set_ct_hwif (struct bfa_ioc_s *ioc) |
void | bfa_ioc_set_ct2_hwif (struct bfa_ioc_s *ioc) |
void | bfa_ioc_ct2_poweron (struct bfa_ioc_s *ioc) |
bfa_status_t | bfa_ioc_ct_pll_init (void __iomem *rb, enum bfi_asic_mode mode) |
void | bfa_ioc_ct2_mac_reset (void __iomem *rb) |
bfa_status_t | bfa_ioc_ct2_pll_init (void __iomem *rb, enum bfi_asic_mode mode) |
#define __MSIX_VT_NUMVT_ | ( | _v | ) | ((_v) << __MSIX_VT_NUMVT__SH) |
Definition at line 556 of file bfa_ioc_ct.c.
#define __MSIX_VT_NUMVT__MK 0x003ff800 |
Definition at line 554 of file bfa_ioc_ct.c.
#define __MSIX_VT_NUMVT__SH 11 |
Definition at line 555 of file bfa_ioc_ct.c.
#define __MSIX_VT_OFST_ 0x000007ff |
Definition at line 557 of file bfa_ioc_ct.c.
Definition at line 29 of file bfa_ioc_ct.c.
Definition at line 28 of file bfa_ioc_ct.c.
#define bfa_ioc_ct_get_sync_reqd | ( | __val | ) | (__val >> BFA_IOC_SYNC_REQD_SH) |
Definition at line 30 of file bfa_ioc_ct.c.
#define bfa_ioc_ct_sync_pos | ( | __ioc | ) | ((uint32_t) (1 << bfa_ioc_pcifn(__ioc))) |
Definition at line 25 of file bfa_ioc_ct.c.
#define bfa_ioc_ct_sync_reqd_pos | ( | __ioc | ) | (bfa_ioc_ct_sync_pos(__ioc) << BFA_IOC_SYNC_REQD_SH) |
Definition at line 31 of file bfa_ioc_ct.c.
#define BFA_IOC_PLL_POLL 1000000 |
Definition at line 769 of file bfa_ioc_ct.c.
#define BFA_IOC_SYNC_REQD_SH 16 |
Definition at line 27 of file bfa_ioc_ct.c.
#define CT2_NFC_MAX_DELAY 1000 |
Definition at line 765 of file bfa_ioc_ct.c.
#define CT2_NFC_PAUSE_MAX_DELAY 4000 |
Definition at line 766 of file bfa_ioc_ct.c.
#define CT2_NFC_STATE_RUNNING 0x20000001 |
Definition at line 768 of file bfa_ioc_ct.c.
#define CT2_NFC_VER_VALID 0x147 |
Definition at line 767 of file bfa_ioc_ct.c.
#define FNC_PERS_FN_SHIFT | ( | __fn | ) | ((__fn) * 8) |
Definition at line 304 of file bfa_ioc_ct.c.
#define HOSTFN_MSIX_DEFAULT 64 |
Definition at line 551 of file bfa_ioc_ct.c.
#define HOSTFN_MSIX_VT_INDEX_MBOX_ERR 0x30138 |
Definition at line 552 of file bfa_ioc_ct.c.
#define HOSTFN_MSIX_VT_OFST_NUMVT 0x3013c |
Definition at line 553 of file bfa_ioc_ct.c.
bfa_boolean_t bfa_ioc_ct2_lpu_read_stat | ( | struct bfa_ioc_s * | ioc | ) |
Definition at line 369 of file bfa_ioc_ct.c.
Definition at line 745 of file bfa_ioc_ct.c.
bfa_status_t bfa_ioc_ct2_pll_init | ( | void __iomem * | rb, |
enum bfi_asic_mode | mode | ||
) |
Definition at line 885 of file bfa_ioc_ct.c.
Definition at line 559 of file bfa_ioc_ct.c.
bfa_status_t bfa_ioc_ct_pll_init | ( | void __iomem * | rb, |
enum bfi_asic_mode | mode | ||
) |
Definition at line 579 of file bfa_ioc_ct.c.
Called from bfa_ioc_attach() to map asic specific calls.
Definition at line 536 of file bfa_ioc_ct.c.
Called from bfa_ioc_attach() to map asic specific calls.
Definition at line 521 of file bfa_ioc_ct.c.
BFA_TRC_FILE | ( | CNA | , |
IOC_CT | |||
) |
uint32_t hfn |
Definition at line 156 of file bfa_ioc_ct.c.
uint32_t hfn_mbox |
Definition at line 146 of file bfa_ioc_ct.c.
uint32_t hfn_pgn |
Definition at line 146 of file bfa_ioc_ct.c.
uint32_t lpu |
Definition at line 156 of file bfa_ioc_ct.c.
uint32_t lpu_mbox |
Definition at line 146 of file bfa_ioc_ct.c.
uint32_t lpu_read |
Definition at line 173 of file bfa_ioc_ct.c.