Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
metronomefb.h
Go to the documentation of this file.
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 {
18  u16 args[((64-2)/2)];
20 };
21 
22 /* struct used by metronome. board specific stuff comes from *board */
25  unsigned char *metromem_wfm;
26  unsigned char *metromem_img;
30  struct fb_info *info;
35  int dt;
36 };
37 
38 /* board specific routines and data */
40  struct module *owner; /* the platform device */
46  int (*setup_irq)(struct fb_info *);
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