mirror of
https://github.com/X11Libre/xf86-video-sisusb.git
synced 2026-03-24 01:25:03 +00:00
Strip trailing whitespace from source files
Performed with: `git ls-files | xargs perl -i -p -e 's{[ \t]+$}{}'`
`git diff -w` & `git diff -b` show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-sisusb/-/merge_requests/8>
This commit is contained in:
4
.gitignore
vendored
4
.gitignore
vendored
@@ -71,8 +71,8 @@ core
|
||||
*.tar.bz2
|
||||
*.tar.gz
|
||||
#
|
||||
# Add & Override patterns for xf86-video-sisusb
|
||||
# Add & Override patterns for xf86-video-sisusb
|
||||
#
|
||||
# Edit the following section as needed
|
||||
# For example, !report.pc overrides *.pc. See 'man gitignore'
|
||||
#
|
||||
#
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||
# DEALINGS IN THE SOFTWARE.
|
||||
#
|
||||
#
|
||||
|
||||
drivermandir = $(DRIVER_MAN_DIR)
|
||||
|
||||
|
||||
@@ -38,10 +38,10 @@
|
||||
* 20000000 = 32(1) / 16(1) bit RGB
|
||||
* 10000000 = "ghost"(1) - Alpha Blend(0)
|
||||
*/
|
||||
|
||||
|
||||
#define sisusbGetCursorStatus \
|
||||
SIS_MMIO_IN32(pSiSUSB, pSiSUSB->IOBase, CS(0)) & 0x40000000;
|
||||
|
||||
|
||||
#define sisusbSetCursorStatus(status) \
|
||||
pSiSUSB->HWCursorBackup[0] &= 0xbfffffff; \
|
||||
pSiSUSB->HWCursorBackup[0] |= status; \
|
||||
@@ -55,7 +55,7 @@
|
||||
SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(0), pSiSUSB->HWCursorBackup[0]); \
|
||||
SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(3), pSiSUSB->HWCursorBackup[3]); \
|
||||
SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(4), pSiSUSB->HWCursorBackup[4]);
|
||||
|
||||
|
||||
#define sisusbEnableHWARGBCursor()\
|
||||
pSiSUSB->HWCursorBackup[0] &= 0x0FFFFFFF; \
|
||||
pSiSUSB->HWCursorBackup[0] |= 0xE0000000; \
|
||||
@@ -81,7 +81,7 @@
|
||||
SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(0), pSiSUSB->HWCursorBackup[0]); \
|
||||
SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(3), pSiSUSB->HWCursorBackup[3]); \
|
||||
SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(4), pSiSUSB->HWCursorBackup[4]);
|
||||
|
||||
|
||||
#define sisusbSetCursorBGColor(color) \
|
||||
SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, CS(1), (color)); \
|
||||
pSiSUSB->HWCursorBackup[1] = color;
|
||||
|
||||
Reference in New Issue
Block a user