]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/staging/sm750fb/sm750_accel.h
staging: sm750fb: change definition of DE_DIMENSION fields
[karo-tx-linux.git] / drivers / staging / sm750fb / sm750_accel.h
index f8dc3f120f089e15750813ca262d986323cae384..c38ff4508265ee248dc921c35d0cfa6ecb5b1e86 100644 (file)
@@ -34,8 +34,9 @@
 #define DE_DESTINATION_Y_MASK                           0xffff
 
 #define DE_DIMENSION                                    0x8
-#define DE_DIMENSION_X                                  28:16
-#define DE_DIMENSION_Y_ET                               15:0
+#define DE_DIMENSION_X_SHIFT                            16
+#define DE_DIMENSION_X_MASK                             (0x1fff << 16)
+#define DE_DIMENSION_Y_ET_MASK                          0x1fff
 
 #define DE_CONTROL                                      0xC
 #define DE_CONTROL_STATUS                               31:31