/Linux-v6.1/drivers/scsi/bfa/ |
D | bfa_ioc_cb.c | 139 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_cb_reg_init() local 143 ioc->ioc_regs.hfn_mbox = rb + iocreg_fnreg[pcifn].hfn_mbox; in bfa_ioc_cb_reg_init() 144 ioc->ioc_regs.lpu_mbox = rb + iocreg_fnreg[pcifn].lpu_mbox; in bfa_ioc_cb_reg_init() 145 ioc->ioc_regs.host_page_num_fn = rb + iocreg_fnreg[pcifn].hfn_pgn; in bfa_ioc_cb_reg_init() 160 ioc->ioc_regs.hfn_mbox_cmd = rb + iocreg_mbcmd[pcifn].hfn; in bfa_ioc_cb_reg_init() 161 ioc->ioc_regs.lpu_mbox_cmd = rb + iocreg_mbcmd[pcifn].lpu; in bfa_ioc_cb_reg_init()
|
D | bfa_ioc_ct.c | 186 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_ct_reg_init() local 190 ioc->ioc_regs.hfn_mbox = rb + ct_fnreg[pcifn].hfn_mbox; in bfa_ioc_ct_reg_init() 191 ioc->ioc_regs.lpu_mbox = rb + ct_fnreg[pcifn].lpu_mbox; in bfa_ioc_ct_reg_init() 192 ioc->ioc_regs.host_page_num_fn = rb + ct_fnreg[pcifn].hfn_pgn; in bfa_ioc_ct_reg_init() 198 ioc->ioc_regs.hfn_mbox_cmd = rb + ct_p0reg[pcifn].hfn; in bfa_ioc_ct_reg_init() 199 ioc->ioc_regs.lpu_mbox_cmd = rb + ct_p0reg[pcifn].lpu; in bfa_ioc_ct_reg_init() 206 ioc->ioc_regs.hfn_mbox_cmd = rb + ct_p1reg[pcifn].hfn; in bfa_ioc_ct_reg_init() 207 ioc->ioc_regs.lpu_mbox_cmd = rb + ct_p1reg[pcifn].lpu; in bfa_ioc_ct_reg_init()
|
D | bfa_ioc.h | 403 u16 *pcifn; member 947 bfa_status_t bfa_ablk_pf_create(struct bfa_ablk_s *ablk, u16 *pcifn, 950 bfa_status_t bfa_ablk_pf_delete(struct bfa_ablk_s *ablk, int pcifn, 952 bfa_status_t bfa_ablk_pf_update(struct bfa_ablk_s *ablk, int pcifn,
|
D | bfa_ioc.c | 2870 ioc_attr->pci_attr.pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_get_attr() 3312 *(ablk->pcifn) = rsp->pcifn; in bfa_ablk_isr() 3313 ablk->pcifn = NULL; in bfa_ablk_isr() 3343 ablk->pcifn = NULL; in bfa_ablk_notify() 3415 bfa_ablk_pf_create(struct bfa_ablk_s *ablk, u16 *pcifn, in bfa_ablk_pf_create() argument 3432 ablk->pcifn = pcifn; in bfa_ablk_pf_create() 3450 bfa_ablk_pf_delete(struct bfa_ablk_s *ablk, int pcifn, in bfa_ablk_pf_delete() argument 3472 m->pcifn = (u8)pcifn; in bfa_ablk_pf_delete() 3542 bfa_ablk_pf_update(struct bfa_ablk_s *ablk, int pcifn, u16 bw_min, in bfa_ablk_pf_update() argument 3564 m->pcifn = (u8)pcifn; in bfa_ablk_pf_update()
|
D | bfi.h | 727 u8 pcifn; member 751 u8 pcifn; member
|
D | bfa_defs.h | 328 u32 pcifn; /* PCI device function */ member
|
D | bfad.c | 764 bfad->pci_attr.pcifn = PCI_FUNC(pdev->devfn); in bfad_pci_init()
|
/Linux-v6.1/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hdr.h | 504 #define XG_LINK_STATE_P3P(pcifn, val) \ argument 505 (((val) >> ((pcifn) * 4)) & XG_LINK_STATE_P3P_MASK) 509 #define P3P_LINK_SPEED_REG(pcifn) \ argument 510 (CRB_PF_LINK_SPEED_1 + (((pcifn) / 4) * 4)) 511 #define P3P_LINK_SPEED_VAL(pcifn, reg) \ argument 512 (((reg) >> (8 * ((pcifn) & 0x3))) & P3P_LINK_SPEED_MASK)
|
D | qlcnic_ethtool.c | 293 u16 pcifn = ahw->pci_func; in qlcnic_82xx_get_link_ksettings() local 329 P3P_LINK_SPEED_REG(pcifn), &err); in qlcnic_82xx_get_link_ksettings() 330 speed = P3P_LINK_SPEED_VAL(pcifn, reg); in qlcnic_82xx_get_link_ksettings()
|
/Linux-v6.1/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc_ct.c | 252 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_ct_reg_init() local 256 ioc->ioc_regs.hfn_mbox = rb + ct_fnreg[pcifn].hfn_mbox; in bfa_ioc_ct_reg_init() 257 ioc->ioc_regs.lpu_mbox = rb + ct_fnreg[pcifn].lpu_mbox; in bfa_ioc_ct_reg_init() 258 ioc->ioc_regs.host_page_num_fn = rb + ct_fnreg[pcifn].hfn_pgn; in bfa_ioc_ct_reg_init() 264 ioc->ioc_regs.hfn_mbox_cmd = rb + ct_p0reg[pcifn].hfn; in bfa_ioc_ct_reg_init() 265 ioc->ioc_regs.lpu_mbox_cmd = rb + ct_p0reg[pcifn].lpu; in bfa_ioc_ct_reg_init() 272 ioc->ioc_regs.hfn_mbox_cmd = rb + ct_p1reg[pcifn].hfn; in bfa_ioc_ct_reg_init() 273 ioc->ioc_regs.lpu_mbox_cmd = rb + ct_p1reg[pcifn].lpu; in bfa_ioc_ct_reg_init()
|
D | bfa_defs.h | 88 u32 pcifn; /*!< PCI device function */ member
|
D | bfa_ioc.c | 2915 ioc_attr->pci_attr.pcifn = bfa_ioc_pcifn(ioc); in bfa_nw_ioc_get_attr()
|
/Linux-v6.1/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hdr.h | 696 #define XG_LINK_STATE_P3(pcifn,val) \ argument 697 (((val) >> ((pcifn) * 4)) & XG_LINK_STATE_P3_MASK) 701 #define P3_LINK_SPEED_REG(pcifn) \ argument 702 (CRB_PF_LINK_SPEED_1 + (((pcifn) / 4) * 4)) 703 #define P3_LINK_SPEED_VAL(pcifn, reg) \ argument 704 (((reg) >> (8 * ((pcifn) & 0x3))) & P3_LINK_SPEED_MASK)
|
D | netxen_nic_ethtool.c | 132 u16 pcifn = adapter->ahw.pci_func; in netxen_nic_get_link_ksettings() local 134 val = NXRD32(adapter, P3_LINK_SPEED_REG(pcifn)); in netxen_nic_get_link_ksettings() 136 P3_LINK_SPEED_VAL(pcifn, val); in netxen_nic_get_link_ksettings()
|
D | netxen_nic.h | 688 #define NX_CDRP_SIGNATURE_MAKE(pcifn, version) \ argument 689 (((pcifn) & 0xff) | (((version) & 0xff) << 8) | (0xcafe << 16))
|