Searched defs:config_handle (Results 1 - 19 of 19) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_intr.c152 ddi_acc_handle_t config_handle; local
186 if (pci_config_setup(cdip, &config_handle) != DDI_SUCCESS) {
193 if (pci_config_get8(config_handle, PCI_CONF_BASCLASS)
199 pci_config_teardown(&config_handle);
H A Dpci_util.c403 ddi_acc_handle_t config_handle; local
529 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) {
539 header_type = pci_config_get8(config_handle, PCI_CONF_HEADER);
557 command = pci_config_get16(config_handle, PCI_CONF_COMM);
560 pci_config_put16(config_handle, PCI_CONF_COMM, command);
561 command = pci_config_get16(config_handle, PCI_CONF_COMM);
564 pci_config_get16(config_handle, PCI_CONF_COMM));
571 bcr = pci_config_get8(config_handle, PCI_BCNF_BCNTRL);
577 pci_config_put8(config_handle, PCI_BCNF_BCNTRL, bcr);
587 pci_config_put8(config_handle, PCI_CONF_CACHE_LINES
[all...]
H A Dsimba.c254 ddi_acc_handle_t config_handle; member in struct:__anon9791
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,
699 ddi_acc_handle_t config_handle; local
[all...]
H A Ddb21554.c315 static void db_pci_get_header(ddi_acc_handle_t config_handle,
317 static void db_pci_get_conf_regs(ddi_acc_handle_t config_handle,
1450 ddi_acc_handle_t config_handle; local
1495 (void) pci_config_setup(child_dip, &config_handle);
1496 db_pci_get_header(config_handle, &pci_data.pri_hdr, 0);
1500 db_pci_get_header(config_handle,
1502 db_pci_get_conf_regs(config_handle,
1505 pci_config_teardown(&config_handle);
1613 db_pci_get_header(ddi_acc_handle_t config_handle, db_pci_header_t *ph, argument
1616 ph->venid = pci_config_get16(config_handle, hdr_of
1654 db_pci_get_conf_regs(ddi_acc_handle_t config_handle, db_conf_regs_t *cr) argument
2253 ddi_acc_handle_t config_handle; local
2449 ddi_acc_handle_t config_handle; local
2533 ddi_acc_handle_t config_handle; local
[all...]
H A Dpci_pci.c374 ddi_acc_handle_t config_handle; local
396 if (pci_config_setup(devi, &config_handle) != DDI_SUCCESS) {
418 pci_config_get8(config_handle, PCI_CONF_CACHE_LINESZ);
420 pci_config_get8(config_handle, PCI_CONF_LATENCY_TIMER);
429 ppb_create_ranges_prop(devi, config_handle);
432 pci_config_teardown(&config_handle);
789 ddi_acc_handle_t config_handle; local
884 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) {
895 header_type = pci_config_get8(config_handle, PCI_CONF_HEADER);
902 command = pci_config_get16(config_handle, PCI_CONF_COM
1477 ppb_create_ranges_prop(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcmu_util.c361 ddi_acc_handle_t config_handle; local
387 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) {
395 header_type = pci_config_get8(config_handle, PCI_CONF_HEADER);
404 bcr = pci_config_get8(config_handle, PCI_BCNF_BCNTRL);
410 pci_config_put8(config_handle, PCI_BCNF_BCNTRL, bcr);
413 pci_config_teardown(&config_handle);
/illumos-gate/usr/src/uts/sparc/io/pciex/
H A Dpcieb_sparc.c123 pcieb_plat_pcishpc_probe(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
126 if ((PCI_CAP_LOCATE(config_handle, PCI_CAP_ID_PCI_HOTPLUG, &cap_ptr)) !=
202 ddi_acc_handle_t config_handle = bus_p->bus_cfg_hdl; local
237 primary = pci_config_get8(config_handle, PCI_BCNF_PRIBUS);
238 secondary = pci_config_get8(config_handle, PCI_BCNF_SECBUS);
240 pci_config_put16(config_handle, PCI_BCNF_PRIBUS, bus_num);
255 pci_config_put16(config_handle, PCI_CONF_COMM,
256 pci_config_get16(config_handle, PCI_CONF_COMM) |
280 ddi_acc_handle_t config_handle; local
304 if (pci_config_setup(child, &config_handle) !
[all...]
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c1750 ddi_acc_handle_t config_handle; local
1765 if (pci_config_setup(next, &config_handle) != DDI_SUCCESS) {
1771 cardbus_dump(spcfg, config_handle);
1772 pci_config_teardown(&config_handle);
1782 ddi_acc_handle_t config_handle; local
1784 if (pci_config_setup(dip, &config_handle) != DDI_SUCCESS) {
1791 cardbus_dump(spcfg, config_handle);
1793 pci_config_teardown(&config_handle);
H A Dcardbus.c1097 ddi_acc_handle_t config_handle; local
1118 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS)
1126 header_type = pci_config_get8(config_handle, PCI_CONF_HEADER);
1140 command = pci_config_get16(config_handle, PCI_CONF_COMM);
1143 pci_config_put16(config_handle, PCI_CONF_COMM, command);
1144 command = pci_config_get16(config_handle, PCI_CONF_COMM);
1152 bcr = pci_config_get8(config_handle, PCI_BCNF_BCNTRL);
1158 pci_config_put8(config_handle, PCI_BCNF_BCNTRL, bcr);
1168 pci_config_put8(config_handle, PCI_CONF_CACHE_LINESZ,
1170 n = pci_config_get8(config_handle, PCI_CONF_CACHE_LINES
[all...]
H A Dcardbus_cfg.c205 ddi_acc_handle_t config_handle);
211 ddi_acc_handle_t config_handle);
212 static void cardbus_set_bus_numbers(ddi_acc_handle_t config_handle,
215 ddi_acc_handle_t config_handle);
217 ddi_acc_handle_t config_handle);
219 ddi_acc_handle_t config_handle);
221 ddi_acc_handle_t config_handle);
223 ddi_acc_handle_t config_handle);
225 static void disable_cardbus_device(ddi_acc_handle_t config_handle);
233 static void cardbus_dump_common_config(ddi_acc_handle_t config_handle);
434 ddi_acc_handle_t config_handle; local
2360 ddi_acc_handle_t config_handle; local
2493 ddi_acc_handle_t config_handle; local
3596 cardbus_set_standard_props(dev_info_t *parent, dev_info_t *dip, ddi_acc_handle_t config_handle) argument
3841 cardbus_set_childnode_props(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
3972 cardbus_set_bus_numbers(ddi_acc_handle_t config_handle, uint_t primary, uint_t secondary) argument
3998 enable_pci_isa_bridge(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
4026 enable_pci_pci_bridge(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
4075 enable_cardbus_bridge(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
4135 disable_pci_pci_bridge(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
4164 disable_cardbus_bridge(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
4196 enable_cardbus_device(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
4217 disable_cardbus_device(ddi_acc_handle_t config_handle) argument
4320 cardbus_dump_common_config(ddi_acc_handle_t config_handle) argument
4355 cardbus_dump_device_config(ddi_acc_handle_t config_handle) argument
4390 cardbus_dump_bridge_config(ddi_acc_handle_t config_handle, uint8_t header_type) argument
4484 cardbus_dump_config(ddi_acc_handle_t config_handle) argument
[all...]
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci.c655 ddi_acc_handle_t config_handle; local
726 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS)
734 command = pci_config_get16(config_handle, PCI_CONF_COMM);
737 pci_config_put16(config_handle, PCI_CONF_COMM, command);
739 pci_config_teardown(&config_handle);
/illumos-gate/usr/src/uts/sun4u/io/i2c/nexus/
H A Dsmbus.c739 ddi_acc_handle_t config_handle = smbus->smbus_confighandle; local
751 (void) ddi_get8(config_handle, &config_addr[0]);
/illumos-gate/usr/src/uts/intel/io/pci/
H A Dpci_pci.c284 ddi_acc_handle_t config_handle; local
330 if (pci_config_setup(devi, &config_handle) != DDI_SUCCESS) {
358 (void) ppb_ht_msimap_set(config_handle,
361 (void) ppb_ht_msimap_set(config_handle,
364 pci_config_teardown(&config_handle);
632 ddi_acc_handle_t config_handle; local
707 if (pci_config_setup(child, &config_handle) != DDI_SUCCESS) {
717 command = pci_config_get16(config_handle, PCI_CONF_COMM);
720 pci_config_put16(config_handle, PCI_CONF_COMM, command);
722 pci_config_teardown(&config_handle);
767 ddi_acc_handle_t config_handle; local
805 ddi_acc_handle_t config_handle; local
[all...]
/illumos-gate/usr/src/uts/intel/io/pciex/
H A Dpcieb_x86.c112 pcieb_plat_pcishpc_probe(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
/illumos-gate/usr/src/uts/common/io/hotplug/pcihp/
H A Dpcihp.c3525 ddi_acc_handle_t config_handle, uint8_t *hs_csr)
3532 pcihp_get_hs_csr_location(config_handle);
3537 *hs_csr = pci_config_get8(config_handle, slotinfop->hs_csr_location);
3547 ddi_acc_handle_t config_handle, uint8_t *hs_csr)
3553 pcihp_get_hs_csr_location(config_handle);
3557 pci_config_put8(config_handle, slotinfop->hs_csr_location, *hs_csr);
3559 pci_config_get8(config_handle, slotinfop->hs_csr_location)));
3563 pcihp_get_hs_csr_location(ddi_acc_handle_t config_handle) argument
3576 status = pci_config_get16(config_handle, PCI_CONF_STAT);
3581 cap_id_loc = pci_config_get8(config_handle, PCI_CONF_EXTCA
3524 pcihp_get_hs_csr(struct pcihp_slotinfo *slotinfop, ddi_acc_handle_t config_handle, uint8_t *hs_csr) argument
3546 pcihp_set_hs_csr(struct pcihp_slotinfo *slotinfop, ddi_acc_handle_t config_handle, uint8_t *hs_csr) argument
3619 ddi_acc_handle_t config_handle; local
[all...]
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie.c1898 ddi_acc_handle_t config_handle; local
1926 &config_handle) != DDI_SUCCESS) {
1932 if ((PCI_CAP_LOCATE(config_handle, PCI_CAP_ID_PCI_E, &cap_ptr)) ==
1937 max_supported = PCI_CAP_GET16(config_handle, NULL, cap_ptr,
1947 pcie_unmap_phys(&config_handle, reg);
1967 ddi_acc_handle_t config_handle; local
1976 if (pci_config_setup(cdip, &config_handle) != DDI_SUCCESS)
1979 if ((PCI_CAP_LOCATE(config_handle, PCI_CAP_ID_PCI_E,
1981 pci_config_teardown(&config_handle);
1985 port_type = PCI_CAP_GET16(config_handle, NUL
[all...]
H A Dpcieb.c369 ddi_acc_handle_t config_handle = bus_p->bus_cfg_hdl; local
453 pcieb_create_ranges_prop(devi, config_handle);
457 pcieb_set_pci_perf_parameters(devi, config_handle);
1736 ddi_acc_handle_t config_handle = bus_p->bus_cfg_hdl; local
1753 if ((fic == 0) && ((PCI_CAP_LOCATE(config_handle,
1755 uint8_t esr = PCI_CAP_GET8(config_handle, NULL,
1761 if ((PCI_CAP_LOCATE(config_handle,
1764 serialid = PCI_XCAP_GET32(config_handle, NULL,
1767 serialid |= PCI_XCAP_GET32(config_handle, NULL,
1781 ddi_acc_handle_t config_handle)
1780 pcieb_create_ranges_prop(dev_info_t *dip, ddi_acc_handle_t config_handle) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/hotplug/pcicfg/
H A Dpcicfg.c281 static void pcicfg_dump_common_config(ddi_acc_handle_t config_handle);
283 static void pcicfg_dump_bridge_config(ddi_acc_handle_t config_handle);
392 pcicfg_dump_common_config(ddi_acc_handle_t config_handle) argument
397 pci_config_get16(config_handle, PCI_CONF_VENID));
399 pci_config_get16(config_handle, PCI_CONF_DEVID));
401 pci_config_get16(config_handle, PCI_CONF_COMM));
403 pci_config_get16(config_handle, PCI_CONF_STAT));
405 pci_config_get8(config_handle, PCI_CONF_REVID));
407 pci_config_get8(config_handle, PCI_CONF_PROGCLASS));
409 pci_config_get8(config_handle, PCI_CONF_SUBCLAS
426 pcicfg_dump_device_config(ddi_acc_handle_t config_handle) argument
459 pcicfg_dump_bridge_config(ddi_acc_handle_t config_handle) argument
791 ddi_acc_handle_t config_handle; local
1250 ddi_acc_handle_t config_handle; local
1338 ddi_acc_handle_t config_handle; local
3160 pcicfg_device_on(ddi_acc_handle_t config_handle) argument
3172 pcicfg_device_off(ddi_acc_handle_t config_handle) argument
3185 pcicfg_set_standard_props(dev_info_t *dip, ddi_acc_handle_t config_handle, uint8_t pcie_dev) argument
3357 pcicfg_set_childnode_props(dev_info_t *dip, ddi_acc_handle_t config_handle, uint8_t pcie_dev) argument
3518 pcicfg_set_bus_numbers(ddi_acc_handle_t config_handle, uint_t primary, uint_t secondary, uint_t subordinate) argument
3677 ddi_acc_handle_t config_handle; local
3850 pcicfg_populate_reg_props(dev_info_t *new_child, ddi_acc_handle_t config_handle) argument
3932 pcicfg_populate_props_from_bar(dev_info_t *new_child, ddi_acc_handle_t config_handle) argument
[all...]
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c335 static void pcicfg_dump_common_config(ddi_acc_handle_t config_handle);
338 static void pcicfg_dump_bridge_config(ddi_acc_handle_t config_handle);
421 pcicfg_dump_common_config(ddi_acc_handle_t config_handle) argument
426 pci_config_get16(config_handle, PCI_CONF_VENID));
428 pci_config_get16(config_handle, PCI_CONF_DEVID));
430 pci_config_get16(config_handle, PCI_CONF_COMM));
432 pci_config_get16(config_handle, PCI_CONF_STAT));
434 pci_config_get8(config_handle, PCI_CONF_REVID));
436 pci_config_get8(config_handle, PCI_CONF_PROGCLASS));
438 pci_config_get8(config_handle, PCI_CONF_SUBCLAS
455 pcicfg_dump_device_config(ddi_acc_handle_t config_handle) argument
488 pcicfg_dump_bridge_config(ddi_acc_handle_t config_handle) argument
912 ddi_acc_handle_t config_handle; local
1329 ddi_acc_handle_t config_handle; local
1440 ddi_acc_handle_t config_handle; local
1673 ddi_acc_handle_t config_handle; local
3381 pcicfg_device_on(ddi_acc_handle_t config_handle) argument
3393 pcicfg_device_off(ddi_acc_handle_t config_handle) argument
3406 pcicfg_set_standard_props(dev_info_t *dip, ddi_acc_handle_t config_handle, uint8_t pcie_dev) argument
3600 pcicfg_set_childnode_props(dev_info_t *dip, ddi_acc_handle_t config_handle, uint8_t pcie_dev) argument
3776 pcicfg_set_bus_numbers(ddi_acc_handle_t config_handle, uint_t primary, uint_t secondary, uint_t subordinate) argument
4010 ddi_acc_handle_t config_handle; local
4196 pcicfg_populate_reg_props(dev_info_t *new_child, ddi_acc_handle_t config_handle) argument
4784 pcicfg_populate_props_from_bar(dev_info_t *new_child, ddi_acc_handle_t config_handle) argument
[all...]

Completed in 2303 milliseconds