Home
last modified time | relevance | path

Searched refs:pcmu_p (Results 1 – 14 of 14) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/opl/io/pcicmu/
H A Dpcicmu.c123 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 = get_pcmu_soft_state(instance); in pcmu_info() local
[all …]
H A Dpcmu_pbm.c55 pcmu_pbm_create(pcmu_t *pcmu_p) in pcmu_pbm_create() argument
59 dev_info_t *dip = pcmu_p->pcmu_dip; in pcmu_pbm_create()
66 pcmu_p->pcmu_pcbm_p = pcbm_p; in pcmu_pbm_create()
67 pcbm_p->pcbm_pcmu_p = pcmu_p; in pcmu_pbm_create()
109 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; in pcmu_pbm_register_intr() local
113 pcmu_ib_nintr_clear(pcmu_p->pcmu_ib_p, pcmu_p->pcmu_inos[CBNINTR_PBM]); in pcmu_pbm_register_intr()
118 mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, in pcmu_pbm_register_intr()
119 pcmu_p->pcmu_inos[CBNINTR_PBM]); in pcmu_pbm_register_intr()
122 (intrfunc)pcmu_pbm_error_intr, (caddr_t)pcmu_p, NULL, NULL) == 0); in pcmu_pbm_register_intr()
138 pcmu_pbm_destroy(pcmu_t *pcmu_p) in pcmu_pbm_destroy() argument
[all …]
H A Dpcmu_ecc.c56 pcmu_ecc_create(pcmu_t *pcmu_p) in pcmu_ecc_create() argument
58 uint64_t pcb_base_pa = pcmu_p->pcmu_cb_p->pcb_base_pa; in pcmu_ecc_create()
61 dev_info_t *dip = pcmu_p->pcmu_dip; in pcmu_ecc_create()
64 pecc_p->pecc_pcmu_p = pcmu_p; in pcmu_ecc_create()
65 pcmu_p->pcmu_pecc_p = pecc_p; in pcmu_ecc_create()
86 pcmu_ecc_configure(pcmu_p); in pcmu_ecc_create()
96 pcmu_ecc_register_intr(pcmu_t *pcmu_p) in pcmu_ecc_register_intr() argument
98 pcmu_ecc_t *pecc_p = pcmu_p->pcmu_pecc_p; in pcmu_ecc_register_intr()
104 ret = pcmu_ecc_add_intr(pcmu_p, CBNINTR_UE, &pecc_p->pecc_ue); in pcmu_ecc_register_intr()
109 pcmu_ecc_destroy(pcmu_t *pcmu_p) in pcmu_ecc_destroy() argument
[all …]
H A Dpcmu_util.c60 get_pcmu_properties(pcmu_t *pcmu_p, dev_info_t *dip) in get_pcmu_properties() argument
67 if ((pcmu_p->pcmu_id = (uint32_t)pcmu_get_portid(dip)) == -1u) { in get_pcmu_properties()
76 i = sizeof (pcmu_p->pcmu_bus_range); in get_pcmu_properties()
78 "bus-range", (caddr_t)&pcmu_p->pcmu_bus_range, &i) != DDI_SUCCESS) { in get_pcmu_properties()
85 pcmu_p->pcmu_bus_range.lo, pcmu_p->pcmu_bus_range.hi); in get_pcmu_properties()
91 (caddr_t)&pcmu_p->pcmu_ranges, &pcmu_p->pcmu_ranges_length) != in get_pcmu_properties()
97 pcmu_fix_ranges(pcmu_p->pcmu_ranges, in get_pcmu_properties()
98 pcmu_p->pcmu_ranges_length / sizeof (pcmu_ranges_t)); in get_pcmu_properties()
103 pcmu_p->pcmu_numproxy = pcmu_get_numproxy(pcmu_p->pcmu_dip); in get_pcmu_properties()
105 pcmu_p->pcmu_numproxy); in get_pcmu_properties()
[all …]
H A Dpcmu_intr.c71 pcmu_t *pcmu_p = ino_p->pino_ib_p->pib_pcmu_p; in pcmu_spurintr() local
96 cmn_err(CE_WARN, err_fmt_str, NAMEINST(pcmu_p->pcmu_dip), in pcmu_spurintr()
132 pcmu_t *pcmu_p = ino_p->pino_ib_p->pib_pcmu_p; in pcmu_intr_wrapper() local
143 PCMU_DBG3(PCMU_DBG_INTR, pcmu_p->pcmu_dip, in pcmu_intr_wrapper()
172 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); in pcmu_add_intr() local
173 pcmu_ib_t *pib_p = pcmu_p->pcmu_ib_p; in pcmu_add_intr()
191 if ((mondo = PCMU_IB_INO_TO_MONDO(pcmu_p->pcmu_ib_p, ino)) == 0) in pcmu_add_intr()
214 pcmu_ib_ino_add_intr(pcmu_p, ino_p, ih_p); in pcmu_add_intr()
278 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); in pcmu_remove_intr() local
279 pcmu_ib_t *pib_p = pcmu_p->pcmu_ib_p; in pcmu_remove_intr()
[all …]
H A Dpcmu_ib.c46 pcmu_ib_create(pcmu_t *pcmu_p) in pcmu_ib_create() argument
57 pcmu_p->pcmu_ib_p = pib_p; in pcmu_ib_create()
58 pib_p->pib_pcmu_p = pcmu_p; in pcmu_ib_create()
71 PCMU_DBG2(PCMU_DBG_ATTACH, pcmu_p->pcmu_dip, in pcmu_ib_create()
74 PCMU_DBG2(PCMU_DBG_ATTACH, pcmu_p->pcmu_dip, in pcmu_ib_create()
83 PCMU_DBG1(PCMU_DBG_ATTACH, pcmu_p->pcmu_dip, in pcmu_ib_create()
84 "pcmu_ib_create: numproxy=%x\n", pcmu_p->pcmu_numproxy); in pcmu_ib_create()
85 for (i = 1; i <= pcmu_p->pcmu_numproxy; i++) { in pcmu_ib_create()
86 set_intr_mapping_reg(pcmu_p->pcmu_id, in pcmu_ib_create()
95 pcmu_ib_destroy(pcmu_t *pcmu_p) in pcmu_ib_destroy() argument
[all …]
H A Dpcmu_counters.c39 pcmu_kstat_create(pcmu_t *pcmu_p) in pcmu_kstat_create() argument
41 pcmu_add_upstream_kstat(pcmu_p); in pcmu_kstat_create()
45 pcmu_kstat_destroy(pcmu_t *pcmu_p) in pcmu_kstat_destroy() argument
47 pcmu_rem_upstream_kstat(pcmu_p); in pcmu_kstat_destroy()
139 kstat_t *pcmu_create_cntr_kstat(pcmu_t *pcmu_p, char *name, in pcmu_create_cntr_kstat() argument
145 dev_info_t *dip = pcmu_p->pcmu_dip; in pcmu_create_cntr_kstat()
244 pcmu_rem_upstream_kstat(pcmu_t *pcmu_p) in pcmu_rem_upstream_kstat() argument
246 if (pcmu_p->pcmu_uksp != NULL) in pcmu_rem_upstream_kstat()
247 kstat_delete(pcmu_p->pcmu_uksp); in pcmu_rem_upstream_kstat()
248 pcmu_p->pcmu_uksp = NULL; in pcmu_rem_upstream_kstat()
H A Dpcmu_cb.c43 pcmu_cb_create(pcmu_t *pcmu_p) in pcmu_cb_create() argument
48 pcmu_p->pcmu_cb_p = pcb_p; in pcmu_cb_create()
49 pcb_p->pcb_pcmu_p = pcmu_p; in pcmu_cb_create()
50 pcmu_cb_setup(pcmu_p); in pcmu_cb_create()
54 pcmu_cb_destroy(pcmu_t *pcmu_p) in pcmu_cb_destroy() argument
56 pcmu_cb_t *pcb_p = pcmu_p->pcmu_cb_p; in pcmu_cb_destroy()
59 pcmu_cb_teardown(pcmu_p); in pcmu_cb_destroy()
60 pcmu_p->pcmu_cb_p = NULL; in pcmu_cb_destroy()
96 pcmu_cb_enable_nintr(pcmu_t *pcmu_p, pcmu_cb_nintr_index_t idx) in pcmu_cb_enable_nintr() argument
98 pcmu_cb_t *pcb_p = pcmu_p->pcmu_cb_p; in pcmu_cb_enable_nintr()
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_ecc.h60 extern void pcmu_ecc_create(pcmu_t *pcmu_p);
61 extern int pcmu_ecc_register_intr(pcmu_t *pcmu_p);
62 extern void pcmu_ecc_destroy(pcmu_t *pcmu_p);
63 extern void pcmu_ecc_configure(pcmu_t *pcmu_p);
64 extern void pcmu_ecc_enable_intr(pcmu_t *pcmu_p);
H A Dpcmu_ib.h138 extern void pcmu_ib_create(pcmu_t *pcmu_p);
139 extern void pcmu_ib_destroy(pcmu_t *pcmu_p);
142 extern void pcmu_ib_intr_enable(pcmu_t *pcmu_p, pcmu_ib_ino_t ino);
153 extern int pcmu_ib_update_intr_state(pcmu_t *pcmu_p, dev_info_t *rdip,
155 extern void pcmu_ib_ino_add_intr(pcmu_t *pcmu_p,
157 extern int pcmu_ib_ino_rem_intr(pcmu_t *pcmu_p,
H A Dpcmu_cb.h67 extern void pcmu_cb_create(pcmu_t *pcmu_p);
68 extern void pcmu_cb_destroy(pcmu_t *pcmu_p);
71 extern void pcmu_cb_enable_nintr(pcmu_t *pcmu_p, pcmu_cb_nintr_index_t idx);
H A Dpcmu_pbm.h85 extern void pcmu_pbm_create(pcmu_t *pcmu_p);
86 extern void pcmu_pbm_destroy(pcmu_t *pcmu_p);
H A Dpcmu_err.h125 extern void pcmu_fm_create(pcmu_t *pcmu_p);
126 extern void pcmu_fm_destroy(pcmu_t *pcmu_p);
H A Dpcicmu.h442 extern void pcmu_intr_teardown(pcmu_t *pcmu_p);
446 void pcmu_err_create(pcmu_t *pcmu_p);
447 void pcmu_err_destroy(pcmu_t *pcmu_p);