/* * AT91 Power Management * * Copyright (C) 2005 David Brownell * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. */ #ifndef __ARCH_ARM_MACH_AT91_PM #define __ARCH_ARM_MACH_AT91_PM #include <asm/proc-fns.h> #include <linux/mfd/syscon/atmel-mc.h> #include <soc/at91/at91sam9_ddrsdr.h> #include <soc/at91/at91sam9_sdramc.h> #ifndef __ASSEMBLY__ extern void __iomem *at91_ramc_base[]; #define at91_ramc_read(id, field) \ __raw_readl(at91_ramc_base[id] + field) #define at91_ramc_write(id, field, value) \ __raw_writel(value, at91_ramc_base[id] + field) #endif #define AT91_MEMCTRL_MC 0 #define AT91_MEMCTRL_SDRAMC 1 #define AT91_MEMCTRL_DDRSDR 2 #define AT91_PM_MEMTYPE_MASK 0x0f #define AT91_PM_MODE_OFFSET 4 #define AT91_PM_MODE_MASK 0x01 #define AT91_PM_MODE(x) (((x) & AT91_PM_MODE_MASK) << AT91_PM_MODE_OFFSET) #define AT91_PM_SLOW_CLOCK 0x01 #endifOverall Contributors
Person | Tokens | Prop | Commits | CommitProp | |
alexandre belloni | alexandre belloni | 53 | 58.89% | 2 | 33.33% |
wenyou yang | wenyou yang | 25 | 27.78% | 1 | 16.67% |
daniel lezcano | daniel lezcano | 10 | 11.11% | 2 | 33.33% |
jean-christophe plagniol-villard | jean-christophe plagniol-villard | 2 | 2.22% | 1 | 16.67% |
Total | 90 | 100.00% | 6 | 100.00% |