/drivers/scsi/bfa/ |
D | bfa_ioc_cb.c | 146 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_cb_reg_init() local 150 ioc->ioc_regs.hfn_mbox = rb + iocreg_fnreg[pcifn].hfn_mbox; in bfa_ioc_cb_reg_init() 151 ioc->ioc_regs.lpu_mbox = rb + iocreg_fnreg[pcifn].lpu_mbox; in bfa_ioc_cb_reg_init() 152 ioc->ioc_regs.host_page_num_fn = rb + iocreg_fnreg[pcifn].hfn_pgn; in bfa_ioc_cb_reg_init() 167 ioc->ioc_regs.hfn_mbox_cmd = rb + iocreg_mbcmd[pcifn].hfn; in bfa_ioc_cb_reg_init() 168 ioc->ioc_regs.lpu_mbox_cmd = rb + iocreg_mbcmd[pcifn].lpu; in bfa_ioc_cb_reg_init()
|
D | bfa_ioc_ct.c | 193 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_ct_reg_init() local 197 ioc->ioc_regs.hfn_mbox = rb + ct_fnreg[pcifn].hfn_mbox; in bfa_ioc_ct_reg_init() 198 ioc->ioc_regs.lpu_mbox = rb + ct_fnreg[pcifn].lpu_mbox; in bfa_ioc_ct_reg_init() 199 ioc->ioc_regs.host_page_num_fn = rb + ct_fnreg[pcifn].hfn_pgn; in bfa_ioc_ct_reg_init() 205 ioc->ioc_regs.hfn_mbox_cmd = rb + ct_p0reg[pcifn].hfn; in bfa_ioc_ct_reg_init() 206 ioc->ioc_regs.lpu_mbox_cmd = rb + ct_p0reg[pcifn].lpu; in bfa_ioc_ct_reg_init() 213 ioc->ioc_regs.hfn_mbox_cmd = rb + ct_p1reg[pcifn].hfn; in bfa_ioc_ct_reg_init() 214 ioc->ioc_regs.lpu_mbox_cmd = rb + ct_p1reg[pcifn].lpu; in bfa_ioc_ct_reg_init()
|
D | bfa_ioc.h | 406 u16 *pcifn; member 950 bfa_status_t bfa_ablk_pf_create(struct bfa_ablk_s *ablk, u16 *pcifn, 953 bfa_status_t bfa_ablk_pf_delete(struct bfa_ablk_s *ablk, int pcifn, 955 bfa_status_t bfa_ablk_pf_update(struct bfa_ablk_s *ablk, int pcifn,
|
D | bfa_ioc.c | 2884 ioc_attr->pci_attr.pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_get_attr() 3325 *(ablk->pcifn) = rsp->pcifn; in bfa_ablk_isr() 3326 ablk->pcifn = NULL; in bfa_ablk_isr() 3356 ablk->pcifn = NULL; in bfa_ablk_notify() 3428 bfa_ablk_pf_create(struct bfa_ablk_s *ablk, u16 *pcifn, in bfa_ablk_pf_create() argument 3445 ablk->pcifn = pcifn; in bfa_ablk_pf_create() 3463 bfa_ablk_pf_delete(struct bfa_ablk_s *ablk, int pcifn, in bfa_ablk_pf_delete() argument 3485 m->pcifn = (u8)pcifn; in bfa_ablk_pf_delete() 3555 bfa_ablk_pf_update(struct bfa_ablk_s *ablk, int pcifn, u16 bw_min, in bfa_ablk_pf_update() argument 3577 m->pcifn = (u8)pcifn; in bfa_ablk_pf_update()
|
D | bfi.h | 734 u8 pcifn; member 758 u8 pcifn; member
|
D | bfa_defs.h | 335 u32 pcifn; /* PCI device function */ member
|
D | bfad.c | 780 bfad->pci_attr.pcifn = PCI_FUNC(pdev->devfn); in bfad_pci_init()
|
/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hdr.h | 505 #define XG_LINK_STATE_P3P(pcifn, val) \ argument 506 (((val) >> ((pcifn) * 4)) & XG_LINK_STATE_P3P_MASK) 510 #define P3P_LINK_SPEED_REG(pcifn) \ argument 511 (CRB_PF_LINK_SPEED_1 + (((pcifn) / 4) * 4)) 512 #define P3P_LINK_SPEED_VAL(pcifn, reg) \ argument 513 (((reg) >> (8 * ((pcifn) & 0x3))) & P3P_LINK_SPEED_MASK)
|
D | qlcnic_ethtool.c | 294 u16 pcifn = ahw->pci_func; in qlcnic_82xx_get_settings() local 329 P3P_LINK_SPEED_REG(pcifn), &err); in qlcnic_82xx_get_settings() 330 speed = P3P_LINK_SPEED_VAL(pcifn, reg); in qlcnic_82xx_get_settings()
|
/drivers/net/ethernet/brocade/bna/ |
D | bfa_ioc_ct.c | 260 int pcifn = bfa_ioc_pcifn(ioc); in bfa_ioc_ct_reg_init() local 264 ioc->ioc_regs.hfn_mbox = rb + ct_fnreg[pcifn].hfn_mbox; in bfa_ioc_ct_reg_init() 265 ioc->ioc_regs.lpu_mbox = rb + ct_fnreg[pcifn].lpu_mbox; in bfa_ioc_ct_reg_init() 266 ioc->ioc_regs.host_page_num_fn = rb + ct_fnreg[pcifn].hfn_pgn; in bfa_ioc_ct_reg_init() 272 ioc->ioc_regs.hfn_mbox_cmd = rb + ct_p0reg[pcifn].hfn; in bfa_ioc_ct_reg_init() 273 ioc->ioc_regs.lpu_mbox_cmd = rb + ct_p0reg[pcifn].lpu; in bfa_ioc_ct_reg_init() 280 ioc->ioc_regs.hfn_mbox_cmd = rb + ct_p1reg[pcifn].hfn; in bfa_ioc_ct_reg_init() 281 ioc->ioc_regs.lpu_mbox_cmd = rb + ct_p1reg[pcifn].lpu; in bfa_ioc_ct_reg_init()
|
D | bfa_defs.h | 96 u32 pcifn; /*!< PCI device function */ member
|
D | bfa_ioc.c | 2921 ioc_attr->pci_attr.pcifn = bfa_ioc_pcifn(ioc); in bfa_nw_ioc_get_attr()
|
/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_hdr.h | 712 #define XG_LINK_STATE_P3(pcifn,val) \ argument 713 (((val) >> ((pcifn) * 4)) & XG_LINK_STATE_P3_MASK) 717 #define P3_LINK_SPEED_REG(pcifn) \ argument 718 (CRB_PF_LINK_SPEED_1 + (((pcifn) / 4) * 4)) 719 #define P3_LINK_SPEED_VAL(pcifn, reg) \ argument 720 (((reg) >> (8 * ((pcifn) & 0x3))) & P3_LINK_SPEED_MASK)
|
D | netxen_nic_ethtool.c | 146 u16 pcifn = adapter->ahw.pci_func; in netxen_nic_get_settings() local 148 val = NXRD32(adapter, P3_LINK_SPEED_REG(pcifn)); in netxen_nic_get_settings() 150 P3_LINK_SPEED_VAL(pcifn, val)); in netxen_nic_get_settings()
|
D | netxen_nic.h | 704 #define NX_CDRP_SIGNATURE_MAKE(pcifn, version) \ argument 705 (((pcifn) & 0xff) | (((version) & 0xff) << 8) | (0xcafe << 16))
|