Home
last modified time | relevance | path

Searched refs:sc_vp (Results 1 – 4 of 4) sorted by relevance

/openbsd/sys/arch/hppa/hppa/
H A Dmem.c141 volatile struct vi_trs *sc_vp; member
183 sc->sc_vp = (struct vi_trs *) in memattach()
186 printf(" viper rev %x,", sc->sc_vp->vi_status.hw_rev); in memattach()
189 if (sc->sc_vp->vi_status.hw_rev == 0) { in memattach()
231 sc->sc_vp->vi_control = vic; in memattach()
243 sc->sc_vp = NULL; in memattach()
278 if (sc->sc_vp) in viper_setintrwnd()
279 sc->sc_vp->vi_intrwd = mask; in viper_setintrwnd()
288 if (sc->sc_vp) { in viper_eisa_en()
295 sc->sc_vp->vi_control = vic; in viper_eisa_en()
/openbsd/sys/arch/sparc64/dev/
H A Dvdsp.c258 struct vnode *sc_vp; member
946 sc->sc_vp = nd.ni_vp; in vdsp_open()
986 if (sc->sc_vp) { in vdsp_close()
988 sc->sc_vp = NULL; in vdsp_close()
1000 if (sc->sc_vp == NULL) in vdsp_readlabel()
1017 VOP_UNLOCK(sc->sc_vp); in vdsp_readlabel()
1047 VOP_UNLOCK(sc->sc_vp); in vdsp_writelabel()
1061 if (sc->sc_vp == NULL) in vdsp_is_iso()
1078 VOP_UNLOCK(sc->sc_vp); in vdsp_is_iso()
1140 if (sc->sc_vp == NULL) in vdsp_read_desc()
[all …]
/openbsd/sys/dev/
H A Dvnd.c93 struct vnode *sc_vp; /* vnode */ member
343 sc->sc_vp, bp->b_data, bp->b_bcount, off, UIO_SYSSPACE, in vndstrategy()
527 sc->sc_vp = nd.ni_vp; in vndioctl()
533 sc->sc_vp, (unsigned long long)sc->sc_size); in vndioctl()
592 error = VOP_GETATTR(sc->sc_vp, &vattr, p->p_ucred, p); in vndioctl()
698 struct vnode *vp = sc->sc_vp; in vndclear()
708 sc->sc_vp = NULL; in vndclear()
/openbsd/sys/dev/usb/
H A Duvideo.c75 struct vnode *sc_vp; member
2865 sc->sc_vp = nd.ni_vp; in uvideo_debug_file_open()
2866 VOP_UNLOCK(sc->sc_vp); in uvideo_debug_file_open()
2886 if (sc->sc_vp == NULL) { in uvideo_debug_file_write_frame()
2891 error = vn_rdwr(UIO_WRITE, sc->sc_vp, sb->buf, sb->offset, (off_t)0, in uvideo_debug_file_write_frame()