Searched refs:getsoftc (Results 1 – 8 of 8) sorted by relevance
44 #define getsoftc(minor) \ macro157 if ((softc = getsoftc(inst)) == NULL) { in tod_getinfo()204 softc = getsoftc(inst); in tod_attach()213 softc = getsoftc(inst); in tod_attach()243 if ((softc = getsoftc(inst)) == NULL) in tod_detach()255 softc = getsoftc(inst); in tod_detach()273 return (getsoftc(inst) == NULL ? ENXIO : 0); in tod_open()283 return (getsoftc(inst) == NULL ? ENXIO : 0); in tod_close()295 if ((softc = getsoftc(inst)) == NULL) in tod_ioctl()
47 #define getsoftc(minor) \ macro169 if ((softc = getsoftc(inst)) == NULL) { in tsalarm_getinfo()205 softc = getsoftc(inst); in tsalarm_attach()249 if ((softc = getsoftc(inst)) == NULL) in tsalarm_detach()274 return (getsoftc(inst) == NULL ? ENXIO : 0); in tsalarm_open()284 return (getsoftc(inst) == NULL ? ENXIO : 0); in tsalarm_close()299 if ((softc = getsoftc(inst)) == NULL) in tsalarm_ioctl()
113 #define getsoftc(inst) ((struct epic_softc *)ddi_get_soft_state(statep, \ macro179 if ((softc = getsoftc(inst)) == NULL) { in epic_getinfo()228 if ((softc = getsoftc(inst)) == NULL) { in epic_attach()279 if ((softc = getsoftc(inst)) == NULL) in epic_detach()309 return (getsoftc(inst) == NULL ? ENXIO : 0); in epic_open()322 return (getsoftc(inst) == NULL ? ENXIO : 0); in epic_close()337 if ((softc = getsoftc(inst)) == NULL) in epic_ioctl()
117 #define getsoftc(inst) ((struct pic_softc *)ddi_get_soft_state(statep, (inst))) macro182 if ((softc = getsoftc(inst)) == NULL) { in pic_getinfo()238 softc = getsoftc(inst); in pic_attach()305 if ((softc = getsoftc(inst)) == NULL) in pic_detach()329 return (getsoftc(inst) == NULL ? ENXIO : 0); in pic_open()338 return (getsoftc(inst) == NULL ? ENXIO : 0); in pic_close()352 if ((softc = getsoftc(inst)) == NULL) in pic_ioctl()
71 #define getsoftc(minor) \ macro180 if ((softc = getsoftc(instance)) == NULL) { in gpio_getinfo()217 softc = getsoftc(instance); in gpio_attach()300 if ((softc = getsoftc(instance)) == NULL) in gpio_detach()325 return (getsoftc(instance) == NULL ? ENXIO : 0); in gpio_open()336 return (getsoftc(instance) == NULL ? ENXIO : 0); in gpio_close()346 struct gpio_softc *softc = getsoftc(instance); in gpio_ioctl()
139 #define getsoftc(inst) ((struct mem_cache_softc *)ddi_get_soft_state(statep,\ macro207 if ((softc = getsoftc(inst)) == NULL) { in mem_cache_getinfo()258 softc = getsoftc(inst); in mem_cache_attach()294 if ((softc = getsoftc(inst)) == NULL) in mem_cache_detach()317 return (getsoftc(inst) == NULL ? ENXIO : 0); in mem_cache_open()326 return (getsoftc(inst) == NULL ? ENXIO : 0); in mem_cache_close()912 if ((softc = getsoftc(inst)) == NULL) in mem_cache_ioctl()
323 #define getsoftc(instance) ((struct vgatext_softc *) \ macro469 softc = getsoftc(unit); in vgatext_attach()622 struct vgatext_softc *softc = getsoftc(instance); in vgatext_detach()682 softc = getsoftc(instance); in vgatext_info()709 struct vgatext_softc *softc = getsoftc(DEV2INST(*devp)); in vgatext_open()843 struct vgatext_softc *softc = getsoftc(DEV2INST(dev)); in vgatext_ioctl()957 softc = getsoftc(DEV2INST(dev)); in vgatext_devmap()
240 #define getsoftc(minor) \ macro358 if ((softc = getsoftc(inst)) == NULL) { in tsalarm_getinfo()396 softc = getsoftc(inst); in tsalarm_attach()449 if ((softc = getsoftc(inst)) == NULL) in tsalarm_detach()477 softc = (struct tsalarm_softc *)getsoftc(inst); in tsalarm_open()580 softc = (struct tsalarm_softc *)getsoftc(inst); in tsalarm_close()649 if ((softc = getsoftc(inst)) == NULL) in tsalarm_ioctl()