| 1 |
|
| 2 | |
| 3 | * Copyright (C) 2006 Sony Computer Entertainment Inc.
|
| 4 | * Copyright 2006, 2007 Sony Corporation
|
| 5 |
|
| 6 |
|
| 7 | #ifndef _ASM_POWERPC_PS3FB_H_
|
| 8 | #define _ASM_POWERPC_PS3FB_H_
|
| 9 |
|
| 10 | #include <linux/types.h>
|
| 11 | #include <linux/ioctl.h>
|
| 12 |
|
| 13 |
|
| 14 | #define PS3FB_IOCTL_SETMODE _IOW('r', 1, int)
|
| 15 | #define PS3FB_IOCTL_GETMODE _IOR('r', 2, int)
|
| 16 | #define PS3FB_IOCTL_SCREENINFO _IOR('r', 3, int)
|
| 17 | #define PS3FB_IOCTL_ON _IO('r', 4)
|
| 18 | #define PS3FB_IOCTL_OFF _IO('r', 5)
|
| 19 | #define PS3FB_IOCTL_FSEL _IOW('r', 6, int)
|
| 20 |
|
| 21 | #ifndef FBIO_WAITFORVSYNC
|
| 22 | #define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32)
|
| 23 | #endif
|
| 24 |
|
| 25 | struct ps3fb_ioctl_res {
|
| 26 | __u32 xres;
|
| 27 | __u32 yres;
|
| 28 | __u32 xoff;
|
| 29 | __u32 yoff;
|
| 30 | __u32 num_frames;
|
| 31 | };
|
| 32 |
|
| 33 | #endif
|