]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - ipc/ipcdev.git/blob - qnx/src/ipc3x_dev/tiler/resmgr/tiler/public/tiler/tiler_devctl_cmds.h
Tests: Update tests to support concurrently loaded slaves
[ipc/ipcdev.git] / qnx / src / ipc3x_dev / tiler / resmgr / tiler / public / tiler / tiler_devctl_cmds.h
1 /*
2  * Copyright (c) 2010, Texas Instruments Incorporated
3  * All rights reserved.
4  *
5  * Redistribution and use in source and binary forms, with or without
6  * modification, are permitted provided that the following conditions
7  * are met:
8  *
9  * *  Redistributions of source code must retain the above copyright
10  *    notice, this list of conditions and the following disclaimer.
11  *
12  * *  Redistributions in binary form must reproduce the above copyright
13  *    notice, this list of conditions and the following disclaimer in the
14  *    documentation and/or other materials provided with the distribution.
15  *
16  * *  Neither the name of Texas Instruments Incorporated nor the names of
17  *    its contributors may be used to endorse or promote products derived
18  *    from this software without specific prior written permission.
19  *
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31  * */
32 /*
33  * tiler_devctl_cmds.h
34  *
35  * TILER driver supported commands for TI OMAP processors.
36  */
38 #ifndef TILER_DEVCTL_CMDS_H
39 #define TILER_DEVCTL_CMDS_H
41 /* Event types */
42 #define TILER_DEVICE_CLOSE      0
44 #define TILIOC_BASE 100
46 #define TILIOC_GBUF      __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x00, struct tiler_block_info)
47 #define TILIOC_FBUF      __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x01, struct tiler_block_info)
48 #define TILIOC_GSSP      __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x02, uint32_t)
49 #define TILIOC_MBUF      __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x03, struct tiler_block_info)
50 #define TILIOC_UMBUF     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x04, struct tiler_block_info)
51 #define TILIOC_QBUF      __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x05, struct tiler_buf_info)
52 #define TILIOC_RBUF      __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x06, struct tiler_buf_info)
53 #define TILIOC_URBUF     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x07, struct tiler_buf_info)
54 #define TILIOC_QUERY_BLK __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x08, struct tiler_block_info)
55 #define TILIOC_MMAP      __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x09, uint32_t)
57 #define TILIOC_USRMX     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x0A, struct tiler_mapx_info)
58 #define TILIOC_USRF      __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x0B, uint32_t)
59 #define TILIOC_USRGX     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x0C, struct tiler_allocx_info)
60 #define TILIOC_USRRX     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x0D, struct tiler_reservex_info)
61 #define TILIOC_USRGP     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x0E, struct tiler_allocp_info)
62 #define TILIOC_USRGPNV12 __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x0F, struct tiler_allocpnv12_info)
63 #define TILIOC_USRROA    __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x10, struct tiler_reorient_info)
64 #define TILIOC_USRGNA    __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x11, uint32_t)
65 #define TILIOC_USRROTL   __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x12, struct tiler_reorient_tl_info)
66 #define TILIOC_USRSTRIDE __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x13, uint32_t)
67 #define TILIOC_USRRV     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x14, struct tiler_rotate_view_info)
68 #define TILIOC_USRGPNV12OPT __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x15, struct tiler_allocpnv12_info)
69 #define TILIOC_REGNOTIFY    __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x16, struct tiler_regnotify_info)
70 #define TILIOC_UNREGNOTIFY  __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x17, struct tiler_regnotify_info)
71 #define TILIOC_USRGB     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x19, struct tiler_alloc_block_area_info)
72 #define TILIOC_USRFB     __DIOTF(_DCMD_MISC, TILIOC_BASE + 0x1A, uint32_t)
73 #define TILIOC_USRMB     __DIOT(_DCMD_MISC, TILIOC_BASE + 0x1B, struct tiler_map_block_info)
74 #define TILIOC_USRUMB    __DIOT(_DCMD_MISC, TILIOC_BASE + 0x1C, uint32_t)
76 #endif