~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/include/video/kyro.h

Version: ~ [ linux-6.11.5 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.58 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.114 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.169 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.228 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.284 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.322 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/video/kyro.h (Version linux-6.11.5) and /include/video/kyro.h (Version linux-5.9.16)


  1 /*                                                  1 /*
  2  *  linux/drivers/video/kyro/kryo.h                 2  *  linux/drivers/video/kyro/kryo.h
  3  *                                                  3  *
  4  *  Copyright (C) 2002 STMicroelectronics           4  *  Copyright (C) 2002 STMicroelectronics
  5  *  Copyright (C) 2004 Paul Mundt                   5  *  Copyright (C) 2004 Paul Mundt
  6  *                                                  6  *
  7  * This file is subject to the terms and condi      7  * This file is subject to the terms and conditions of the GNU General Public
  8  * License.  See the file COPYING in the main       8  * License.  See the file COPYING in the main directory of this archive
  9  * for more details.                                9  * for more details.
 10  */                                                10  */
 11                                                    11 
 12 #ifndef _KYRO_H                                    12 #ifndef _KYRO_H
 13 #define _KYRO_H                                    13 #define _KYRO_H
 14                                                    14 
 15 struct kyrofb_info {                               15 struct kyrofb_info {
 16         void __iomem *regbase;                     16         void __iomem *regbase;
 17                                                    17 
 18         u32 palette[16];                           18         u32 palette[16];
 19         u32 HTot;       /* Hor Total Time    *     19         u32 HTot;       /* Hor Total Time    */
 20         u32 HFP;        /* Hor Front Porch   *     20         u32 HFP;        /* Hor Front Porch   */
 21         u32 HST;        /* Hor Sync Time     *     21         u32 HST;        /* Hor Sync Time     */
 22         u32 HBP;        /* Hor Back Porch    *     22         u32 HBP;        /* Hor Back Porch    */
 23         s32 HSP;                /* Hor Sync Po     23         s32 HSP;                /* Hor Sync Polarity */
 24         u32 VTot;       /* Ver Total Time    *     24         u32 VTot;       /* Ver Total Time    */
 25         u32 VFP;        /* Ver Front Porch   *     25         u32 VFP;        /* Ver Front Porch   */
 26         u32 VST;        /* Ver Sync Time     *     26         u32 VST;        /* Ver Sync Time     */
 27         u32 VBP;        /* Ver Back Porch    *     27         u32 VBP;        /* Ver Back Porch    */
 28         s32 VSP;                /* Ver Sync Po     28         s32 VSP;                /* Ver Sync Polarity */
 29         u32 XRES;       /* X Resolution      *     29         u32 XRES;       /* X Resolution      */
 30         u32 YRES;       /* Y Resolution      *     30         u32 YRES;       /* Y Resolution      */
 31         u32 VFREQ;      /* Ver Frequency     *     31         u32 VFREQ;      /* Ver Frequency     */
 32         u32 PIXCLK;     /* Pixel Clock       *     32         u32 PIXCLK;     /* Pixel Clock       */
 33         u32 HCLK;       /* Hor Clock         *     33         u32 HCLK;       /* Hor Clock         */
 34                                                    34 
 35         /* Useful to hold depth here for Linux     35         /* Useful to hold depth here for Linux */
 36         u8 PIXDEPTH;                               36         u8 PIXDEPTH;
 37                                                    37 
 38         int wc_cookie;                             38         int wc_cookie;
 39 };                                                 39 };
 40                                                    40 
                                                   >>  41 extern int kyro_dev_init(void);
                                                   >>  42 extern void kyro_dev_reset(void);
                                                   >>  43 
                                                   >>  44 extern unsigned char *kyro_dev_physical_fb_ptr(void);
                                                   >>  45 extern unsigned char *kyro_dev_virtual_fb_ptr(void);
                                                   >>  46 extern void *kyro_dev_physical_regs_ptr(void);
                                                   >>  47 extern void *kyro_dev_virtual_regs_ptr(void);
                                                   >>  48 extern unsigned int kyro_dev_fb_size(void);
                                                   >>  49 extern unsigned int kyro_dev_regs_size(void);
                                                   >>  50 
                                                   >>  51 extern u32 kyro_dev_overlay_offset(void);
                                                   >>  52 
 41 /*                                                 53 /*
 42  * benedict.gaster@superh.com                      54  * benedict.gaster@superh.com
 43  * Added the follow IOCTLS for the creation of     55  * Added the follow IOCTLS for the creation of overlay services...
 44  */                                                56  */
 45 #define KYRO_IOC_MAGIC 'k'                         57 #define KYRO_IOC_MAGIC 'k'
 46                                                    58 
 47 #define KYRO_IOCTL_OVERLAY_CREATE       _IO(KY     59 #define KYRO_IOCTL_OVERLAY_CREATE       _IO(KYRO_IOC_MAGIC, 0)
 48 #define KYRO_IOCTL_OVERLAY_VIEWPORT_SET _IO(KY     60 #define KYRO_IOCTL_OVERLAY_VIEWPORT_SET _IO(KYRO_IOC_MAGIC, 1)
 49 #define KYRO_IOCTL_SET_VIDEO_MODE       _IO(KY     61 #define KYRO_IOCTL_SET_VIDEO_MODE       _IO(KYRO_IOC_MAGIC, 2)
 50 #define KYRO_IOCTL_UVSTRIDE             _IO(KY     62 #define KYRO_IOCTL_UVSTRIDE             _IO(KYRO_IOC_MAGIC, 3)
 51 #define KYRO_IOCTL_OVERLAY_OFFSET       _IO(KY     63 #define KYRO_IOCTL_OVERLAY_OFFSET       _IO(KYRO_IOC_MAGIC, 4)
 52 #define KYRO_IOCTL_STRIDE               _IO(KY     64 #define KYRO_IOCTL_STRIDE               _IO(KYRO_IOC_MAGIC, 5)
 53                                                    65 
 54 /*                                                 66 /*
 55  * The follow 3 structures are used to pass da     67  * The follow 3 structures are used to pass data from user space into the kernel
 56  * for the creation of overlay surfaces and se     68  * for the creation of overlay surfaces and setting the video mode.
 57  */                                                69  */
 58 typedef struct _OVERLAY_CREATE {                   70 typedef struct _OVERLAY_CREATE {
 59         u32 ulWidth;                               71         u32 ulWidth;
 60         u32 ulHeight;                              72         u32 ulHeight;
 61         int bLinear;                               73         int bLinear;
 62 } overlay_create;                                  74 } overlay_create;
 63                                                    75 
 64 typedef struct _OVERLAY_VIEWPORT_SET {             76 typedef struct _OVERLAY_VIEWPORT_SET {
 65         u32 xOrgin;                                77         u32 xOrgin;
 66         u32 yOrgin;                                78         u32 yOrgin;
 67         u32 xSize;                                 79         u32 xSize;
 68         u32 ySize;                                 80         u32 ySize;
 69 } overlay_viewport_set;                            81 } overlay_viewport_set;
 70                                                    82 
 71 typedef struct _SET_VIDEO_MODE {                   83 typedef struct _SET_VIDEO_MODE {
 72         u32 ulWidth;                               84         u32 ulWidth;
 73         u32 ulHeight;                              85         u32 ulHeight;
 74         u32 ulScan;                                86         u32 ulScan;
 75         u8 displayDepth;                           87         u8 displayDepth;
 76         int bLinear;                               88         int bLinear;
 77 } set_video_mode;                                  89 } set_video_mode;
 78                                                    90 
 79 #endif /* _KYRO_H */                               91 #endif /* _KYRO_H */
 80                                                    92 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php