11.4Srin/* $NetBSD: i128var.h,v 1.5 2020/04/16 23:29:53 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.5Srin#include <sys/cdefs.h> 301.5Srin__KERNEL_RCSID(0, "$NetBSD: i128var.h,v 1.5 2020/04/16 23:29:53 rin Exp $"); 311.5Srin 321.1Smacallan/* 331.1Smacallan * register definition for Number Nine Imagine 128 graphics controllers 341.1Smacallan * 351.1Smacallan * adapted from XFree86's i128 driver source 361.1Smacallan */ 371.1Smacallan 381.1Smacallan#ifndef I128VAR_H 391.1Smacallan#define I128VAR_H 401.1Smacallan 411.1Smacallan/* tag, handle, stride, colour depth */ 421.1Smacallanvoid i128_init(bus_space_tag_t, bus_space_handle_t, int, int); 431.1Smacallanvoid i128_bitblt(bus_space_tag_t, bus_space_handle_t, int, int, int, int, int, 441.1Smacallan int, int); 451.1Smacallanvoid i128_rectfill(bus_space_tag_t, bus_space_handle_t, int, int, int, int, 461.1Smacallan uint32_t); 471.3Smacallanvoid i128_ready(bus_space_tag_t, bus_space_handle_t); 481.3Smacallanvoid i128_sync(bus_space_tag_t, bus_space_handle_t); 491.3Smacallan 501.1Smacallan 511.1Smacallan#endif /* I128VAR_H */ 52