Searched defs:getsoftc (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/
H A Dtod.c44 #define getsoftc(minor) \ macro
157 if ((softc = getsoftc(inst)) == NULL) {
204 softc = getsoftc(inst);
213 softc = getsoftc(inst);
243 if ((softc = getsoftc(inst)) == NULL)
255 softc = getsoftc(inst);
273 return (getsoftc(inst) == NULL ? ENXIO : 0);
283 return (getsoftc(inst) == NULL ? ENXIO : 0);
295 if ((softc = getsoftc(inst)) == NULL)
/illumos-gate/usr/src/uts/sun4u/mpxu/io/
H A Dtsalarm.c47 #define getsoftc(minor) \ macro
169 if ((softc = getsoftc(inst)) == NULL) {
205 softc = getsoftc(inst);
249 if ((softc = getsoftc(inst)) == NULL)
274 return (getsoftc(inst) == NULL ? ENXIO : 0);
284 return (getsoftc(inst) == NULL ? ENXIO : 0);
299 if ((softc = getsoftc(inst)) == NULL)
/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) {
228 if ((softc = getsoftc(inst)) == NULL) {
279 if ((softc = getsoftc(inst)) == NULL)
309 return (getsoftc(inst) == NULL ? ENXIO : 0);
322 return (getsoftc(inst) == NULL ? ENXIO : 0);
337 if ((softc = getsoftc(inst)) == NULL)
H A Dgpio_87317.c71 #define getsoftc(minor) \ macro
180 if ((softc = getsoftc(instance)) == NULL) {
217 softc = getsoftc(instance);
300 if ((softc = getsoftc(instance)) == NULL)
325 return (getsoftc(instance) == NULL ? ENXIO : 0);
336 return (getsoftc(instance) == NULL ? ENXIO : 0);
346 struct gpio_softc *softc = getsoftc(instance);
H A Dpic16f747.c117 #define getsoftc(inst) ((struct pic_softc *)ddi_get_soft_state(statep, (inst))) macro
182 if ((softc = getsoftc(inst)) == NULL) {
238 softc = getsoftc(inst);
305 if ((softc = getsoftc(inst)) == NULL)
329 return (getsoftc(inst) == NULL ? ENXIO : 0);
338 return (getsoftc(inst) == NULL ? ENXIO : 0);
352 if ((softc = getsoftc(inst)) == NULL)
H A Dmem_cache.c139 #define getsoftc(inst) ((struct mem_cache_softc *)ddi_get_soft_state(statep,\ macro
207 if ((softc = getsoftc(inst)) == NULL) {
258 softc = getsoftc(inst);
294 if ((softc = getsoftc(inst)) == NULL)
317 return (getsoftc(inst) == NULL ? ENXIO : 0);
326 return (getsoftc(inst) == NULL ? ENXIO : 0);
912 if ((softc = getsoftc(inst)) == NULL)
/illumos-gate/usr/src/uts/sun4v/ontario/io/
H A Dtsalarm.c240 #define getsoftc(minor) \ macro
358 if ((softc = getsoftc(inst)) == NULL) {
396 softc = getsoftc(inst);
449 if ((softc = getsoftc(inst)) == NULL)
477 softc = (struct tsalarm_softc *)getsoftc(inst);
479 cmn_err(CE_WARN, "getsoftc failed\n");
580 softc = (struct tsalarm_softc *)getsoftc(inst);
649 if ((softc = getsoftc(inst)) == NULL)
/illumos-gate/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c323 #define getsoftc(instance) ((struct vgatext_softc *) \ macro
469 softc = getsoftc(unit);
622 struct vgatext_softc *softc = getsoftc(instance);
682 softc = getsoftc(instance);
709 struct vgatext_softc *softc = getsoftc(DEV2INST(*devp));
843 struct vgatext_softc *softc = getsoftc(DEV2INST(dev));
957 softc = getsoftc(DEV2INST(dev));

Completed in 114 milliseconds