Lines Matching defs:inst
162 int inst = getminor((dev_t)arg);
169 if ((softc = getsoftc(inst)) == NULL) {
178 *result = (void *)(uintptr_t)inst;
192 int inst;
198 inst = ddi_get_instance(dip);
202 if (ddi_soft_state_zalloc(statep, inst) != DDI_SUCCESS)
205 softc = getsoftc(inst);
209 * Create minor node. The minor device number, inst, has no
231 ddi_soft_state_free(statep, inst);
242 int inst;
248 inst = ddi_get_instance(dip);
249 if ((softc = getsoftc(inst)) == NULL)
256 ddi_soft_state_free(statep, inst);
272 int inst = getminor(*devp);
274 return (getsoftc(inst) == NULL ? ENXIO : 0);
282 int inst = getminor(dev);
284 return (getsoftc(inst) == NULL ? ENXIO : 0);
293 int inst = getminor(dev);
299 if ((softc = getsoftc(inst)) == NULL)