Searched refs:bfa_ioc_pcifn (Results 1 – 10 of 10) sorted by relevance
/drivers/scsi/bfa/ |
D | bfa_hw_cb.c | 27 int fn = bfa_ioc_pcifn(&bfa->ioc); in bfa_hwcb_reginit() 41 writel(__HFN_INT_CPE_Q0 << CPE_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), reqq), in bfa_hwcb_reqq_ack_msix() 55 writel(__HFN_INT_RME_Q0 << RME_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), rspq), in bfa_hwcb_rspq_ack_msix() 82 if (bfa_ioc_pcifn(&bfa->ioc) == 0) { in bfa_hwcb_msix_getvecs()
|
D | bfa_ioc_ct.c | 26 ((uint32_t) (1 << bfa_ioc_pcifn(__ioc))) 187 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_ct_reg_init() 315 r32 >>= FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc)); in bfa_ioc_ct_map_port() 318 bfa_trc(ioc, bfa_ioc_pcifn(ioc)); in bfa_ioc_ct_map_port() 331 bfa_trc(ioc, bfa_ioc_pcifn(ioc)); in bfa_ioc_ct2_map_port() 347 mode = (r32 >> FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))) & in bfa_ioc_ct_isr_mode_set() 361 r32 &= ~(__F0_INTX_STATUS << FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))); in bfa_ioc_ct_isr_mode_set() 362 r32 |= (mode << FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))); in bfa_ioc_ct_isr_mode_set() 572 HOSTFN_MSIX_DEFAULT * bfa_ioc_pcifn(ioc), in bfa_ioc_ct2_poweron() 574 writel(HOSTFN_MSIX_DEFAULT * bfa_ioc_pcifn(ioc), in bfa_ioc_ct2_poweron()
|
D | bfa_ioc_cb.c | 111 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_cb_reg_init() 171 ioc->port_id = bfa_ioc_pcifn(ioc); in bfa_ioc_cb_map_port()
|
D | bfa_hw_ct.c | 37 int fn = bfa_ioc_pcifn(&bfa->ioc); in bfa_hwct_reginit()
|
D | bfa_core.c | 853 bfa_trc(bfa, bfa_ioc_pcifn(&bfa->ioc)); in bfa_isr_enable() 1077 bfa_ioc_pcifn(&bfa->ioc) * BFI_IOC_MAX_CQS; in bfa_iocfc_init_mem() 1079 bfa_ioc_pcifn(&bfa->ioc) * BFI_IOC_MAX_CQS; in bfa_iocfc_init_mem()
|
D | bfa.h | 271 bfi_fn_lpu(bfa_ioc_pcifn(&(__bfa)->ioc), bfa_ioc_portid(&(__bfa)->ioc))
|
D | bfa_ioc.h | 801 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) macro
|
D | bfa_ioc.c | 2656 m.mac[MAC_ADDRLEN - 1] += bfa_ioc_pcifn(ioc); in bfa_ioc_get_mfg_mac() 2659 bfa_ioc_pcifn(ioc)); in bfa_ioc_get_mfg_mac()
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc_ct.c | 26 ((u32) (1 << bfa_ioc_pcifn(__ioc))) 246 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_ct_reg_init() 372 r32 >>= FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc)); in bfa_ioc_ct_map_port() 396 mode = (r32 >> FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))) & in bfa_ioc_ct_isr_mode_set() 410 r32 &= ~(__F0_INTX_STATUS << FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))); in bfa_ioc_ct_isr_mode_set() 411 r32 |= (mode << FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))); in bfa_ioc_ct_isr_mode_set() 452 HOSTFN_MSIX_DEFAULT * bfa_ioc_pcifn(ioc), in bfa_nw_ioc_ct2_poweron() 454 writel(HOSTFN_MSIX_DEFAULT * bfa_ioc_pcifn(ioc), in bfa_nw_ioc_ct2_poweron()
|
D | bfa_ioc.h | 220 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) macro
|