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.c295 ddi_acc_handle_t pci_cfg_hdl; local
306 pci_cfg_hdl = adapter->pci_cfg_handle;
309 vendor_id = pci_config_get16(pci_cfg_hdl, PCI_CONF_VENID);
328 base_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_BASCLASS);
329 sub_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_SUBCLASS);
330 prog_class = pci_config_get8(pci_cfg_hdl, PCI_CONF_PROGCLASS);
343 hwcontext->revision_id = pci_config_get8(pci_cfg_hdl, PCI_CONF_REVID);
362 pexsizes = pci_config_get32(pci_cfg_hdl, 0xd8);
365 pci_config_put32(pci_cfg_hdl, 0xd8, pexsizes);
368 pci_cmd_word = pci_config_get16(pci_cfg_hdl, PCI_CONF_COM
[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); local
4593 ASSERT(pci_cfg_hdl != NULL);
4595 if ((PCI_CAP_LOCATE(pci_cfg_hdl,
4597 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, caps_ctrl,
4651 ddi_acc_handle_t pci_cfg_hdl = hermon_get_pcihdl(state); local
4652 ASSERT(pci_cfg_hdl != NULL);
4654 if ((PCI_CAP_LOCATE(pci_cfg_hdl,
4656 if ((msix_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL, caps_ctrl,
4662 state->hs_msix_tbl_offset = PCI_CAP_GET32(pci_cfg_hdl, NULL, caps_ctrl,
4712 state->hs_msix_pba_offset = PCI_CAP_GET32(pci_cfg_hdl, NUL
4768 ddi_acc_handle_t pci_cfg_hdl = hermon_get_pcihdl(state); local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor.c3428 ddi_acc_handle_t pci_cfg_hdl = state->ts_pci_cfghdl; local
3429 ASSERT(pci_cfg_hdl != NULL);
3441 if ((PCI_CAP_LOCATE(pci_cfg_hdl, PCI_CAP_ID_MSI,
3443 if ((msi_ctrl = PCI_CAP_GET16(pci_cfg_hdl, NULL,
3457 PCI_CAP_PUT32(pci_cfg_hdl, NULL, caps_ctrl,
3463 PCI_CAP_PUT16(pci_cfg_hdl, NULL, caps_ctrl, PCI_MSI_CTRL,
3467 uint16_t cmdreg = pci_config_get16(pci_cfg_hdl, PCI_CONF_COMM);
3472 pci_config_put16(pci_cfg_hdl, PCI_CONF_COMM, cmdreg);

Completed in 68 milliseconds