Searched refs:bfa_ioc_pcifn (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/drivers/scsi/bfa/ |
D | bfa_hw_cb.c | 20 int fn = bfa_ioc_pcifn(&bfa->ioc); in bfa_hwcb_reginit() 34 writel(__HFN_INT_CPE_Q0 << CPE_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), reqq), in bfa_hwcb_reqq_ack_msix() 48 writel(__HFN_INT_RME_Q0 << RME_Q_NUM(bfa_ioc_pcifn(&bfa->ioc), rspq), in bfa_hwcb_rspq_ack_msix() 73 if (bfa_ioc_pcifn(&bfa->ioc) == 0) { in bfa_hwcb_msix_getvecs()
|
D | bfa_ioc_ct.c | 19 ((uint32_t) (1 << bfa_ioc_pcifn(__ioc))) 186 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_ct_reg_init() 314 r32 >>= FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc)); in bfa_ioc_ct_map_port() 317 bfa_trc(ioc, bfa_ioc_pcifn(ioc)); in bfa_ioc_ct_map_port() 330 bfa_trc(ioc, bfa_ioc_pcifn(ioc)); in bfa_ioc_ct2_map_port() 346 mode = (r32 >> FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))) & in bfa_ioc_ct_isr_mode_set() 360 r32 &= ~(__F0_INTX_STATUS << FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))); in bfa_ioc_ct_isr_mode_set() 361 r32 |= (mode << FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))); in bfa_ioc_ct_isr_mode_set() 575 HOSTFN_MSIX_DEFAULT * bfa_ioc_pcifn(ioc), in bfa_ioc_ct2_poweron() 577 writel(HOSTFN_MSIX_DEFAULT * bfa_ioc_pcifn(ioc), in bfa_ioc_ct2_poweron()
|
D | bfa_ioc_cb.c | 139 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_cb_reg_init() 199 ioc->port_id = bfa_ioc_pcifn(ioc); in bfa_ioc_cb_map_port()
|
D | bfa_hw_ct.c | 30 int fn = bfa_ioc_pcifn(&bfa->ioc); in bfa_hwct_reginit()
|
D | bfa_core.c | 849 bfa_trc(bfa, bfa_ioc_pcifn(&bfa->ioc)); in bfa_isr_enable() 1073 bfa_ioc_pcifn(&bfa->ioc) * BFI_IOC_MAX_CQS; in bfa_iocfc_init_mem() 1075 bfa_ioc_pcifn(&bfa->ioc) * BFI_IOC_MAX_CQS; in bfa_iocfc_init_mem()
|
D | bfa.h | 263 bfi_fn_lpu(bfa_ioc_pcifn(&(__bfa)->ioc), bfa_ioc_portid(&(__bfa)->ioc))
|
D | bfa_ioc.h | 807 #define bfa_ioc_pcifn(__ioc) ((__ioc)->pcidev.pci_func) macro
|
D | bfa_ioc.c | 2870 ioc_attr->pci_attr.pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_get_attr() 2871 ioc_attr->def_fn = (bfa_ioc_pcifn(ioc) == bfa_ioc_portid(ioc)); in bfa_ioc_get_attr() 2894 m.mac[MAC_ADDRLEN - 1] += bfa_ioc_pcifn(ioc); in bfa_ioc_get_mfg_mac() 2897 bfa_ioc_pcifn(ioc)); in bfa_ioc_get_mfg_mac()
|
/linux-6.1.9/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc_ct.c | 18 #define bfa_ioc_ct_sync_pos(__ioc) BIT(bfa_ioc_pcifn(__ioc)) 252 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_ct_reg_init() 378 r32 >>= FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc)); in bfa_ioc_ct_map_port() 402 mode = (r32 >> FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))) & in bfa_ioc_ct_isr_mode_set() 416 r32 &= ~(__F0_INTX_STATUS << FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))); in bfa_ioc_ct_isr_mode_set() 417 r32 |= (mode << FNC_PERS_FN_SHIFT(bfa_ioc_pcifn(ioc))); in bfa_ioc_ct_isr_mode_set() 458 HOSTFN_MSIX_DEFAULT * bfa_ioc_pcifn(ioc), in bfa_nw_ioc_ct2_poweron() 460 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 226 (bfa_ioc_pcifn(__ioc) == bfa_ioc_portid(__ioc))
|
D | bfa_ioc.c | 2915 ioc_attr->pci_attr.pcifn = bfa_ioc_pcifn(ioc); in bfa_nw_ioc_get_attr()
|