summaryrefslogtreecommitdiffstats
path: root/drivers/staging/xgifb/vb_util.h
AgeCommit message (Collapse)Author
2016-03-29staging: xgifb: fix bare use of 'unsigned'Clifton Barnes
fix checkpatch.pl warning about 'Prefer 'unsigned int' to bare use of 'unsigned'' Signed-off-by: Clifton Barnes <clifton.a.barnes@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-10-02Staging: xgifb: vb_util: Fixed sparse warning of bit truncation due to castShivani Bhardwaj
Fixed the warning generated by sparse that 'cast truncates bits from constant value' by typecasting unsigned values to u8 as their logical operation is being performed with and stored in a u8 type variable. Signed-off-by: Shivani Bhardwaj <shivanib134@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-07-14staging/xgifb: Move register helper functions to headerPeter Huewe
and mark them as static inline. This shrinks the compiled module from 137442 to 117732 bytes and we also get rid of vb_util.c Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2011-03-14staging: xgifb: clean up register access typesAaro Koskinen
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>
2011-03-14staging: xgifb: rename XGINew_SetRegAND() to xgifb_reg_and()Aaro Koskinen
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>
2011-03-14staging: xgifb: rename XGINew_SetRegANDOR() to xgifb_reg_and_or()Aaro Koskinen
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>
2011-03-14staging: xgifb: rename XGINew_SetRegOR() to xgifb_reg_or()Aaro Koskinen
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>
2011-03-14staging: xgifb: rename XGINew_GetReg1() to xgifb_reg_get()Aaro Koskinen
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>
2011-03-14staging: xgifb: rename XGINew_SetReg1() to xgifb_reg_set()Aaro Koskinen
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>
2011-03-14staging: xgifb: replace XGINew_SetReg4() with outl()Aaro Koskinen
Replace XGINew_SetReg4() with outl(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14staging: xgifb: replace XGINew_SetReg3() with outb()Aaro Koskinen
Replace XGINew_SetReg3() with outb(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14staging: xgifb: replace XGINew_GetReg3() with inl()Aaro Koskinen
Replace XGINew_GetReg3() with inl(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14staging: xgifb: replace XGINew_GetReg2() with inb()Aaro Koskinen
Replace XGINew_GetReg2() with inb(). Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14staging: xgifb: vb_util: delete commented-out codeAaro Koskinen
Delete commented-out code. Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-22Staging: xgifb: Remove SHORT, UCHAR, and LONG typedefBill Pemberton
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-22Staging: xgifb: Remove USHORT, ULONG, BOOLEAN, and VOID typedefsBill Pemberton
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Cc: Arnaud Patard <apatard@mandriva.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-06-04staging: Add framebuffer driver for XGI chipsetsapatard@mandriva.com
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>