xref: /netbsd-src/sys/arch/hpcmips/vr/vrkiureg.h (revision 454e19c1666ecfc42eef085b0cbcef422c0ab8c3)
1*454e19c1Stakemura /*	$NetBSD: vrkiureg.h,v 1.2 2000/09/21 14:17:36 takemura Exp $	*/
2db2b0adeStakemura 
3db2b0adeStakemura /*-
4db2b0adeStakemura  * Copyright (c) 1999 SASAKI Takesi
5db2b0adeStakemura  * Copyright (c) 1999 PocketBSD Project. All rights reserved.
6db2b0adeStakemura  * All rights reserved.
7db2b0adeStakemura  *
8db2b0adeStakemura  * This code is a part of the PocketBSD.
9db2b0adeStakemura  *
10db2b0adeStakemura  * Redistribution and use in source and binary forms, with or without
11db2b0adeStakemura  * modification, are permitted provided that the following conditions
12db2b0adeStakemura  * are met:
13db2b0adeStakemura  * 1. Redistributions of source code must retain the above copyright
14db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer.
15db2b0adeStakemura  * 2. Redistributions in binary form must reproduce the above copyright
16db2b0adeStakemura  *    notice, this list of conditions and the following disclaimer in the
17db2b0adeStakemura  *    documentation and/or other materials provided with the distribution.
18db2b0adeStakemura  * 3. All advertising materials mentioning features or use of this software
19db2b0adeStakemura  *    must display the following acknowledgement:
20db2b0adeStakemura  *	This product includes software developed by the PocketBSD project
21db2b0adeStakemura  *	and its contributors.
22db2b0adeStakemura  * 4. Neither the name of the project nor the names of its contributors
23db2b0adeStakemura  *    may be used to endorse or promote products derived from this software
24db2b0adeStakemura  *    without specific prior written permission.
25db2b0adeStakemura  *
26db2b0adeStakemura  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
27db2b0adeStakemura  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28db2b0adeStakemura  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29db2b0adeStakemura  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
30db2b0adeStakemura  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
31db2b0adeStakemura  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
32db2b0adeStakemura  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
33db2b0adeStakemura  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34db2b0adeStakemura  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
35db2b0adeStakemura  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
36db2b0adeStakemura  * SUCH DAMAGE.
37db2b0adeStakemura  *
38db2b0adeStakemura  */
39db2b0adeStakemura 
40db2b0adeStakemura #define	KIUDAT0		0x00
41db2b0adeStakemura #define	KIUDAT1		0x02
42db2b0adeStakemura #define	KIUDAT2		0x04
43db2b0adeStakemura #define	KIUDAT3		0x06
44db2b0adeStakemura #define	KIUDAT4		0x08
45db2b0adeStakemura #define	KIUDAT5		0x0a
46db2b0adeStakemura #define	KIUSCANREP	0x10
47db2b0adeStakemura #define	KIUSCANS	0x12
48*454e19c1Stakemura #	define	KIUSCANS_SSTAT_MASK	0x0003
49*454e19c1Stakemura #	define	KIUSCANS_SSTAT_SCANNING	0x0003
50*454e19c1Stakemura #	define	KIUSCANS_SSTAT_INTERVAL	0x0002
51*454e19c1Stakemura #	define	KIUSCANS_SSTAT_WAIT	0x0001
52*454e19c1Stakemura #	define	KIUSCANS_SSTAT_STOP	0x0000
53db2b0adeStakemura #define	KIUWKS		0x14
54db2b0adeStakemura #define	KIUWKI		0x16
55db2b0adeStakemura #define	KIUINT		0x18
56db2b0adeStakemura #define	KIURST		0x1a
57db2b0adeStakemura #define	KIUSCANLINE	0x1e
58db2b0adeStakemura 
59db2b0adeStakemura #define KIU_NSCANLINE	12
60db2b0adeStakemura #define KIUDATP		0x00
61db2b0adeStakemura 
62