Lines Matching refs:vd
173 #define VD_PASTEBUF(vd) ((vd)->vd_pastebuf.vpb_buf)
174 #define VD_PASTEBUFSZ(vd) ((vd)->vd_pastebuf.vpb_bufsz)
175 #define VD_PASTEBUFLEN(vd) ((vd)->vd_pastebuf.vpb_len)
177 #define VT_LOCK(vd) mtx_lock(&(vd)->vd_lock)
178 #define VT_UNLOCK(vd) mtx_unlock(&(vd)->vd_lock)
179 #define VT_LOCK_ASSERT(vd, what) mtx_assert(&(vd)->vd_lock, what)
181 #define VT_FLUSH_LOCK(vd) \
182 if ((vd)->vd_driver->vd_bitblt_after_vtbuf_unlock) \
183 mtx_lock(&(vd)->vd_flush_lock)
185 #define VT_FLUSH_UNLOCK(vd) \
186 if ((vd)->vd_driver->vd_bitblt_after_vtbuf_unlock) \
187 mtx_unlock(&(vd)->vd_flush_lock)
189 void vt_resume(struct vt_device *vd);
191 void vt_suspend(struct vt_device *vd);
335 typedef int vd_init_t(struct vt_device *vd);
336 typedef int vd_probe_t(struct vt_device *vd);
337 typedef void vd_fini_t(struct vt_device *vd, void *softc);
338 typedef void vd_postswitch_t(struct vt_device *vd);
339 typedef void vd_blank_t(struct vt_device *vd, term_color_t color);
340 typedef void vd_bitblt_text_t(struct vt_device *vd, const struct vt_window *vw,
342 typedef void vd_invalidate_text_t(struct vt_device *vd,
344 typedef void vd_bitblt_bmp_t(struct vt_device *vd, const struct vt_window *vw,
348 typedef int vd_bitblt_argb_t(struct vt_device *vd, const struct vt_window *vw,
412 void vt_upgrade(struct vt_device *vd);
454 int vt_is_cursor_in_area(const struct vt_device *vd,