linux_dsm_epyc7002/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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 [PATCH] pnx4008:fix NULL dereference in rgbfb 2006-11-16 11:43:37 -08:00
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 [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
acornfb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
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 IRQ: Maintain regs pointer globally rather than passing to IRQ handlers 2006-10-05 15:10:12 +01:00
au1200fb.h [PATCH] au1200fb: Alchemy Au1200 framebuffer driver 2006-03-27 08:44:55 -08:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cfbfillrect.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
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 [PATCH] fbcon/fbdev: Move softcursor out of fbdev to fbcon 2005-11-07 07:53:50 -08:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cyblafb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
dnfb.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
edid.h
epson1355fb.c [PATCH] struct path: convert video 2006-12-08 08:28:50 -08:00
fb_ddc.c Fix generic fb_ddc i2c edid probe msg 2006-11-16 22:18:28 -08:00
fb_notify.c [PATCH] fbdev: statically link the framebuffer notification functions 2006-07-31 13:28:44 -07:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
gxt4500.c [PATCH] gxt4500: Fix colormap and PLL setting, support GXT6000P 2006-12-22 08:55:50 -08:00
hgafb.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
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 [PATCH] x86: Fix dmi detection of MacBookPro and iMac 2006-08-27 11:01:29 -07:00
imsttfb.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
macmodes.h [PATCH] macmodes: Fix section warning 2006-06-26 09:58:31 -07:00
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 [PATCH] powerpc: Fix platinumfb for some modes 2006-01-09 14:53:51 +11:00
pm2fb.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
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 [ARM] 3848/1: pxafb: Add option of fixing video modes and spitz QVGA mode support 2006-10-02 13:33:37 +01:00
q40fb.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
s1d13xxxfb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
s3c2410fb.c [PATCH] s3c2410fb: fix un-initialised dev field 2007-02-16 08:14:01 -08:00
s3c2410fb.h fix file specification in comments 2006-10-03 23:01:26 +02:00
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 [SPARC]: Respect vm_page_prot in io_remap_page_range(). 2006-03-22 01:15:13 -08:00
sbuslib.h [SPARC]: Fix sbusfb build. 2006-01-17 15:53:11 -08:00
sgivwfb.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
skeletonfb.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
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 [PARISC] Fix stifb with IOREMAP and a 64-bit kernel 2006-03-30 17:48:47 +00:00
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 [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
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 [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
valkyriefb.c [valkyriefb] Ifdef for when CONFIG_NVRAM isn't enabled. 2006-10-18 08:53:37 -04:00
valkyriefb.h
vesafb.c [PATCH] annotate some variables in vesafb driver as __read_mostly 2006-12-08 08:29:06 -08:00
vfb.c [PATCH] vt: Remove VT-specific declarations and definitions from tty.h 2006-07-10 13:24:16 -07:00
vga16fb.c [PATCH] Video: fb, add true ref_count atomicity 2007-02-12 09:48:42 -08:00
vgastate.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
w100fb.c [PATCH] w100fb: Add acceleration support to ATI Imageon 2006-03-31 12:19:00 -08:00
w100fb.h [PATCH] w100fb: Add acceleration support to ATI Imageon 2006-03-31 12:19:00 -08:00