Searched defs:conf_handle (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Ddb21554_ctrl.h111 ddi_acc_handle_t conf_handle; /* config space handle */ member in struct:db_ctrl
/illumos-gate/usr/src/uts/sun4/io/
H A Debus.c866 ddi_acc_handle_t conf_handle; local
891 if (pci_config_setup(ebus_p->dip, &conf_handle) != DDI_SUCCESS)
894 comm = pci_config_get16(conf_handle, PCI_CONF_COMM),
900 pci_config_put16(conf_handle, PCI_CONF_COMM, comm),
904 pci_config_put8(conf_handle, PCI_CONF_CACHE_LINESZ,
906 pci_config_put8(conf_handle, PCI_CONF_LATENCY_TIMER,
908 pci_config_teardown(&conf_handle);
/illumos-gate/usr/src/uts/sun4u/io/
H A Dsbbc.c980 ddi_acc_handle_t conf_handle; local
990 if (pci_config_setup(sbbcsoftp->dip, &conf_handle) != DDI_SUCCESS)
993 vendid = pci_config_get16(conf_handle, PCI_CONF_VENID);
994 devid = pci_config_get16(conf_handle, PCI_CONF_DEVID);
995 comm = pci_config_get16(conf_handle, PCI_CONF_COMM);
996 stat = pci_config_get16(conf_handle, PCI_CONF_STAT);
997 revid = pci_config_get8(conf_handle, PCI_CONF_REVID);
1009 pci_config_put16(conf_handle, PCI_CONF_COMM, comm);
1011 comm = pci_config_get16(conf_handle, PCI_CONF_COMM);
1018 pci_config_teardown(&conf_handle);
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/io/
H A Dacebus.c775 ddi_acc_handle_t conf_handle; local
792 if (pci_config_setup(ebus_p->dip, &conf_handle) != DDI_SUCCESS)
795 comm = pci_config_get16(conf_handle, PCI_CONF_COMM),
801 pci_config_put16(conf_handle, PCI_CONF_COMM, comm),
804 pci_config_get16(conf_handle, PCI_CONF_COMM));
806 pci_config_put8(conf_handle, PCI_CONF_CACHE_LINESZ,
808 pci_config_put8(conf_handle, PCI_CONF_LATENCY_TIMER,
810 pci_config_teardown(&conf_handle);
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c1844 ddi_acc_handle_t conf_handle; local
1920 conf_handle = adapter->pci_cfg_handle;
1923 &conf_handle)) != DDI_SUCCESS) {
1929 adapter->pci_cfg_handle = conf_handle;
1934 *ptr1 = (char)pci_config_get8(conf_handle, data.off);
1938 *ptr2 = (short)pci_config_get16(conf_handle, data.off);
1942 *ptr4 = (int)pci_config_get32(conf_handle, data.off);
1951 conf_handle = adapter->pci_cfg_handle;
1953 &conf_handle)) != DDI_SUCCESS) {
1958 adapter->pci_cfg_handle = conf_handle;
[all...]
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe.c2081 ddi_acc_handle_t conf_handle; local
2104 if (pci_config_setup(dip, &conf_handle) != DDI_SUCCESS) {
2110 vid = pci_config_get16(conf_handle, PCI_CONF_VENID);
2111 did = pci_config_get16(conf_handle, PCI_CONF_DEVID);
2112 rev = pci_config_get16(conf_handle, PCI_CONF_REVID);
2114 iline = pci_config_get32(conf_handle, PCI_CONF_ILINE);
2115 latim = pci_config_get8(conf_handle, PCI_CONF_LATENCY_TIMER);
2131 pci_config_teardown(&conf_handle);
2135 pci_config_put16(conf_handle, PCI_CONF_COMM,
2137 pci_config_get16(conf_handle, PCI_CONF_COM
[all...]
H A Dsfe_util.c5273 ddi_acc_handle_t conf_handle, uint8_t target)
5279 pci_cap_ptr = pci_config_get8(conf_handle, PCI_CONF_CAP_PTR);
5282 pci_cap = pci_config_get32(conf_handle, pci_cap_ptr);
5295 ddi_acc_handle_t conf_handle, uint_t new_mode)
5308 pci_cap_ptr = gem_search_pci_cap(dip, conf_handle, PCI_CAP_ID_PM);
5318 pmcsr = pci_config_get32(conf_handle, pci_cap_ptr + PCI_PMCSR);
5333 pci_config_put32(conf_handle, pci_cap_ptr + PCI_PMCSR, pmcsr);
5272 gem_search_pci_cap(dev_info_t *dip, ddi_acc_handle_t conf_handle, uint8_t target) argument
5294 gem_pci_set_power_state(dev_info_t *dip, ddi_acc_handle_t conf_handle, uint_t new_mode) argument

Completed in 79 milliseconds