/* * linux/drivers/video/w100fb.c * * Frame Buffer Device for ATI Imageon w100 (Wallaby) * * Copyright (C) 2002, ATI Corp. * Copyright (C) 2004-2005 Richard Purdie * Copyright (c) 2005 Ian Molton * * Rewritten for 2.6 by Richard Purdie <rpurdie@rpsys.net> * * Generic platform support by Ian Molton <spyro@f2s.com> * and Richard Purdie <rpurdie@rpsys.net> * * w32xx support by Ian Molton * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */#include<linux/delay.h>#include<linux/fb.h>#include<linux/init.h>#include<linux/kernel.h>#include<linux/mm.h>#include<linux/device.h>#include<linux/string.h>#include<linux/vmalloc.h>#include<asm/io.h>#include<asm/uaccess.h>#include<video/w100fb.h>#include"w100fb.h"/* * Prototypes */staticvoidw100_suspend(u32mode);staticvoidw100_vsync(void);staticvoidw100_hw_init(structw100fb_par*);staticvoidw100_pwm_setup(structw100fb_par*);staticvoidw100_init_clocks(structw100fb_par*);staticvoidw100_setup_memory(structw100fb_par*);staticvoidw100_init_lcd(structw100fb_par*);staticvoidw100_set_dispregs(structw100fb_par*);staticvoidw100_update_enable(void);staticvoidw100_update_disable(void);staticvoidcalc_hsync(struct