broadsheetfb.h (d585a021c0b10b0477d6b608c53e1feb8cde0507) | broadsheetfb.h (c1c341a060da1bd66a1982198b1a99765b07b8a2) |
---|---|
1/* 2 * broadsheetfb.h - definitions for the broadsheet 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. --- 27 unchanged lines hidden (view full) --- 36 37/* struct used by broadsheet. board specific stuff comes from *board */ 38struct broadsheetfb_par { 39 struct fb_info *info; 40 struct broadsheet_board *board; 41 void (*write_reg)(struct broadsheetfb_par *, u16 reg, u16 val); 42 u16 (*read_reg)(struct broadsheetfb_par *, u16 reg); 43 wait_queue_head_t waitq; | 1/* 2 * broadsheetfb.h - definitions for the broadsheet 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. --- 27 unchanged lines hidden (view full) --- 36 37/* struct used by broadsheet. board specific stuff comes from *board */ 38struct broadsheetfb_par { 39 struct fb_info *info; 40 struct broadsheet_board *board; 41 void (*write_reg)(struct broadsheetfb_par *, u16 reg, u16 val); 42 u16 (*read_reg)(struct broadsheetfb_par *, u16 reg); 43 wait_queue_head_t waitq; |
44 int panel_index; |
|
44}; 45 46/* board specific routines */ 47struct broadsheet_board { 48 struct module *owner; 49 int (*init)(struct broadsheetfb_par *); 50 int (*wait_for_rdy)(struct broadsheetfb_par *); 51 void (*set_ctl)(struct broadsheetfb_par *, unsigned char, u8); 52 void (*set_hdb)(struct broadsheetfb_par *, u16); 53 u16 (*get_hdb)(struct broadsheetfb_par *); 54 void (*cleanup)(struct broadsheetfb_par *); 55 int (*get_panel_type)(void); 56 int (*setup_irq)(struct fb_info *); 57}; 58 59#endif | 45}; 46 47/* board specific routines */ 48struct broadsheet_board { 49 struct module *owner; 50 int (*init)(struct broadsheetfb_par *); 51 int (*wait_for_rdy)(struct broadsheetfb_par *); 52 void (*set_ctl)(struct broadsheetfb_par *, unsigned char, u8); 53 void (*set_hdb)(struct broadsheetfb_par *, u16); 54 u16 (*get_hdb)(struct broadsheetfb_par *); 55 void (*cleanup)(struct broadsheetfb_par *); 56 int (*get_panel_type)(void); 57 int (*setup_irq)(struct fb_info *); 58}; 59 60#endif |