Lines Matching defs:config_handle
254 ddi_acc_handle_t config_handle;
413 if (pci_config_setup(devi, &simba->config_handle) !=
425 pci_config_get8(simba->config_handle,
428 pci_config_get8(simba->config_handle,
432 pci_config_put16(simba->config_handle, 0x6, 0xffff);
433 pci_config_put16(simba->config_handle, 0x1e, 0xffff);
488 pci_config_teardown(&simba->config_handle);
529 simba_err.afsr = pci_config_get64(simba->config_handle, 0xe8);
530 simba_err.afar = pci_config_get64(simba->config_handle, 0xf0);
540 pci_config_put64(simba->config_handle, 0xe8, simba_err.afsr);
699 ddi_acc_handle_t config_handle;
771 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) {
781 header_type = pci_config_get8(config_handle, PCI_CONF_HEADER);
788 command = pci_config_get16(config_handle, PCI_CONF_COMM);
791 pci_config_put16(config_handle, PCI_CONF_COMM, command);
794 pci_config_put16(config_handle, PCI_CONF_STAT, 0xffff);
802 pci_config_get16(config_handle, PCI_BCNF_BCNTRL);
808 pci_config_put8(config_handle, PCI_BCNF_BCNTRL, bcr);
819 pci_config_put8(config_handle, PCI_CONF_CACHE_LINESZ,
821 n = pci_config_get8(config_handle, PCI_CONF_CACHE_LINESZ);
836 pci_config_put8(config_handle, PCI_BCNF_LATENCY_TIMER,
839 min_gnt = pci_config_get8(config_handle,
843 pci_config_put8(config_handle, PCI_CONF_LATENCY_TIMER,
845 n = pci_config_get8(config_handle, PCI_CONF_LATENCY_TIMER);
851 pci_config_teardown(&config_handle);