Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c203 int pci_func = adapter->ahw.pci_func; in get_flash_mac_addr() local
204 pmac16 += (4 * pci_func); in get_flash_mac_addr()
205 crbaddr = CRB_MAC_BLOCK_START + (4 * ((pci_func/2) * 3)) + in get_flash_mac_addr()
206 (4 * (pci_func & 1)); in get_flash_mac_addr()
209 if (pci_func & 1) { in get_flash_mac_addr()
325 hwcontext->pci_func = (reg_options[0] >> 8) & 0x7; in unm_pci_cfg_init()
373 legacy_intrp = &legacy_intr[hwcontext->pci_func]; in unm_pci_cfg_init()
942 (adapter->ahw.pci_func * 0x20); in unm_pci_map_setup()
943 if (adapter->ahw.pci_func < 4) in unm_pci_map_setup()
945 (adapter->ahw.pci_func * 0x20); in unm_pci_map_setup()
[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.c365 UNM_PCIX_PH_REG(PCIE_CRB_WINDOW_REG(adapter->ahw.pci_func))); in unm_nic_pci_change_crbwindow_128M()
967 adapter->ahw.pci_func))))); in unm_nic_pci_set_window_128M()
972 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()
/titanic_41/usr/src/uts/common/io/pciex/hotplug/
H A Dpcie_hp.c1048 int pci_dev, pci_func; in pcie_hp_match_dev_func() local
1058 pci_func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pcie_hp_match_dev_func()
1065 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) { in pcie_hp_match_dev_func()
/titanic_41/usr/src/uts/common/io/drm/
H A Ddrm_drv.c549 &dev->pci_slot, &dev->pci_func) != DDI_SUCCESS) { in drm_get_businfo()
554 dev->pci_bus, dev->pci_slot, dev->pci_func); in drm_get_businfo()
H A Ddrm_ioctl.c123 dev->pci_domain, dev->pci_bus, dev->pci_slot, dev->pci_func); in drm_set_busid()
H A Ddrm_irq.c54 irq.funcnum != dev->pci_func) in drm_irq_by_busid()
H A DdrmP.h771 int pci_func; member
/titanic_41/usr/src/uts/common/io/bge/
H A Dbge_chip2.c2120 if (!bgep->pci_func) in bge_ape_lock_init()
2123 bit = 1 << bgep->pci_func; in bge_ape_lock_init()
2150 if (!bgep->pci_func) in bge_ape_lock()
2153 bit = 1 << bgep->pci_func; in bge_ape_lock()
2211 if (!bgep->pci_func) in bge_ape_unlock()
2214 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_mii.c1801 bgep->phy_mii_addr = (bgep->pci_func + 1); in bge_phys_init()
H A Dbge_main2.c3866 bgep->pci_func = PCI_REG_FUNC_G(props[0]);
3875 bgep->pci_func =
3879 bgep->pci_func = ((regval & CPMU_STATUS_FUNC_NUM) >>
/titanic_41/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c3144 int pci_func; in pcihp_match_dev() local
3154 pci_func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pcihp_match_dev()
3162 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) { in pcihp_match_dev()
/titanic_41/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c2870 int pci_func; in pcicfg_match_dev() local
2880 pci_func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pcicfg_match_dev()
2888 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) { in pcicfg_match_dev()
/titanic_41/usr/src/uts/sun4/io/
H A Dpcicfg.c3037 int pci_func; in pcicfg_match_dev() local
3048 pci_func = PCI_REG_FUNC_G(pci_rp->pci_phys_hi); in pcicfg_match_dev()
3056 if ((pci_dev == ctrl->device) && (pci_func == ctrl->function)) { in pcicfg_match_dev()