remarkable-linux/drivers/video/geode
Andres Salomon d255114f22 gxfb: clean up register definitions
This does the following in preparation for register saving:
  - moves the register definitions from video_gx.h and display_gx.h into
    gxfb.h.
  - renames GX_* registers to match their section (ie, VP_).
  - renames register bitfields to match the data sheet (ie,
    DC_DCFG_TGEN -> DC_DISPLAY_CFG_TGEN).
  - for DC registers, rather than defining to specific addresses, use
    an enum to number them sequentially and just multiply by 4(bytes) to
    access them (in read_dc/write_dc).
  - for VP and FP registers, use an enum and multiple by 8 (bytes).  They're
    64bit registers.

Signed-off-by: Andres Salomon <dilinger@debian.org>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: "Antonino A. Daplas" <adaplas@pol.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-28 08:58:36 -07:00
..
display_gx.c gxfb: clean up register definitions 2008-04-28 08:58:36 -07:00
display_gx.h gxfb: clean up register definitions 2008-04-28 08:58:36 -07:00
display_gx1.c
display_gx1.h
geodefb.h
gx1fb_core.c
gxfb.h gxfb: clean up register definitions 2008-04-28 08:58:36 -07:00
gxfb_core.c gxfb: create DC/VP/FP-specific handlers rather than using readl/writel 2008-04-28 08:58:36 -07:00
Kconfig gxfb: replace FBSIZE config option with a module parameter 2008-04-28 08:58:36 -07:00
lxfb.h x86: geode: MSR cleanup 2008-04-28 08:58:35 -07:00
lxfb_core.c
lxfb_ops.c x86: geode: MSR cleanup 2008-04-28 08:58:35 -07:00
Makefile
video_cs5530.c
video_cs5530.h
video_gx.c gxfb: clean up register definitions 2008-04-28 08:58:36 -07:00
video_gx.h gxfb: clean up register definitions 2008-04-28 08:58:36 -07:00