1*83b4b9b9SFrançois Tigeot /* 2*83b4b9b9SFrançois Tigeot * Copyright (c) 2015-2018 François Tigeot <ftigeot@wolfpond.org> 3*83b4b9b9SFrançois Tigeot * All rights reserved. 4*83b4b9b9SFrançois Tigeot * 5*83b4b9b9SFrançois Tigeot * Redistribution and use in source and binary forms, with or without 6*83b4b9b9SFrançois Tigeot * modification, are permitted provided that the following conditions 7*83b4b9b9SFrançois Tigeot * are met: 8*83b4b9b9SFrançois Tigeot * 1. Redistributions of source code must retain the above copyright 9*83b4b9b9SFrançois Tigeot * notice unmodified, this list of conditions, and the following 10*83b4b9b9SFrançois Tigeot * disclaimer. 11*83b4b9b9SFrançois Tigeot * 2. Redistributions in binary form must reproduce the above copyright 12*83b4b9b9SFrançois Tigeot * notice, this list of conditions and the following disclaimer in the 13*83b4b9b9SFrançois Tigeot * documentation and/or other materials provided with the distribution. 14*83b4b9b9SFrançois Tigeot * 15*83b4b9b9SFrançois Tigeot * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 16*83b4b9b9SFrançois Tigeot * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17*83b4b9b9SFrançois Tigeot * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18*83b4b9b9SFrançois Tigeot * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 19*83b4b9b9SFrançois Tigeot * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20*83b4b9b9SFrançois Tigeot * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21*83b4b9b9SFrançois Tigeot * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22*83b4b9b9SFrançois Tigeot * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23*83b4b9b9SFrançois Tigeot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24*83b4b9b9SFrançois Tigeot * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25*83b4b9b9SFrançois Tigeot */ 26*83b4b9b9SFrançois Tigeot 27*83b4b9b9SFrançois Tigeot #ifndef _UAPI_LINUX_FB_H_ 28*83b4b9b9SFrançois Tigeot #define _UAPI_LINUX_FB_H_ 29*83b4b9b9SFrançois Tigeot 30*83b4b9b9SFrançois Tigeot #include <linux/types.h> 31*83b4b9b9SFrançois Tigeot #include <linux/i2c.h> 32*83b4b9b9SFrançois Tigeot 33*83b4b9b9SFrançois Tigeot struct fb_var_screeninfo { 34*83b4b9b9SFrançois Tigeot }; 35*83b4b9b9SFrançois Tigeot 36*83b4b9b9SFrançois Tigeot struct fb_cmap { 37*83b4b9b9SFrançois Tigeot }; 38*83b4b9b9SFrançois Tigeot 39*83b4b9b9SFrançois Tigeot #define VESA_NO_BLANKING 0 40*83b4b9b9SFrançois Tigeot #define VESA_POWERDOWN 3 41*83b4b9b9SFrançois Tigeot 42*83b4b9b9SFrançois Tigeot enum { 43*83b4b9b9SFrançois Tigeot FB_BLANK_UNBLANK = VESA_NO_BLANKING, 44*83b4b9b9SFrançois Tigeot FB_BLANK_POWERDOWN = VESA_POWERDOWN + 1 45*83b4b9b9SFrançois Tigeot }; 46*83b4b9b9SFrançois Tigeot 47*83b4b9b9SFrançois Tigeot struct fb_copyarea { 48*83b4b9b9SFrançois Tigeot }; 49*83b4b9b9SFrançois Tigeot 50*83b4b9b9SFrançois Tigeot struct fb_fillrect { 51*83b4b9b9SFrançois Tigeot }; 52*83b4b9b9SFrançois Tigeot 53*83b4b9b9SFrançois Tigeot struct fb_image { 54*83b4b9b9SFrançois Tigeot }; 55*83b4b9b9SFrançois Tigeot 56*83b4b9b9SFrançois Tigeot #endif /* _UAPI_LINUX_FB_H_ */ 57