1*d874cce4Sray /* $OpenBSD: monitors.h,v 1.3 2008/06/26 05:42:15 ray Exp $ */ 24cd9f15eSericj /* $NetBSD$ */ 34cd9f15eSericj 44cd9f15eSericj /*- 54cd9f15eSericj * Copyright (c) 1998, 1999 The NetBSD Foundation, Inc. 64cd9f15eSericj * All rights reserved. 74cd9f15eSericj * 84cd9f15eSericj * This code is derived from software contributed to The NetBSD Foundation 94cd9f15eSericj * by Roland C. Dowdeswell. 104cd9f15eSericj * 114cd9f15eSericj * Redistribution and use in source and binary forms, with or without 124cd9f15eSericj * modification, are permitted provided that the following conditions 134cd9f15eSericj * are met: 144cd9f15eSericj * 1. Redistributions of source code must retain the above copyright 154cd9f15eSericj * notice, this list of conditions and the following disclaimer. 164cd9f15eSericj * 2. Redistributions in binary form must reproduce the above copyright 174cd9f15eSericj * notice, this list of conditions and the following disclaimer in the 184cd9f15eSericj * documentation and/or other materials provided with the distribution. 194cd9f15eSericj * 204cd9f15eSericj * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS 214cd9f15eSericj * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 224cd9f15eSericj * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 234cd9f15eSericj * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS 244cd9f15eSericj * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 254cd9f15eSericj * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 264cd9f15eSericj * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 274cd9f15eSericj * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 284cd9f15eSericj * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 294cd9f15eSericj * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 304cd9f15eSericj * POSSIBILITY OF SUCH DAMAGE. 314cd9f15eSericj */ 324cd9f15eSericj 334cd9f15eSericj #ifndef _DEV_IC_MONITORS_H 344cd9f15eSericj #define _DEV_IC_MONITORS_H 354cd9f15eSericj 364cd9f15eSericj #include <sys/types.h> 374cd9f15eSericj 384cd9f15eSericj struct monitor { 394cd9f15eSericj u_int16_t cols; /* Columns */ 404cd9f15eSericj u_int16_t hfp; /* Horizontal Front Porch */ 414cd9f15eSericj u_int16_t hsync; /* Horizontal Sync */ 424cd9f15eSericj u_int16_t hbp; /* Horizontal Back Porch */ 434cd9f15eSericj u_int16_t rows; /* Rows */ 444cd9f15eSericj u_int16_t vfp; /* Vertical Front Porch */ 454cd9f15eSericj u_int16_t vsync; /* Vertical Sync */ 464cd9f15eSericj u_int16_t vbp; /* Vertical Back Porch */ 474cd9f15eSericj u_int32_t dotclock; /* Dot Clock */ 484cd9f15eSericj }; 494cd9f15eSericj 504cd9f15eSericj #endif 51