Home
last modified time | relevance | path

Searched refs:bfa_ioc_pcifn (Results 1 – 10 of 10) sorted by relevance

/drivers/scsi/bfa/
Dbfa_hw_cb.c27 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()
Dbfa_ioc_ct.c26 ((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()
Dbfa_ioc_cb.c111 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()
Dbfa_hw_ct.c37 int fn = bfa_ioc_pcifn(&bfa->ioc); in bfa_hwct_reginit()
Dbfa_core.c853 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()
Dbfa.h271 bfi_fn_lpu(bfa_ioc_pcifn(&(__bfa)->ioc), bfa_ioc_portid(&(__bfa)->ioc))
Dbfa_ioc.h801 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) macro
Dbfa_ioc.c2656 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/
Dbfa_ioc_ct.c26 ((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()
Dbfa_ioc.h220 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) macro