Lines Matching refs:instance

172  * This template is copied for each vldc instance and filled in with
283 int instance = VCCINST(getminor((dev_t)arg));
289 if ((vccp = ddi_get_soft_state(vcc_ssp, instance)) == NULL) {
297 *resultp = (void *)(uintptr_t)instance;
420 attr.instance = ddi_get_instance(vccp->dip);
734 int instance;
804 * (instance << VCC_INST_SHIFT) | minor_idx
806 instance = ddi_get_instance(vccp->dip);
808 minor = (instance << VCC_INST_SHIFT) | (minor_idx);
868 i_vcc_mdeg_register(vcc_t *vccp, int instance)
877 * Allocate and initialize a per-instance copy
879 * uniquely identify this vcc instance.
886 VCC_SET_MDEG_PROP_INST(pspecp, instance);
929 * called once for each instance of the device on the system.
934 int i, instance, inst;
944 instance = ddi_get_instance(dip);
945 if (ddi_soft_state_zalloc(vcc_ssp, instance) != DDI_SUCCESS)
948 vccp = ddi_get_soft_state(vcc_ssp, instance);
950 ddi_soft_state_free(vccp, instance);
954 D1("vcc_attach: DDI_ATTACH instance=%d\n", instance);
978 minor = (instance << VCC_INST_SHIFT) | VCC_CONTROL_MINOR_IDX;
997 ddi_soft_state_free(vccp, instance);
1002 /* get the instance number by reading 'reg' property */
1017 ddi_soft_state_free(vccp, instance);
1041 ddi_soft_state_free(vccp, instance);
1064 int i, instance;
1073 instance = ddi_get_instance(dip);
1074 vccp = ddi_get_soft_state(vcc_ssp, instance);
1078 D1("vcc_detach: DDI_DETACH instance=%d\n", instance);
1122 ddi_soft_state_free(vcc_ssp, instance);
1142 int instance;
1150 instance = VCCINST(minor);
1152 vccp = ddi_get_soft_state(vcc_ssp, instance);
1172 "is already open\n", instance, portno);
1260 int instance;
1269 instance = VCCINST(minor);
1270 vccp = ddi_get_soft_state(vcc_ssp, instance);
1278 instance, portno);
1950 int instance;
1957 instance = VCCINST(minor);
1959 vccp = ddi_get_soft_state(vcc_ssp, instance);
1966 D1("vcc_ioctl: virtual-console-concentrator@%d:%d\n", instance, portno);
1975 instance, portno, cmd);
1992 int instance;
2004 instance = VCCINST(minor);
2006 vccp = ddi_get_soft_state(vcc_ssp, instance);
2108 int instance;
2122 instance = VCCINST(minor);
2124 vccp = ddi_get_soft_state(vcc_ssp, instance);
2163 instance, portno, size);
2429 int instance;
2437 instance = VCCINST(minor);
2439 vccp = ddi_get_soft_state(vcc_ssp, instance);
2475 instance, portno, events, (*reventsp),