Path: blob/master/arch/powerpc/include/uapi/asm/ps3fb.h
26516 views
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */1/*2* Copyright (C) 2006 Sony Computer Entertainment Inc.3* Copyright 2006, 2007 Sony Corporation4*/56#ifndef _ASM_POWERPC_PS3FB_H_7#define _ASM_POWERPC_PS3FB_H_89#include <linux/types.h>10#include <linux/ioctl.h>1112/* ioctl */13#define PS3FB_IOCTL_SETMODE _IOW('r', 1, int) /* set video mode */14#define PS3FB_IOCTL_GETMODE _IOR('r', 2, int) /* get video mode */15#define PS3FB_IOCTL_SCREENINFO _IOR('r', 3, int) /* get screen info */16#define PS3FB_IOCTL_ON _IO('r', 4) /* use IOCTL_FSEL */17#define PS3FB_IOCTL_OFF _IO('r', 5) /* return to normal-flip */18#define PS3FB_IOCTL_FSEL _IOW('r', 6, int) /* blit and flip request */1920#ifndef FBIO_WAITFORVSYNC21#define FBIO_WAITFORVSYNC _IOW('F', 0x20, __u32) /* wait for vsync */22#endif2324struct ps3fb_ioctl_res {25__u32 xres; /* frame buffer x_size */26__u32 yres; /* frame buffer y_size */27__u32 xoff; /* margine x */28__u32 yoff; /* margine y */29__u32 num_frames; /* num of frame buffers */30};3132#endif /* _ASM_POWERPC_PS3FB_H_ */333435