OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [video/] [e1356fb.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 *      e1356fb.h  --  Epson SED1356 Framebuffer Driver IOCTL Interface
3
 *
4
 *      Copyright 2001, 2002, 2003 MontaVista Software Inc.
5
 *      Author: MontaVista Software, Inc.
6
 *              stevel@mvista.com or source@mvista.com
7
 *
8
 *      This program is free software; you can redistribute  it and/or modify it
9
 *      under  the terms of  the GNU General  Public License as published by the
10
 *      Free Software Foundation;  either version 2 of the  License, or (at your
11
 *      option) any later version.
12
 *
13
 *      THIS  SOFTWARE  IS PROVIDED   ``AS  IS'' AND   ANY  EXPRESS OR IMPLIED
14
 *      WARRANTIES,   INCLUDING, BUT NOT  LIMITED  TO, THE IMPLIED WARRANTIES OF
15
 *      MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN
16
 *      NO  EVENT  SHALL   THE AUTHOR  BE    LIABLE FOR ANY   DIRECT, INDIRECT,
17
 *      INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
18
 *      NOT LIMITED   TO, PROCUREMENT OF  SUBSTITUTE GOODS  OR SERVICES; LOSS OF
19
 *      USE, DATA,  OR PROFITS; OR  BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
20
 *      ANY THEORY OF LIABILITY, WHETHER IN  CONTRACT, STRICT LIABILITY, OR TORT
21
 *      (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22
 *      THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
 *
24
 *      You should have received a copy of the  GNU General Public License along
25
 *      with this program; if not, write  to the Free Software Foundation, Inc.,
26
 *      675 Mass Ave, Cambridge, MA 02139, USA.
27
 */
28
 
29
/*
30
 * IOCTLs to SED1356 fb driver. 0x45 is 'E' for Epson.
31
 */
32
#define FBIO_SED1356_BITBLT 0x4500
33
 
34
typedef struct {
35
        int   operation;
36
        int   rop;
37
        int   src_y;
38
        int   src_x;
39
        int   src_width;
40
        int   src_height;
41
        int   dst_y;
42
        int   dst_x;
43
        int   dst_width;
44
        int   dst_height;
45
        int   pattern_x;
46
        int   pattern_y;
47
        int   attribute;
48
        unsigned int bg_color;
49
        unsigned int fg_color;
50
        unsigned short* src;
51
        int   srcsize;
52
        int   srcstride;
53
} blt_info_t;
54
 
55
enum blt_attribute_t {
56
        BLT_ATTR_TRANSPARENT = 1
57
};
58
 
59
enum blt_operation_t {
60
        BLT_WRITE_ROP = 0,
61
        BLT_READ,
62
        BLT_MOVE_POS_ROP,
63
        BLT_MOVE_NEG_ROP,
64
        BLT_WRITE_TRANSP,
65
        BLT_MOVE_POS_TRANSP,
66
        BLT_PAT_FILL_ROP,
67
        BLT_PAT_FILL_TRANSP,
68
        BLT_COLOR_EXP,
69
        BLT_COLOR_EXP_TRANSP,
70
        BLT_MOVE_COLOR_EXP,
71
        BLT_MOVE_COLOR_EXP_TRANSP,
72
        BLT_SOLID_FILL
73
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.