Home
last modified time | relevance | path

Searched refs:pci_cfg_hdl (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_gem.c300 ddi_acc_handle_t pci_cfg_hdl; in unm_pci_cfg_init() local
311 pci_cfg_hdl = adapter->pci_cfg_handle; in unm_pci_cfg_init()
314 vendor_id = pci_config_get16(pci_cfg_hdl, PCI_CONF_VENID); in unm_pci_cfg_init()
333 base_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_BASCLASS); in unm_pci_cfg_init()
334 sub_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_SUBCLASS); in unm_pci_cfg_init()
335 prog_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_PROGCLASS); in unm_pci_cfg_init()
348 hwcontext->revision_id = pci_config_get8(pci_cfg_hdl, PCI_CONF_REVID); in unm_pci_cfg_init()
367 pexsizes = pci_config_get32(pci_cfg_hdl, 0xd8); in unm_pci_cfg_init()
370 pci_config_put32(pci_cfg_hdl, 0xd8, pexsizes); in unm_pci_cfg_init()
373 pci_cmd_word = pci_config_get16(pci_cfg_hdl, PCI_CONF_COMM); in unm_pci_cfg_init()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon.c4592 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()
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()
4768 ddi_acc_handle_t pci_cfg_hdl = hermon_get_pcihdl(state); in hermon_intr_disable() local
4771 ASSERT(pci_cfg_hdl != NULL && msix_tblhdl != NULL); in hermon_intr_disable()
4783 if ((PCI_CAP_LOCATE(pci_cfg_hdl, in hermon_intr_disable()
4785 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, 0, in hermon_intr_disable()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c3006 ddi_acc_handle_t pci_cfg_hdl = state->ts_pci_cfghdl; in tavor_intr_disable() local
3007 ASSERT(pci_cfg_hdl != NULL); in tavor_intr_disable()
3019 if ((PCI_CAP_LOCATE(pci_cfg_hdl, PCI_CAP_ID_MSI, in tavor_intr_disable()
3021 if ((msi_ctrl = PCI_CAP_GET16(pci_cfg_hdl, 0, in tavor_intr_disable()
3035 PCI_CAP_PUT32(pci_cfg_hdl, 0, caps_ctrl, offset, 0); in tavor_intr_disable()
3040 PCI_CAP_PUT16(pci_cfg_hdl, 0, caps_ctrl, PCI_MSI_CTRL, in tavor_intr_disable()
3044 uint16_t cmdreg = pci_config_get16(pci_cfg_hdl, PCI_CONF_COMM); in tavor_intr_disable()
3049 pci_config_put16(pci_cfg_hdl, PCI_CONF_COMM, cmdreg); in tavor_intr_disable()