github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/sys/netbsd/dev_wscons.txt (about)

     1  # Copyright 2018 syzkaller project authors. All rights reserved.
     2  # Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
     3  # Autogenerated by sys2syz
     4  
     5  include <dev/wscons/wsconsio.h>
     6  include <dev/wscons/wsdisplay_usl_io.h>
     7  include <sys/selinfo.h>
     8  include <dev/wscons/wseventvar.h>
     9  
    10  resource fd_wscons[fd]
    11  
    12  openat$wscons(fd const[AT_FDCWD], file ptr[in, string["/dev/wscons"]], flags flags[open_flags], mode const[0]) fd_wscons
    13  
    14  ioctl$WSKBDIO_GTYPE(fd fd_wscons, cmd const[WSKBDIO_GTYPE], arg ptr[out, int32])
    15  ioctl$WSKBDIO_BELL(fd fd_wscons, cmd const[WSKBDIO_BELL])
    16  ioctl$WSKBDIO_COMPLEXBELL(fd fd_wscons, cmd const[WSKBDIO_COMPLEXBELL], arg ptr[in, wskbd_bell_data])
    17  ioctl$WSKBDIO_SETBELL(fd fd_wscons, cmd const[WSKBDIO_SETBELL], arg ptr[in, wskbd_bell_data])
    18  ioctl$WSKBDIO_GETBELL(fd fd_wscons, cmd const[WSKBDIO_GETBELL], arg ptr[out, wskbd_bell_data])
    19  ioctl$WSKBDIO_SETDEFAULTBELL(fd fd_wscons, cmd const[WSKBDIO_SETDEFAULTBELL], arg ptr[in, wskbd_bell_data])
    20  ioctl$WSKBDIO_GETDEFAULTBELL(fd fd_wscons, cmd const[WSKBDIO_GETDEFAULTBELL], arg ptr[out, wskbd_bell_data])
    21  ioctl$WSKBDIO_SETKEYREPEAT(fd fd_wscons, cmd const[WSKBDIO_SETKEYREPEAT], arg ptr[in, wskbd_keyrepeat_data])
    22  ioctl$WSKBDIO_GETKEYREPEAT(fd fd_wscons, cmd const[WSKBDIO_GETKEYREPEAT], arg ptr[out, wskbd_keyrepeat_data])
    23  ioctl$WSKBDIO_SETDEFAULTKEYREPEAT(fd fd_wscons, cmd const[WSKBDIO_SETDEFAULTKEYREPEAT], arg ptr[in, wskbd_keyrepeat_data])
    24  ioctl$WSKBDIO_GETDEFAULTKEYREPEAT(fd fd_wscons, cmd const[WSKBDIO_GETDEFAULTKEYREPEAT], arg ptr[out, wskbd_keyrepeat_data])
    25  ioctl$WSKBDIO_SETLEDS(fd fd_wscons, cmd const[WSKBDIO_SETLEDS], arg int32)
    26  ioctl$WSKBDIO_GETLEDS(fd fd_wscons, cmd const[WSKBDIO_GETLEDS], arg int32)
    27  ioctl$WSKBDIO_GETMAP(fd fd_wscons, cmd const[WSKBDIO_GETMAP], arg ptr[inout, wskbd_map_data])
    28  ioctl$WSKBDIO_SETMAP(fd fd_wscons, cmd const[WSKBDIO_SETMAP], arg ptr[in, wskbd_map_data])
    29  ioctl$WSKBDIO_GETENCODING(fd fd_wscons, cmd const[WSKBDIO_GETENCODING], arg ptr[out, int32])
    30  ioctl$WSKBDIO_SETENCODING(fd fd_wscons, cmd const[WSKBDIO_SETENCODING], arg ptr[in, int32])
    31  ioctl$WSKBDIO_SETMODE(fd fd_wscons, cmd const[WSKBDIO_SETMODE], arg int32)
    32  ioctl$WSKBDIO_GETMODE(fd fd_wscons, cmd const[WSKBDIO_GETMODE], arg int32)
    33  ioctl$WSKBDIO_SETKEYCLICK(fd fd_wscons, cmd const[WSKBDIO_SETKEYCLICK], arg int32)
    34  ioctl$WSKBDIO_GETKEYCLICK(fd fd_wscons, cmd const[WSKBDIO_GETKEYCLICK], arg int32)
    35  ioctl$WSKBDIO_GETSCROLL(fd fd_wscons, cmd const[WSKBDIO_GETSCROLL], arg ptr[out, wskbd_scroll_data])
    36  ioctl$WSKBDIO_SETSCROLL(fd fd_wscons, cmd const[WSKBDIO_SETSCROLL], arg ptr[in, wskbd_scroll_data])
    37  ioctl$WSKBDIO_SETVERSION(fd fd_wscons, cmd const[WSKBDIO_SETVERSION], arg int32)
    38  ioctl$WSMOUSEIO_GTYPE(fd fd_wscons, cmd const[WSMOUSEIO_GTYPE], arg ptr[out, int32])
    39  ioctl$WSMOUSEIO_SRES(fd fd_wscons, cmd const[WSMOUSEIO_SRES], arg ptr[in, int32])
    40  ioctl$WSMOUSEIO_SSCALE(fd fd_wscons, cmd const[WSMOUSEIO_SSCALE], arg ptr[in, array[int32, 2]])
    41  ioctl$WSMOUSEIO_SRATE(fd fd_wscons, cmd const[WSMOUSEIO_SRATE], arg ptr[in, int32])
    42  ioctl$WSMOUSEIO_SCALIBCOORDS(fd fd_wscons, cmd const[WSMOUSEIO_SCALIBCOORDS], arg ptr[in, wsmouse_calibcoords])
    43  ioctl$WSMOUSEIO_GCALIBCOORDS(fd fd_wscons, cmd const[WSMOUSEIO_GCALIBCOORDS], arg ptr[out, wsmouse_calibcoords])
    44  ioctl$WSMOUSEIO_GETID(fd fd_wscons, cmd const[WSMOUSEIO_GETID], arg ptr[inout, wsmouse_id])
    45  ioctl$WSMOUSEIO_GETREPEAT(fd fd_wscons, cmd const[WSMOUSEIO_GETREPEAT], arg ptr[out, wsmouse_repeat])
    46  ioctl$WSMOUSEIO_SETREPEAT(fd fd_wscons, cmd const[WSMOUSEIO_SETREPEAT], arg ptr[in, wsmouse_repeat])
    47  ioctl$WSMOUSEIO_SETVERSION(fd fd_wscons, cmd const[WSMOUSEIO_SETVERSION], arg int32)
    48  ioctl$WSDISPLAYIO_GTYPE(fd fd_wscons, cmd const[WSDISPLAYIO_GTYPE], arg ptr[out, int32])
    49  ioctl$WSDISPLAYIO_GINFO(fd fd_wscons, cmd const[WSDISPLAYIO_GINFO], arg ptr[out, wsdisplay_fbinfo])
    50  ioctl$WSDISPLAYIO_GETCMAP(fd fd_wscons, cmd const[WSDISPLAYIO_GETCMAP], arg ptr[in, wsdisplay_cmap])
    51  ioctl$WSDISPLAYIO_PUTCMAP(fd fd_wscons, cmd const[WSDISPLAYIO_PUTCMAP], arg ptr[in, wsdisplay_cmap])
    52  ioctl$WSDISPLAYIO_GVIDEO(fd fd_wscons, cmd const[WSDISPLAYIO_GVIDEO], arg ptr[out, int32])
    53  ioctl$WSDISPLAYIO_SVIDEO(fd fd_wscons, cmd const[WSDISPLAYIO_SVIDEO], arg ptr[in, int32])
    54  ioctl$WSDISPLAYIO_GCURPOS(fd fd_wscons, cmd const[WSDISPLAYIO_GCURPOS], arg ptr[out, wsdisplay_curpos])
    55  ioctl$WSDISPLAYIO_SCURPOS(fd fd_wscons, cmd const[WSDISPLAYIO_SCURPOS], arg ptr[in, wsdisplay_curpos])
    56  ioctl$WSDISPLAYIO_GCURMAX(fd fd_wscons, cmd const[WSDISPLAYIO_GCURMAX], arg ptr[out, wsdisplay_curpos])
    57  ioctl$WSDISPLAYIO_GCURSOR(fd fd_wscons, cmd const[WSDISPLAYIO_GCURSOR], arg ptr[inout, wsdisplay_cursor])
    58  ioctl$WSDISPLAYIO_SCURSOR(fd fd_wscons, cmd const[WSDISPLAYIO_SCURSOR], arg ptr[in, wsdisplay_cursor])
    59  ioctl$WSDISPLAYIO_GMODE(fd fd_wscons, cmd const[WSDISPLAYIO_GMODE], arg ptr[out, int32])
    60  ioctl$WSDISPLAYIO_SMODE(fd fd_wscons, cmd const[WSDISPLAYIO_SMODE], arg ptr[in, int32])
    61  ioctl$WSDISPLAYIO_LDFONT(fd fd_wscons, cmd const[WSDISPLAYIO_LDFONT], arg ptr[in, wsdisplay_font])
    62  ioctl$WSDISPLAYIO_ADDSCREEN(fd fd_wscons, cmd const[WSDISPLAYIO_ADDSCREEN], arg ptr[in, wsdisplay_addscreendata])
    63  ioctl$WSDISPLAYIO_DELSCREEN(fd fd_wscons, cmd const[WSDISPLAYIO_DELSCREEN], arg ptr[in, wsdisplay_delscreendata])
    64  ioctl$WSDISPLAYIO_SFONT(fd fd_wscons, cmd const[WSDISPLAYIO_SFONT], arg ptr[in, wsdisplay_usefontdata])
    65  ioctl$_O_WSDISPLAYIO_SETKEYBOARD(fd fd_wscons, cmd const[_O_WSDISPLAYIO_SETKEYBOARD], arg ptr[inout, wsdisplay_kbddata])
    66  ioctl$WSDISPLAYIO_GETPARAM(fd fd_wscons, cmd const[WSDISPLAYIO_GETPARAM], arg ptr[inout, wsdisplay_param])
    67  ioctl$WSDISPLAYIO_SETPARAM(fd fd_wscons, cmd const[WSDISPLAYIO_SETPARAM], arg ptr[inout, wsdisplay_param])
    68  ioctl$WSDISPLAYIO_GETACTIVESCREEN(fd fd_wscons, cmd const[WSDISPLAYIO_GETACTIVESCREEN], arg int32)
    69  ioctl$WSDISPLAYIO_GETWSCHAR(fd fd_wscons, cmd const[WSDISPLAYIO_GETWSCHAR], arg ptr[inout, wsdisplay_char])
    70  ioctl$WSDISPLAYIO_PUTWSCHAR(fd fd_wscons, cmd const[WSDISPLAYIO_PUTWSCHAR], arg ptr[inout, wsdisplay_char])
    71  ioctl$WSDISPLAYIO_DGSCROLL(fd fd_wscons, cmd const[WSDISPLAYIO_DGSCROLL], arg ptr[out, wsdisplay_scroll_data])
    72  ioctl$WSDISPLAYIO_DSSCROLL(fd fd_wscons, cmd const[WSDISPLAYIO_DSSCROLL], arg ptr[in, wsdisplay_scroll_data])
    73  ioctl$WSDISPLAYIO_GMSGATTRS(fd fd_wscons, cmd const[WSDISPLAYIO_GMSGATTRS], arg ptr[out, wsdisplay_msgattrs])
    74  ioctl$WSDISPLAYIO_SMSGATTRS(fd fd_wscons, cmd const[WSDISPLAYIO_SMSGATTRS], arg ptr[in, wsdisplay_msgattrs])
    75  ioctl$WSDISPLAYIO_GBORDER(fd fd_wscons, cmd const[WSDISPLAYIO_GBORDER], arg int32)
    76  ioctl$WSDISPLAYIO_SBORDER(fd fd_wscons, cmd const[WSDISPLAYIO_SBORDER], arg int32)
    77  ioctl$WSDISPLAYIO_SSPLASH(fd fd_wscons, cmd const[WSDISPLAYIO_SSPLASH], arg int32)
    78  ioctl$WSDISPLAYIO_SPROGRESS(fd fd_wscons, cmd const[WSDISPLAYIO_SPROGRESS], arg int32)
    79  ioctl$WSDISPLAYIO_LINEBYTES(fd fd_wscons, cmd const[WSDISPLAYIO_LINEBYTES], arg ptr[out, int32])
    80  ioctl$WSDISPLAYIO_SETVERSION(fd fd_wscons, cmd const[WSDISPLAYIO_SETVERSION], arg int32)
    81  ioctl$WSMUXIO_ADD_DEVICE(fd fd_wscons, cmd const[WSMUXIO_ADD_DEVICE], arg ptr[in, wsmux_device])
    82  ioctl$WSMUXIO_REMOVE_DEVICE(fd fd_wscons, cmd const[WSMUXIO_REMOVE_DEVICE], arg ptr[in, wsmux_device])
    83  ioctl$WSMUXIO_LIST_DEVICES(fd fd_wscons, cmd const[WSMUXIO_LIST_DEVICES], arg ptr[inout, wsmux_device_list])
    84  ioctl$WSMUXIO_INJECTEVENT(fd fd_wscons, cmd const[WSMUXIO_INJECTEVENT], arg ptr[in, wscons_event])
    85  ioctl$WSDISPLAYIO_GET_BUSID(fd fd_wscons, cmd const[WSDISPLAYIO_GET_BUSID], arg ptr[out, wsdisplayio_bus_id])
    86  ioctl$WSDISPLAYIO_GET_EDID(fd fd_wscons, cmd const[WSDISPLAYIO_GET_EDID], arg ptr[inout, wsdisplayio_edid_info])
    87  ioctl$WSDISPLAYIO_SET_POLLING(fd fd_wscons, cmd const[WSDISPLAYIO_SET_POLLING], arg int32)
    88  ioctl$WSDISPLAYIO_GET_FBINFO(fd fd_wscons, cmd const[WSDISPLAYIO_GET_FBINFO], arg ptr[inout, wsdisplayio_fbinfo])
    89  ioctl$WSDISPLAYIO_DOBLIT(fd fd_wscons, cmd const[WSDISPLAYIO_DOBLIT], arg ptr[inout, wsdisplayio_blit])
    90  ioctl$WSDISPLAYIO_WAITBLIT(fd fd_wscons, cmd const[WSDISPLAYIO_WAITBLIT], arg ptr[inout, wsdisplayio_blit])
    91  ioctl$VT_OPENQRY(fd fd_wscons, cmd const[VT_OPENQRY], arg int32)
    92  ioctl$VT_RELDISP(fd fd_wscons, cmd const[VT_RELDISP])
    93  ioctl$VT_ACTIVATE(fd fd_wscons, cmd const[VT_ACTIVATE])
    94  ioctl$VT_WAITACTIVE(fd fd_wscons, cmd const[VT_WAITACTIVE])
    95  ioctl$VT_GETACTIVE(fd fd_wscons, cmd const[VT_GETACTIVE], arg int32)
    96  ioctl$KDGKBMODE(fd fd_wscons, cmd const[KDGKBMODE], arg int32)
    97  ioctl$KDSKBMODE(fd fd_wscons, cmd const[KDSKBMODE])
    98  ioctl$KDMKTONE(fd fd_wscons, cmd const[KDMKTONE])
    99  ioctl$KDSETMODE(fd fd_wscons, cmd const[KDSETMODE])
   100  ioctl$KDENABIO(fd fd_wscons, cmd const[KDENABIO])
   101  ioctl$KDDISABIO(fd fd_wscons, cmd const[KDDISABIO])
   102  ioctl$KDGETLED(fd fd_wscons, cmd const[KDGETLED], arg int32)
   103  ioctl$KDSETLED(fd fd_wscons, cmd const[KDSETLED])
   104  ioctl$KDSETRAD(fd fd_wscons, cmd const[KDSETRAD])
   105  ioctl$CONS_GETVERS(fd fd_wscons, cmd const[CONS_GETVERS], arg int32)
   106  ioctl$WSMUXIO_OINJECTEVENT(fd fd_wscons, cmd const[WSMUXIO_OINJECTEVENT], arg ptr[in, owscons_event])
   107  
   108  wskbd_bell_data {
   109  	which	flags[which_flag, int32]
   110  	pitch	int32
   111  	period	int32
   112  	volume	int32
   113  }
   114  
   115  wskbd_keyrepeat_data {
   116  	which	flags[which_wskbd_keyrepeat_data_flag, int32]
   117  	del1	int32
   118  	delN	int32
   119  }
   120  
   121  wskbd_map_data {
   122  	maplen	len[map, int32]
   123  	map	ptr[inout, wscons_keymap]
   124  }
   125  
   126  wscons_keymap {
   127  	command	int16
   128  	group1	array[int16, 2]
   129  	group2	array[int16, 2]
   130  }
   131  
   132  wskbd_scroll_data {
   133  	which		flags[which_wskbd_scroll_data_flag, int32]
   134  	mode		flags[mode_flag, int32]
   135  	modifier	int32
   136  }
   137  
   138  wsmouse_calibcoords {
   139  	minx		int32
   140  	miny		int32
   141  	maxx		int32
   142  	maxy		int32
   143  	samplelen	len[samples, int32]
   144  	samples		array[wsmouse_calibcoord, 16]
   145  }
   146  
   147  wsmouse_calibcoord {
   148  	rawx	int32
   149  	rawy	int32
   150  	x	int32
   151  	y	int32
   152  }
   153  
   154  wsmouse_id {
   155  	type	flags[type_flag, int32]
   156  	length	len[data, int32]
   157  	data	array[int8, 256]
   158  }
   159  
   160  wsmouse_repeat {
   161  	wr_buttons		intptr
   162  	wr_delay_first		int32
   163  	wr_delay_decrement	int32
   164  	wr_delay_minimum	int32
   165  }
   166  
   167  wsdisplay_fbinfo {
   168  	height	int32
   169  	width	int32
   170  	depth	int32
   171  	cmsize	int32
   172  }
   173  
   174  wsdisplay_cmap {
   175  	index	int32
   176  	count	int32
   177  	red	ptr[in, int8]
   178  	green	ptr[in, int8]
   179  	blue	ptr[in, int8]
   180  }
   181  
   182  wsdisplay_curpos {
   183  	x	int32
   184  	y	int32
   185  }
   186  
   187  wsdisplay_cursor {
   188  	which	flags[which_wsdisplay_cursor_flag, int32]
   189  	enable	int32
   190  	pos	wsdisplay_curpos
   191  	hot	wsdisplay_curpos
   192  	cmap	wsdisplay_cmap
   193  	size	wsdisplay_curpos
   194  	image	ptr[inout, int8]
   195  	mask	ptr[inout, int8]
   196  }
   197  
   198  wsdisplay_font {
   199  	name		buffer[in]
   200  	firstchar	int32
   201  	numchars	int32
   202  	encoding	flags[encoding_flag, int32]
   203  	fontwidth	int32
   204  	fontheight	int32
   205  	stride		int32
   206  	bitorder	int32
   207  	byteorder	flags[byteorder_flag, int32]
   208  	data		buffer[in]
   209  }
   210  
   211  wsdisplay_addscreendata {
   212  	idx		int32
   213  	screentype	buffer[in]
   214  	emul		buffer[in]
   215  }
   216  
   217  wsdisplay_delscreendata {
   218  	idx	int32
   219  	flags	flags[flags_flag, int32]
   220  }
   221  
   222  wsdisplay_usefontdata {
   223  	name	buffer[in]
   224  }
   225  
   226  wsdisplay_kbddata {
   227  	op	flags[op_flag, int32]
   228  	idx	int32
   229  }
   230  
   231  wsdisplay_param {
   232  	param		flags[param_flag, int32]
   233  	min		int32
   234  	max		int32
   235  	curval		int32
   236  	reserved	array[int32, 4]
   237  }
   238  
   239  wsdisplay_char {
   240  	row		int32
   241  	col		int32
   242  	letter		int16
   243  	background	int8
   244  	foreground	int8
   245  	flags		flags[flags_wsdisplay_char_flag, int8]
   246  }
   247  
   248  wsdisplay_scroll_data {
   249  	which		flags[which_wsdisplay_scroll_data_flag, int32]
   250  	fastlines	int32
   251  	slowlines	int32
   252  }
   253  
   254  wsdisplay_msgattrs {
   255  	default_attrs	int32
   256  	default_bg	int32
   257  	default_fg	int32
   258  	kernel_attrs	int32
   259  	kernel_bg	int32
   260  	kernel_fg	int32
   261  }
   262  
   263  wsmux_device {
   264  	type	flags[type_wsmux_device_flag, int32]
   265  	idx	int32
   266  }
   267  
   268  wsmux_device_list {
   269  	ndevices	int32
   270  	devices		array[wsmux_device, 32]
   271  }
   272  
   273  wscons_event {
   274  	type	flags[event_type_flag, int32]
   275  	value	int32
   276  	time	timespec
   277  }
   278  
   279  wsdisplayio_bus_id {
   280  	bus_type	flags[bus_type_flag, int32]
   281  	ubus		bus_data
   282  }
   283  
   284  bus_pci {
   285  	domain		int32
   286  	bus		int32
   287  	device		int32
   288  	function	int32
   289  }
   290  
   291  bus_sbus {
   292  	fb_instance	int32
   293  }
   294  
   295  wsdisplayio_edid_info {
   296  	buffer_size	int32
   297  	data_size	int32
   298  	edid_data	buffer[inout]
   299  }
   300  
   301  wsdisplayio_fbinfo {
   302  	fbi_fbsize		intptr
   303  	fbi_fboffset		intptr
   304  	fbi_width		int32
   305  	fbi_height		int32
   306  	fbi_stride		int32
   307  	fbi_bitsperpixel	int32
   308  	fbi_pixeltype		flags[fbi_pixeltype_wsdisplayio_fbinfo_flag, int32]
   309  	fbi_subtype		_fbi_subtype
   310  	fbi_flags		flags[fbi_flags_wsdisplayio_fbinfo_flag, int32]
   311  }
   312  
   313  _fbi_rgbmasks {
   314  	red_offset	int32
   315  	red_size	int32
   316  	green_offset	int32
   317  	green_size	int32
   318  	blue_offset	int32
   319  	blue_size	int32
   320  	alpha_offset	int32
   321  	alpha_size	int32
   322  }
   323  
   324  _fbi_cmapinfo {
   325  	cmap_entries	int32
   326  }
   327  
   328  wsdisplayio_blit {
   329  	serial	int32
   330  	op	flags[op_wsdisplayio_blit_flag, int32]
   331  	srcx	int32
   332  	srcy	int32
   333  	dstx	int32
   334  	dsty	int32
   335  	width	int32
   336  	height	int32
   337  	pen	int32
   338  }
   339  
   340  owscons_event {
   341  	type	flags[event_type_flag, int32]
   342  	value	int32
   343  	time	timespec50
   344  }
   345  
   346  bus_data [
   347  	tv_sec	int32
   348  	tv_nsec	intptr
   349  	pci	bus_pci
   350  	sbus	bus_sbus
   351  	pad	array[int8, 32]
   352  ]
   353  
   354  _fbi_subtype [
   355  	tv_sec		int32
   356  	tv_nsec		intptr
   357  	pci		bus_pci
   358  	sbus		bus_sbus
   359  	pad		array[int8, 32]
   360  	fbi_rgbmasks	_fbi_rgbmasks
   361  	fbi_cmapinfo	_fbi_cmapinfo
   362  ]
   363  
   364  which_flag = WSKBD_BELL_DOPITCH, WSKBD_BELL_DOPERIOD, WSKBD_BELL_DOVOLUME, WSKBD_BELL_DOALL
   365  which_wskbd_keyrepeat_data_flag = WSKBD_KEYREPEAT_DODEL1, WSKBD_KEYREPEAT_DODELN, WSKBD_KEYREPEAT_DOALL
   366  which_wskbd_scroll_data_flag = WSKBD_SCROLL_DOMODIFIER, WSKBD_SCROLL_DOMODE, WSKBD_SCROLL_DOALL
   367  mode_flag = WSKBD_SCROLL_MODE_NORMAL, WSKBD_SCROLL_MODE_HOLD
   368  type_flag = WSMOUSE_ID_TYPE_UIDSTR
   369  which_wsdisplay_cursor_flag = WSDISPLAY_CURSOR_DOCUR, WSDISPLAY_CURSOR_DOPOS, WSDISPLAY_CURSOR_DOHOT, WSDISPLAY_CURSOR_DOCMAP, WSDISPLAY_CURSOR_DOSHAPE, WSDISPLAY_CURSOR_DOALL
   370  encoding_flag = WSDISPLAY_FONTENC_ISO, WSDISPLAY_FONTENC_IBM, WSDISPLAY_FONTENC_PCVT, WSDISPLAY_FONTENC_ISO7, WSDISPLAY_FONTENC_ISO2, WSDISPLAY_FONTENC_KOI8_R
   371  byteorder_flag = WSDISPLAY_FONTORDER_KNOWN, WSDISPLAY_FONTORDER_L2R, WSDISPLAY_FONTORDER_R2L
   372  flags_flag = WSDISPLAY_DELSCR_FORCE
   373  op_flag = _O_WSDISPLAY_KBD_ADD, _O_WSDISPLAY_KBD_DEL
   374  param_flag = WSDISPLAYIO_PARAM_BACKLIGHT, WSDISPLAYIO_PARAM_BRIGHTNESS, WSDISPLAYIO_PARAM_CONTRAST
   375  flags_wsdisplay_char_flag = WSDISPLAY_CHAR_BRIGHT, WSDISPLAY_CHAR_BLINK
   376  which_wsdisplay_scroll_data_flag = WSDISPLAY_SCROLL_DOFASTLINES, WSDISPLAY_SCROLL_DOSLOWLINES, WSDISPLAY_SCROLL_DOALL
   377  type_wsmux_device_flag = WSMUX_MOUSE, WSMUX_KBD, WSMUX_MUX, WSMUX_BELL
   378  bus_type_flag = WSDISPLAYIO_BUS_PCI, WSDISPLAYIO_BUS_SBUS, WSDISPLAYIO_BUS_SOC
   379  fbi_flags_wsdisplayio_fbinfo_flag = WSFB_VRAM_IS_RAM, WSFB_VRAM_IS_SPLIT
   380  fbi_pixeltype_wsdisplayio_fbinfo_flag = WSFB_RGB, WSFB_CI, WSFB_GREYSCALE, WSFB_YUV
   381  op_wsdisplayio_blit_flag = WSFB_BLIT_FILL, WSFB_BLIT_COPY, WSFB_BLIT_TRANS
   382  event_type_flag = WSCONS_EVENT_KEY_UP, WSCONS_EVENT_KEY_DOWN, WSCONS_EVENT_ALL_KEYS_UP, WSCONS_EVENT_MOUSE_UP, WSCONS_EVENT_MOUSE_DOWN, WSCONS_EVENT_MOUSE_DELTA_X, WSCONS_EVENT_MOUSE_DELTA_Y, WSCONS_EVENT_MOUSE_ABSOLUTE_X, WSCONS_EVENT_MOUSE_ABSOLUTE_Y, WSCONS_EVENT_MOUSE_DELTA_Z, WSCONS_EVENT_MOUSE_ABSOLUTE_Z, WSCONS_EVENT_SCREEN_SWITCH, WSCONS_EVENT_ASCII, WSCONS_EVENT_MOUSE_DELTA_W, WSCONS_EVENT_MOUSE_ABSOLUTE_W