android_kernel_samsung_msm8976/drivers/video
Eric Miao 7053acbd78 [ARM] 4304/1: removes the unnecessary bit number from CKENnn_XXXX
This patch removes the unnecessary bit number from CKENnn_XXXX
definitions for PXA, so that

	CKEN0_PWM0 --> CKEN_PWM0
	CKEN1_PWM1 --> CKEN_PWM1
	...
	CKEN24_CAMERA --> CKEN_CAMERA

The reasons for the change of these defitions are:

1. they do not scale - they are currently valid for pxa2xx, but
definitely not valid for pxa3xx, e.g., pxa3xx has bit 3 for camera
instead of bit 24

2. they are unnecessary - the peripheral name within the definition
has already announced its usage, we don't need those bit numbers
to know which peripheral we are going to enable/disable clock for

3. they are inconvenient - think about this: a driver programmer
for pxa has to remember which bit in the CKEN register to turn
on/off

Another change in the patch is to make the definitions equal to its
clock bit index, so that

   #define CKEN_CAMERA  (24)

instead of

   #define CKEN_CAMERA  (1 << 24)

this change, however, will add a run-time bit shift operation in
pxa_set_cken(), but the benefit of this change is that it scales
when bit index exceeds 32, e.g., pxa3xx has two registers CKENA
and CKENB, totally 64 bit for this, suppose CAMERA clock enabling
bit is CKENB:10, one can simply define CKEN_CAMERA to be (32 + 10)
and so that pxa_set_cken() need minimum change to adapt to that.

