Searched refs:AT91_PMC_MDIV (Results 1 – 2 of 2) sorted by relevance
757 mck.rate_hz = freq / (1 + ((mckr & AT91_PMC_MDIV) >> 8)); /* mdiv */ in at91_pmc_init()759 mck.rate_hz = (mckr & AT91_PMC_MDIV) ? in at91_pmc_init()760 freq / ((mckr & AT91_PMC_MDIV) >> 7) : freq; /* mdiv ; (x >> 7) = ((x >> 8) * 2) */ in at91_pmc_init()764 mck.rate_hz = (mckr & AT91_PMC_MDIV) == AT91SAM9_PMC_MDIV_3 ? in at91_pmc_init()765 freq / 3 : freq / (1 << ((mckr & AT91_PMC_MDIV) >> 8)); /* mdiv */ in at91_pmc_init()767 mck.rate_hz = freq / (1 << ((mckr & AT91_PMC_MDIV) >> 8)); /* mdiv */ in at91_pmc_init()
109 #define AT91_PMC_MDIV (3 << 8) /* Master Clock Division */ macro