Searched refs:pci_func (Results 1 – 18 of 18) sorted by relevance
208 int pci_func = adapter->ahw.pci_func; in get_flash_mac_addr() local209 pmac16 += (4 * pci_func); in get_flash_mac_addr()210 crbaddr = CRB_MAC_BLOCK_START + (4 * ((pci_func/2) * 3)) + in get_flash_mac_addr()211 (4 * (pci_func & 1)); in get_flash_mac_addr()214 if (pci_func & 1) { in get_flash_mac_addr()330 hwcontext->pci_func = (reg_options[0] >> 8) & 0x7; in unm_pci_cfg_init()378 legacy_intrp = &legacy_intr[hwcontext->pci_func]; in unm_pci_cfg_init()947 (adapter->ahw.pci_func * 0x20); in unm_pci_map_setup()948 if (adapter->ahw.pci_func < 4) in unm_pci_map_setup()950 (adapter->ahw.pci_func * 0x20); in unm_pci_map_setup()[all …]
231 adapter->ahw.pci_func, in nx_fw_cmd_set_mtu()332 adapter->ahw.pci_func, in nx_fw_cmd_create_rx_ctx()380 adapter->ahw.pci_func, in nx_fw_cmd_destroy_rx_ctx()453 adapter->ahw.pci_func, in nx_fw_cmd_create_tx_ctx()488 adapter->ahw.pci_func, in nx_fw_cmd_destroy_tx_ctx()
95 val1 = XG_LINK_STATE_P3(adapter->ahw.pci_func, val); in unm_nic_handle_phy_intr()
370 UNM_PCIX_PH_REG(PCIE_CRB_WINDOW_REG(adapter->ahw.pci_func))); in unm_nic_pci_change_crbwindow_128M()969 adapter->ahw.pci_func))))); in unm_nic_pci_set_window_128M()974 adapter->ahw.pci_func))))); in unm_nic_pci_set_window_128M()
230 int pci_func; member
288 msi_tgt_status[adapter->ahw.pci_func], &temp); in unm_nic_clear_int()
1050 int pci_dev, pci_func; in pcie_hp_match_dev_func() local1060 pci_func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pcie_hp_match_dev_func()1067 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) { in pcie_hp_match_dev_func()
2152 if (!bgep->pci_func) in bge_ape_lock_init()2155 bit = 1 << bgep->pci_func; in bge_ape_lock_init()2183 if (!bgep->pci_func) in bge_ape_lock()2186 bit = 1 << bgep->pci_func; in bge_ape_lock()2245 if (!bgep->pci_func) in bge_ape_unlock()2248 bit = 1 << bgep->pci_func; in bge_ape_unlock()
746 uint32_t pci_func; /* from "regs" prop */ member
3853 bgep->pci_func = PCI_REG_FUNC_G(props[0]);3862 bgep->pci_func =3866 bgep->pci_func = ((regval & CPMU_STATUS_FUNC_NUM) >>
1807 bgep->phy_mii_addr = (bgep->pci_func + 1); in bge_phys_init()
844 uint8_t pci_func; member
1770 func_info.port = qede->pci_func & 0x1;
3595 qede->pci_func = (uint8_t) PCI_REG_FUNC_G(props[0]); in qede_attach()
3141 int pci_func; in pcihp_match_dev() local3151 pci_func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pcihp_match_dev()3159 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) { in pcihp_match_dev()
2907 int pci_func; in pcicfg_match_dev() local2917 pci_func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pcicfg_match_dev()2925 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) { in pcicfg_match_dev()
3031 int pci_func; in pcicfg_match_dev() local3042 pci_func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pcicfg_match_dev()3050 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) { in pcicfg_match_dev()
489 #define OPAQUE_FID(pci_func) ((pci_func << 4) | 0xff00) argument