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

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

Version: ~ [ linux-6.1-rc7 ] ~ [ linux-6.0.10 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.80 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.156 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.225 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.267 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.300 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.334 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.302 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ 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 ] ~

  1 /*
  2  * metronomefb.h - definitions for the metronome framebuffer driver
  3  *
  4  * Copyright (C) 2008 by Jaya Kumar
  5  *
  6  * This file is subject to the terms and conditions of the GNU General Public
  7  * License. See the file COPYING in the main directory of this archive for
  8  * more details.
  9  *
 10  */
 11 
 12 #ifndef _LINUX_METRONOMEFB_H_
 13 #define _LINUX_METRONOMEFB_H_
 14 
 15 /* command structure used by metronome controller */
 16 struct metromem_cmd {
 17         u16 opcode;
 18         u16 args[((64-2)/2)];
 19         u16 csum;
 20 };
 21 
 22 /* struct used by metronome. board specific stuff comes from *board */
 23 struct metronomefb_par {
 24         struct metromem_cmd *metromem_cmd;
 25         unsigned char *metromem_wfm;
 26         unsigned char *metromem_img;
 27         u16 *metromem_img_csum;
 28         u16 *csum_table;
 29         dma_addr_t metromem_dma;
 30         struct fb_info *info;
 31         struct metronome_board *board;
 32         wait_queue_head_t waitq;
 33         u8 frame_count;
 34         int extra_size;
 35         int dt;
 36 };
 37 
 38 /* board specific routines and data */
 39 struct metronome_board {
 40         struct module *owner; /* the platform device */
 41         void (*set_rst)(struct metronomefb_par *, int);
 42         void (*set_stdby)(struct metronomefb_par *, int);
 43         void (*cleanup)(struct metronomefb_par *);
 44         int (*met_wait_event)(struct metronomefb_par *);
 45         int (*met_wait_event_intr)(struct metronomefb_par *);
 46         int (*setup_irq)(struct fb_info *);
 47         int (*setup_fb)(struct metronomefb_par *);
 48         int (*setup_io)(struct metronomefb_par *);
 49         int (*get_panel_type)(void);
 50         unsigned char *metromem;
 51         int fw;
 52         int fh;
 53         int wfm_size;
 54         struct fb_info *host_fbinfo; /* the host LCD controller's fbi */
 55 };
 56 
 57 #endif
 58 

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

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | 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.

osdn.jp