Home
last modified time | relevance | path

Searched refs:getsoftc (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c182 #define getsoftc(instance) ((struct vgatext_softc *) \ macro
207 softc = getsoftc(unit); in vgatext_attach()
219 softc = getsoftc(unit); in vgatext_attach()
250 struct vgatext_softc *softc = getsoftc(instance); in vgatext_detach()
304 softc = getsoftc(instance); in vgatext_info()
330 struct vgatext_softc *softc = getsoftc(DEV2INST(*devp)); in vgatext_open()
341 struct vgatext_softc *softc = getsoftc(DEV2INST(devp)); in vgatext_close()
358 struct vgatext_softc *softc = getsoftc(DEV2INST(dev)); in vgatext_ioctl()
392 softc = getsoftc(DEV2INST(dev)); in vgatext_devmap()
/illumos-gate/usr/src/uts/sun4/io/
H A Dtod.c44 #define getsoftc(minor) \ macro
157 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()
/illumos-gate/usr/src/uts/sun4u/mpxu/io/
H A Dtsalarm.c47 #define getsoftc(minor) \ macro
169 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()
/illumos-gate/usr/src/uts/sun4u/io/
H A Depic.c113 #define getsoftc(inst) ((struct epic_softc *)ddi_get_soft_state(statep, \ macro
179 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()
H A Dpic16f747.c117 #define getsoftc(inst) ((struct pic_softc *)ddi_get_soft_state(statep, (inst))) macro
182 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()
H A Dgpio_87317.c71 #define getsoftc(minor) \ macro
180 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()
H A Dmem_cache.c139 #define getsoftc(inst) ((struct mem_cache_softc *)ddi_get_soft_state(statep,\ macro
207 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()
/illumos-gate/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c240 #define getsoftc(minor) \ macro
358 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()