Home
last modified time | relevance | path

Searched refs:pci_func (Results 1 – 18 of 18) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c208 int pci_func = adapter->ahw.pci_func; in get_flash_mac_addr() local
209 pmac16 += (4 * pci_func); 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()
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()
1226 if (adapter->ahw.pci_func >= 2) { in unmattach()
1227 adapter->portnum = adapter->ahw.pci_func - 2; in unmattach()
[all …]
H A Dunm_nic_ctx.c231 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()
H A Dunm_nic_isr.c95 val1 = XG_LINK_STATE_P3(adapter->ahw.pci_func, val); in unm_nic_handle_phy_intr()
H A Dunm_nic_hw.c370 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()
H A Dunm_nic.h230 int pci_func; member
H A Dunm_nic_main.c288 msi_tgt_status[adapter->ahw.pci_func], &temp); in unm_nic_clear_int()
/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c1050 int pci_dev, pci_func; in pcie_hp_match_dev_func() local
1060 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()
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge_chip2.c2152 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()
H A Dbge_impl.h746 uint32_t pci_func; /* from "regs" prop */ member
H A Dbge_main2.c3853 bgep->pci_func = PCI_REG_FUNC_G(props[0]);
3862 bgep->pci_func =
3866 bgep->pci_func = ((regval & CPMU_STATUS_FUNC_NUM) >>
H A Dbge_mii.c1807 bgep->phy_mii_addr = (bgep->pci_func + 1); in bge_phys_init()
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede.h844 uint8_t pci_func; member
H A Dqede_gld.c1770 func_info.port = qede->pci_func & 0x1;
H A Dqede_main.c3595 qede->pci_func = (uint8_t) PCI_REG_FUNC_G(props[0]); in qede_attach()
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c3141 int pci_func; in pcihp_match_dev() local
3151 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()
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c2907 int pci_func; in pcicfg_match_dev() local
2917 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()
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c3031 int pci_func; in pcicfg_match_dev() local
3042 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()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_dbg_fw_funcs.c489 #define OPAQUE_FID(pci_func) ((pci_func << 4) | 0xff00) argument