Lines Matching refs:cmi_hdl_t
100 typedef struct cmi_hdl *cmi_hdl_t; /* opaque chip/core/strand handle */
115 void (*cmi_mc_logout)(cmi_hdl_t, boolean_t, boolean_t);
118 extern cmi_hdl_t cmi_init(enum cmi_hdl_class, uint_t, uint_t, uint_t);
121 extern void cmi_fini(cmi_hdl_t);
123 extern void cmi_hdl_hold(cmi_hdl_t);
124 extern void cmi_hdl_rele(cmi_hdl_t);
125 extern void *cmi_hdl_getcmidata(cmi_hdl_t);
126 extern void cmi_hdl_setspecific(cmi_hdl_t, void *);
127 extern void *cmi_hdl_getspecific(cmi_hdl_t);
128 extern const struct cmi_mc_ops *cmi_hdl_getmcops(cmi_hdl_t);
129 extern void *cmi_hdl_getmcdata(cmi_hdl_t);
130 extern enum cmi_hdl_class cmi_hdl_class(cmi_hdl_t);
132 extern cmi_hdl_t cmi_hdl_lookup(enum cmi_hdl_class, uint_t, uint_t, uint_t);
133 extern cmi_hdl_t cmi_hdl_any(void);
137 extern void cmi_hdl_walk(int (*)(cmi_hdl_t, void *, void *, void *),
140 extern void cmi_hdlconf_rdmsr_nohw(cmi_hdl_t);
141 extern void cmi_hdlconf_wrmsr_nohw(cmi_hdl_t);
142 extern cmi_errno_t cmi_hdl_rdmsr(cmi_hdl_t, uint_t, uint64_t *);
143 extern cmi_errno_t cmi_hdl_wrmsr(cmi_hdl_t, uint_t, uint64_t);
145 extern void cmi_hdl_enable_mce(cmi_hdl_t);
146 extern uint_t cmi_hdl_vendor(cmi_hdl_t);
147 extern const char *cmi_hdl_vendorstr(cmi_hdl_t);
148 extern uint_t cmi_hdl_family(cmi_hdl_t);
149 extern uint_t cmi_hdl_model(cmi_hdl_t);
150 extern uint_t cmi_hdl_stepping(cmi_hdl_t);
151 extern uint_t cmi_hdl_chipid(cmi_hdl_t);
152 extern uint_t cmi_hdl_procnodeid(cmi_hdl_t);
153 extern uint_t cmi_hdl_coreid(cmi_hdl_t);
154 extern uint_t cmi_hdl_strandid(cmi_hdl_t);
155 extern uint_t cmi_hdl_strand_apicid(cmi_hdl_t);
156 extern uint_t cmi_hdl_procnodes_per_pkg(cmi_hdl_t);
157 extern boolean_t cmi_hdl_is_cmt(cmi_hdl_t);
158 extern uint32_t cmi_hdl_chiprev(cmi_hdl_t);
159 extern const char *cmi_hdl_chiprevstr(cmi_hdl_t);
160 extern uint32_t cmi_hdl_getsockettype(cmi_hdl_t);
161 extern const char *cmi_hdl_getsocketstr(cmi_hdl_t);
162 extern id_t cmi_hdl_logical_id(cmi_hdl_t);
163 extern uint16_t cmi_hdl_smbiosid(cmi_hdl_t);
164 extern uint_t cmi_hdl_smb_chipid(cmi_hdl_t);
165 extern nvlist_t *cmi_hdl_smb_bboard(cmi_hdl_t);
167 extern int cmi_hdl_online(cmi_hdl_t, int, int *);
174 extern void cmi_ntv_hwdisable_mce(cmi_hdl_t);
182 extern cmi_errno_t cmi_hdl_msrinject(cmi_hdl_t, cmi_mca_regs_t *, uint_t,
184 extern void cmi_hdl_msrinterpose(cmi_hdl_t, cmi_mca_regs_t *, uint_t);
185 extern void cmi_hdl_msrforward(cmi_hdl_t, cmi_mca_regs_t *, uint_t);
188 extern void cmi_faulted_enter(cmi_hdl_t);
189 extern void cmi_faulted_exit(cmi_hdl_t);
203 extern void cmi_mca_init(cmi_hdl_t);
205 extern void cmi_hdl_poke(cmi_hdl_t);
206 extern void cmi_hdl_int(cmi_hdl_t, int);
212 extern void cmi_mc_register(cmi_hdl_t, const struct cmi_mc_ops *, void *);
218 extern void cmi_mc_logout(cmi_hdl_t, boolean_t, boolean_t);