Lines Matching defs:instance
176 int instance;
185 instance = ddi_get_instance(dip);
187 DCMN_ERR((CE_CONT, "%s%d: attach\n", panel_name, instance));
192 panel_name, instance));
197 panel_name, instance));
200 ddi_get_soft_state(panelstates, instance)) == NULL) {
202 panel_name, instance);
220 if (ddi_soft_state_zalloc(panelstates, instance) != DDI_SUCCESS) {
222 panel_name, instance);
226 ddi_get_soft_state(panelstates, instance)) == NULL) {
228 panel_name, instance);
240 panel_name, instance);
249 panel_name, instance);
268 ddi_soft_state_free(panelstates, instance);
270 DCMN_ERR((CE_NOTE, "%s%d: attach failed", panel_name, instance));
277 int instance;
280 instance = ddi_get_instance(dip);
282 DCMN_ERR((CE_CONT, "%s%d: detach\n", panel_name, instance));
285 ddi_get_soft_state(panelstates, instance)) == NULL) {
287 panel_name, instance);
294 panel_name, instance));
306 ddi_soft_state_free(panelstates, instance);
312 panel_name, instance));
327 int instance;
330 instance = getminor(dev);
332 DCMN_ERR((CE_CONT, "%s%d: getinfo\n", panel_name, instance));
337 ddi_get_soft_state(panelstates, instance)) == NULL) {
339 panel_name, instance);
346 *resultp = (void *)(uintptr_t)instance;