Searched refs:pci_cfg_handle (Results 1 – 13 of 13) sorted by relevance
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | bnxmod.c | 124 pci_config_teardown(&umdevice->os_param.pci_cfg_handle); in bnx_free_system_resources() 167 &umdevice->os_param.pci_cfg_handle); in bnx_attach_attach() 265 device_id = pci_config_get16(umdevice->os_param.pci_cfg_handle, in bnx_attach_attach() 267 subdevice_id = pci_config_get16(umdevice->os_param.pci_cfg_handle, in bnx_attach_attach()
|
H A D | bnx_mm.c | 103 *reg_value = pci_config_get32(udevp->os_param.pci_cfg_handle, in mm_read_pci() 129 pci_config_put32(udevp->os_param.pci_cfg_handle, in mm_write_pci()
|
H A D | bnx.h | 154 ddi_acc_handle_t pci_cfg_handle; member
|
/illumos-gate/usr/src/uts/common/io/qede/ |
H A D | qede_gld.c | 1341 ddi_acc_handle_t pci_cfg_handle = qede->pci_cfg_handle; local 1344 cap_offset = pci_config_get8(pci_cfg_handle, PCI_CONF_CAP_PTR); 1350 cap_id = pci_config_get8(pci_cfg_handle, cap_offset); 1355 next_cap = pci_config_get8(pci_cfg_handle, 1363 ret = pci_config_get8(qede->pci_cfg_handle, addr); 1367 ret = pci_config_get16(qede->pci_cfg_handle, addr); 1371 ret = pci_config_get32(qede->pci_cfg_handle, addr); 1388 ddi_acc_handle_t pci_cfg_handle = qede->pci_cfg_handle; local 1390 cap_offset = pci_config_get8(pci_cfg_handle, PCI_CONF_CAP_PTR); 1392 cap_id = pci_config_get8(pci_cfg_handle, cap_offset); [all …]
|
H A D | qede_osal.c | 633 *val = pci_config_get8(qede->pci_cfg_handle, (off_t)addr); in qede_osal_pci_read_config_byte() 641 *val = pci_config_get16(qede->pci_cfg_handle, (off_t)addr); in qede_osal_pci_read_config_word() 649 *val = pci_config_get32(qede->pci_cfg_handle, (off_t)addr); in qede_osal_pci_read_config_dword() 779 ddi_acc_handle_t pci_cfg_handle = qede->pci_cfg_handle; in qede_osal_pci_write_config_word() local 781 pci_config_put16(pci_cfg_handle, (off_t)addr, pcie_id); in qede_osal_pci_write_config_word()
|
H A D | qede_main.c | 546 if (qede->pci_cfg_handle != NULL) { in qede_unconfig_pci() 547 pci_config_teardown(&qede->pci_cfg_handle); in qede_unconfig_pci() 548 qede->pci_cfg_handle = NULL; in qede_unconfig_pci() 557 ret = pci_config_setup(qede->dip, &qede->pci_cfg_handle); in qede_config_pci()
|
H A D | qede.h | 698 ddi_acc_handle_t pci_cfg_handle; member
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_hw.c | 222 dev->vendor_id = pci_config_get16(dev->pci_cfg_handle, in oce_identify_hw() 224 dev->device_id = pci_config_get16(dev->pci_cfg_handle, in oce_identify_hw() 226 dev->subsys_id = pci_config_get16(dev->pci_cfg_handle, in oce_identify_hw() 228 dev->subvendor_id = pci_config_get16(dev->pci_cfg_handle, in oce_identify_hw()
|
H A D | oce_main.c | 244 ret = pci_config_setup(dev->dip, &dev->pci_cfg_handle); in oce_attach() 551 pci_config_teardown(&dev->pci_cfg_handle); in oce_unconfigure()
|
/illumos-gate/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 311 pci_cfg_hdl = adapter->pci_cfg_handle; in unm_pci_cfg_init() 1107 ddi_acc_handle_t pcihdl = adapter->pci_cfg_handle; in netxen_pcie_strap_init() 1171 ret = pci_config_setup(dip, &adapter->pci_cfg_handle); in unmattach() 1351 pci_config_teardown(&adapter->pci_cfg_handle); in unmattach() 1370 if (adapter->pci_cfg_handle != NULL) in unmdetach() 1371 pci_config_teardown(&adapter->pci_cfg_handle); in unmdetach()
|
H A D | unm_nic_main.c | 1919 if (adapter->pci_cfg_handle != NULL) { in unm_nic_do_ioctl() 1920 conf_handle = adapter->pci_cfg_handle; in unm_nic_do_ioctl() 1929 adapter->pci_cfg_handle = conf_handle; in unm_nic_do_ioctl() 1950 if (adapter->pci_cfg_handle != NULL) { in unm_nic_do_ioctl() 1951 conf_handle = adapter->pci_cfg_handle; in unm_nic_do_ioctl() 1958 adapter->pci_cfg_handle = conf_handle; in unm_nic_do_ioctl()
|
H A D | unm_nic.h | 480 ddi_acc_handle_t pci_cfg_handle; member
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/oce/ |
H A D | oce_impl.h | 232 ddi_acc_handle_t pci_cfg_handle; /* Config space handle */ member
|