Searched refs:pci_cfg_hdl (Results 1 – 3 of 3) sorted by relevance
/titanic_44/usr/src/uts/common/io/ntxn/ |
H A D | unm_gem.c | 295 ddi_acc_handle_t pci_cfg_hdl; in unm_pci_cfg_init() local 306 pci_cfg_hdl = adapter->pci_cfg_handle; in unm_pci_cfg_init() 309 vendor_id = pci_config_get16(pci_cfg_hdl, PCI_CONF_VENID); in unm_pci_cfg_init() 328 base_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_BASCLASS); in unm_pci_cfg_init() 329 sub_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_SUBCLASS); in unm_pci_cfg_init() 330 prog_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_PROGCLASS); in unm_pci_cfg_init() 343 hwcontext->revision_id = pci_config_get8(pci_cfg_hdl, PCI_CONF_REVID); in unm_pci_cfg_init() 362 pexsizes = pci_config_get32(pci_cfg_hdl, 0xd8); in unm_pci_cfg_init() 365 pci_config_put32(pci_cfg_hdl, 0xd8, pexsizes); in unm_pci_cfg_init() 368 pci_cmd_word = pci_config_get16(pci_cfg_hdl, PCI_CONF_COMM); in unm_pci_cfg_init() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon.c | 4592 ddi_acc_handle_t pci_cfg_hdl = hermon_get_pcihdl(state); in get_msix_ctrl() local 4593 ASSERT(pci_cfg_hdl != NULL); in get_msix_ctrl() 4595 if ((PCI_CAP_LOCATE(pci_cfg_hdl, in get_msix_ctrl() 4597 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, caps_ctrl, in get_msix_ctrl() 4651 ddi_acc_handle_t pci_cfg_hdl = hermon_get_pcihdl(state); in hermon_set_msix_info() local 4652 ASSERT(pci_cfg_hdl != NULL); in hermon_set_msix_info() 4654 if ((PCI_CAP_LOCATE(pci_cfg_hdl, in hermon_set_msix_info() 4656 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, caps_ctrl, in hermon_set_msix_info() 4662 state->hs_msix_tbl_offset = PCI_CAP_GET32(pci_cfg_hdl, NULL, caps_ctrl, in hermon_set_msix_info() 4712 state->hs_msix_pba_offset = PCI_CAP_GET32(pci_cfg_hdl, NULL, caps_ctrl, in hermon_set_msix_info() [all …]
|
/titanic_44/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor.c | 3428 ddi_acc_handle_t pci_cfg_hdl = state->ts_pci_cfghdl; in tavor_intr_disable() local 3429 ASSERT(pci_cfg_hdl != NULL); in tavor_intr_disable() 3441 if ((PCI_CAP_LOCATE(pci_cfg_hdl, PCI_CAP_ID_MSI, in tavor_intr_disable() 3443 if ((msi_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, in tavor_intr_disable() 3457 PCI_CAP_PUT32(pci_cfg_hdl, NULL, caps_ctrl, in tavor_intr_disable() 3463 PCI_CAP_PUT16(pci_cfg_hdl, NULL, caps_ctrl, PCI_MSI_CTRL, in tavor_intr_disable() 3467 uint16_t cmdreg = pci_config_get16(pci_cfg_hdl, PCI_CONF_COMM); in tavor_intr_disable() 3472 pci_config_put16(pci_cfg_hdl, PCI_CONF_COMM, cmdreg); in tavor_intr_disable()
|