/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcmu_intr.c | 71 pcmu_t *pcmu_p = ino_p->pino_ib_p->pib_pcmu_p; local 96 cmn_err(CE_WARN, err_fmt_str, NAMEINST(pcmu_p->pcmu_dip), 132 pcmu_t *pcmu_p = ino_p->pino_ib_p->pib_pcmu_p; local 143 PCMU_DBG3(PCMU_DBG_INTR, pcmu_p->pcmu_dip, 172 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); local 173 pcmu_ib_t *pib_p = pcmu_p->pcmu_ib_p; 191 if ((mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, ino)) == 0) 214 pcmu_ib_ino_add_intr(pcmu_p, ino_p, ih_p); 278 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); local 279 pcmu_ib_t *pib_p = pcmu_p 338 pcmu_intr_teardown(pcmu_t *pcmu_p) argument [all...] |
H A D | pcmu_pbm.c | 55 pcmu_pbm_create(pcmu_t *pcmu_p) argument 59 dev_info_t *dip = pcmu_p->pcmu_dip; 66 pcmu_p->pcmu_pcbm_p = pcbm_p; 67 pcbm_p->pcbm_pcmu_p = pcmu_p; 109 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; local 113 pcmu_ib_nintr_clear(pcmu_p->pcmu_ib_p, pcmu_p->pcmu_inos[CBNINTR_PBM]); 118 mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, 119 pcmu_p->pcmu_inos[CBNINTR_PBM]); 122 (intrfunc)pcmu_pbm_error_intr, (caddr_t)pcmu_p, NUL 138 pcmu_pbm_destroy(pcmu_t *pcmu_p) argument 181 pcmu_t *pcmu_p = (pcmu_t *)a; local 229 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; local 237 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; local 248 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; local 268 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); local [all...] |
H A D | pcmu_cb.c | 43 pcmu_cb_create(pcmu_t *pcmu_p) argument 48 pcmu_p->pcmu_cb_p = pcb_p; 49 pcb_p->pcb_pcmu_p = pcmu_p; 50 pcmu_cb_setup(pcmu_p); 54 pcmu_cb_destroy(pcmu_t *pcmu_p) argument 56 pcmu_cb_t *pcb_p = pcmu_p->pcmu_cb_p; 59 pcmu_cb_teardown(pcmu_p); 60 pcmu_p->pcmu_cb_p = NULL; 96 pcmu_cb_enable_nintr(pcmu_t *pcmu_p, pcmu_cb_nintr_index_t idx) argument 98 pcmu_cb_t *pcb_p = pcmu_p [all...] |
H A D | pcmu_counters.c | 41 pcmu_kstat_create(pcmu_t *pcmu_p) argument 43 pcmu_add_upstream_kstat(pcmu_p); 47 pcmu_kstat_destroy(pcmu_t *pcmu_p) argument 49 pcmu_rem_upstream_kstat(pcmu_p); 141 kstat_t *pcmu_create_cntr_kstat(pcmu_t *pcmu_p, char *name, argument 147 dev_info_t *dip = pcmu_p->pcmu_dip; 246 pcmu_rem_upstream_kstat(pcmu_t *pcmu_p) argument 248 if (pcmu_p->pcmu_uksp != NULL) 249 kstat_delete(pcmu_p->pcmu_uksp); 250 pcmu_p [all...] |
H A D | pcmu_ecc.c | 56 pcmu_ecc_create(pcmu_t *pcmu_p) argument 58 uint64_t pcb_base_pa = pcmu_p->pcmu_cb_p->pcb_base_pa; 61 dev_info_t *dip = pcmu_p->pcmu_dip; 64 pecc_p->pecc_pcmu_p = pcmu_p; 65 pcmu_p->pcmu_pecc_p = pecc_p; 86 pcmu_ecc_configure(pcmu_p); 96 pcmu_ecc_register_intr(pcmu_t *pcmu_p) argument 98 pcmu_ecc_t *pecc_p = pcmu_p->pcmu_pecc_p; 104 ret = pcmu_ecc_add_intr(pcmu_p, CBNINTR_UE, &pecc_p->pecc_ue); 109 pcmu_ecc_destroy(pcmu_t *pcmu_p) argument 139 pcmu_ecc_configure(pcmu_t *pcmu_p) argument 167 pcmu_ecc_enable_intr(pcmu_t *pcmu_p) argument 246 pcmu_t *pcmu_p = pecc_p->pecc_pcmu_p; local 318 pcmu_t *pcmu_p; local 356 pcmu_t *pcmu_p; local 439 pcmu_t *pcmu_p = ecc_err->pecc_p->pecc_pcmu_p; local 453 pcmu_t *pcmu_p; local [all...] |
H A D | pcmu_ib.c | 46 pcmu_ib_create(pcmu_t *pcmu_p) argument 57 pcmu_p->pcmu_ib_p = pib_p; 58 pib_p->pib_pcmu_p = pcmu_p; 71 PCMU_DBG2(PCMU_DBG_ATTACH, pcmu_p->pcmu_dip, 74 PCMU_DBG2(PCMU_DBG_ATTACH, pcmu_p->pcmu_dip, 83 PCMU_DBG1(PCMU_DBG_ATTACH, pcmu_p->pcmu_dip, 84 "pcmu_ib_create: numproxy=%x\n", pcmu_p->pcmu_numproxy); 85 for (i = 1; i <= pcmu_p->pcmu_numproxy; i++) { 86 set_intr_mapping_reg(pcmu_p->pcmu_id, 95 pcmu_ib_destroy(pcmu_t *pcmu_p) argument 122 pcmu_ib_intr_enable(pcmu_t *pcmu_p, pcmu_ib_ino_t ino) argument 496 pcmu_ib_ino_add_intr(pcmu_t *pcmu_p, pcmu_ib_ino_info_t *ino_p, ih_t *ih_p) argument 584 pcmu_ib_ino_rem_intr(pcmu_t *pcmu_p, pcmu_ib_ino_info_t *ino_p, ih_t *ih_p) argument 725 pcmu_ib_update_intr_state(pcmu_t *pcmu_p, dev_info_t *rdip, ddi_intr_handle_impl_t *hdlp, uint_t new_intr_state) argument [all...] |
H A D | pcmu_util.c | 60 get_pcmu_properties(pcmu_t *pcmu_p, dev_info_t *dip) argument 67 if ((pcmu_p->pcmu_id = (uint32_t)pcmu_get_portid(dip)) == -1u) { 76 i = sizeof (pcmu_p->pcmu_bus_range); 78 "bus-range", (caddr_t)&pcmu_p->pcmu_bus_range, &i) != DDI_SUCCESS) { 85 pcmu_p->pcmu_bus_range.lo, pcmu_p->pcmu_bus_range.hi); 91 (caddr_t)&pcmu_p->pcmu_ranges, &pcmu_p->pcmu_ranges_length) != 97 pcmu_fix_ranges(pcmu_p->pcmu_ranges, 98 pcmu_p 120 free_pcmu_properties(pcmu_t *pcmu_p) argument 139 pcmu_reloc_reg(dev_info_t *dip, dev_info_t *rdip, pcmu_t *pcmu_p, pci_regspec_t *rp) argument 188 pcmu_xlate_reg(pcmu_t *pcmu_p, pci_regspec_t *pcmu_rp, struct regspec *new_rp) argument 332 pcmu_uninit_child(pcmu_t *pcmu_p, dev_info_t *child) argument 358 pcmu_init_child(pcmu_t *pcmu_p, dev_info_t *child) argument 493 pcmu_t *pcmu_p; local [all...] |
H A D | pcicmu.c | 123 static int pcmu_ctlops_poke(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args); 124 static int pcmu_ctlops_peek(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args, 138 static uint32_t pcmu_identity_init(pcmu_t *pcmu_p); 139 static int pcmu_intr_setup(pcmu_t *pcmu_p); 140 static void pcmu_pbm_errstate_get(pcmu_t *pcmu_p, 142 static int pcmu_obj_setup(pcmu_t *pcmu_p); 143 static void pcmu_obj_destroy(pcmu_t *pcmu_p); 144 static void pcmu_obj_resume(pcmu_t *pcmu_p); 145 static void pcmu_obj_suspend(pcmu_t *pcmu_p); 329 pcmu_t *pcmu_p local 355 pcmu_t *pcmu_p; local 466 pcmu_t *pcmu_p = get_pcmu_soft_state(instance); local 523 pcmu_t *pcmu_p; local 568 pcmu_t *pcmu_p; local 593 pcmu_t *pcmu_p; local 690 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); local 763 pcmu_do_poke(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args) argument 809 pcmu_ctlops_poke(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args) argument 816 pcmu_do_peek(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args) argument 842 pcmu_ctlops_peek(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args, void *result) argument 872 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); local 939 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); local 1009 pcmu_obj_setup(pcmu_t *pcmu_p) argument 1045 pcmu_obj_destroy(pcmu_t *pcmu_p) argument 1062 pcmu_obj_resume(pcmu_t *pcmu_p) argument 1083 pcmu_obj_suspend(pcmu_t *pcmu_p) argument 1095 pcmu_intr_setup(pcmu_t *pcmu_p) argument 1171 map_pcmu_registers(pcmu_t *pcmu_p, dev_info_t *dip) argument 1226 unmap_pcmu_registers(pcmu_t *pcmu_p) argument 1238 get_reg_base(pcmu_t *pcmu_p) argument 1245 get_config_reg_base(pcmu_t *pcmu_p) argument 1290 pcmu_t *pcmu_p = pib_p->pib_pcmu_p; local 1422 pcmu_cb_teardown(pcmu_t *pcmu_p) argument 1430 pcmu_ecc_add_intr(pcmu_t *pcmu_p, int inum, pcmu_ecc_intr_info_t *eii_p) argument 1446 pcmu_ecc_rem_intr(pcmu_t *pcmu_p, int inum, pcmu_ecc_intr_info_t *eii_p) argument 1459 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; local 1494 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; local 1512 pcmu_cb_setup(pcmu_t *pcmu_p) argument 1552 get_pbm_reg_base(pcmu_t *pcmu_p) argument 1560 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; local 1655 pcmu_add_upstream_kstat(pcmu_t *pcmu_p) argument 1672 u2u_ittrans_init(pcmu_t *pcmu_p, u2u_ittrans_data_t **ittrans_cookie) argument 1796 u2u_translate_tgtid(pcmu_t *pcmu_p, uint_t cpu_id, volatile uint64_t *pino_map_reg) argument 1921 pcmu_t *pcmu_p = ecc_err_p->ecc_ii_p.pecc_p->pecc_pcmu_p; local 1988 pcmu_clear_error(pcmu_t *pcmu_p, pcmu_pbm_errstate_t *pbm_err_p) argument 2010 pcmu_t *pcmu_p = (pcmu_t *)impl_data; local 2081 pcmu_check_error(pcmu_t *pcmu_p) argument 2108 pcmu_pbm_errstate_get(pcmu_t *pcmu_p, pcmu_pbm_errstate_t *pbm_err_p) argument 2148 pcmu_err_create(pcmu_t *pcmu_p) argument 2174 pcmu_err_destroy(pcmu_t *pcmu_p) argument 2188 pcmu_t *pcmu_p; local [all...] |