/illumos-gate/usr/src/uts/i86pc/io/pciex/ |
H A D | npe_misc.c | 49 void npe_ck804_fix_aer_ptr(ddi_acc_handle_t cfg_hdl); 51 void npe_nvidia_error_workaround(ddi_acc_handle_t cfg_hdl); 52 void npe_intel_error_workaround(ddi_acc_handle_t cfg_hdl); 54 int npe_enable_htmsi(ddi_acc_handle_t cfg_hdl); 116 npe_ck804_fix_aer_ptr(ddi_acc_handle_t cfg_hdl) argument 120 if ((pci_config_get16(cfg_hdl, PCI_CONF_VENID) == NVIDIA_VENDOR_ID) && 121 (pci_config_get16(cfg_hdl, PCI_CONF_DEVID) == 123 (pci_config_get8(cfg_hdl, PCI_CONF_REVID) >= 125 cya1 = pci_config_get16(cfg_hdl, NVIDIA_CK804_VEND_CYA1_OFF); 127 (void) pci_config_put16(cfg_hdl, 153 npe_nvidia_error_workaround(ddi_acc_handle_t cfg_hdl) argument 173 npe_intel_error_workaround(ddi_acc_handle_t cfg_hdl) argument 276 npe_enable_htmsi(ddi_acc_handle_t cfg_hdl) argument 296 ddi_acc_handle_t cfg_hdl; local 331 ddi_acc_handle_t cfg_hdl; local [all...] |
H A D | npe.c | 178 extern void npe_ck804_fix_aer_ptr(ddi_acc_handle_t cfg_hdl); 180 extern void npe_nvidia_error_workaround(ddi_acc_handle_t cfg_hdl); 181 extern void npe_intel_error_workaround(ddi_acc_handle_t cfg_hdl); 849 ddi_acc_handle_t cfg_hdl; local 938 if (pci_config_setup(child, &cfg_hdl) == DDI_SUCCESS) { 939 npe_ck804_fix_aer_ptr(cfg_hdl); 940 npe_nvidia_error_workaround(cfg_hdl); 941 npe_intel_error_workaround(cfg_hdl); 942 pci_config_teardown(&cfg_hdl);
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_intr.c | 305 ddi_acc_handle_t cfg_hdl = ih_p->ih_config_handle; local 307 if (pci_intr_dma_sync && cfg_hdl && pbm_p->pbm_sync_reg_pa) { 308 (void) pci_config_get16(cfg_hdl, PCI_CONF_VENID);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | pci_intr_lib.c | 102 * Helper function that returns with 'cfg_hdl', MSI/X ctrl pointer, 1014 ddi_acc_handle_t cfg_hdl; local 1023 if (pci_config_setup(dip, &cfg_hdl) != DDI_SUCCESS) { 1029 savereg = pci_config_get16(cfg_hdl, PCI_CONF_COMM); 1035 pci_config_put16(cfg_hdl, PCI_CONF_COMM, cmdreg); 1038 statreg = pci_config_get16(cfg_hdl, PCI_CONF_STAT); 1044 cmdreg = pci_config_get16(cfg_hdl, PCI_CONF_COMM); 1058 pci_config_put16(cfg_hdl, PCI_CONF_COMM, savereg); 1060 pci_config_teardown(&cfg_hdl); 1074 ddi_acc_handle_t cfg_hdl; local 1106 ddi_acc_handle_t cfg_hdl; local 1139 ddi_acc_handle_t cfg_hdl; local 1177 ddi_acc_handle_t cfg_hdl; local [all...] |
/illumos-gate/usr/src/uts/intel/io/pci/ |
H A D | pci_pci.c | 232 static boolean_t ppb_ht_msimap_check(ddi_acc_handle_t cfg_hdl); 233 static int ppb_ht_msimap_set(ddi_acc_handle_t cfg_hdl, int cmd); 825 ppb_ht_msimap_check(ddi_acc_handle_t cfg_hdl) argument 829 if (pci_htcap_locate(cfg_hdl, 840 ppb_ht_msimap_set(ddi_acc_handle_t cfg_hdl, int cmd) argument 845 if (pci_htcap_locate(cfg_hdl, PCI_HTCAP_TYPE_MASK, 849 reg = pci_config_get16(cfg_hdl, ptr + PCI_CAP_ID_REGS_OFF); 859 pci_config_put16(cfg_hdl, ptr + PCI_CAP_ID_REGS_OFF, reg); 871 ddi_acc_handle_t cfg_hdl; local 897 if (pci_config_setup(pdip, &cfg_hdl) ! [all...] |
/illumos-gate/usr/src/uts/intel/io/pciex/ |
H A D | pcieb_x86.c | 466 ddi_acc_handle_t cfg_hdl = bus_p->bus_cfg_hdl; local 497 data = (uint32_t)pci_config_get32(cfg_hdl, 502 pci_config_put32(cfg_hdl, reg->offset, value); 503 value = (uint32_t)pci_config_get32(cfg_hdl, 507 data = (uint32_t)pci_config_get16(cfg_hdl, 512 pci_config_put16(cfg_hdl, reg->offset, 514 value = (uint32_t)pci_config_get16(cfg_hdl, 518 data = (uint32_t)pci_config_get8(cfg_hdl, 523 pci_config_put8(cfg_hdl, reg->offset, 525 value = (uint32_t)pci_config_get8(cfg_hdl, 612 ddi_acc_handle_t cfg_hdl = bus_p->bus_cfg_hdl; local [all...] |
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcie.c | 2377 pcie_check_io_mem_range(ddi_acc_handle_t cfg_hdl, boolean_t *empty_io_range, argument 2383 class = pci_config_get8(cfg_hdl, PCI_CONF_BASCLASS); 2384 subclass = pci_config_get8(cfg_hdl, PCI_CONF_SUBCLASS); 2387 val = (((uint_t)pci_config_get8(cfg_hdl, PCI_BCNF_IO_BASE_LOW) & 2395 val = (((uint_t)pci_config_get16(cfg_hdl, PCI_BCNF_MEM_BASE) &
|
H A D | pcieb.c | 294 ddi_acc_handle_t cfg_hdl; local 310 if (sdip == cdip || pci_config_setup(sdip, &cfg_hdl) 315 bus_dev_ven_id = pci_config_get32(cfg_hdl, PCI_CONF_VENID); 317 pci_config_teardown(&cfg_hdl); 321 if (PCI_CAP_LOCATE(cfg_hdl, PCI_CAP_ID_PCI_E, &cap_ptr) 323 pci_config_teardown(&cfg_hdl); 328 sdip_dev_ctrl = PCI_CAP_GET16(cfg_hdl, NULL, cap_ptr, 337 pci_config_teardown(&cfg_hdl); 347 PCI_CAP_PUT16(cfg_hdl, NULL, cap_ptr, PCIE_DEVCTL, 356 pci_config_teardown(&cfg_hdl); 1844 pcieb_set_pci_perf_parameters(dev_info_t *dip, ddi_acc_handle_t cfg_hdl) argument [all...] |
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
H A D | myri10ge_var.h | 473 ddi_acc_handle_t cfg_hdl; member in struct:myri10ge_priv
|