Searched refs:conf_hdl (Results 1 – 4 of 4) 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; in pciide_attach() local 222 rc = pci_config_setup(dip, &conf_hdl); in pciide_attach() 231 cmdreg = pci_config_get16(conf_hdl, PCI_CONF_COMM); in pciide_attach() 233 pci_config_put16(conf_hdl, PCI_CONF_COMM, in pciide_attach() 236 pci_config_teardown(&conf_hdl); in pciide_attach() 257 if (pci_config_setup(dip, &conf_hdl) != DDI_SUCCESS) in pciide_attach() 259 cmdreg = pci_config_get16(conf_hdl, PCI_CONF_COMM); in pciide_attach() 261 pci_config_teardown(&conf_hdl); in pciide_attach()
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_pci.c | 1045 ddi_acc_handle_t conf_hdl; in ppb_pwr_setup() local 1058 conf_hdl = ppb->ppb_conf_hdl; in ppb_pwr_setup() 1063 if ((PCI_CAP_LOCATE(conf_hdl, PCI_CAP_ID_PM, &ppb->ppb_pm_cap_ptr)) in ppb_pwr_setup() 1067 pci_config_teardown(&conf_hdl); in ppb_pwr_setup() 1079 pmcsr_bse = PCI_CAP_GET8(conf_hdl, 0, ppb->ppb_pm_cap_ptr, in ppb_pwr_setup() 1082 pmcap = PCI_CAP_GET16(conf_hdl, 0, ppb->ppb_pm_cap_ptr, in ppb_pwr_setup() 1086 pci_config_teardown(&conf_hdl); in ppb_pwr_setup() 1112 pci_config_teardown(&conf_hdl); in ppb_pwr_setup() 1159 pci_config_teardown(&conf_hdl); in ppb_pwr_setup() 1174 pci_config_teardown(&conf_hdl); in ppb_pwr_setup()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | sunpci.c | 830 pci_lookup_pmcap(dev_info_t *dip, ddi_acc_handle_t conf_hdl, argument 838 header_type = pci_config_get8(conf_hdl, PCI_CONF_HEADER); 846 status = pci_config_get16(conf_hdl, PCI_CONF_STAT); 851 cap_ptr = pci_config_get8(conf_hdl, PCI_CONF_CAP_PTR); 857 cap_id = pci_config_get8(conf_hdl, cap_ptr + PCI_CAP_ID); 861 cap_ptr = pci_config_get8(conf_hdl,
|
/illumos-gate/usr/src/uts/common/io/pciex/ |
H A D | pcieb.c | 1845 ddi_acc_handle_t conf_hdl; in pcieb_pwr_setup() local 1865 conf_hdl = pwr_p->pwr_conf_hdl; in pcieb_pwr_setup() 1870 if ((PCI_CAP_LOCATE(conf_hdl, PCI_CAP_ID_PM, &cap_ptr)) == in pcieb_pwr_setup() 1874 pci_config_teardown(&conf_hdl); in pcieb_pwr_setup() 1881 pmcap = PCI_CAP_GET16(conf_hdl, 0, cap_ptr, PCI_PMCAP); in pcieb_pwr_setup() 1907 pci_config_teardown(&conf_hdl); in pcieb_pwr_setup()
|