Home
last modified time | relevance | path

Searched refs:PMC_PRES_OFFSET (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/arch/arm/mach-at91/include/mach/
Dat91_pmc.h91 #define PMC_PRES_OFFSET 2 macro
92 #define AT91_PMC_PRES (7 << PMC_PRES_OFFSET) /* Master Clock Prescaler */
93 #define AT91_PMC_PRES_1 (0 << PMC_PRES_OFFSET)
94 #define AT91_PMC_PRES_2 (1 << PMC_PRES_OFFSET)
95 #define AT91_PMC_PRES_4 (2 << PMC_PRES_OFFSET)
96 #define AT91_PMC_PRES_8 (3 << PMC_PRES_OFFSET)
97 #define AT91_PMC_PRES_16 (4 << PMC_PRES_OFFSET)
98 #define AT91_PMC_PRES_32 (5 << PMC_PRES_OFFSET)
99 #define AT91_PMC_PRES_64 (6 << PMC_PRES_OFFSET)
/linux-3.4.99/arch/arm/mach-at91/
Dclock.c237 return 1 << ((reg & AT91_PMC_PRES) >> PMC_PRES_OFFSET); in pmc_prescaler_divider()
354 prescale_offset = PMC_PRES_OFFSET; in clk_set_rate()