i128var.h revision 1.4
11.4Srin/*	$NetBSD: i128var.h,v 1.4 2020/04/16 21:56:42 rin Exp $ */
21.1Smacallan
31.1Smacallan/*-
41.1Smacallan * Copyright (c) 2007 Michael Lorenz
51.1Smacallan * All rights reserved.
61.1Smacallan *
71.1Smacallan * Redistribution and use in source and binary forms, with or without
81.1Smacallan * modification, are permitted provided that the following conditions
91.1Smacallan * are met:
101.1Smacallan * 1. Redistributions of source code must retain the above copyright
111.1Smacallan *    notice, this list of conditions and the following disclaimer.
121.1Smacallan * 2. Redistributions in binary form must reproduce the above copyright
131.1Smacallan *    notice, this list of conditions and the following disclaimer in the
141.1Smacallan *    documentation and/or other materials provided with the distribution.
151.1Smacallan *
161.1Smacallan * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
171.1Smacallan * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
181.1Smacallan * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
191.1Smacallan * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
201.1Smacallan * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
211.1Smacallan * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
221.1Smacallan * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
231.1Smacallan * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
241.1Smacallan * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
251.1Smacallan * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
261.1Smacallan * POSSIBILITY OF SUCH DAMAGE.
271.1Smacallan */
281.1Smacallan
291.1Smacallan/*
301.1Smacallan * register definition for Number Nine Imagine 128 graphics controllers
311.1Smacallan *
321.1Smacallan * adapted from XFree86's i128 driver source
331.1Smacallan */
341.1Smacallan
351.1Smacallan#ifndef I128VAR_H
361.1Smacallan#define I128VAR_H
371.1Smacallan
381.1Smacallan/* tag, handle, stride, colour depth */
391.1Smacallanvoid i128_init(bus_space_tag_t, bus_space_handle_t, int, int);
401.1Smacallanvoid i128_bitblt(bus_space_tag_t, bus_space_handle_t, int, int, int, int, int,
411.1Smacallan    int, int);
421.1Smacallanvoid i128_rectfill(bus_space_tag_t, bus_space_handle_t, int, int, int, int,
431.1Smacallan    uint32_t);
441.3Smacallanvoid i128_ready(bus_space_tag_t, bus_space_handle_t);
451.3Smacallanvoid i128_sync(bus_space_tag_t, bus_space_handle_t);
461.3Smacallan
471.1Smacallan
481.1Smacallan#endif /* I128VAR_H */
49