Lines Matching refs:sc_methods
118 sc->sc_methods = ia->ia_methods; in irframe_attach()
122 if (sc->sc_methods->im_read == NULL || in irframe_attach()
123 sc->sc_methods->im_write == NULL || in irframe_attach()
124 sc->sc_methods->im_poll == NULL || in irframe_attach()
125 sc->sc_methods->im_kqfilter == NULL || in irframe_attach()
126 sc->sc_methods->im_set_params == NULL || in irframe_attach()
127 sc->sc_methods->im_get_speeds == NULL || in irframe_attach()
128 sc->sc_methods->im_get_turnarounds == NULL) in irframe_attach()
132 (void)sc->sc_methods->im_get_speeds(sc->sc_handle, &speeds); in irframe_attach()
190 if (sc->sc_methods->im_open != NULL) { in irframeopen()
191 error = sc->sc_methods->im_open(sc->sc_handle, flag, mode, l); in irframeopen()
213 if (sc->sc_methods->im_close != NULL) in irframeclose()
214 error = sc->sc_methods->im_close(sc->sc_handle, flag, mode, l); in irframeclose()
237 return (sc->sc_methods->im_read(sc->sc_handle, uio, flag)); in irframeread()
257 return (sc->sc_methods->im_write(sc->sc_handle, uio, flag)); in irframewrite()
301 error = sc->sc_methods->im_set_params(sc->sc_handle, p); in irf_set_params()
360 error = sc->sc_methods->im_get_speeds(sc->sc_handle, vaddr); in irframeioctl()
364 error = sc->sc_methods->im_get_turnarounds(sc->sc_handle,vaddr); in irframeioctl()
385 return (sc->sc_methods->im_poll(sc->sc_handle, events, l)); in irframepoll()
397 return (sc->sc_methods->im_kqfilter(sc->sc_handle, kn)); in irframekqfilter()