Signed-off-by: eric miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-04-21 23:14:01 +01:00
..
aty [PATCH] atyfb: fix kconfig error part 2 2007-03-06 09:30:24 -08:00
backlight [PATCH] misc NULL noise 2007-03-14 15:27:49 -07:00
console backlight/fbcon: Add FB_EVENT_CONBLANK 2007-02-20 08:38:45 +00:00
geode [PATCH] Recognize video=gx1fb:... option 2007-02-12 09:48:42 -08:00
i810 [PATCH] i810fb: fix i810_check_params section mismatch 2007-02-20 17:10:16 -08:00
intelfb [PATCH] Scheduled removal of SA_xxx interrupt flags fixups 2007-02-14 08:09:54 -08:00
kyro [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
logo
matrox i2c: Declare more i2c_adapter parent devices 2007-02-13 22:09:03 +01:00
mbx [PATCH] mark struct file_operations const 6 2007-02-12 09:48:45 -08:00
nvidia [PATCH] nvidiafb backlight: Fix implicit declaration in nv_backlight 2007-03-06 09:30:24 -08:00
pnx4008
riva [PATCH] rivafb: fix initial brightness 2007-03-23 11:01:22 -07:00
savage [PATCH] savagefb: Fix compile error if debugging is enabled 2007-03-16 19:25:04 -07:00
sis [PATCH] drivers/video/sis: Convert to generic boolean 2007-02-12 09:48:42 -08:00
68328fb.c
acornfb.c
acornfb.h
amba-clcd.c [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
amifb.c [PATCH] fbdev: remove references to non-existent fbmon_valid_timings() 2006-12-13 09:05:55 -08:00
arcfb.c [PATCH] struct path: convert video 2006-12-08 08:28:50 -08:00
asiliantfb.c
atafb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
au1100fb.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
au1100fb.h [PATCH] au11oofb: fix to remove flickering 2006-12-08 08:29:06 -08:00
au1200fb.c
au1200fb.h
bt431.h
bt455.h
bw2.c [BW2]: Fix section mismatch warnings. 2007-03-09 23:11:05 -08:00
c2p.c
c2p.h
cfbcopyarea.c
cfbfillrect.c
cfbimgblt.c [PATCH] various fbdev files: mark structs and array read-only 2006-12-08 08:29:05 -08:00
cg3.c [VIDEO]: Fix section mismatch in cg3.c 2007-03-28 12:50:56 -07:00
cg6.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
cg14.c [CG14]: Fix section mismatch warnings. 2007-03-09 23:10:56 -08:00
chipsfb.c backlight: Separate backlight properties from backlight ops pointers 2007-02-20 09:26:53 +00:00
cirrusfb.c [PATCH] ioremap balanced with iounmap for drivers/video/cirrusfb 2006-12-08 08:29:05 -08:00
clps711xfb.c
controlfb.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
controlfb.h
cyber2000fb.c [PATCH] cyber2010 framebuffer on ARM Netwinder fix 2007-02-12 09:48:42 -08:00
cyber2000fb.h
cyblafb.c
dnfb.c
edid.h
epson1355fb.c [PATCH] struct path: convert video 2006-12-08 08:28:50 -08:00
fb_ddc.c
fb_notify.c
fbcmap.c [PATCH] fbcmap.c: mark structs const or __read_mostly 2006-12-08 08:29:05 -08:00
fbcvt.c [PATCH] various fbdev files: mark structs and array read-only 2006-12-08 08:29:05 -08:00
fbmem.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
fbmon.c [PATCH] various fbdev files: mark structs and array read-only 2006-12-08 08:29:05 -08:00
fbsysfs.c backlight: Rework backlight/fb interaction simplifying, lots 2007-02-20 08:38:46 +00:00
ffb.c [VIDEO] ffb: Fix two DAC handling bugs. 2007-03-26 23:18:09 -07:00
fm2fb.c [PATCH] ioremap balanced with iounmap for drivers/video/fm2fb 2006-12-08 08:29:04 -08:00
g364fb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
gbefb.c
gxt4500.c [PATCH] gxt4500: Fix colormap and PLL setting, support GXT6000P 2006-12-22 08:55:50 -08:00
hgafb.c
hitfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
hpfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
igafb.c [PATCH] Video: fb, kzalloc changes 2007-02-12 09:48:43 -08:00
imacfb.c
imsttfb.c
imxfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
imxfb.h
Kconfig [PATCH] bool fbdevs must depend on FB = y 2007-03-16 19:25:05 -07:00
leo.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
macfb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
macmodes.c
macmodes.h
Makefile [PATCH] fb: SM501 framebuffer driver 2007-02-20 17:10:16 -08:00
maxinefb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
modedb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
neofb.c [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
offb.c [PATCH] ioremap balanced with iounmap for drivers/video/offb 2006-12-08 08:29:04 -08:00
output.c output: Add display output class support 2006-12-20 01:46:41 -05:00
p9100.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
platinumfb.c [PATCH] ioremap balanced with iounmap for drivers/video/platinumfb 2006-12-08 08:29:04 -08:00
platinumfb.h
pm2fb.c
pm3fb.c [PATCH] pm3fb: kill pci_find_device usage 2007-02-12 09:48:42 -08:00
pmag-aa-fb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
pmag-ba-fb.c [TC] mips: pmag-ba-fb: Convert to the driver model 2007-02-09 16:23:17 +00:00
pmagb-b-fb.c [TC] pmagb-b-fb: Convert to the driver model 2007-02-09 16:23:18 +00:00
ps3fb.c [PATCH] ps3: Virtual Frame Buffer Driver 2007-02-12 09:48:44 -08:00
pvr2fb.c [PATCH] ioremap balanced with iounmap for drivers/video/pvr2fb 2006-12-08 08:29:04 -08:00
pxafb.c [ARM] 4304/1: removes the unnecessary bit number from CKENnn_XXXX 2007-04-21 23:14:01 +01:00
pxafb.h
q40fb.c
s1d13xxxfb.c
s3c2410fb.c [PATCH] s3c2410fb: fix un-initialised dev field 2007-02-16 08:14:01 -08:00
s3c2410fb.h
s3fb.c [PATCH] drivers/video/s3fb.c: fix a use-before-check 2007-03-22 19:39:05 -07:00
sa1100fb.c [ARM] 4035/1: fix collie compilation 2006-12-17 23:37:47 +00:00
sa1100fb.h [PATCH] Replace regular code with appropriate calls to container_of() 2007-02-11 11:18:06 -08:00
sbuslib.c
sbuslib.h
sgivwfb.c
skeletonfb.c
sm501fb.c [PATCH] fb: sm501fb off-by-1 sysfs store 2007-03-05 07:57:51 -08:00
sstfb.c [PATCH] sstfb: fix pixclock setting on Voodoo 1/2 cards 2007-03-16 19:25:04 -07:00
sticore.h
stifb.c [PATCH] ioremap balanced with iounmap for drivers/video/stifb 2006-12-08 08:29:04 -08:00
svgalib.c [PATCH] fbdev driver for S3 Trio/Virge 2007-02-12 09:48:41 -08:00
tcx.c [SPARC64]: Fix of_iounmap() region release. 2006-12-31 14:06:05 -08:00
tdfxfb.c
tgafb.c [PATCH] remove many unneeded #includes of sched.h 2007-02-14 08:09:54 -08:00
tridentfb.c [PATCH] ioremap balanced with iounmap for drivers/video/tridentfb 2006-12-08 08:29:04 -08:00
tx3912fb.c
valkyriefb.c
valkyriefb.h
vesafb.c [PATCH] annotate some variables in vesafb driver as __read_mostly 2006-12-08 08:29:06 -08:00
vfb.c
vga16fb.c [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
vgastate.c
w100fb.c
w100fb.h