Lines Matching defs:cmi_hdl_t

102 typedef struct cmi_hdl *cmi_hdl_t;	/* opaque chip/core/strand handle */
117 void (*cmi_mc_logout)(cmi_hdl_t, boolean_t, boolean_t);
120 extern cmi_hdl_t cmi_init(enum cmi_hdl_class, uint_t, uint_t, uint_t);
123 extern void cmi_fini(cmi_hdl_t);
125 extern void cmi_hdl_hold(cmi_hdl_t);
126 extern void cmi_hdl_rele(cmi_hdl_t);
127 extern void *cmi_hdl_getcmidata(cmi_hdl_t);
128 extern void cmi_hdl_setspecific(cmi_hdl_t, void *);
129 extern void *cmi_hdl_getspecific(cmi_hdl_t);
130 extern const struct cmi_mc_ops *cmi_hdl_getmcops(cmi_hdl_t);
131 extern void *cmi_hdl_getmcdata(cmi_hdl_t);
132 extern enum cmi_hdl_class cmi_hdl_class(cmi_hdl_t);
134 extern cmi_hdl_t cmi_hdl_lookup(enum cmi_hdl_class, uint_t, uint_t, uint_t);
135 extern cmi_hdl_t cmi_hdl_any(void);
139 extern void cmi_hdl_walk(int (*)(cmi_hdl_t, void *, void *, void *),
142 extern void cmi_hdlconf_rdmsr_nohw(cmi_hdl_t);
143 extern void cmi_hdlconf_wrmsr_nohw(cmi_hdl_t);
144 extern cmi_errno_t cmi_hdl_rdmsr(cmi_hdl_t, uint_t, uint64_t *);
145 extern cmi_errno_t cmi_hdl_wrmsr(cmi_hdl_t, uint_t, uint64_t);
147 extern void cmi_hdl_enable_mce(cmi_hdl_t);
148 extern uint_t cmi_hdl_vendor(cmi_hdl_t);
149 extern const char *cmi_hdl_vendorstr(cmi_hdl_t);
150 extern uint_t cmi_hdl_family(cmi_hdl_t);
151 extern uint_t cmi_hdl_model(cmi_hdl_t);
152 extern uint_t cmi_hdl_stepping(cmi_hdl_t);
153 extern uint_t cmi_hdl_chipid(cmi_hdl_t);
154 extern uint_t cmi_hdl_procnodeid(cmi_hdl_t);
155 extern uint_t cmi_hdl_coreid(cmi_hdl_t);
156 extern uint_t cmi_hdl_strandid(cmi_hdl_t);
157 extern uint_t cmi_hdl_strand_apicid(cmi_hdl_t);
158 extern uint_t cmi_hdl_procnodes_per_pkg(cmi_hdl_t);
159 extern boolean_t cmi_hdl_is_cmt(cmi_hdl_t);
160 extern uint32_t cmi_hdl_chiprev(cmi_hdl_t);
161 extern const char *cmi_hdl_chiprevstr(cmi_hdl_t);
162 extern uint32_t cmi_hdl_getsockettype(cmi_hdl_t);
163 extern const char *cmi_hdl_getsocketstr(cmi_hdl_t);
164 extern id_t cmi_hdl_logical_id(cmi_hdl_t);
165 extern uint16_t cmi_hdl_smbiosid(cmi_hdl_t);
166 extern uint_t cmi_hdl_smb_chipid(cmi_hdl_t);
167 extern nvlist_t *cmi_hdl_smb_bboard(cmi_hdl_t);
168 extern uint_t cmi_hdl_chipsig(cmi_hdl_t);
169 extern const char *cmi_hdl_chipident(cmi_hdl_t);
171 extern int cmi_hdl_online(cmi_hdl_t, int, int *);
178 extern void cmi_ntv_hwdisable_mce(cmi_hdl_t);
186 extern cmi_errno_t cmi_hdl_msrinject(cmi_hdl_t, cmi_mca_regs_t *, uint_t,
188 extern void cmi_hdl_msrinterpose(cmi_hdl_t, cmi_mca_regs_t *, uint_t);
189 extern void cmi_hdl_msrforward(cmi_hdl_t, cmi_mca_regs_t *, uint_t);
192 extern void cmi_faulted_enter(cmi_hdl_t);
193 extern void cmi_faulted_exit(cmi_hdl_t);
207 extern void cmi_mca_init(cmi_hdl_t);
209 extern void cmi_hdl_poke(cmi_hdl_t);
210 extern void cmi_hdl_int(cmi_hdl_t, int);
216 extern void cmi_mc_register(cmi_hdl_t, const struct cmi_mc_ops *, void *);
222 extern void cmi_mc_logout(cmi_hdl_t, boolean_t, boolean_t);