]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - drivers/staging/sm750fb/sm750_accel.h
staging: sm750fb: change definition of DE_PITCH fields
[mirror_ubuntu-bionic-kernel.git] / drivers / staging / sm750fb / sm750_accel.h
index 8fba6e16f9b495762db60cf1e2399b74158a7a73..f14abb68af2e7555aae530c2986e04f641cc72f5 100644 (file)
@@ -98,8 +98,9 @@
 #define DE_CONTROL_ROTATION_180                         3
 
 #define DE_PITCH                                        0x000010
-#define DE_PITCH_DESTINATION                            28:16
-#define DE_PITCH_SOURCE                                 12:0
+#define DE_PITCH_DESTINATION_SHIFT                      16
+#define DE_PITCH_DESTINATION_MASK                       (0x1fff << 16)
+#define DE_PITCH_SOURCE_MASK                            0x1fff
 
 #define DE_FOREGROUND                                   0x000014
 #define DE_FOREGROUND_COLOR                             31:0