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

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

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /include/video/hecubafb.h (Architecture i386) and /include/video/hecubafb.h (Architecture ppc)


  1 /*                                                  1 /*
  2  * hecubafb.h - definitions for the hecuba fra      2  * hecubafb.h - definitions for the hecuba framebuffer driver
  3  *                                                  3  *
  4  * Copyright (C) 2008 by Jaya Kumar                 4  * Copyright (C) 2008 by Jaya Kumar
  5  *                                                  5  *
  6  * This file is subject to the terms and condi      6  * This file is subject to the terms and conditions of the GNU General Public
  7  * License. See the file COPYING in the main d      7  * License. See the file COPYING in the main directory of this archive for
  8  * more details.                                    8  * more details.
  9  *                                                  9  *
 10  */                                                10  */
 11                                                    11 
 12 #ifndef _LINUX_HECUBAFB_H_                         12 #ifndef _LINUX_HECUBAFB_H_
 13 #define _LINUX_HECUBAFB_H_                         13 #define _LINUX_HECUBAFB_H_
 14                                                    14 
 15 /* Apollo controller specific defines */           15 /* Apollo controller specific defines */
 16 #define APOLLO_START_NEW_IMG    0xA0               16 #define APOLLO_START_NEW_IMG    0xA0
 17 #define APOLLO_STOP_IMG_DATA    0xA1               17 #define APOLLO_STOP_IMG_DATA    0xA1
 18 #define APOLLO_DISPLAY_IMG      0xA2               18 #define APOLLO_DISPLAY_IMG      0xA2
 19 #define APOLLO_ERASE_DISPLAY    0xA3               19 #define APOLLO_ERASE_DISPLAY    0xA3
 20 #define APOLLO_INIT_DISPLAY     0xA4               20 #define APOLLO_INIT_DISPLAY     0xA4
 21                                                    21 
 22 /* Hecuba interface specific defines */            22 /* Hecuba interface specific defines */
 23 #define HCB_WUP_BIT     0x01                       23 #define HCB_WUP_BIT     0x01
 24 #define HCB_DS_BIT      0x02                       24 #define HCB_DS_BIT      0x02
 25 #define HCB_RW_BIT      0x04                       25 #define HCB_RW_BIT      0x04
 26 #define HCB_CD_BIT      0x08                       26 #define HCB_CD_BIT      0x08
 27 #define HCB_ACK_BIT     0x80                       27 #define HCB_ACK_BIT     0x80
 28                                                    28 
 29 /* struct used by hecuba. board specific stuff     29 /* struct used by hecuba. board specific stuff comes from *board */
 30 struct hecubafb_par {                              30 struct hecubafb_par {
 31         struct fb_info *info;                      31         struct fb_info *info;
 32         struct hecuba_board *board;                32         struct hecuba_board *board;
 33         void (*send_command)(struct hecubafb_p     33         void (*send_command)(struct hecubafb_par *, unsigned char);
 34         void (*send_data)(struct hecubafb_par      34         void (*send_data)(struct hecubafb_par *, unsigned char);
 35 };                                                 35 };
 36                                                    36 
 37 /* board specific routines                         37 /* board specific routines
 38 board drivers can implement wait_for_ack with      38 board drivers can implement wait_for_ack with interrupts if desired. if
 39 wait_for_ack is called with clear=0, then go t     39 wait_for_ack is called with clear=0, then go to sleep and return when ack
 40 goes hi or if wait_for_ack with clear=1, then      40 goes hi or if wait_for_ack with clear=1, then return when ack goes lo */
 41 struct hecuba_board {                              41 struct hecuba_board {
 42         struct module *owner;                      42         struct module *owner;
 43         void (*remove)(struct hecubafb_par *);     43         void (*remove)(struct hecubafb_par *);
 44         void (*set_ctl)(struct hecubafb_par *,     44         void (*set_ctl)(struct hecubafb_par *, unsigned char, unsigned char);
 45         void (*set_data)(struct hecubafb_par *     45         void (*set_data)(struct hecubafb_par *, unsigned char);
 46         void (*wait_for_ack)(struct hecubafb_p     46         void (*wait_for_ack)(struct hecubafb_par *, int);
 47         int (*init)(struct hecubafb_par *);        47         int (*init)(struct hecubafb_par *);
 48 };                                                 48 };
 49                                                    49 
 50                                                    50 
 51 #endif                                             51 #endif
 52                                                    52 

~ [ 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