summaryrefslogtreecommitdiff
path: root/drivers/video/wmt/com-mb.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/wmt/com-mb.h')
-rw-r--r--[-rwxr-xr-x]drivers/video/wmt/com-mb.h38
1 files changed, 12 insertions, 26 deletions
diff --git a/drivers/video/wmt/com-mb.h b/drivers/video/wmt/com-mb.h
index 1b1380b5..2045a8ea 100755..100644
--- a/drivers/video/wmt/com-mb.h
+++ b/drivers/video/wmt/com-mb.h
@@ -1,19 +1,19 @@
-/*++
- * WonderMedia Memory Block driver
+/*++
+ * WonderMedia Memory Block driver
*
* Copyright c 2010 WonderMedia Technologies, Inc.
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 2 of the License, or
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
+ * You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* WonderMedia Technologies, Inc.
@@ -31,7 +31,7 @@
/*------------------------------------------------------------------------------
Macros below are used for driver in IOCTL
------------------------------------------------------------------------------*/
-#define MB_IOC_MAGIC 'M'
+#define MB_IOC_MAGIC 'M'
/* O: physical address I: size */
#define MBIO_MALLOC _IOWR(MB_IOC_MAGIC, 0, unsigned long)
@@ -58,7 +58,7 @@
#define MBIO_STATIC_SIZE _IOR(MB_IOC_MAGIC, 10, unsigned long)
/* O: use counter I: physical address */
#define MBIO_MB_USER_COUNT _IOWR(MB_IOC_MAGIC, 11, unsigned long)
-#define MBIO_FORCE_RESET _IO(MB_IOC_MAGIC, 12)
+#define MBIO_FORCE_RESET _IO (MB_IOC_MAGIC,12)
/* I: phys address */
#define MBIO_GET_BY_PHYS _IOW(MB_IOC_MAGIC, 13, unsigned long)
/* I: phys address */
@@ -71,20 +71,6 @@
#define MBIO_SET_CACHABLE _IOW(MB_IOC_MAGIC, 17, unsigned long)
/* O: property of MB */
#define MBIO_CLR_CACHABLE _IOW(MB_IOC_MAGIC, 18, unsigned long)
-/* I: phys address */
-#define MBIO_STATIC_GET _IOW(MB_IOC_MAGIC, 19, unsigned long)
-/* I: phys address */
-#define MBIO_STATIC_PUT _IOW(MB_IOC_MAGIC, 20, unsigned long)
-/* I: user address O: physical address */
-#define MBIO_TEST_USER2PHYS _IOWR(MB_IOC_MAGIC, 100, unsigned long)
-/* I: user address, size, prdt addr, and prdt size */
-#define MBIO_TEST_USER2PRDT _IOWR(MB_IOC_MAGIC, 101, unsigned long)
-/* I: user address, size, mmu addr, and mmu size O: mmu physical addr */
-#define MBIO_TEST_USER2MMUT _IOWR(MB_IOC_MAGIC, 102, unsigned long)
-/* I: user address, size, prdt addr, and prdt size */
-#define MBIO_TEST_MB2PRDT _IOWR(MB_IOC_MAGIC, 103, unsigned long)
-/* I: user address, size, mmu addr, and mmu size O: mmu physical addr */
-#define MBIO_TEST_MB2MMUT _IOWR(MB_IOC_MAGIC, 104, unsigned long)
#endif /* ifndef COM_MB_H */