/titanic_51/usr/src/uts/common/sys/ |
H A D | pciev.h | 132 #define PCIE_ASSIGNED_TO_FMA_DOM(bus_p) \ argument 134 #define PCIE_ASSIGNED_TO_NFMA_DOM(bus_p) \ argument 136 #define PCIE_ASSIGNED_TO_ROOT_DOM(bus_p) \ argument 138 PCIE_BDG_HAS_CHILDREN_FMA_DOM(bus_p) global() argument 140 PCIE_BDG_HAS_CHILDREN_NFMA_DOM(bus_p) global() argument 142 PCIE_BDG_HAS_CHILDREN_ROOT_DOM(bus_p) global() argument 144 PCIE_IS_ASSIGNED(bus_p) global() argument 146 PCIE_BDG_IS_UNASSIGNED(bus_p) global() argument 152 PCIE_IN_DOMAIN(bus_p,id) global() argument 155 PCIE_DOMAIN_ID_GET(bus_p) global() argument 158 PCIE_DOMAIN_ID_SET(bus_p,new_id) global() argument 161 PCIE_DOMAIN_ID_INCR_REF_COUNT(bus_p) global() argument 164 PCIE_DOMAIN_ID_DECR_REF_COUNT(bus_p) global() argument 169 PCIE_DOMAIN_LIST_GET(bus_p) global() argument 172 PCIE_DOMAIN_LIST_ADD(bus_p,domain_id) global() argument 176 PCIE_DOMAIN_LIST_REMOVE(bus_p,domain_id) global() argument 181 PCIE_BDF_LIST_GET(bus_p) global() argument 184 PCIE_BDF_LIST_ADD(bus_p,bdf) global() argument 187 PCIE_BDF_LIST_REMOVE(bus_p,bdf) global() argument [all...] |
H A D | pcie_impl.h | 59 #define PCIE_BUS2DIP(bus_p) bus_p->bus_dip argument 60 #define PCIE_BUS2PFD(bus_p) PCIE_DIP2PFD(PCIE_BUS2DIP(bus_p)) argument 61 #define PCIE_BUS2DOM(bus_p) bus_p->bus_dom argument 67 #define PCIE_IS_PCIE(bus_p) (bus_p->bus_pcie_off) argument 68 #define PCIE_IS_PCIX(bus_p) (bus_ argument 69 PCIE_IS_PCI(bus_p) global() argument 70 PCIE_HAS_AER(bus_p) global() argument 72 PCIE_IS_ROOT(bus_p) global() argument 86 PCIE_IS_RC(bus_p) global() argument 88 PCIE_IS_RP(bus_p) global() argument 91 PCIE_IS_SWU(bus_p) global() argument 93 PCIE_IS_SWD(bus_p) global() argument 95 PCIE_IS_SW(bus_p) global() argument 97 PCIE_IS_BDG(bus_p) global() argument 98 PCIE_IS_PCI_BDG(bus_p) global() argument 99 PCIE_IS_PCIE_BDG(bus_p) global() argument 101 PCIE_IS_PCI2PCIE(bus_p) global() argument 103 PCIE_IS_PCIE_SEC(bus_p) global() argument 105 PCIX_ECC_VERSION_CHECK(bus_p) global() argument 109 PCIE_VENID(bus_p) global() argument 110 PCIE_DEVID(bus_p) global() argument 113 PCIE_GET(sz,bus_p,off) global() argument 115 PCIE_PUT(sz,bus_p,off,val) global() argument 117 PCIE_CAP_GET(sz,bus_p,off) global() argument 119 PCIE_CAP_PUT(sz,bus_p,off,val) global() argument 122 PCIE_AER_GET(sz,bus_p,off) global() argument 124 PCIE_AER_PUT(sz,bus_p,off,val) global() argument 127 PCIX_CAP_GET(sz,bus_p,off) global() argument 129 PCIX_CAP_PUT(sz,bus_p,off,val) global() argument 479 PCIE_DBG_CFG(dip,bus_p,name,sz,off,org) global() argument 483 PCIE_DBG_CAP(dip,bus_p,name,sz,off,org) global() argument 487 PCIE_DBG_AER(dip,bus_p,name,sz,off,org) global() argument [all...] |
/titanic_51/usr/src/uts/common/io/pciex/hotplug/ |
H A D | pciehpc.c | 268 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pciehpc_intr() local 505 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_get_slot_state() local 561 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_set_slot_name() local 638 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_reg_get8() local 651 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_reg_get16() local 664 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_reg_get32() local 677 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_reg_put8() local 690 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_reg_put16() local 703 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_reg_put32() local 725 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_hpc_init() local 768 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_slotinfo_init() local 875 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_enable_intr() local 910 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_disable_intr() local 938 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pciehpc_create_controller() local 969 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pciehpc_destroy_controller() local 1046 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_slot_poweron() local 1202 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_slot_poweroff() local 1891 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_issue_hpc_command() local 2108 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_get_led_state() local 2148 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_set_led_state() local 2273 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pciehpc_dump_hpregs() local [all...] |
H A D | pcie_hp.c | 214 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_init() local 261 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_uninit() local 303 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hp_intr() local 470 pcie_bus_t *bus_p in pcie_hp_create_occupant_props() local 669 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_find_physical_slot() local 695 pcie_bus_t *bus_p = PCIE_DIP2BUS(pdip); pcie_hp_create_port_name_num() local 905 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_hp_common_ops() local [all...] |
H A D | pcishpc.c | 136 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_init() local 837 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_create_controller() local 935 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcishpc_destroy_controller() local 1883 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pcishpc_set_slot_name() local 2359 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pcishpc_read_reg() local 2387 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); pcishpc_write_reg() local [all...] |
/titanic_51/usr/src/uts/common/io/pciex/ |
H A D | pcie.c | 286 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hpintr_enable() local 306 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_hpintr_disable() local 328 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_open() local 357 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_close() local 443 pcie_bus_t *bus_p; pcie_init_cfghdl() local 464 pcie_bus_t *bus_p = PCIE_DIP2BUS(cdip); pcie_fini_cfghdl() local 483 pcie_bus_t *bus_p; pcie_initchild() local 632 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_init_pfd() local 716 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_fini_pfd() local 864 pcie_bus_t *bus_p; pcie_rc_init_bus() local 885 pcie_bus_t *bus_p = PCIE_DIP2DOWNBUS(dip); pcie_rc_fini_bus() local 964 pcie_bus_t *bus_p; pcie_init_bus() local 1200 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); pcie_fini_bus() local 1232 pcie_bus_t *bus_p = PCIE_DIP2BUS(cdip); pcie_postattach_child() local 1358 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_enable_errors() local 1480 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_enable_ce() local 1532 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_disable_errors() local 1720 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_is_link_disabled() local 1738 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_init_root_port_mps() local 1765 pcie_bus_t *bus_p; pcie_initchild_mps() local 2105 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); pcie_set_rber_fatal() local 2115 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); pcie_get_rber_fatal() local 2125 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_ari_supported() local 2168 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_ari_enable() local 2189 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_ari_disable() local 2210 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_ari_is_enabled() local 2328 pcie_print_bus(pcie_bus_t * bus_p) pcie_print_bus() argument [all...] |
H A D | pcie_fault.c | 167 pf_eh_enter(pcie_bus_t *bus_p) { in pf_eh_enter() argument 172 pf_eh_exit(pcie_bus_t *bus_p) in pf_eh_exit() argument 322 pcie_bus_t *bus_p; in pf_dispatch() local 402 pf_in_bus_range(pcie_bus_t * bus_p,pcie_req_id_t bdf) pf_in_bus_range() argument 420 pf_in_assigned_addr(pcie_bus_t * bus_p,uint64_t addr) pf_in_assigned_addr() argument 440 pf_in_addr_range(pcie_bus_t * bus_p,uint64_t addr) pf_in_addr_range() argument 482 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pf_is_ready() local 493 pf_pcix_ecc_regs_gather(pf_pcix_ecc_regs_t * pcix_ecc_regs,pcie_bus_t * bus_p,boolean_t bdg) pf_pcix_ecc_regs_gather() argument 518 pf_pcix_regs_gather(pf_data_t * pfd_p,pcie_bus_t * bus_p) pf_pcix_regs_gather() argument 566 pf_pcie_regs_gather(pf_data_t * pfd_p,pcie_bus_t * bus_p) pf_pcie_regs_gather() argument 660 pf_pci_regs_gather(pf_data_t * pfd_p,pcie_bus_t * bus_p) pf_pci_regs_gather() argument 695 pf_pcix_regs_clear(pf_data_t * pfd_p,pcie_bus_t * bus_p) pf_pcix_regs_clear() argument 742 pf_pcie_regs_clear(pf_data_t * pfd_p,pcie_bus_t * bus_p) pf_pcie_regs_clear() argument 784 pf_pci_regs_clear(pf_data_t * pfd_p,pcie_bus_t * bus_p) pf_pci_regs_clear() argument 804 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_clear_errors() local 815 pf_pci_find_rp_fault(pf_data_t * pfd_p,pcie_bus_t * bus_p) pf_pci_find_rp_fault() argument 909 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pf_default_hdl() local 996 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pf_init() local 1059 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pf_fini() local 1604 pcie_bus_t *bus_p = PCIE_PFD2BUS(pfd_p); pf_analyse_pci() local 2128 pcie_bus_t *bus_p = PCIE_PFD2BUS(pfd_p); pf_matched_in_rc() local 2331 pcie_bus_t *bus_p; pf_hdl_child_lookup() local 2540 pf_tlp_decode(pcie_bus_t * bus_p,pf_pcie_adv_err_regs_t * adv_reg_p) pf_tlp_decode() argument 2680 pcie_bus_t *bus_p; pf_send_ereport() local 3050 pcie_bus_t *bus_p = PCIE_PFD2BUS(pfd_p); pf_reset_pfd() local [all...] |
H A D | pciev.c | 60 pcie_bus_t *bus_p; in pcie_find_dip_by_bdf() local 125 pcie_cache_domain_info(pcie_bus_t * bus_p) pcie_cache_domain_info() argument 164 pcie_uncache_domain_info(pcie_bus_t * bus_p) pcie_uncache_domain_info() argument 217 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_init_dom() local 256 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); pcie_fini_dom() local 404 pcie_bus_t *bus_p = PCIE_PFD2BUS(pfd_p); pciev_get_affected_dev() local 483 pcie_in_domain(pcie_bus_t * bus_p,uint_t domain_id) pcie_in_domain() argument [all...] |
H A D | pcieb.c | 368 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(devi); in pcieb_attach() local 924 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcieb_is_pcie_device_type() local 1006 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); pcieb_intr_init() local 1735 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); pcieb_id_props() local [all...] |
H A D | pcie_pwr.c | 841 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_is_pcie() local
|
/titanic_51/usr/src/uts/i86pc/io/pciex/ |
H A D | pcie_x86.c | 44 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_init_plat() local 52 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_fini_plat() local
|
H A D | npe.c | 857 pcie_bus_t *bus_p; in npe_initchild() local
|
/titanic_51/usr/src/uts/sparc/io/pciex/ |
H A D | pcie_sparc.c | 35 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_init_plat() local 60 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_fini_plat() local
|
H A D | pcieb_sparc.c | 201 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcieb_attach_plx_workarounds() local 336 pcie_bus_t *bus_p = PCIE_DIP2BUS(pcieb->pcieb_dip); in plx_ro_disable() local [all...] |
/titanic_51/usr/src/uts/intel/io/pciex/ |
H A D | pcieb_x86.c | 153 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); in pcieb_plat_msi_supported() local 205 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(devi); in pcieb_init_osc() local 465 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); in pcieb_intel_serr_workaround() local 552 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); pcieb_intel_rber_workaround() local 584 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); pcieb_intel_mps_workaround() local 611 pcie_bus_t *bus_p = PCIE_DIP2UPBUS(dip); pcieb_intel_sw_workaround() local [all...] |
H A D | pcie_acpi.c | 58 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_acpi_osc() local 222 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in pcie_is_osc() local
|
H A D | pcie_nvidia.c | 180 pcie_bus_t *bus_p; in create_pcie_root_bus() local
|
/titanic_51/usr/src/uts/intel/io/pciex/hotplug/ |
H A D | pciehpc_acpi.c | 95 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_update_ops() local 230 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slotinfo_init() local 312 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slot_poweron() local 384 pcie_bus_t *bus_p = PCIE_DIP2BUS(ctrl_p->hc_dip); in pciehpc_acpi_slot_poweroff() local [all...] |
/titanic_51/usr/src/uts/sun4v/io/pciex/ |
H A D | pci_cfgacc_4v.c | 68 pcie_bus_t *bus_p; in pci_cfgacc_get() local 89 pcie_bus_t *bus_p; in pci_cfgacc_set() local
|
/titanic_51/usr/src/uts/sun4u/io/pciex/ |
H A D | pci_cfgacc_4u.c | 63 pcie_bus_t *bus_p; in pci_cfgacc_get() local 97 pcie_bus_t *bus_p; in pci_cfgacc_set() local
|
/titanic_51/usr/src/uts/sun4/io/px/ |
H A D | px.c | 231 pcie_bus_t *bus_p; in px_attach() local 319 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in px_attach() local 457 pcie_bus_t *bus_p = PCIE_DIP2BUS(dip); in px_detach() local 1436 pcie_bus_t *bus_p; in px_set_mps() local [all...] |
H A D | px_fm.c | 72 pcie_bus_t *bus_p; in px_fm_attach() local 810 pcie_bus_t *bus_p; in px_err_cfg_hdl_check() local 977 pcie_bus_t *bus_p, *root_bus_p; in px_guest_panic() local [all...] |
/titanic_51/usr/src/uts/common/sys/hotplug/pci/ |
H A D | pcie_hp.h | 91 #define PCIE_IS_PCIE_HOTPLUG_CAPABLE(bus_p) \ argument 95 #define PCIE_IS_PCI_HOTPLUG_CAPABLE(bus_p) \ argument 98 #define PCIE_IS_PCIE_HOTPLUG_ENABLED(bus_p) \ argument 102 #define PCIE_IS_PCI_HOTPLUG_ENABLED(bus_p) \ argument [all...] |
/titanic_51/usr/src/uts/sun4u/io/px/ |
H A D | px_lib4u.c | 2618 pcie_bus_t *bus_p = PCIE_DIP2BUS(px_p->px_dip); in px_hp_intr_redist() local
|