tmp_suning_uos_patched/drivers/crypto
Patrick McHardy 37a8023ce5 [HIFN]: Improve PLL initialization
The current PLL initalization has a number of deficiencies:

- uses fixed multiplier of 8, which overclocks the chip when using a
  reference clock that operates at frequencies above 33MHz. According
  to a comment in the BSD source, this is true for the external clock
  on almost all every board.

- writes to a reserved bit

- doesn't follow the initialization procedure specified in chapter
  6.11.1 of the HIFN hardware users guide

- doesn't allow to use the PCI clock

This patch adds a module parameter to specify the reference clock
(pci or external) and its frequency and uses that to calculate the
optimum multiplier to reach the maximal speed. By default it uses
the external clock and assumes a speed of 66MHz, which effectively
halfs the frequency currently used.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Acked-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2008-01-11 08:16:16 +11:00
..
geode-aes.c [CRYPTO] geode: Add fallback for unsupported modes 2008-01-11 08:16:11 +11:00
geode-aes.h [CRYPTO] geode: Add fallback for unsupported modes 2008-01-11 08:16:11 +11:00
hifn_795x.c [HIFN]: Improve PLL initialization 2008-01-11 08:16:16 +11:00
Kconfig [CRYPTO] hifn: Make Kconfig option depend on PCI 2008-01-11 08:16:13 +11:00
Makefile [CRYPTO] hifn_795x: HIFN 795x driver 2008-01-11 08:16:01 +11:00
padlock-aes.c [CRYPTO] aes: Move common defines into a header file 2008-01-11 08:16:04 +11:00
padlock-sha.c [CRYPTO] users: Fix up scatterlist conversion errors 2007-10-27 00:52:07 -07:00
padlock.h [CRYPTO] padlock: Added block cipher versions of CBC/ECB 2006-09-21 11:44:35 +10:00