Searched refs:conf_hdl (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/io/pci-ide/ |
H A D | pci-ide.c | 213 ddi_acc_handle_t conf_hdl = NULL; local 222 rc = pci_config_setup(dip, &conf_hdl); 231 cmdreg = pci_config_get16(conf_hdl, PCI_CONF_COMM); 233 pci_config_put16(conf_hdl, PCI_CONF_COMM, 236 pci_config_teardown(&conf_hdl); 257 if (pci_config_setup(dip, &conf_hdl) != DDI_SUCCESS) 259 cmdreg = pci_config_get16(conf_hdl, PCI_CONF_COMM); 261 pci_config_teardown(&conf_hdl);
|
/illumos-gate/usr/src/uts/intel/io/drm/ |
H A D | i915_drv.c | 677 ddi_acc_handle_t conf_hdl; local 681 if (pci_config_setup(dev->dip, &conf_hdl) != DDI_SUCCESS) { 690 pci_config_put8(conf_hdl, LBB, s3_priv->saveLBB); 722 (void) pci_config_teardown(&conf_hdl); 732 ddi_acc_handle_t conf_hdl; local 736 if (pci_config_setup(dev->dip, &conf_hdl) != DDI_SUCCESS) { 745 s3_priv->saveLBB = pci_config_get8(conf_hdl, LBB); 783 (void) pci_config_teardown(&conf_hdl);
|
H A D | i915_gem.c | 809 ddi_acc_handle_t conf_hdl; local 817 if (pci_config_setup(dev->dip, &conf_hdl) != DDI_SUCCESS) { 827 gdrst = pci_config_get8(conf_hdl, GDRST); 828 pci_config_put8(conf_hdl, GDRST, gdrst | flags); 830 pci_config_put8(conf_hdl, GDRST, gdrst | 0xfe); 835 gdrst = pci_config_get8(conf_hdl, GDRST);
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_pci.c | 1045 ddi_acc_handle_t conf_hdl; local 1058 conf_hdl = ppb->ppb_conf_hdl; 1063 if ((PCI_CAP_LOCATE(conf_hdl, PCI_CAP_ID_PM, &ppb->ppb_pm_cap_ptr)) 1067 pci_config_teardown(&conf_hdl); 1079 pmcsr_bse = PCI_CAP_GET8(conf_hdl, NULL, ppb->ppb_pm_cap_ptr, 1082 pmcap = PCI_CAP_GET16(conf_hdl, NULL, ppb->ppb_pm_cap_ptr, 1086 pci_config_teardown(&conf_hdl); 1112 pci_config_teardown(&conf_hdl); 1159 pci_config_teardown(&conf_hdl); 1174 pci_config_teardown(&conf_hdl); [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpci.c | 928 pci_lookup_pmcap(dev_info_t *dip, ddi_acc_handle_t conf_hdl, argument 936 header_type = pci_config_get8(conf_hdl, PCI_CONF_HEADER); 944 status = pci_config_get16(conf_hdl, PCI_CONF_STAT); 949 cap_ptr = pci_config_get8(conf_hdl, PCI_CONF_CAP_PTR); 955 cap_id = pci_config_get8(conf_hdl, cap_ptr + PCI_CAP_ID); 959 cap_ptr = pci_config_get8(conf_hdl,
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.c | 1540 ddi_acc_handle_t conf_hdl; local 1560 conf_hdl = pwr_p->pwr_conf_hdl; 1565 if ((PCI_CAP_LOCATE(conf_hdl, PCI_CAP_ID_PM, &cap_ptr)) == 1569 pci_config_teardown(&conf_hdl); 1576 pmcap = PCI_CAP_GET16(conf_hdl, NULL, cap_ptr, PCI_PMCAP); 1602 pci_config_teardown(&conf_hdl);
|
Completed in 78 milliseconds