diff options
Diffstat (limited to 'arch/arm/include/asm/hardware/icst307.h')
-rw-r--r-- | arch/arm/include/asm/hardware/icst307.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/arch/arm/include/asm/hardware/icst307.h b/arch/arm/include/asm/hardware/icst307.h index 554f128a1046..85932e902e99 100644 --- a/arch/arm/include/asm/hardware/icst307.h +++ b/arch/arm/include/asm/hardware/icst307.h | |||
@@ -16,23 +16,10 @@ | |||
16 | #ifndef ASMARM_HARDWARE_ICST307_H | 16 | #ifndef ASMARM_HARDWARE_ICST307_H |
17 | #define ASMARM_HARDWARE_ICST307_H | 17 | #define ASMARM_HARDWARE_ICST307_H |
18 | 18 | ||
19 | struct icst307_params { | 19 | #include <asm/hardware/icst.h> |
20 | unsigned long ref; | ||
21 | unsigned long vco_max; /* inclusive */ | ||
22 | unsigned short vd_min; /* inclusive */ | ||
23 | unsigned short vd_max; /* inclusive */ | ||
24 | unsigned char rd_min; /* inclusive */ | ||
25 | unsigned char rd_max; /* inclusive */ | ||
26 | }; | ||
27 | 20 | ||
28 | struct icst307_vco { | 21 | unsigned long icst307_khz(const struct icst_params *p, struct icst_vco vco); |
29 | unsigned short v; | 22 | struct icst_vco icst307_khz_to_vco(const struct icst_params *p, unsigned long freq); |
30 | unsigned char r; | 23 | struct icst_vco icst307_ps_to_vco(const struct icst_params *p, unsigned long period); |
31 | unsigned char s; | ||
32 | }; | ||
33 | |||
34 | unsigned long icst307_khz(const struct icst307_params *p, struct icst307_vco vco); | ||
35 | struct icst307_vco icst307_khz_to_vco(const struct icst307_params *p, unsigned long freq); | ||
36 | struct icst307_vco icst307_ps_to_vco(const struct icst307_params *p, unsigned long period); | ||
37 | 24 | ||
38 | #endif | 25 | #endif |