Home
last modified time | relevance | path

Searched refs:iospc_p (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/io/iospc/
H A Diospc.c154 iospc_t *iospc_p; in iospc_attach() local
191 iospc_p = (iospc_t *)ddi_get_soft_state(iospc_state_p, in iospc_attach()
194 iospc_p->iospc_dip = dip; in iospc_attach()
198 if (iospc_kstat_attach(iospc_p) != DDI_SUCCESS) in iospc_attach()
229 iospc_t *iospc_p = (iospc_t *)ddi_get_soft_state( in iospc_detach() local
235 iospc_kstat_detach(iospc_p); in iospc_detach()
289 iospc_kstat_attach(iospc_t *iospc_p) in iospc_kstat_attach() argument
298 ddi_get_instance(iospc_p->iospc_dip)); in iospc_kstat_attach()
316 ksinfo_p->iospc_p = iospc_p; in iospc_kstat_attach()
320 iospc_p->iospc_ksinfo_p[i] = ksinfo_p; in iospc_kstat_attach()
[all …]
H A Drfios_iospc.c79 rfios_access_init(iospc_t *iospc_p, iospc_ksinfo_t *ksinfo_p) in rfios_access_init() argument
85 IOSPC_DBG2("rfios_access_init: iospc_p=%p\n", (void *)iospc_p); in rfios_access_init()
88 if (ddi_getlongprop_buf(DDI_DEV_T_ANY, iospc_p->iospc_dip, in rfios_access_init()
102 rfios_access_fini(iospc_t *iospc_p, iospc_ksinfo_t *ksinfo_p) in rfios_access_fini() argument
105 (void *)iospc_p, (void *)ksinfo_p); in rfios_access_fini()
110 rfios_access_hv(iospc_t *iospc_p, void *arg, int op, int regid, uint64_t *data) in rfios_access_hv() argument
117 "- Failed\n", (void *)iospc_p, regid); in rfios_access_hv()
122 "data=%lx\n", (void *)iospc_p, regid, *data); in rfios_access_hv()
127 "- Failed\n", (void *)iospc_p, regid); in rfios_access_hv()
132 "data=%lx\n", (void *)iospc_p, regid, *data); in rfios_access_hv()
H A Diospc.h48 struct iospc *iospc_p; member
124 int (*access_init)(iospc_t *iospc_p, iospc_ksinfo_t *ksinfo_p);
125 int (*access)(iospc_t *iospc_p, void *, int op, int regid,
127 int (*access_fini)(iospc_t *iospc_p, iospc_ksinfo_t *ksinfo_p);
144 extern int iospc_kstat_attach(iospc_t *iospc_p);
145 extern void iospc_kstat_detach(iospc_t *iospc_p);
H A Drfios_tables.h451 extern int rfios_access_hv(iospc_t *iospc_p, void *arg, int op, int regid,
453 extern int rfios_access_init(iospc_t *iospc_p, iospc_ksinfo_t *ksinfo_p);
454 extern int rfios_access_fini(iospc_t *iospc_p, iospc_ksinfo_t *ksinfo_p);