aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/vb_util.c
Commit message (Collapse)AuthorAgeFilesLines
* more driver stuff from 3.2.72Wolfgang Wiedmeyer2015-10-231-2/+3
|
* Staging: xgifb: Fixed header file.Kenji Toyama2011-04-251-1/+1
| | | | | | | | As suggested by checkpatch.pl, <linux/io.h> should be used instead of <asm/io.h>. Signed-off-by: Daniel Kenji Toyama <kenji.toyama@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: clean up register function variable namesAaro Koskinen2011-03-141-13/+13
| | | | | | | Eliminate mixed case from variable names. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: clean up register access typesAaro Koskinen2011-03-141-13/+10
| | | | | | | | Make type usage consistent. Use u8 for HW registers and unsigned for bitmasks. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: rename XGINew_SetRegAND() to xgifb_reg_and()Aaro Koskinen2011-03-141-1/+1
| | | | | | | Rename XGINew_SetRegAND() to xgifb_reg_and(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: rename XGINew_SetRegANDOR() to xgifb_reg_and_or()Aaro Koskinen2011-03-141-1/+1
| | | | | | | Rename XGINew_SetRegANDOR() to xgifb_reg_and_or(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: rename XGINew_SetRegOR() to xgifb_reg_or()Aaro Koskinen2011-03-141-1/+1
| | | | | | | Rename XGINew_SetRegOR() to xgifb_reg_or(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: rename XGINew_GetReg1() to xgifb_reg_get()Aaro Koskinen2011-03-141-4/+4
| | | | | | | Rename XGINew_GetReg1() to xgifb_reg_get(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: rename XGINew_SetReg1() to xgifb_reg_set()Aaro Koskinen2011-03-141-10/+4
| | | | | | | Rename XGINew_SetReg1() to xgifb_reg_set(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: replace XGINew_SetReg4() with outl()Aaro Koskinen2011-03-141-5/+0
| | | | | | | Replace XGINew_SetReg4() with outl(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: replace XGINew_SetReg3() with outb()Aaro Koskinen2011-03-141-5/+0
| | | | | | | Replace XGINew_SetReg3() with outb(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: replace XGINew_GetReg3() with inl()Aaro Koskinen2011-03-141-9/+0
| | | | | | | Replace XGINew_GetReg3() with inl(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: replace XGINew_GetReg2() with inb()Aaro Koskinen2011-03-141-9/+0
| | | | | | | Replace XGINew_GetReg2() with inb(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: vb_util: delete commented-out codeAaro Koskinen2011-03-141-34/+0
| | | | | | | Delete commented-out code. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: xgifb: vb_util: include the .h fileAaro Koskinen2011-03-141-14/+1
| | | | | | | Include the .h file and delete redundant definitions. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: fixed many style issues in vb_util.cPrashant P. Shah2010-09-041-127/+58
| | | | | | | | | | | | This is a patch to the vb_util.c file that fixes many style issues found by the checkpatch.pl tool. - extra spaces - invalid code indent - extra braces - invalid comment style Signed-off-by: Prashant P. Shah <pshah.mumbai@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: fix lots of sparse warningsRandy Dunlap2010-08-311-5/+2
| | | | | | | | | | | | | | Fix many sparse warnings about data or functions being static. Fix many sparse warnings about data or functions not being used (put them inside #if 0/#endif blocks). Fix sparse warnings about 0 being used for NULL. Fixed a small bit of source formatting when those lines were being modified anyway, but there is still lots of this yet to be done. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: devel@driverdev.osuosl.org Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove SHORT, UCHAR, and LONG typedefBill Pemberton2010-06-221-8/+8
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove USHORT, ULONG, BOOLEAN, and VOID typedefsBill Pemberton2010-06-221-25/+28
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove PUCHAR typedefBill Pemberton2010-06-221-1/+1
| | | | | | | | PUCHAR was unsigned char *, use that instead Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove port macros in osdef.hBill Pemberton2010-06-221-10/+8
| | | | | | | | | | The port related macros in osdef.h are replaced with calls to out?() and in?(). This removes the last macros defined in osdef.h, so this file is no longer needed. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove use of LINUX_KERNEL defineBill Pemberton2010-06-221-4/+0
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove use of LINUX_XF86 defineBill Pemberton2010-06-221-22/+0
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove use of TC defineBill Pemberton2010-06-221-9/+0
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove use of WINCE_HEADER defineBill Pemberton2010-06-221-2/+0
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: xgifb: Remove code for WIN2000Bill Pemberton2010-06-221-19/+0
| | | | | | Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* staging: Add framebuffer driver for XGI chipsetsapatard@mandriva.com2010-06-041-0/+263
This driver handles XG20, XG21, XG40, XG42 chipsets from XGI. They're also known as Z7,Z9,Z11 chipsets. It's based on the SiS fb driver but has been heavily modified by XGI to support their newer chipsets. Signed-off-by: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>